svn commit: trunk/buildroot
sjhill at uclibc.org
sjhill at uclibc.org
Thu Jun 22 02:24:10 UTC 2006
Author: sjhill
Date: 2006-06-21 19:24:08 -0700 (Wed, 21 Jun 2006)
New Revision: 15475
Log:
Resolves Bug #182 for buildroot. It works nice to pull in default
configuration files for targets. More information on the bug database
page at <http://bugs.uclibc.org/view.php?id=182>.
Modified:
trunk/buildroot/Makefile
Changeset:
Modified: trunk/buildroot/Makefile
===================================================================
--- trunk/buildroot/Makefile 2006-06-21 23:03:37 UTC (rev 15474)
+++ trunk/buildroot/Makefile 2006-06-22 02:24:08 UTC (rev 15475)
@@ -27,7 +27,8 @@
CONFIG = package/config
noconfig_targets := menuconfig config oldconfig randconfig \
- defconfig allyesconfig allnoconfig release tags
+ defconfig allyesconfig allnoconfig release tags \
+ $(shell find . -name *_defconfig |sed 's/.*\///')
# Pull in the user's configuration file
ifeq ($(filter $(noconfig_targets),$(MAKECMDGOALS)),)
@@ -184,6 +185,10 @@
defconfig: $(CONFIG)/conf
@$(CONFIG)/conf -d $(CONFIG_CONFIG_IN)
+%_defconfig: $(CONFIG)/conf
+ cp $(shell find . -name $@) .config
+ @$(CONFIG)/conf -o $(CONFIG_CONFIG_IN)
+
#############################################################
#
# Cleanup and misc junk
More information about the uClibc-cvs
mailing list