package: fix bootloader building
The changes ine055aea216
and0849e8193e
have broken the bootloader support. This is because the 'pkgparentdir' macro returns the string 'boot/' for bootloaders, while the GENTARGETS_INNER macro was testing this against 'boot' to know if the configuration option to check for this package is BR2_PACKAGE_* or BR2_TARGET_*. So, instead of testing against 'boot', we test against 'boot/'. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
This commit is contained in:
parent
d6e9b16b37
commit
3196096149
@ -637,7 +637,7 @@ $$($(2)_TARGET_DIRCLEAN): PKG=$(2)
|
||||
# kernel case, the bootloaders case, and the normal packages case.
|
||||
ifeq ($(1),linux)
|
||||
$(2)_KCONFIG_VAR = BR2_LINUX_KERNEL
|
||||
else ifeq ($(4),boot)
|
||||
else ifeq ($(4),boot/)
|
||||
$(2)_KCONFIG_VAR = BR2_TARGET_$(2)
|
||||
else
|
||||
$(2)_KCONFIG_VAR = BR2_PACKAGE_$(2)
|
||||
|
Loading…
Reference in New Issue
Block a user