Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 31 Jan 2014 01:34:55 +0000 (UTC)
From:      Warner Losh <imp@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r261305 - head/sys/conf
Message-ID:  <201401310134.s0V1YttK039690@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: imp
Date: Fri Jan 31 01:34:55 2014
New Revision: 261305
URL: http://svnweb.freebsd.org/changeset/base/261305

Log:
  Hack: Add explicit depends on bus_if.h and device_if.h to avoid a
  chicken and egg problem in some compilation environments.

Modified:
  head/sys/conf/Makefile.arm

Modified: head/sys/conf/Makefile.arm
==============================================================================
--- head/sys/conf/Makefile.arm	Fri Jan 31 01:18:34 2014	(r261304)
+++ head/sys/conf/Makefile.arm	Fri Jan 31 01:34:55 2014	(r261305)
@@ -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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201401310134.s0V1YttK039690>