aboutsummaryrefslogtreecommitdiffstats
path: root/package/Makefile
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2014-03-12 19:53:13 +0000
committerFelix Fietkau <nbd@openwrt.org>2014-03-12 19:53:13 +0000
commite8af4ee9b0ba38e1143d23acea6705aac71faa62 (patch)
treec3165dfe9bf6eaea172961d4a80968a73ebf59f5 /package/Makefile
parent9ed8fd234824ccb9afa11d1c981412fd82c08f2b (diff)
downloadmaster-187ad058-e8af4ee9b0ba38e1143d23acea6705aac71faa62.tar.gz
master-187ad058-e8af4ee9b0ba38e1143d23acea6705aac71faa62.tar.bz2
master-187ad058-e8af4ee9b0ba38e1143d23acea6705aac71faa62.zip
build: fix installation of default-variant packages when the source package has multiple variants (#15237)
Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39899 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/Makefile')
-rw-r--r--package/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/Makefile b/package/Makefile
index f82654cf90..d46cb2ca0e 100644
--- a/package/Makefile
+++ b/package/Makefile
@@ -76,7 +76,7 @@ OPKG:= \
PACKAGE_INSTALL_FILES:= \
$(foreach pkg,$(sort $(package-y)), \
$(foreach variant, \
- $(if $(package/$(pkg)/variants), \
+ $(if $(strip $(package/$(pkg)/variants)), \
$(package/$(pkg)/variants), \
$(if $(package/$(pkg)/default-variant), \
$(package/$(pkg)/default-variant), \