Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/usermode/conf fix include dir
details: https://anonhg.NetBSD.org/src/rev/9de0cdb9c08e
branches: trunk
changeset: 785261:9de0cdb9c08e
user: yamt <yamt%NetBSD.org@localhost>
date: Wed Mar 06 11:36:21 2013 +0000
description:
fix include dir
add some dependencies
diffstat:
sys/arch/usermode/conf/Makefile.usermode | 7 +++++--
1 files changed, 5 insertions(+), 2 deletions(-)
diffs (28 lines):
diff -r 102509246a24 -r 9de0cdb9c08e sys/arch/usermode/conf/Makefile.usermode
--- a/sys/arch/usermode/conf/Makefile.usermode Wed Mar 06 11:34:37 2013 +0000
+++ b/sys/arch/usermode/conf/Makefile.usermode Wed Mar 06 11:36:21 2013 +0000
@@ -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 @@
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.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
##
Home |
Main Index |
Thread Index |
Old Index