projects
/
openwrt
/
staging
/
hauke.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
apm821xx: derive DEVICE_DTS from device name
[openwrt/staging/hauke.git]
/
target
/
linux
/
apm821xx
/
image
/
Makefile
diff --git
a/target/linux/apm821xx/image/Makefile
b/target/linux/apm821xx/image/Makefile
index 1b7c466a44d359a38e330e6f119fb07674e285ad..2331947e332e5447aec9becf779bfd7f7c7b6975 100644
(file)
--- a/
target/linux/apm821xx/image/Makefile
+++ b/
target/linux/apm821xx/image/Makefile
@@
-87,6
+87,7
@@
define Device/Default
KERNEL_ENTRY := 0x00000000
KERNEL_LOADADDR := 0x00000000
DEVICE_DTS_DIR := ../dts
+ DEVICE_DTS = $(subst _,-,$(1))
SUPPORTED_DEVICES = $(subst _,$(comma),$(1))
endef