aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2017-07-06 19:44:44 +0200
committerMatthias Schiffer <mschiffer@universe-factory.net>2017-07-06 19:45:09 +0200
commit4b32d66216b4772cd29d34175d421eccc59d8d09 (patch)
tree0450fe4f9166897a278bf80ac18c209380511a65
parente227bade26fc9edebd374a6b59bdba0821f8f032 (diff)
downloadupstream-4b32d66216b4772cd29d34175d421eccc59d8d09.tar.gz
upstream-4b32d66216b4772cd29d34175d421eccc59d8d09.tar.bz2
upstream-4b32d66216b4772cd29d34175d421eccc59d8d09.zip
ramips: simplify ubnt-erx-sfp device definition
Most of the ubnt-erx definition can be reused; the package removals in DEVICE_PACKAGES have become redundant after d17cb4a68a45 "ramips: purge default packages on MT7621". Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
-rw-r--r--target/linux/ramips/image/mt7621.mk9
1 files changed, 2 insertions, 7 deletions
diff --git a/target/linux/ramips/image/mt7621.mk b/target/linux/ramips/image/mt7621.mk
index 95d837b65b..940b9d5a33 100644
--- a/target/linux/ramips/image/mt7621.mk
+++ b/target/linux/ramips/image/mt7621.mk
@@ -185,15 +185,10 @@ endef
TARGET_DEVICES += ubnt-erx
define Device/ubnt-erx-sfp
+ $(Device/ubnt-erx)
DTS := UBNT-ERX-SFP
- FILESYSTEMS := squashfs
- KERNEL_SIZE := 3145728
- KERNEL := $(KERNEL_DTB) | uImage lzma
- IMAGES := sysupgrade.tar
- KERNEL_INITRAMFS := $$(KERNEL) | ubnt-erx-factory-image $(KDIR)/tmp/$$(KERNEL_INITRAMFS_PREFIX)-factory.tar
- IMAGE/sysupgrade.tar := sysupgrade-tar | append-metadata
DEVICE_TITLE := Ubiquiti EdgeRouter X-SFP
- DEVICE_PACKAGES := -kmod-mt76 -kmod-rt2x00-lib -kmod-mac80211 -kmod-cfg80211 -wpad-mini -iwinfo kmod-i2c-algo-pca kmod-gpio-pca953x kmod-i2c-gpio-custom
+ DEVICE_PACKAGES += kmod-i2c-algo-pca kmod-gpio-pca953x kmod-i2c-gpio-custom
endef
TARGET_DEVICES += ubnt-erx-sfp