Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/2] linux: add linux/linux26-savedefconfig support
@ 2011-08-22 19:28 Jean-Christophe PLAGNIOL-VILLARD
  2011-08-22 19:28 ` [Buildroot] [PATCH 2/2] barebox: add barebox-<n/x/menu>config and barebox-savedefconfig support Jean-Christophe PLAGNIOL-VILLARD
  2011-08-24 12:44 ` [Buildroot] [PATCH 1/2] linux: add linux/linux26-savedefconfig support Peter Korsgaard
  0 siblings, 2 replies; 4+ messages in thread
From: Jean-Christophe PLAGNIOL-VILLARD @ 2011-08-22 19:28 UTC (permalink / raw)
  To: buildroot

Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
---
 Makefile       |    1 +
 linux/linux.mk |    4 ++++
 2 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/Makefile b/Makefile
index 24f0cb2..7e7e25f 100644
--- a/Makefile
+++ b/Makefile
@@ -652,6 +652,7 @@ ifeq ($(BR2_PACKAGE_BUSYBOX),y)
 endif
 ifeq ($(BR2_LINUX_KERNEL),y)
 	@echo '  linux-menuconfig       - Run Linux kernel menuconfig'
+	@echo '  linux-savedefconfig    - Run Linux kernel savedefconfig'
 endif
 ifeq ($(BR2_TOOLCHAIN_BUILDROOT),y)
 	@echo '  uclibc-menuconfig      - Run uClibc menuconfig'
diff --git a/linux/linux.mk b/linux/linux.mk
index e6cf01a..6662f7b 100644
--- a/linux/linux.mk
+++ b/linux/linux.mk
@@ -184,6 +184,10 @@ linux-menuconfig linux-xconfig linux-gconfig linux-nconfig linux26-menuconfig li
 		$(subst linux-,,$(subst linux26-,,$@))
 	rm -f $(LINUX_DIR)/.stamp_{built,target_installed,images_installed}
 
+linux-savedefconfig linux26-savedefconfig: dirs $(LINUX_DIR)/.stamp_configured
+	$(MAKE) $(LINUX_MAKE_FLAGS) -C $(LINUX_DIR) \
+		$(subst linux-,,$(subst linux26-,,$@))
+
 # 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
-- 
1.7.5.4

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

* [Buildroot] [PATCH 2/2] barebox: add barebox-<n/x/menu>config and barebox-savedefconfig support
  2011-08-22 19:28 [Buildroot] [PATCH 1/2] linux: add linux/linux26-savedefconfig support Jean-Christophe PLAGNIOL-VILLARD
@ 2011-08-22 19:28 ` Jean-Christophe PLAGNIOL-VILLARD
  2011-08-24 12:45   ` Peter Korsgaard
  2011-08-24 12:44 ` [Buildroot] [PATCH 1/2] linux: add linux/linux26-savedefconfig support Peter Korsgaard
  1 sibling, 1 reply; 4+ messages in thread
From: Jean-Christophe PLAGNIOL-VILLARD @ 2011-08-22 19:28 UTC (permalink / raw)
  To: buildroot

Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
---
 Makefile                |    4 ++++
 boot/barebox/barebox.mk |    9 +++++++++
 2 files changed, 13 insertions(+), 0 deletions(-)

diff --git a/Makefile b/Makefile
index 7e7e25f..f74a6ac 100644
--- a/Makefile
+++ b/Makefile
@@ -660,6 +660,10 @@ endif
 ifeq ($(BR2_TOOLCHAIN_CTNG),y)
 	@echo '  ctng-menuconfig        - Run crosstool-NG menuconfig'
 endif
+ifeq ($(BR2_TARGET_BAREBOX),y)
+	@echo '  barebox-menuconfig     - Run barebox menuconfig'
+	@echo '  barebox-savedefconfig  - Run barebox savedefconfig'
+endif
 	@echo
 	@echo 'Miscellaneous:'
 	@echo '  source                 - download all sources needed for offline-build'
diff --git a/boot/barebox/barebox.mk b/boot/barebox/barebox.mk
index 5c615f8..454b545 100644
--- a/boot/barebox/barebox.mk
+++ b/boot/barebox/barebox.mk
@@ -53,6 +53,15 @@ endif
 
 $(eval $(call GENTARGETS,boot,barebox))
 
+barebox-menuconfig barebox-xconfig barebox-gconfig barebox-nconfig: dirs $(BAREBOX_DIR)/.stamp_configured
+	$(MAKE) $(BAREBOX_MAKE_FLAGS) -C $(BAREBOX_DIR) \
+		$(subst barebox-,,$@)
+	rm -f $(BAREBOX_DIR)/.stamp_{built,target_installed,images_installed}
+
+barebox-savedefconfig: dirs $(BAREBOX_DIR)/.stamp_configured
+	$(MAKE) $(BAREBOX_MAKE_FLAGS) -C $(BAREBOX_DIR) \
+		$(subst barebox-,,$@)
+
 ifeq ($(BR2_TARGET_BAREBOX),y)
 # we NEED a board defconfig file unless we're at make source
 ifeq ($(filter source,$(MAKECMDGOALS)),)
-- 
1.7.5.4

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

* [Buildroot] [PATCH 1/2] linux: add linux/linux26-savedefconfig support
  2011-08-22 19:28 [Buildroot] [PATCH 1/2] linux: add linux/linux26-savedefconfig support Jean-Christophe PLAGNIOL-VILLARD
  2011-08-22 19:28 ` [Buildroot] [PATCH 2/2] barebox: add barebox-<n/x/menu>config and barebox-savedefconfig support Jean-Christophe PLAGNIOL-VILLARD
@ 2011-08-24 12:44 ` Peter Korsgaard
  1 sibling, 0 replies; 4+ messages in thread
From: Peter Korsgaard @ 2011-08-24 12:44 UTC (permalink / raw)
  To: buildroot

>>>>> "Jean-Christophe" == Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> writes:

 Jean-Christophe> Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD

Committed, thanks.

-- 
Bye, Peter Korsgaard

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

* [Buildroot] [PATCH 2/2] barebox: add barebox-<n/x/menu>config and barebox-savedefconfig support
  2011-08-22 19:28 ` [Buildroot] [PATCH 2/2] barebox: add barebox-<n/x/menu>config and barebox-savedefconfig support Jean-Christophe PLAGNIOL-VILLARD
@ 2011-08-24 12:45   ` Peter Korsgaard
  0 siblings, 0 replies; 4+ messages in thread
From: Peter Korsgaard @ 2011-08-24 12:45 UTC (permalink / raw)
  To: buildroot

>>>>> "Jean-Christophe" == Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> writes:

 Jean-Christophe> Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>

I've reworked it a bit to only be available if barebox is enabled and
fixed the deps - Committed, thanks.

-- 
Bye, Peter Korsgaard

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

end of thread, other threads:[~2011-08-24 12:45 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-08-22 19:28 [Buildroot] [PATCH 1/2] linux: add linux/linux26-savedefconfig support Jean-Christophe PLAGNIOL-VILLARD
2011-08-22 19:28 ` [Buildroot] [PATCH 2/2] barebox: add barebox-<n/x/menu>config and barebox-savedefconfig support Jean-Christophe PLAGNIOL-VILLARD
2011-08-24 12:45   ` Peter Korsgaard
2011-08-24 12:44 ` [Buildroot] [PATCH 1/2] linux: add linux/linux26-savedefconfig support Peter Korsgaard

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox