buildrootschalter/boot/grub
Thomas Petazzoni b0d446dee4 Improve TARGETS handling for bootloaders and kernel
As the kernel and bootloaders do not use the normal BR2_PACKAGE_*
Kconfig options, their target name was not automatically added to the
global TARGETS variable. Each bootloader .mk and the linux.mk had to
add their own target manually to TARGETS, and the package
infrastructure was making tests on non-existing Kconfig variables.

This commit improves the package infrastructure so that it looks at
BR2_PACKAGE_<pkg> for packages, BR2_TARGET_<pkg> for bootloaders and
at the special BR2_LINUX_KERNEL for the linux package.

This allows to simplify a little bit the bootloaders and linux .mk
files.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-07-11 23:40:23 +02:00
..
Config.in bootloaders: move bootloader build code to boot/ 2010-06-10 21:05:12 +02:00
grub.100-autoreconf.patch bootloaders: move bootloader build code to boot/ 2010-06-10 21:05:12 +02:00
grub.200-fix_mbr_handling.patch bootloaders: move bootloader build code to boot/ 2010-06-10 21:05:12 +02:00
grub.300-honor_UCLIBC_HAS_LFS.patch bootloaders: move bootloader build code to boot/ 2010-06-10 21:05:12 +02:00
grub.400-nic_update2.patch.bz2 bootloaders: move bootloader build code to boot/ 2010-06-10 21:05:12 +02:00
grub.500-build-fix.patch grub: convert to AUTOTARGETS 2011-07-10 15:28:23 +02:00
grub.mk Improve TARGETS handling for bootloaders and kernel 2011-07-11 23:40:23 +02:00
menu.lst bootloaders: move bootloader build code to boot/ 2010-06-10 21:05:12 +02:00
splash.xpm.gz bootloaders: move bootloader build code to boot/ 2010-06-10 21:05:12 +02:00