Skip to content
Snippets Groups Projects
Commit 1b216aa2 authored by Hamish Guthrie's avatar Hamish Guthrie
Browse files

Add FEATURE ramdisk to be able to select the use of INITRAMFS for a sub-target

SVN-Revision: 14939
parent 20b56263
No related branches found
No related tags found
No related merge requests found
......@@ -15,7 +15,7 @@ source "target/Config.in"
menu "Target Images"
config TARGET_ROOTFS_INITRAMFS
bool "ramdisk"
default n
default y if USES_INITRAMFS
depends LINUX_2_6
help
Embed the rootfs into the kernel (initramfs)
......
......@@ -163,6 +163,7 @@ sub target_config_features(@) {
/tgz/ and $ret .= "\tselect USES_TGZ\n";
/cpiogz/ and $ret .= "\tselect USES_CPIOGZ\n";
/fpu/ and $ret .= "\tselect HAS_FPU\n";
/ramdisk/ and $ret .= "\tselect USES_INITRAMFS\n";
}
return $ret;
}
......
......@@ -29,6 +29,9 @@ config USB_SUPPORT
config BIG_ENDIAN
bool
config USES_INITRAMFS
bool
config USES_SQUASHFS
bool
......
BOARDNAME:=Petitboot
FEATURES:=fpu
FEATURES:=fpu ramdisk
DEFAULT_PACKAGES+= dnsmasq
DEFAULT_PACKAGES+= dnsmasq petitboot
define Target/Description
Build Petitboot bootloader
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment