diff options
| author | yamt <yamt@NetBSD.org> | 2013-03-06 11:36:21 +0000 |
|---|---|---|
| committer | yamt <yamt@NetBSD.org> | 2013-03-06 11:36:21 +0000 |
| commit | 2b6671ccd85b6f3672ca4ee4769bf06ccfce582b (patch) | |
| tree | 424b7f21a435aa8339c83bee08426aa2039e0141 /sys | |
| parent | 64e0821fedb14b3d0bf0bcc462db5e57841f3d45 (diff) | |
fix include dir
add some dependencies
Diffstat (limited to 'sys')
| -rw-r--r-- | sys/arch/usermode/conf/Makefile.usermode | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/sys/arch/usermode/conf/Makefile.usermode b/sys/arch/usermode/conf/Makefile.usermode index 92a941fb1f9..9757f36174e 100644 --- a/sys/arch/usermode/conf/Makefile.usermode +++ b/sys/arch/usermode/conf/Makefile.usermode @@ -1,4 +1,4 @@ -# $NetBSD: Makefile.usermode,v 1.32 2012/06/30 15:03:57 reinoud Exp $ +# $NetBSD: Makefile.usermode,v 1.33 2013/03/06 11:36:21 yamt Exp $ USETOOLS?= no NEED_OWN_INSTALL_TARGET?= no @@ -21,7 +21,8 @@ MACHINE_ARCH!=uname -p USERMODE_HOSTOS!=uname -s USERMODE_HOSTMACHINE!=uname -m USERMODE_LIBS= -L${DESTDIR}/usr/lib -lrt -USERMODE_CPPFLAGS=${DEBUG} -U_KERNEL -I/usr/include +USERMODE_CPPFLAGS=${DEBUG} -U_KERNEL +USERMODE_CPPFLAGS+=-I${DESTDIR}/usr/include USERMODE_CPPFLAGS+=${CWARNFLAGS} ${NOGCCERROR:D:U-Werror} ## XXX hack to make it work under build.sh @@ -96,6 +97,8 @@ thunk.d: ${USERMODE}/usermode/thunk.c thunk.o: ${USERMODE}/usermode/thunk.c ${CC} ${COPTS} ${CPPFLAGS.thunk.c} -c -o $@ ${USERMODE}/usermode/thunk.c +cpu_${MACHINE_ARCH}.o: ${USERMODE}/target/${MACHINE_ARCH}/cpu_${MACHINE_ARCH}.c + ## ## (7) misc settings ## |
