Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 4 Mar 2008 10:49:48 +0200
From:      "Yehonatan Yossef" <yoniy@mellanox.co.il>
To:        "freebsd-questions" <freebsd-questions@freebsd.org>
Subject:   Makefile execution on 6.3
Message-ID:  <6C2C79E72C305246B504CBA17B5500C90374A1C4@mtlexch01.mtl.com>
In-Reply-To: <BMEDLGAENEKCJFGODFOCOEHFCFAA.tedm@toybox.placo.com>

index | next in thread | previous in thread | raw e-mail

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@skype)
 


help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6C2C79E72C305246B504CBA17B5500C90374A1C4>