Skip to contentSkip to conversation

uclibc: re-add uclibc-update-config target

PATCH New Thomas De Schampheleire 2 participants 2 messages Apr 30, 2014 – May 1, 2014

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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.

---
 package/uclibc/uclibc.mk |  5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

Note: while I was at it, I fixed a small typo in uclibc.mk

package/uclibc/uclibc.mk +4 -1
@@ -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
#1 lore raw

PATCH 1/1 uclibc: re-add uclibc-update-config target

Quoted 8 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Thomas" == Thomas De Schampheleire <[email protected]> writes:

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.

Quoted 5 lines

As this was an unintentional removal, this patch re-adds the uclibc-update-config target.

Committed, thanks.

Signature · 1 line
Bye, Peter Korsgaard