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"
_______________________________________________
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to