default n
config BROKEN
- bool "Show broken platforms / packages" if DEVEL
+ bool "Show broken platforms / packages / devices" if DEVEL
default n
config BINARY_FOLDER
UBOOT_PATH := $(STAGING_DIR_IMAGE)/uboot-$(1)
+ BROKEN :=
DEFAULT :=
endef
Target-Profile-Packages: $(DEVICE_PACKAGES)
Target-Profile-hasImageMetadata: $(if $(foreach image,$(IMAGES),$(findstring append-metadata,$(IMAGE/$(image)))),1,0)
Target-Profile-SupportedDevices: $(SUPPORTED_DEVICES)
+$(if $(BROKEN),Target-Profile-Broken: $(BROKEN))
$(if $(DEFAULT),Target-Profile-Default: $(DEFAULT))
Target-Profile-Description:
$(DEVICE_DESCRIPTION)
};
/^Target-Profile-Packages:\s*(.*)\s*$/ and $profile->{packages} = [ split(/\s+/, $1) ];
/^Target-Profile-Description:\s*(.*)\s*/ and $profile->{desc} = get_multiline(*FILE);
+ /^Target-Profile-Broken:\s*(.+)\s*$/ and do {
+ $profile->{broken} = 1;
+ $profile->{default} = "n";
+ };
/^Target-Profile-Default:\s*(.+)\s*$/ and $profile->{default} = $1;
}
close FILE;
bool "$profile->{name}"
depends on TARGET_$target->{conf}
EOF
+ $profile->{broken} and print "\tdepends on BROKEN\n";
my @pkglist = merge_package_lists($target->{packages}, $profile->{packages});
foreach my $pkg (@pkglist) {
print "\tselect DEFAULT_$pkg\n";
depends on TARGET_$target->{conf}
default $profile->{default}
EOF
+ $profile->{broken} and print "\tdepends on BROKEN\n";
my @pkglist = merge_package_lists($target->{packages}, $profile->{packages});
foreach my $pkg (@pkglist) {
print "\tselect DEFAULT_$pkg if !TARGET_PER_DEVICE_ROOTFS\n";