bcm53xx: build a single device per profile
[openwrt/staging/hauke.git] / target / linux / bcm53xx / image / Makefile
index 5158b432b3b1db937d28b5eddffb3ebfc20a1c7d..f3c1b89adf9f85eb8a0ad290ae6ea34d1bf15d61 100644 (file)
@@ -137,6 +137,7 @@ USB2_PACKAGES += kmod-usb-ledtrig-usbport
 USB3_PACKAGES := $(USB2_PACKAGES) kmod-usb3 kmod-phy-bcm-ns-usb3
 
 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
   # extract the full dtb name based on the device info
   DEVICE_DTS := $(patsubst %.dtb,%,$(notdir $(wildcard $(if $(IB),$(KDIR),$(DTS_DIR))/*-$(subst _,-,$(1)).dtb)))