Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 3 Sep 2014 00:32:19 +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: r270991 - head/sys/conf
Message-ID:  <201409030032.s830WJCI066535@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: imp
Date: Wed Sep  3 00:32:19 2014
New Revision: 270991
URL: http://svnweb.freebsd.org/changeset/base/270991

Log:
  Invoke make_dtb with MACHINE defined for enhanced cross building
  friendliness. This should restore old-fashioned kernel building in a
  cross environment, though this has only had limited testing.
  
  Sponsored by: Netflix

Modified:
  head/sys/conf/files

Modified: head/sys/conf/files
==============================================================================
--- head/sys/conf/files	Tue Sep  2 23:43:06 2014	(r270990)
+++ head/sys/conf/files	Wed Sep  3 00:32:19 2014	(r270991)
@@ -14,11 +14,11 @@ acpi_quirks.h			optional acpi				   \
 # from the specified source (DTS) file: <platform>.dts -> <platform>.dtb
 #
 fdt_dtb_file			optional fdt fdt_dtb_static \
-	compile-with "sh $S/tools/fdt/make_dtb.sh $S ${FDT_DTS_FILE} ${.CURDIR}" \
+	compile-with "sh MACHINE=${MACHINE} $S/tools/fdt/make_dtb.sh $S ${FDT_DTS_FILE} ${.CURDIR}" \
 	no-obj no-implicit-rule before-depend	\
 	clean		"${FDT_DTS_FILE:R}.dtb"
 fdt_static_dtb.h		optional fdt fdt_dtb_static \
-	compile-with "sh $S/tools/fdt/make_dtbh.sh ${FDT_DTS_FILE} ${.CURDIR}" \
+	compile-with "sh MACHINE=${MACHINE} $S/tools/fdt/make_dtbh.sh ${FDT_DTS_FILE} ${.CURDIR}" \
 	dependency	"fdt_dtb_file" \
 	no-obj no-implicit-rule before-depend \
 	clean		"fdt_static_dtb.h"



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