package: fix bootloader building
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Fri, 30 Sep 2011 18:45:56 +0000 (20:45 +0200)
committerPeter Korsgaard <jacmet@sunsite.dk>
Sun, 2 Oct 2011 18:55:55 +0000 (20:55 +0200)
commit31960961497ebc1059978c54c7d65a08a8b7e821
tree38e2ba32b372eceeb3dffb9e1a124532cd2ce7b1
parentd6e9b16b37940fc1377f7f3dc2c5cac3a4baca76
package: fix bootloader building

The changes in e055aea216cff4d12cf55eab2e35ca1459edaa91 and
0849e8193ef429f29945b8c2a54eafc8635e0969 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>
package/Makefile.package.in