ramips: enable device profiling by dts
authorJohn Crispin <john@openwrt.org>
Sat, 9 Apr 2016 10:24:40 +0000 (10:24 +0000)
committerJohn Crispin <john@openwrt.org>
Sat, 9 Apr 2016 10:24:40 +0000 (10:24 +0000)
Signed-off-by: Roman Yeryomin <roman@advem.lv>
SVN-Revision: 49125

target/linux/ramips/image/Makefile

index ddd67a26867d39577e1cfc013d32bd37e2d3d6ef..6e0349f02163bf1a2a9af6221e759d38e9ca39bc 100644 (file)
@@ -32,6 +32,7 @@ KERNEL_LOADADDR := $(loadaddr-y)
 
 KERNEL_DTB = kernel-bin | patch-dtb | lzma
 define Device/Default
+  PROFILES = Default $$(DTS)
   KERNEL_DEPENDS = $$(wildcard ../dts/$$(DTS).dts)
   KERNEL := $(KERNEL_DTB) | uImage lzma
   IMAGES := sysupgrade.bin