Makefile execution on 6.3

Yehonatan Yossef yoniy at mellanox.co.il
Tue Mar 4 08:49:54 UTC 2008


Hi,

I was happily using the following Makefile:

#######################################
MAKEOBJDIR=objs

KMOD=   if_mtnic
SRCS=   mtnic_cmd.c mtnic_event.c mtnic_main.c mtnic_params.c
mtnic_netdev.c mtnic_lro.c
SRCS+=  mtnic_ver.h device_if.h bus_if.h pci_if.h

CFLAGS+= -DMTNIC_SW_COUNTERS -DMTNIC_DEBUG_VERBOSE
CFLAGS+= -g -DCONFIG_MTNIC_DEBUG

mtnic_ver.h:
        echo "#define DRV_RELDATE \"`cat BUILD_ID | tail -1 | cut -d' '
-f4-8`\"" > $@

CLEANFILES+= mtnic_ver.h

.include <bsd.kmod.mk>
#######################################

Until suddenly it stopped compiling and since then I only get:

`mtnic_ver.h' is up to date.


Is there any configuration I accidently changed for 'make' to make it
create $KMOD?
Thanks

Yehonatan Yossef
Mellanox Technologies 
Office: +972-4-9097200 ext. 301 
Cell: +972-54-2345031 (yonyossef at skype)
 


More information about the freebsd-questions mailing list