[OpenWrt-Devel] [PATCH 0/2] Reduce redundant names in sunxi target

Adrian Schmutzler freifunk at adrianschmutzler.de
Sat Dec 7 17:28:24 EST 2019


This consolidates the various repetitions of device names
in sunxi image Makefiles, and makes naming more consistent
in general.

This is achieved by calculating SUPPORTED_DEVICES from the
node name (as in ath79/ramips) and build the DTS name based
on that.

With this change, future device support should be easier,
as there are less cases where you just have to write the same
name again.

I've build-tested this for all subtargets, but I would be glad
about one or two device-testers.

Adrian Schmutzler (2):
  sunxi: use vendor_device scheme for device definitions
  sunxi: construct DTS name from device node name and SOC

 package/boot/uboot-sunxi/Makefile      |  68 +++++------
 target/linux/sunxi/image/Makefile      |   6 +-
 target/linux/sunxi/image/cortex-a53.mk |  46 ++++----
 target/linux/sunxi/image/cortex-a7.mk  | 154 +++++++++++--------------
 target/linux/sunxi/image/cortex-a8.mk  |  42 +++----
 5 files changed, 148 insertions(+), 168 deletions(-)

-- 
2.20.1


_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel



More information about the openwrt-devel mailing list