* [Buildroot] [PATCH 0 of 2] linux: add linux-update and allow vmlinux for all architectures
@ 2011-09-21 6:46 Thomas De Schampheleire
2011-09-21 6:46 ` [Buildroot] [PATCH 1 of 2] linux: add linux-update target to save configuration Thomas De Schampheleire
2011-09-21 6:46 ` [Buildroot] [PATCH 2 of 2] linux: make vmlinux target available to all architectures Thomas De Schampheleire
0 siblings, 2 replies; 11+ messages in thread
From: Thomas De Schampheleire @ 2011-09-21 6:46 UTC (permalink / raw)
To: buildroot
Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
---
linux/Config.in | 1 -
linux/linux.mk | 7 +++++++
2 files changed, 7 insertions(+), 1 deletions(-)
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Buildroot] [PATCH 1 of 2] linux: add linux-update target to save configuration
2011-09-21 6:46 [Buildroot] [PATCH 0 of 2] linux: add linux-update and allow vmlinux for all architectures Thomas De Schampheleire
@ 2011-09-21 6:46 ` Thomas De Schampheleire
2011-09-21 7:28 ` Thomas Petazzoni
2011-09-21 6:46 ` [Buildroot] [PATCH 2 of 2] linux: make vmlinux target available to all architectures Thomas De Schampheleire
1 sibling, 1 reply; 11+ messages in thread
From: Thomas De Schampheleire @ 2011-09-21 6:46 UTC (permalink / raw)
To: buildroot
In analogy to build targets uclibc-update and busybox-update, add linux-update
that copies the current configuration to the custom configuration file set in
buildroot.
This facilitates the work of developers adding support for a specific board
to buildroot.
Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
---
linux/linux.mk | 7 +++++++
1 files changed, 7 insertions(+), 0 deletions(-)
diff --git a/linux/linux.mk b/linux/linux.mk
--- a/linux/linux.mk
+++ b/linux/linux.mk
@@ -188,6 +188,13 @@
$(MAKE) $(LINUX_MAKE_FLAGS) -C $(LINUX_DIR) \
$(subst linux-,,$(subst linux26-,,$@))
+ifeq ($(BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG),y)
+linux-update linux26-update: $(LINUX_DIR)/.config
+ cp -f $(LINUX_DIR)/.config $(BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE)
+else
+linux-update linux26-update: ;
+endif
+
# Support for rebuilding the kernel after the initramfs file list has
# been generated in $(BINARIES_DIR)/rootfs.initramfs.
$(LINUX_DIR)/.stamp_initramfs_rebuilt: $(LINUX_DIR)/.stamp_target_installed $(LINUX_DIR)/.stamp_images_installed $(BINARIES_DIR)/rootfs.initramfs
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Buildroot] [PATCH 2 of 2] linux: make vmlinux target available to all architectures
2011-09-21 6:46 [Buildroot] [PATCH 0 of 2] linux: add linux-update and allow vmlinux for all architectures Thomas De Schampheleire
2011-09-21 6:46 ` [Buildroot] [PATCH 1 of 2] linux: add linux-update target to save configuration Thomas De Schampheleire
@ 2011-09-21 6:46 ` Thomas De Schampheleire
2011-09-21 7:29 ` Thomas Petazzoni
2011-11-14 15:22 ` Peter Korsgaard
1 sibling, 2 replies; 11+ messages in thread
From: Thomas De Schampheleire @ 2011-09-21 6:46 UTC (permalink / raw)
To: buildroot
The 'vmlinux' target in the linux build directory is a generic target. It may
not be directly bootable for all architectures, but for projects where a custom
bootloader is used, it can be of value.
Previously, this target was only available for mips architectures. This patch
removes this restriction.
Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
---
linux/Config.in | 1 -
1 files changed, 0 insertions(+), 1 deletions(-)
diff --git a/linux/Config.in b/linux/Config.in
--- a/linux/Config.in
+++ b/linux/Config.in
@@ -146,7 +146,6 @@
config BR2_LINUX_KERNEL_VMLINUX
bool "vmlinux"
- depends on BR2_mips || BR2_mipsel
config BR2_LINUX_KERNEL_IMAGE_TARGET_CUSTOM
bool "custom target"
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Buildroot] [PATCH 1 of 2] linux: add linux-update target to save configuration
2011-09-21 6:46 ` [Buildroot] [PATCH 1 of 2] linux: add linux-update target to save configuration Thomas De Schampheleire
@ 2011-09-21 7:28 ` Thomas Petazzoni
2011-09-21 8:16 ` Thomas De Schampheleire
0 siblings, 1 reply; 11+ messages in thread
From: Thomas Petazzoni @ 2011-09-21 7:28 UTC (permalink / raw)
To: buildroot
Hello,
Le Wed, 21 Sep 2011 08:46:15 +0200,
Thomas De Schampheleire <patrickdepinguin+buildroot@gmail.com> a ?crit :
> In analogy to build targets uclibc-update and busybox-update, add linux-update
> that copies the current configuration to the custom configuration file set in
> buildroot.
> This facilitates the work of developers adding support for a specific board
> to buildroot.
Definitely a good thing to have. However:
* The name if misleading. "linux-update" "busybox-update": one is not
"updating" Linux or Busybox, but rather copying or updating the
configuration. So presumably the name of those targets should be
changed.
* I don't like the existing behaviour of busybox-update and
uclibc-update, because they can overwrite the default configuration
in package/busybox/busybox-xxx.config or
toolchain/uClibc/uClibc-xxx.config. I think those *-update should
only take effect if a non-standard configuration file was proposed,
as you did for the Linux one.
* For the Linux kernel, I do use savedefconfig, so I'd like to see
either this "linux-update" thing use savedefconfig, or have a
separate option that does the same thing as "linux-update" but using
savedefconfig. Maybe "linux-update-config" and
"linux-update-minconfig" ?
Regards,
Thomas
--
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Buildroot] [PATCH 2 of 2] linux: make vmlinux target available to all architectures
2011-09-21 6:46 ` [Buildroot] [PATCH 2 of 2] linux: make vmlinux target available to all architectures Thomas De Schampheleire
@ 2011-09-21 7:29 ` Thomas Petazzoni
2011-09-22 19:07 ` Thomas Petazzoni
2011-11-14 15:22 ` Peter Korsgaard
1 sibling, 1 reply; 11+ messages in thread
From: Thomas Petazzoni @ 2011-09-21 7:29 UTC (permalink / raw)
To: buildroot
Le Wed, 21 Sep 2011 08:46:16 +0200,
Thomas De Schampheleire <patrickdepinguin+buildroot@gmail.com> a ?crit :
> The 'vmlinux' target in the linux build directory is a generic target. It may
> not be directly bootable for all architectures, but for projects where a custom
> bootloader is used, it can be of value.
>
> Previously, this target was only available for mips architectures. This patch
> removes this restriction.
>
> Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
--
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Buildroot] [PATCH 1 of 2] linux: add linux-update target to save configuration
2011-09-21 7:28 ` Thomas Petazzoni
@ 2011-09-21 8:16 ` Thomas De Schampheleire
0 siblings, 0 replies; 11+ messages in thread
From: Thomas De Schampheleire @ 2011-09-21 8:16 UTC (permalink / raw)
To: buildroot
Hi Thomas,
On Wed, Sep 21, 2011 at 9:28 AM, Thomas Petazzoni
<thomas.petazzoni@free-electrons.com> wrote:
> Hello,
>
> Le Wed, 21 Sep 2011 08:46:15 +0200,
> Thomas De Schampheleire <patrickdepinguin+buildroot@gmail.com> a ?crit :
>
>> In analogy to build targets uclibc-update and busybox-update, add linux-update
>> that copies the current configuration to the custom configuration file set in
>> buildroot.
>> This facilitates the work of developers adding support for a specific board
>> to buildroot.
>
> Definitely a good thing to have. However:
>
> ?* The name if misleading. "linux-update" "busybox-update": one is not
> ? "updating" Linux or Busybox, but rather copying or updating the
> ? configuration. So presumably the name of those targets should be
> ? changed.
I agree that the name is a bit strange. "busybox-update" and
"uclibc-update" were introduced back in 2007:
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Buildroot] [PATCH 2 of 2] linux: make vmlinux target available to all architectures
2011-09-21 7:29 ` Thomas Petazzoni
@ 2011-09-22 19:07 ` Thomas Petazzoni
2011-10-16 10:35 ` Thomas De Schampheleire
0 siblings, 1 reply; 11+ messages in thread
From: Thomas Petazzoni @ 2011-09-22 19:07 UTC (permalink / raw)
To: buildroot
Le Wed, 21 Sep 2011 09:29:29 +0200,
Thomas Petazzoni <thomas.petazzoni@free-electrons.com> a ?crit :
> Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
I've merged the patch in a linux-changes branch I will push to Peter.
Thomas
--
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Buildroot] [PATCH 2 of 2] linux: make vmlinux target available to all architectures
2011-09-22 19:07 ` Thomas Petazzoni
@ 2011-10-16 10:35 ` Thomas De Schampheleire
2011-10-17 7:15 ` Thomas Petazzoni
0 siblings, 1 reply; 11+ messages in thread
From: Thomas De Schampheleire @ 2011-10-16 10:35 UTC (permalink / raw)
To: buildroot
Hi Thomas,
On Thu, Sep 22, 2011 at 9:07 PM, Thomas Petazzoni
<thomas.petazzoni@free-electrons.com> wrote:
> Le Wed, 21 Sep 2011 09:29:29 +0200,
> Thomas Petazzoni <thomas.petazzoni@free-electrons.com> a ?crit :
>
>> Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
>
> I've merged the patch in a linux-changes branch I will push to Peter.
Could you tell me the status of the linux-changes branch? Do you still
have other patches that should go in before you push it to Peter?
Thanks,
Thomas
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Buildroot] [PATCH 2 of 2] linux: make vmlinux target available to all architectures
2011-10-16 10:35 ` Thomas De Schampheleire
@ 2011-10-17 7:15 ` Thomas Petazzoni
2011-10-17 8:38 ` Thomas De Schampheleire
0 siblings, 1 reply; 11+ messages in thread
From: Thomas Petazzoni @ 2011-10-17 7:15 UTC (permalink / raw)
To: buildroot
Le Sun, 16 Oct 2011 12:35:00 +0200,
Thomas De Schampheleire <patrickdepinguin+buildroot@gmail.com> a ?crit :
> Could you tell me the status of the linux-changes branch? Do you still
> have other patches that should go in before you push it to Peter?
I will check this and post the patches soon.
Thomas
--
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Buildroot] [PATCH 2 of 2] linux: make vmlinux target available to all architectures
2011-10-17 7:15 ` Thomas Petazzoni
@ 2011-10-17 8:38 ` Thomas De Schampheleire
0 siblings, 0 replies; 11+ messages in thread
From: Thomas De Schampheleire @ 2011-10-17 8:38 UTC (permalink / raw)
To: buildroot
On Mon, Oct 17, 2011 at 9:15 AM, Thomas Petazzoni
<thomas.petazzoni@free-electrons.com> wrote:
> Le Sun, 16 Oct 2011 12:35:00 +0200,
> Thomas De Schampheleire <patrickdepinguin+buildroot@gmail.com> a ?crit :
>
>> Could you tell me the status of the linux-changes branch? Do you still
>> have other patches that should go in before you push it to Peter?
>
> I will check this and post the patches soon.
Thanks.
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Buildroot] [PATCH 2 of 2] linux: make vmlinux target available to all architectures
2011-09-21 6:46 ` [Buildroot] [PATCH 2 of 2] linux: make vmlinux target available to all architectures Thomas De Schampheleire
2011-09-21 7:29 ` Thomas Petazzoni
@ 2011-11-14 15:22 ` Peter Korsgaard
1 sibling, 0 replies; 11+ messages in thread
From: Peter Korsgaard @ 2011-11-14 15:22 UTC (permalink / raw)
To: buildroot
>>>>> "Thomas" == Thomas De Schampheleire <patrickdepinguin+buildroot@gmail.com> writes:
Thomas> The 'vmlinux' target in the linux build directory is a generic
Thomas> target. It may not be directly bootable for all architectures,
Thomas> but for projects where a custom bootloader is used, it can be
Thomas> of value.
Committed, thanks.
--
Bye, Peter Korsgaard
^ permalink raw reply [flat|nested] 11+ messages in thread
end of thread, other threads:[~2011-11-14 15:22 UTC | newest]
Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-09-21 6:46 [Buildroot] [PATCH 0 of 2] linux: add linux-update and allow vmlinux for all architectures Thomas De Schampheleire
2011-09-21 6:46 ` [Buildroot] [PATCH 1 of 2] linux: add linux-update target to save configuration Thomas De Schampheleire
2011-09-21 7:28 ` Thomas Petazzoni
2011-09-21 8:16 ` Thomas De Schampheleire
2011-09-21 6:46 ` [Buildroot] [PATCH 2 of 2] linux: make vmlinux target available to all architectures Thomas De Schampheleire
2011-09-21 7:29 ` Thomas Petazzoni
2011-09-22 19:07 ` Thomas Petazzoni
2011-10-16 10:35 ` Thomas De Schampheleire
2011-10-17 7:15 ` Thomas Petazzoni
2011-10-17 8:38 ` Thomas De Schampheleire
2011-11-14 15:22 ` Peter Korsgaard
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.