diff options
author | nbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2007-02-22 03:56:54 +0000 |
---|---|---|
committer | nbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2007-02-22 03:56:54 +0000 |
commit | 3b03b65e9943df105d6e7d7e0524687c59868f80 (patch) | |
tree | 4a23ed0d5c6a871167ffbc79366f379039c4e11a | |
parent | cce886cc81c0cf9f495d6f2e56eaeb8dfe26694f (diff) |
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
-rwxr-xr-x | scripts/metadata.pl | 2 | ||||
-rw-r--r-- | target/Config.in | 3 | ||||
-rw-r--r-- | target/imagebuilder/Config.in | 1 |
3 files changed, 6 insertions, 0 deletions
diff --git a/scripts/metadata.pl b/scripts/metadata.pl index d27cd8e59d..4a05628a54 100755 --- a/scripts/metadata.pl +++ b/scripts/metadata.pl @@ -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; diff --git a/target/Config.in b/target/Config.in index 64f775877b..8ff7bee52b 100644 --- a/target/Config.in +++ b/target/Config.in @@ -35,6 +35,9 @@ config USES_JFFS2 config USES_EXT2 bool +config PROFILE_KCONFIG + bool + # Architecture selection config i386 diff --git a/target/imagebuilder/Config.in b/target/imagebuilder/Config.in index 95aeb5d1a5..50b5825812 100644 --- a/target/imagebuilder/Config.in +++ b/target/imagebuilder/Config.in @@ -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 |