From 66a086e04a4419f6faa3795294f439140fccd464 Mon Sep 17 00:00:00 2001 From: Warner Losh Date: Fri, 31 Jan 2014 01:34:55 +0000 Subject: [PATCH] Hack: Add explicit depends on bus_if.h and device_if.h to avoid a chicken and egg problem in some compilation environments. --- sys/conf/Makefile.arm | 3 +++ 1 file changed, 3 insertions(+) diff --git a/sys/conf/Makefile.arm b/sys/conf/Makefile.arm index eacba7bb45fa..d3332b494fe4 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