linux: add linux/linux26-savedefconfig support
authorJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Mon, 22 Aug 2011 19:28:47 +0000 (21:28 +0200)
committerPeter Korsgaard <jacmet@sunsite.dk>
Mon, 22 Aug 2011 20:15:35 +0000 (22:15 +0200)
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Makefile
linux/linux.mk

index 24f0cb2d0668965383596973c03bf6d29c2ee393..7e7e25f751d8d136114ec63bd461ec84b8d68651 100644 (file)
--- 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'
index e6cf01aea05bf2c5cb9787d803450e01d396c2e9..6662f7b06d2cc7b58f9f0070df1e356dcfb2fda4 100644 (file)
@@ -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