All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 0 of 3 resend] Add/rename *-update-config targets
@ 2011-10-14 14:56 Thomas De Schampheleire
  2011-10-14 14:56 ` [Buildroot] [PATCH 1 of 3 resend] linux: add linux-update-config and linux-update-defconfig targets Thomas De Schampheleire
                   ` (3 more replies)
  0 siblings, 4 replies; 11+ messages in thread
From: Thomas De Schampheleire @ 2011-10-14 14:56 UTC (permalink / raw)
  To: buildroot

Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>

---
 linux/linux.mk             |  11 +++++++++++
 package/busybox/busybox.mk |   2 +-
 toolchain/uClibc/uclibc.mk |   2 +-
 3 files changed, 13 insertions(+), 2 deletions(-)

^ permalink raw reply	[flat|nested] 11+ messages in thread

* [Buildroot] [PATCH 1 of 3 resend] linux: add linux-update-config and linux-update-defconfig targets
  2011-10-14 14:56 [Buildroot] [PATCH 0 of 3 resend] Add/rename *-update-config targets Thomas De Schampheleire
@ 2011-10-14 14:56 ` Thomas De Schampheleire
  2011-10-25  9:20   ` Thomas De Schampheleire
  2011-11-11 19:14   ` Peter Korsgaard
  2011-10-14 14:56 ` [Buildroot] [PATCH 2 of 3 resend] busybox: rename busybox-update to busybox-update-config Thomas De Schampheleire
                   ` (2 subsequent siblings)
  3 siblings, 2 replies; 11+ messages in thread
From: Thomas De Schampheleire @ 2011-10-14 14:56 UTC (permalink / raw)
  To: buildroot

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 <thomas.de.schampheleire@gmail.com>
Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>

---
v2: add defconfig target and rename.

 linux/linux.mk |  11 +++++++++++
 1 files changed, 11 insertions(+), 0 deletions(-)

diff --git a/linux/linux.mk b/linux/linux.mk
--- a/linux/linux.mk
+++ b/linux/linux.mk
@@ -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

^ permalink raw reply	[flat|nested] 11+ messages in thread

* [Buildroot] [PATCH 2 of 3 resend] busybox: rename busybox-update to busybox-update-config
  2011-10-14 14:56 [Buildroot] [PATCH 0 of 3 resend] Add/rename *-update-config targets Thomas De Schampheleire
  2011-10-14 14:56 ` [Buildroot] [PATCH 1 of 3 resend] linux: add linux-update-config and linux-update-defconfig targets Thomas De Schampheleire
@ 2011-10-14 14:56 ` Thomas De Schampheleire
  2011-10-25  9:20   ` Thomas De Schampheleire
  2011-11-11 19:15   ` Peter Korsgaard
  2011-10-14 14:56 ` [Buildroot] [PATCH 3 of 3 resend] uclibc: rename uclibc-update to uclibc-update-config Thomas De Schampheleire
  2011-10-25  9:19 ` [Buildroot] [PATCH 0 of 3 resend] Add/rename *-update-config targets Thomas De Schampheleire
  3 siblings, 2 replies; 11+ messages in thread
From: Thomas De Schampheleire @ 2011-10-14 14:56 UTC (permalink / raw)
  To: buildroot

The original name busybox-update is confusing as it only updates a
configuration file.

Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>

---
 package/busybox/busybox.mk |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/package/busybox/busybox.mk b/package/busybox/busybox.mk
--- a/package/busybox/busybox.mk
+++ b/package/busybox/busybox.mk
@@ -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)

^ permalink raw reply	[flat|nested] 11+ messages in thread

* [Buildroot] [PATCH 3 of 3 resend] uclibc: rename uclibc-update to uclibc-update-config
  2011-10-14 14:56 [Buildroot] [PATCH 0 of 3 resend] Add/rename *-update-config targets Thomas De Schampheleire
  2011-10-14 14:56 ` [Buildroot] [PATCH 1 of 3 resend] linux: add linux-update-config and linux-update-defconfig targets Thomas De Schampheleire
  2011-10-14 14:56 ` [Buildroot] [PATCH 2 of 3 resend] busybox: rename busybox-update to busybox-update-config Thomas De Schampheleire
@ 2011-10-14 14:56 ` Thomas De Schampheleire
  2011-10-25  9:20   ` Thomas De Schampheleire
  2011-11-11 19:15   ` Peter Korsgaard
  2011-10-25  9:19 ` [Buildroot] [PATCH 0 of 3 resend] Add/rename *-update-config targets Thomas De Schampheleire
  3 siblings, 2 replies; 11+ messages in thread
From: Thomas De Schampheleire @ 2011-10-14 14:56 UTC (permalink / raw)
  To: buildroot

The original name uclibc-update is confusing as it only updates a
configuration file.

Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>

---
 toolchain/uClibc/uclibc.mk |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/toolchain/uClibc/uclibc.mk b/toolchain/uClibc/uclibc.mk
--- a/toolchain/uClibc/uclibc.mk
+++ b/toolchain/uClibc/uclibc.mk
@@ -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

^ permalink raw reply	[flat|nested] 11+ messages in thread

* [Buildroot] [PATCH 0 of 3 resend] Add/rename *-update-config targets
  2011-10-14 14:56 [Buildroot] [PATCH 0 of 3 resend] Add/rename *-update-config targets Thomas De Schampheleire
                   ` (2 preceding siblings ...)
  2011-10-14 14:56 ` [Buildroot] [PATCH 3 of 3 resend] uclibc: rename uclibc-update to uclibc-update-config Thomas De Schampheleire
@ 2011-10-25  9:19 ` Thomas De Schampheleire
  3 siblings, 0 replies; 11+ messages in thread
From: Thomas De Schampheleire @ 2011-10-25  9:19 UTC (permalink / raw)
  To: buildroot

On Fri, Oct 14, 2011 at 4:56 PM, Thomas De Schampheleire
<patrickdepinguin+buildroot@gmail.com> wrote:
> Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
> Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
>
> ---
> ?linux/linux.mk ? ? ? ? ? ? | ?11 +++++++++++
> ?package/busybox/busybox.mk | ? 2 +-
> ?toolchain/uClibc/uclibc.mk | ? 2 +-
> ?3 files changed, 13 insertions(+), 2 deletions(-)
>
>

bump

^ permalink raw reply	[flat|nested] 11+ messages in thread

* [Buildroot] [PATCH 1 of 3 resend] linux: add linux-update-config and linux-update-defconfig targets
  2011-10-14 14:56 ` [Buildroot] [PATCH 1 of 3 resend] linux: add linux-update-config and linux-update-defconfig targets Thomas De Schampheleire
@ 2011-10-25  9:20   ` Thomas De Schampheleire
  2011-11-11 19:14   ` Peter Korsgaard
  1 sibling, 0 replies; 11+ messages in thread
From: Thomas De Schampheleire @ 2011-10-25  9:20 UTC (permalink / raw)
  To: buildroot

On Fri, Oct 14, 2011 at 4:56 PM, Thomas De Schampheleire
<patrickdepinguin+buildroot@gmail.com> wrote:
> 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 <thomas.de.schampheleire@gmail.com>
> Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
>
> ---
> v2: add defconfig target and rename.
>
> ?linux/linux.mk | ?11 +++++++++++
> ?1 files changed, 11 insertions(+), 0 deletions(-)
>
> diff --git a/linux/linux.mk b/linux/linux.mk
> --- a/linux/linux.mk
> +++ b/linux/linux.mk
> @@ -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
>

bump

^ permalink raw reply	[flat|nested] 11+ messages in thread

* [Buildroot] [PATCH 2 of 3 resend] busybox: rename busybox-update to busybox-update-config
  2011-10-14 14:56 ` [Buildroot] [PATCH 2 of 3 resend] busybox: rename busybox-update to busybox-update-config Thomas De Schampheleire
@ 2011-10-25  9:20   ` Thomas De Schampheleire
  2011-11-11 19:15   ` Peter Korsgaard
  1 sibling, 0 replies; 11+ messages in thread
From: Thomas De Schampheleire @ 2011-10-25  9:20 UTC (permalink / raw)
  To: buildroot

On Fri, Oct 14, 2011 at 4:56 PM, Thomas De Schampheleire
<patrickdepinguin+buildroot@gmail.com> wrote:
> The original name busybox-update is confusing as it only updates a
> configuration file.
>
> Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
> Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
>
> ---
> ?package/busybox/busybox.mk | ?2 +-
> ?1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/package/busybox/busybox.mk b/package/busybox/busybox.mk
> --- a/package/busybox/busybox.mk
> +++ b/package/busybox/busybox.mk
> @@ -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)
>

bump

^ permalink raw reply	[flat|nested] 11+ messages in thread

* [Buildroot] [PATCH 3 of 3 resend] uclibc: rename uclibc-update to uclibc-update-config
  2011-10-14 14:56 ` [Buildroot] [PATCH 3 of 3 resend] uclibc: rename uclibc-update to uclibc-update-config Thomas De Schampheleire
@ 2011-10-25  9:20   ` Thomas De Schampheleire
  2011-11-11 19:15   ` Peter Korsgaard
  1 sibling, 0 replies; 11+ messages in thread
From: Thomas De Schampheleire @ 2011-10-25  9:20 UTC (permalink / raw)
  To: buildroot

On Fri, Oct 14, 2011 at 4:56 PM, Thomas De Schampheleire
<patrickdepinguin+buildroot@gmail.com> wrote:
> The original name uclibc-update is confusing as it only updates a
> configuration file.
>
> Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
> Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
>
> ---
> ?toolchain/uClibc/uclibc.mk | ?2 +-
> ?1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/toolchain/uClibc/uclibc.mk b/toolchain/uClibc/uclibc.mk
> --- a/toolchain/uClibc/uclibc.mk
> +++ b/toolchain/uClibc/uclibc.mk
> @@ -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
>

bump

^ permalink raw reply	[flat|nested] 11+ messages in thread

* [Buildroot] [PATCH 1 of 3 resend] linux: add linux-update-config and linux-update-defconfig targets
  2011-10-14 14:56 ` [Buildroot] [PATCH 1 of 3 resend] linux: add linux-update-config and linux-update-defconfig targets Thomas De Schampheleire
  2011-10-25  9:20   ` Thomas De Schampheleire
@ 2011-11-11 19:14   ` Peter Korsgaard
  1 sibling, 0 replies; 11+ messages in thread
From: Peter Korsgaard @ 2011-11-11 19:14 UTC (permalink / raw)
  To: buildroot

>>>>> "Thomas" == Thomas De Schampheleire <patrickdepinguin+buildroot@gmail.com> 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.

-- 
Bye, Peter Korsgaard

^ permalink raw reply	[flat|nested] 11+ messages in thread

* [Buildroot] [PATCH 2 of 3 resend] busybox: rename busybox-update to busybox-update-config
  2011-10-14 14:56 ` [Buildroot] [PATCH 2 of 3 resend] busybox: rename busybox-update to busybox-update-config Thomas De Schampheleire
  2011-10-25  9:20   ` Thomas De Schampheleire
@ 2011-11-11 19:15   ` Peter Korsgaard
  1 sibling, 0 replies; 11+ messages in thread
From: Peter Korsgaard @ 2011-11-11 19:15 UTC (permalink / raw)
  To: buildroot

>>>>> "Thomas" == Thomas De Schampheleire <patrickdepinguin+buildroot@gmail.com> writes:

 Thomas> The original name busybox-update is confusing as it only updates a
 Thomas> configuration file.

 Thomas> Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
 Thomas> Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>

Committed, thanks.

-- 
Bye, Peter Korsgaard

^ permalink raw reply	[flat|nested] 11+ messages in thread

* [Buildroot] [PATCH 3 of 3 resend] uclibc: rename uclibc-update to uclibc-update-config
  2011-10-14 14:56 ` [Buildroot] [PATCH 3 of 3 resend] uclibc: rename uclibc-update to uclibc-update-config Thomas De Schampheleire
  2011-10-25  9:20   ` Thomas De Schampheleire
@ 2011-11-11 19:15   ` Peter Korsgaard
  1 sibling, 0 replies; 11+ messages in thread
From: Peter Korsgaard @ 2011-11-11 19:15 UTC (permalink / raw)
  To: buildroot

>>>>> "Thomas" == Thomas De Schampheleire <patrickdepinguin+buildroot@gmail.com> writes:

 Thomas> The original name uclibc-update is confusing as it only updates a
 Thomas> configuration file.

 Thomas> Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
 Thomas> Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>

Committed, thanks.

-- 
Bye, Peter Korsgaard

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2011-11-11 19:15 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-10-14 14:56 [Buildroot] [PATCH 0 of 3 resend] Add/rename *-update-config targets Thomas De Schampheleire
2011-10-14 14:56 ` [Buildroot] [PATCH 1 of 3 resend] linux: add linux-update-config and linux-update-defconfig targets Thomas De Schampheleire
2011-10-25  9:20   ` Thomas De Schampheleire
2011-11-11 19:14   ` Peter Korsgaard
2011-10-14 14:56 ` [Buildroot] [PATCH 2 of 3 resend] busybox: rename busybox-update to busybox-update-config Thomas De Schampheleire
2011-10-25  9:20   ` Thomas De Schampheleire
2011-11-11 19:15   ` Peter Korsgaard
2011-10-14 14:56 ` [Buildroot] [PATCH 3 of 3 resend] uclibc: rename uclibc-update to uclibc-update-config Thomas De Schampheleire
2011-10-25  9:20   ` Thomas De Schampheleire
2011-11-11 19:15   ` Peter Korsgaard
2011-10-25  9:19 ` [Buildroot] [PATCH 0 of 3 resend] Add/rename *-update-config targets Thomas De Schampheleire

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.