build: fix installation of default-variant packages when the source package has multiple variants (#15237)

Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 39899
This commit is contained in:
Felix Fietkau 2014-03-12 19:53:13 +00:00
parent bc6223666e
commit d1c64ab221

View File

@ -76,7 +76,7 @@ OPKG:= \
PACKAGE_INSTALL_FILES:= \ PACKAGE_INSTALL_FILES:= \
$(foreach pkg,$(sort $(package-y)), \ $(foreach pkg,$(sort $(package-y)), \
$(foreach variant, \ $(foreach variant, \
$(if $(package/$(pkg)/variants), \ $(if $(strip $(package/$(pkg)/variants)), \
$(package/$(pkg)/variants), \ $(package/$(pkg)/variants), \
$(if $(package/$(pkg)/default-variant), \ $(if $(package/$(pkg)/default-variant), \
$(package/$(pkg)/default-variant), \ $(package/$(pkg)/default-variant), \