From: Felix Fietkau Date: Mon, 2 Jul 2018 12:19:42 +0000 (+0200) Subject: build: ensure that iwinfo is selected when building for multiple devices X-Git-Tag: v19.07.0-rc1~3279 X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=516d995d6ada872701e05fab12c0655ea2025eca;p=openwrt%2Fopenwrt.git build: ensure that iwinfo is selected when building for multiple devices extra_packages needs to be added there, like on profiles and target packages lists Signed-off-by: Felix Fietkau --- diff --git a/include/image.mk b/include/image.mk index d358054008..f2a85f6feb 100644 --- a/include/image.mk +++ b/include/image.mk @@ -393,6 +393,7 @@ endef define Device/Check/Common _PROFILE_SET = $$(strip $$(foreach profile,$$(PROFILES) DEVICE_$(1),$$(call DEVICE_CHECK_PROFILE,$$(profile)))) + DEVICE_PACKAGES += $$(call extra_packages,$$(DEVICE_PACKAGES)) ifdef TARGET_PER_DEVICE_ROOTFS $$(eval $$(call merge_packages,_PACKAGES,$$(DEVICE_PACKAGES) $$(call DEVICE_EXTRA_PACKAGES,$(1)))) ROOTFS_ID/$(1) := $$(if $$(_PROFILE_SET),$$(call mkfs_packages_id,$$(_PACKAGES)))