Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 19 Oct 2014 20:56:06 +0000 (UTC)
From:      Andrew Turner <andrew@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r273287 - head/sys/conf
Message-ID:  <201410192056.s9JKu6cY057993@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: andrew
Date: Sun Oct 19 20:56:05 2014
New Revision: 273287
URL: https://svnweb.freebsd.org/changeset/base/273287

Log:
  Only build the ARM tranpoline when KERNPHYSADDR is defined as it is
  otherwise unneeded in armv6 kernels.
  
  MFC after:	1 week

Modified:
  head/sys/conf/Makefile.arm

Modified: head/sys/conf/Makefile.arm
==============================================================================
--- head/sys/conf/Makefile.arm	Sun Oct 19 20:54:04 2014	(r273286)
+++ head/sys/conf/Makefile.arm	Sun Oct 19 20:56:05 2014	(r273287)
@@ -77,6 +77,7 @@ FILES_CPU_FUNC = \
 	$S/$M/$M/cpufunc_asm_pj4b.S $S/$M/$M/cpufunc_asm_armv6.S \
 	$S/$M/$M/cpufunc_asm_armv7.S
 
+.if defined(KERNPHYSADDR)
 KERNEL_EXTRA=trampoline
 KERNEL_EXTRA_INSTALL=kernel.gz.tramp
 trampoline: ${KERNEL_KO}.tramp
@@ -121,6 +122,7 @@ ${KERNEL_KO}.tramp: ${KERNEL_KO} $S/$M/$
 	    ${KERNEL_KO}.gz.tramp.bin
 	rm ${KERNEL_KO}.tmp.gz ${KERNEL_KO}.tramp.noheader opt_kernname.h \
 	    inflate-tramp.o tmphack.S
+.endif
 
 %BEFORE_DEPEND
 



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