mirror of
https://github.com/immortalwrt/immortalwrt
synced 2025-01-08 12:08:13 +08:00
bcm53xx: build a single device per profile
So far every build of a single bcm53xx Target Profile (it means: when NOT using CONFIG_TARGET_MULTI_PROFILE) resulted in all target devices images being built. Now it only builds the one matching selected profile. Fixes: #13572 Suggested-by: Jonas Gorski <jonas.gorski@gmail.com> Signed-off-by: Rani Hod <rani.hod@gmail.com> [rmilecki: update commit subject + body & move PROFILES line] Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
This commit is contained in:
parent
4e5d45f1e6
commit
802a5f5cb4
@ -143,6 +143,7 @@ USB2_PACKAGES += kmod-usb-ledtrig-usbport
|
|||||||
USB3_PACKAGES := $(USB2_PACKAGES) kmod-usb3 kmod-phy-bcm-ns-usb3
|
USB3_PACKAGES := $(USB2_PACKAGES) kmod-usb3 kmod-phy-bcm-ns-usb3
|
||||||
|
|
||||||
define Device/Default
|
define Device/Default
|
||||||
|
PROFILES = Generic $$(DEVICE_NAME)
|
||||||
# .dtb files are prefixed by SoC type, e.g. bcm4708- which is not included in device/image names
|
# .dtb files are prefixed by SoC type, e.g. bcm4708- which is not included in device/image names
|
||||||
# extract the full dtb name based on the device info
|
# extract the full dtb name based on the device info
|
||||||
DEVICE_DTS := $(patsubst %.dtb,%,$(notdir $(wildcard $(if $(IB),$(KDIR),$(DTS_DIR))/*-$(subst _,-,$(1)).dtb)))
|
DEVICE_DTS := $(patsubst %.dtb,%,$(notdir $(wildcard $(if $(IB),$(KDIR),$(DTS_DIR))/*-$(subst _,-,$(1)).dtb)))
|
||||||
|
Loading…
Reference in New Issue
Block a user