X-Git-Url: http://git.openwrt.org/?p=openwrt%2Fopenwrt.git;a=blobdiff_plain;f=target%2Flinux%2Focteon%2Fimage%2FMakefile;h=f77159e1f93b32a812aa241d183929ce0447bdb3;hp=8e97280479d89e0053b081c25acc198e0f0504b3;hb=6ee3680614047f7732731ebbaac946a93ab4f693;hpb=598b29585ed9501e751b8d3faf3b6e017ad96baa diff --git a/target/linux/octeon/image/Makefile b/target/linux/octeon/image/Makefile index 8e97280479..f77159e1f9 100644 --- a/target/linux/octeon/image/Makefile +++ b/target/linux/octeon/image/Makefile @@ -48,21 +48,31 @@ define Device/ubnt_edgerouter DEVICE_MODEL := EdgeRouter BOARD_NAME := er CMDLINE := $(ER_CMDLINE) - DEFAULT := n endef TARGET_DEVICES += ubnt_edgerouter -define Device/ubnt_edgerouter-4 +define Device/ubnt_edgerouter-e300 DEVICE_VENDOR := Ubiquiti - DEVICE_MODEL := EdgeRouter 4 - DEVICE_DTS := cn7130_ubnt_edgerouter-4 DEVICE_PACKAGES += kmod-gpio-button-hotplug kmod-leds-gpio kmod-of-mdio kmod-sfp kmod-usb3 kmod-usb-dwc3 kmod-usb-storage-uas KERNEL := kernel-bin | patch-cmdline | append-dtb-to-elf KERNEL_DEPENDS := $$(wildcard $(DTS_DIR)/$(DEVICE_DTS).dts) CMDLINE := root=/dev/mmcblk0p2 rootfstype=squashfs,ext4 rootwait endef + +define Device/ubnt_edgerouter-4 + $(Device/ubnt_edgerouter-e300) + DEVICE_MODEL := EdgeRouter 4 + DEVICE_DTS := cn7130_ubnt_edgerouter-4 +endef TARGET_DEVICES += ubnt_edgerouter-4 +define Device/ubnt_edgerouter-6p + $(Device/ubnt_edgerouter-e300) + DEVICE_MODEL := EdgeRouter 6P + DEVICE_DTS := cn7130_ubnt_edgerouter-6p +endef +TARGET_DEVICES += ubnt_edgerouter-6p + ERLITE_CMDLINE:=-mtdparts=phys_mapped_flash:512k(boot0)ro,512k(boot1)ro,64k(eeprom)ro root=/dev/sda2 rootfstype=squashfs,ext4 rootwait define Device/ubnt_edgerouter-lite DEVICE_VENDOR := Ubiquiti