summaryrefslogtreecommitdiffstats
path: root/sys/conf
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>2014-01-31 01:34:55 +0000
committerimp <imp@FreeBSD.org>2014-01-31 01:34:55 +0000
commitabe2ab2c7cecefaa14351c09321154e0d0924e5a (patch)
tree963c9cb5aeaca9106f4042df4fb67cfc2e4e6cb3 /sys/conf
parentf04b60e2d33f32ff72d038a8439ba0504c09b872 (diff)
downloadFreeBSD-src-abe2ab2c7cecefaa14351c09321154e0d0924e5a.zip
FreeBSD-src-abe2ab2c7cecefaa14351c09321154e0d0924e5a.tar.gz
Hack: Add explicit depends on bus_if.h and device_if.h to avoid a
chicken and egg problem in some compilation environments.
Diffstat (limited to 'sys/conf')
-rw-r--r--sys/conf/Makefile.arm3
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/conf/Makefile.arm b/sys/conf/Makefile.arm
index eacba7b..d3332b4 100644
--- a/sys/conf/Makefile.arm
+++ b/sys/conf/Makefile.arm
@@ -55,6 +55,9 @@ CFLAGS += -mllvm -arm-enable-ehabi
.endif
.endif
+# hack because genassym.c includes sys/bus.h which includes these.
+genassym.o: bus_if.h device_if.h
+
SYSTEM_LD_ = ${LD} -Bdynamic -T ldscript.$M.noheader ${LDFLAGS} \
-warn-common -export-dynamic -dynamic-linker /red/herring -o \
${FULLKERNEL}.noheader -X ${SYSTEM_OBJS} vers.o
OpenPOWER on IntegriCloud