summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>2011-08-22 21:28:47 +0200
committerPeter Korsgaard <jacmet@sunsite.dk>2011-08-22 22:15:35 +0200
commitf5777ce8fbd60c216234de58147f25dfaac88fe6 (patch)
treeed5e20f91e4aff01405f4557c760d7c7fbeb7686
parent31fc47771778426dddf9a20465fedaf73ce32440 (diff)
linux: add linux/linux26-savedefconfig support
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
-rw-r--r--Makefile1
-rw-r--r--linux/linux.mk4
2 files changed, 5 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 24f0cb2d0..7e7e25f75 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 e6cf01aea..6662f7b06 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