mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-12-28 13:03:53 +02:00
disable the image builder in menuconfig for profiles with custom kernel configs
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6341 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
cce886cc81
commit
3b03b65e99
@ -53,6 +53,7 @@ sub parse_target_metadata() {
|
||||
}
|
||||
$profile->{desc} = $desc;
|
||||
};
|
||||
/^Target-Profile-Kconfig:/ and $profile->{kconfig} = 1;
|
||||
}
|
||||
foreach my $target (@target) {
|
||||
@{$target->{profiles}} > 0 or $target->{profiles} = [
|
||||
@ -298,6 +299,7 @@ config LINUX_$target->{conf}_$profile->{id}
|
||||
bool "$profile->{name}"
|
||||
depends LINUX_$target->{conf}
|
||||
EOF
|
||||
$profile->{kconfig} and print "\tselect PROFILE_KCONFIG\n";
|
||||
my %pkgs;
|
||||
foreach my $pkg (@{$target->{packages}}, @{$profile->{packages}}) {
|
||||
$pkgs{$pkg} = 1;
|
||||
|
@ -35,6 +35,9 @@ config USES_JFFS2
|
||||
config USES_EXT2
|
||||
bool
|
||||
|
||||
config PROFILE_KCONFIG
|
||||
bool
|
||||
|
||||
# Architecture selection
|
||||
|
||||
config i386
|
||||
|
@ -1,6 +1,7 @@
|
||||
config IB
|
||||
bool "Build the OpenWrt Image Builder"
|
||||
depends !TARGET_ROOTFS_INITRAMFS
|
||||
depends !PROFILE_KCONFIG
|
||||
default y if ALL
|
||||
help
|
||||
This is essentially a stripped-down version of the buildroot
|
||||
|
Loading…
Reference in New Issue
Block a user