svn commit: trunk/buildroot: package

vapier at uclibc.org vapier at uclibc.org
Tue Dec 27 08:42:15 UTC 2005


Author: vapier
Date: 2005-12-27 00:42:13 -0800 (Tue, 27 Dec 2005)
New Revision: 12980

Log:
add an option for the --build so cygwin users can utilize buildroot

Modified:
   trunk/buildroot/Config.in
   trunk/buildroot/package/Makefile.in


Changeset:
Modified: trunk/buildroot/Config.in
===================================================================
--- trunk/buildroot/Config.in	2005-12-27 06:52:51 UTC (rev 12979)
+++ trunk/buildroot/Config.in	2005-12-27 08:42:13 UTC (rev 12980)
@@ -178,6 +178,19 @@
 	    build_ARCH -> build_ARCH_[SUFFIX]
 	    toolchain_build_ARCH -> toolchain_build_ARCH_[SUFFIX] 
 
+config BR2_GNU_BUILD_SUFFIX
+	string "GNU build hostname suffix"
+	default "pc-linux-gnu"
+	help
+	    The string used to pass to configure scripts via the
+	    --build= option.  Just specify the suffix here, the leading
+	    arch will be filled in automatically.
+
+	    Here's some copy and paste build host options for you:
+	      linux:   pc-linux-gnu
+	      cygwin:  pc-cygwin
+	      os x:    apple-darwin7 / apple-darwin8
+
 config BR2_JLEVEL
 	int "Number of jobs to run simultaneously"
 	default "1"

Modified: trunk/buildroot/package/Makefile.in
===================================================================
--- trunk/buildroot/package/Makefile.in	2005-12-27 06:52:51 UTC (rev 12979)
+++ trunk/buildroot/package/Makefile.in	2005-12-27 08:42:13 UTC (rev 12980)
@@ -65,7 +65,7 @@
 	-e 's/cris.*/cris/' \
 	-e 's/i[3-9]86/i386/' \
 	)
-GNU_HOST_NAME:=$(HOST_ARCH)-pc-linux-gnu
+GNU_HOST_NAME:=$(HOST_ARCH)-$(subst ",,$(BR2_GNU_BUILD_SUFFIX))
 TARGET_CONFIGURE_OPTS=PATH=$(TARGET_PATH) \
 		AR=$(TARGET_CROSS)ar \
 		AS=$(TARGET_CROSS)as \




More information about the uClibc-cvs mailing list