[openwrt/openwrt] ath79: NanoBeam M5 fix target_devices

LEDE Commits lede-commits at lists.infradead.org
Sat May 21 15:05:26 PDT 2022


blocktrron pushed a commit to openwrt/openwrt.git, branch openwrt-22.03:
https://git.openwrt.org/9f415792e165693cb15ed938a208f013be2da772

commit 9f415792e165693cb15ed938a208f013be2da772
Author: Jan-Niklas Burfeind <git at aiyionpri.me>
AuthorDate: Sat May 21 17:17:34 2022 +0200

    ath79: NanoBeam M5 fix target_devices
    
    Update the name of for the Ubiquiti NanoBeam M5 to match the
    auto-generated one at runtime. Otherwise sysupgrade complains about
    mismatching device names.
    
    This also required renaming the DTS.
    
    Signed-off-by: Jan-Niklas Burfeind <git at aiyionpri.me>
    (cherry picked from commit 21a3ce97d571ef28a25754549503bab61a79faf2)
---
 .../{ar9342_ubnt_nanobeam-m5.dts => ar9342_ubnt_nanobeam-m5-xw.dts}   | 0
 target/linux/ath79/image/generic-ubnt.mk                              | 4 ++--
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/target/linux/ath79/dts/ar9342_ubnt_nanobeam-m5.dts b/target/linux/ath79/dts/ar9342_ubnt_nanobeam-m5-xw.dts
similarity index 100%
rename from target/linux/ath79/dts/ar9342_ubnt_nanobeam-m5.dts
rename to target/linux/ath79/dts/ar9342_ubnt_nanobeam-m5-xw.dts
diff --git a/target/linux/ath79/image/generic-ubnt.mk b/target/linux/ath79/image/generic-ubnt.mk
index 3713f538f1..2381d92567 100644
--- a/target/linux/ath79/image/generic-ubnt.mk
+++ b/target/linux/ath79/image/generic-ubnt.mk
@@ -255,13 +255,13 @@ define Device/ubnt_nanobeam-ac-xc
 endef
 TARGET_DEVICES += ubnt_nanobeam-ac-xc
 
-define Device/ubnt_nanobeam-m5
+define Device/ubnt_nanobeam-m5-xw
   $(Device/ubnt-xw)
   DEVICE_MODEL := NanoBeam M5
   DEVICE_PACKAGES += rssileds
   SUPPORTED_DEVICES += loco-m-xw
 endef
-TARGET_DEVICES += ubnt_nanobeam-m5
+TARGET_DEVICES += ubnt_nanobeam-m5-xw
 
 define Device/ubnt_nanobridge-m
   $(Device/ubnt-xm)




More information about the lede-commits mailing list