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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37047 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
Florian Fainelli
2013-06-27 19:58:20 +00:00
parent 719741fd95
commit 3bb9630877
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