mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-24 03:30:37 +02:00
Add FEATURE ramdisk to be able to select the use of INITRAMFS for a sub-target
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14939 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
c1fef4b90b
commit
5cd973bdee
@ -15,7 +15,7 @@ source "target/Config.in"
|
|||||||
menu "Target Images"
|
menu "Target Images"
|
||||||
config TARGET_ROOTFS_INITRAMFS
|
config TARGET_ROOTFS_INITRAMFS
|
||||||
bool "ramdisk"
|
bool "ramdisk"
|
||||||
default n
|
default y if USES_INITRAMFS
|
||||||
depends LINUX_2_6
|
depends LINUX_2_6
|
||||||
help
|
help
|
||||||
Embed the rootfs into the kernel (initramfs)
|
Embed the rootfs into the kernel (initramfs)
|
||||||
|
@ -163,6 +163,7 @@ sub target_config_features(@) {
|
|||||||
/tgz/ and $ret .= "\tselect USES_TGZ\n";
|
/tgz/ and $ret .= "\tselect USES_TGZ\n";
|
||||||
/cpiogz/ and $ret .= "\tselect USES_CPIOGZ\n";
|
/cpiogz/ and $ret .= "\tselect USES_CPIOGZ\n";
|
||||||
/fpu/ and $ret .= "\tselect HAS_FPU\n";
|
/fpu/ and $ret .= "\tselect HAS_FPU\n";
|
||||||
|
/ramdisk/ and $ret .= "\tselect USES_INITRAMFS\n";
|
||||||
}
|
}
|
||||||
return $ret;
|
return $ret;
|
||||||
}
|
}
|
||||||
|
@ -29,6 +29,9 @@ config USB_SUPPORT
|
|||||||
config BIG_ENDIAN
|
config BIG_ENDIAN
|
||||||
bool
|
bool
|
||||||
|
|
||||||
|
config USES_INITRAMFS
|
||||||
|
bool
|
||||||
|
|
||||||
config USES_SQUASHFS
|
config USES_SQUASHFS
|
||||||
bool
|
bool
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
BOARDNAME:=Petitboot
|
BOARDNAME:=Petitboot
|
||||||
FEATURES:=fpu
|
FEATURES:=fpu ramdisk
|
||||||
|
|
||||||
DEFAULT_PACKAGES+= dnsmasq
|
DEFAULT_PACKAGES+= dnsmasq petitboot
|
||||||
|
|
||||||
define Target/Description
|
define Target/Description
|
||||||
Build Petitboot bootloader
|
Build Petitboot bootloader
|
||||||
|
Loading…
Reference in New Issue
Block a user