summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas De Schampheleire <patrickdepinguin@gmail.com>2014-04-30 21:18:57 +0200
committerPeter Korsgaard <peter@korsgaard.com>2014-05-01 23:36:30 +0200
commitbe6a575d2c20a01cf3a6dbb569acfa886f0190f1 (patch)
tree452b8438b643996b35109069edd3d921f0aa9173
parent47c2d1b485d08fc4c0643ffed3d20f3c76254808 (diff)
downloadbuildroot-be6a575d2c20a01cf3a6dbb569acfa886f0190f1.tar.gz
buildroot-be6a575d2c20a01cf3a6dbb569acfa886f0190f1.zip
uclibc: re-add uclibc-update-config target
Commit a5e92d92e7ee413157aae7cecf1f354e718731e1 converted uClibc to the package infrastructure, but while doing so removed support for the documented uclibc-update-config make target. This make target copies the uclibc .config file back to the original (typically version-controlled) configuration file. As this was an unintentional removal, this patch re-adds the uclibc-update-config target. Reported-by: Dan Moulding <dan.moulding@rackwareinc.com> Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
-rw-r--r--package/uclibc/uclibc.mk5
1 files changed, 4 insertions, 1 deletions
diff --git a/package/uclibc/uclibc.mk b/package/uclibc/uclibc.mk
index 020e218096..717cf53a88 100644
--- a/package/uclibc/uclibc.mk
+++ b/package/uclibc/uclibc.mk
@@ -211,7 +211,7 @@ endef
endif
#
-# Endianess
+# Endianness
#
ifeq ($(call qstrip,$(BR2_ENDIAN)),BIG)
@@ -553,5 +553,8 @@ uclibc-menuconfig: uclibc-patch
$(eval $(generic-package))
+uclibc-update-config: $(UCLIBC_DIR)/.stamp_configured
+ cp -f $(UCLIBC_DIR)/.config $(UCLIBC_CONFIG_FILE)
+
# Before uClibc is built, we must have the second stage cross-compiler
$(UCLIBC_TARGET_BUILD): | host-gcc-intermediate
OpenPOWER on IntegriCloud