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>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi,

I was happily using the following Makefile:

#######################################
MAKEOBJDIR=3Dobjs

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

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

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

CLEANFILES+=3D 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=20
Office: +972-4-9097200 ext. 301=20
Cell: +972-54-2345031 (yonyossef@skype)
=20



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