Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: make depend - error.



This seems to fix it - without it, compile-rt and some new additions to
the libkern build will not find their source (or eroneously use whatever
source is in /usr/src).

Jörg, better suggestions?

Martin
Index: Makefile.inc
===================================================================
RCS file: /cvsroot/src/sys/lib/libkern/Makefile.inc,v
retrieving revision 1.42
diff -u -r1.42 Makefile.inc
--- Makefile.inc        12 Dec 2012 15:10:27 -0000      1.42
+++ Makefile.inc        7 Mar 2014 09:33:51 -0000
@@ -36,6 +36,7 @@
 KERNMAKE= \
        cd ${KERNDST} && ${MAKE} -f ${KERNDIR:Q}/Makefile \
            KERNDIR=${KERNDIR:Q} \
+           NETBSDSRCDIR=${KERNDIR}/../../../ \
            CC=${CC:Q} CFLAGS=${CFLAGS:Q} CPUFLAGS= \
            AS=${AS:Q} AFLAGS=${AFLAGS:Q} \
            LORDER=${LORDER:Q} \


Home | Main Index | Thread Index | Old Index