Add/rename *-update-config targets
PATCH RESEND 1/1 Add/rename *-update-config targets
--- linux/linux.mk | 11 +++++++++++ package/busybox/busybox.mk | 2 +- toolchain/uClibc/uclibc.mk | 2 +- 3 files changed, 13 insertions(+), 2 deletions(-)
PATCH RESEND 1/1 linux: add linux-update-config and linux-update-defconfig targets
In analogy to build targets uclibc-update and busybox-update, add extra targets to copy the current configuration to the custom configuration file set in buildroot. These targets facilitate the work of developers adding support for a specific board.
linux-update-config copies .config directly. linux-update-defconfig first creates a defconfig and copies that.
---
v2: add defconfig target and rename.
linux/linux.mk | 11 +++++++++++ 1 files changed, 11 insertions(+), 0 deletions(-)
linux/linux.mk +11 -0
@@ -190,6 +190,17 @@ $(MAKE) $(LINUX_MAKE_FLAGS) -C $(LINUX_DIR) \ $(subst linux-,,$(subst linux26-,,$@)) +ifeq ($(BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG),y) +linux-update-config linux26-update-config: $(LINUX_DIR)/.config + cp -f $(LINUX_DIR)/.config $(BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE) + +linux-update-defconfig linux26-update-defconfig: linux-savedefconfig + cp -f $(LINUX_DIR)/defconfig $(BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE) +else +linux-update-config linux26-update-config: ; +linux-update-defconfig linux26-update-defconfig: ; +endif + # Support for rebuilding the kernel after the cpio archive has # been generated in $(BINARIES_DIR)/rootfs.cpio. $(LINUX_DIR)/.stamp_initramfs_rebuilt: $(LINUX_DIR)/.stamp_target_installed $(LINUX_DIR)/.stamp_images_installed $(BINARIES_DIR)/rootfs.cpio
PATCH RESEND 1/1 linux: add linux-update-config and linux-update-defconfig targets
Quoted 35 lines · Thomas De Schampheleire
In analogy to build targets uclibc-update and busybox-update, add extra targets to copy the current configuration to the custom configuration file set in buildroot. These targets facilitate the work of developers adding support for a specific board.
linux-update-config copies .config directly. linux-update-defconfig first creates a defconfig and copies that.
Signed-off-by Thomas De Schampheleire <[email protected]>Acked-by Thomas Petazzoni <[email protected]>---
v2: add defconfig target and rename.?linux/linux.mk | ?11 +++++++++++
?1 files changed, 11 insertions(+), 0 deletions(-)linux/linux.mk +11
-0@@ -190,6 +190,17 @@ ? ? ? ?$(MAKE) $(LINUX_MAKE_FLAGS) -C $(LINUX_DIR) \ ? ? ? ? ? ? ? ?$(subst linux-,,$(subst linux26-,,$@)) +ifeq ($(BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG),y) +linux-update-config linux26-update-config: $(LINUX_DIR)/.config + ? ? ? cp -f $(LINUX_DIR)/.config $(BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE) + +linux-update-defconfig linux26-update-defconfig: linux-savedefconfig + ? ? ? cp -f $(LINUX_DIR)/defconfig $(BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE) +else +linux-update-config linux26-update-config: ; +linux-update-defconfig linux26-update-defconfig: ; +endif +
Quoted 4 lines
?# Support for rebuilding the kernel after the cpio archive has
?# been generated in $(BINARIES_DIR)/rootfs.cpio.
?$(LINUX_DIR)/.stamp_initramfs_rebuilt: $(LINUX_DIR)/.stamp_target_installed $(LINUX_DIR)/.stamp_images_installed $(BINARIES_DIR)/rootfs.cpio
bump
PATCH RESEND 1/1 linux: add linux-update-config and linux-update-defconfig targets
In reply to Thomas De SchampheleireQuoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Thomas" == Thomas De Schampheleire <[email protected]> writes:
Thomas> In analogy to build targets uclibc-update and busybox-update, add Thomas> extra targets to copy the current configuration to the custom Thomas> configuration file set in buildroot. These targets facilitate the Thomas> work of developers adding support for a specific board.
Thomas> linux-update-config copies .config directly.
Thomas> linux-update-defconfig first creates a defconfig and copies that.
Committed, thanks.
Signature · 1 line
Bye, Peter Korsgaard
PATCH RESEND 1/1 busybox: rename busybox-update to busybox-update-config
In reply to Thomas De SchampheleireThe original name busybox-update is confusing as it only updates a configuration file.
--- package/busybox/busybox.mk | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
package/busybox/busybox.mk +1 -1
@@ -184,5 +184,5 @@ rm -f $(BUSYBOX_DIR)/.stamp_built rm -f $(BUSYBOX_DIR)/.stamp_target_installed -busybox-update: +busybox-update-config: cp -f $(BUSYBOX_BUILD_CONFIG) $(BUSYBOX_CONFIG_FILE)
PATCH RESEND 1/1 busybox: rename busybox-update to busybox-update-config
Quoted 19 lines · Thomas De Schampheleire
The original name busybox-update is confusing as it only updates a configuration file.
Signed-off-by Thomas De Schampheleire <[email protected]>Acked-by Thomas Petazzoni <[email protected]>---
?package/busybox/busybox.mk | ?2 +-
?1 files changed, 1 insertions(+), 1 deletions(-)package/busybox/busybox.mk +0
-0@@ -184,5 +184,5 @@? ? ? ?rm -f $(BUSYBOX_DIR)/.stamp_built
? ? ? ?rm -f $(BUSYBOX_DIR)/.stamp_target_installedpackage/busybox/busybox.mk +1
-1-busybox-update: +busybox-update-config:
Quoted 2 lines
? ? ? ?cp -f $(BUSYBOX_BUILD_CONFIG) $(BUSYBOX_CONFIG_FILE)
bump
PATCH RESEND 1/1 busybox: rename busybox-update to busybox-update-config
In reply to Thomas De SchampheleireQuoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Thomas" == Thomas De Schampheleire <[email protected]> writes:
Thomas> The original name busybox-update is confusing as it only updates a Thomas> configuration file.
Thomas> Signed-off-by: Thomas De Schampheleire <[email protected]> Thomas> Acked-by: Thomas Petazzoni <[email protected]>
Committed, thanks.
Signature · 1 line
Bye, Peter Korsgaard
PATCH RESEND 1/1 uclibc: rename uclibc-update to uclibc-update-config
In reply to Thomas De SchampheleireThe original name uclibc-update is confusing as it only updates a configuration file.
--- toolchain/uClibc/uclibc.mk | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
toolchain/uClibc/uclibc.mk +1 -1
@@ -500,7 +500,7 @@ uclibc-oldconfig: $(UCLIBC_DIR)/.oldconfig -uclibc-update: uclibc-config +uclibc-update-config: uclibc-config cp -f $(UCLIBC_DIR)/.config $(UCLIBC_CONFIG_FILE) uclibc-configured: gcc_initial kernel-headers $(UCLIBC_DIR)/.configured
PATCH RESEND 1/1 uclibc: rename uclibc-update to uclibc-update-config
Quoted 21 lines · Thomas De Schampheleire
The original name uclibc-update is confusing as it only updates a configuration file.
Signed-off-by Thomas De Schampheleire <[email protected]>Acked-by Thomas Petazzoni <[email protected]>---
?toolchain/uClibc/uclibc.mk | ?2 +-
?1 files changed, 1 insertions(+), 1 deletions(-)toolchain/uClibc/uclibc.mk +0
-0@@ -500,7 +500,7 @@?uclibc-oldconfig: $(UCLIBC_DIR)/.oldconfig
toolchain/uClibc/uclibc.mk +1
-1-uclibc-update: uclibc-config +uclibc-update-config: uclibc-config? ? ? ?cp -f $(UCLIBC_DIR)/.config $(UCLIBC_CONFIG_FILE)
Quoted 2 lines
?uclibc-configured:
gcc_initialkernel-headers $(UCLIBC_DIR)/.configured
bump
PATCH RESEND 1/1 uclibc: rename uclibc-update to uclibc-update-config
In reply to Thomas De SchampheleireQuoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Thomas" == Thomas De Schampheleire <[email protected]> writes:
Thomas> The original name uclibc-update is confusing as it only updates a Thomas> configuration file.
Thomas> Signed-off-by: Thomas De Schampheleire <[email protected]> Thomas> Acked-by: Thomas Petazzoni <[email protected]>
Committed, thanks.
Signature · 1 line
Bye, Peter Korsgaard
PATCH RESEND 1/1 Add/rename *-update-config targets
In reply to Thomas De SchampheleireQuoted 10 lines · Thomas De Schampheleire
Signed-off-by Thomas De Schampheleire <[email protected]>Acked-by Thomas Petazzoni <[email protected]>---
?linux/linux.mk ? ? ? ? ? ? | ?11 +++++++++++ ?package/busybox/busybox.mk | ? 2 +- ?toolchain/uClibc/uclibc.mk | ? 2 +-?3 files changed, 13 insertions(+), 2 deletions(-)
bump