Hack: Add explicit depends on bus_if.h and device_if.h to avoid a

chicken and egg problem in some compilation environments.
This commit is contained in:
Warner Losh 2014-01-31 01:34:55 +00:00
parent 8b1bf92acc
commit 66a086e04a
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=261305

View File

@ -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