buildroot: build a second pass kernel if initramfs is enabled

If initramfs is enabled, build a second pass kernel containing the CPIO
rootfs, preliminary work to get non exclusive enabling of initramfs.

Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 37047
This commit is contained in:
Florian Fainelli
2013-06-27 19:58:20 +00:00
parent b729d41d64
commit a890ccd6e0
2 changed files with 30 additions and 6 deletions

View File

@@ -32,6 +32,7 @@ endef
define Kernel/CompileImage
$(call Kernel/CompileImage/Default)
$(call Kernel/CompileImage/Initramfs)
endef
define Kernel/Clean