ipq40xx: add support for Aruba AP-365
[openwrt/staging/dedeckeh.git] / target / linux / ipq40xx / image / Makefile
index bf69953eac06e28dcbc78206d59540edc5dd20a4..5e6bd1d1b7a5f1a93c38e0b355f074a85d6861f6 100644 (file)
@@ -147,26 +147,33 @@ define Device/alfa-network_ap120c-ac
 endef
 TARGET_DEVICES += alfa-network_ap120c-ac
 
-define Device/aruba_ap-303
+define Device/aruba_glenmorangie
        $(call Device/FitImageLzma)
        DEVICE_VENDOR := Aruba
-       DEVICE_MODEL := AP-303
        SOC := qcom-ipq4029
        DEVICE_PACKAGES := ipq-wifi-aruba_ap-303
        IMAGES := sysupgrade.bin
 endef
+
+define Device/aruba_ap-303
+       $(call Device/aruba_glenmorangie)
+       DEVICE_MODEL := AP-303
+endef
 TARGET_DEVICES += aruba_ap-303
 
 define Device/aruba_ap-303h
-       $(call Device/FitImageLzma)
-       DEVICE_VENDOR := Aruba
+       $(call Device/aruba_glenmorangie)
        DEVICE_MODEL := AP-303H
-       SOC := qcom-ipq4029
-       DEVICE_PACKAGES := ipq-wifi-aruba_ap-303
-       IMAGES := sysupgrade.bin
 endef
 TARGET_DEVICES += aruba_ap-303h
 
+define Device/aruba_ap-365
+       $(call Device/aruba_glenmorangie)
+       DEVICE_MODEL := AP-365
+       DEVICE_PACKAGES += kmod-hwmon-ad7418
+endef
+TARGET_DEVICES += aruba_ap-365
+
 define Device/asus_map-ac2200
        $(call Device/FitImageLzma)
        DEVICE_VENDOR := ASUS