ramips: convert mt7688 to new image building code
Signed-off-by: John Crispin <john@phrozen.org>
This commit is contained in:
		| @@ -2,10 +2,18 @@ | |||||||
| # MT7688 Profiles | # MT7688 Profiles | ||||||
| # | # | ||||||
|  |  | ||||||
| Image/Build/Profile/LinkIt7688=$(call BuildFirmware/Default32M/$(1),$(1),LinkIt7688,LINKIT7688) | define Device/LinkIt7688 | ||||||
| Image/Build/Profile/WRTNODE2R=$(call BuildFirmware/Default16M/$(1),$(1),wrtnode2r,WRTNODE2R) |   DTS := LINKIT7688 | ||||||
|  |   IMAGE_SIZE := $(ralink_default_fw_size_32M) | ||||||
| define Image/Build/Profile/Default |   DEVICE_TITLE := MediaTek LinkIt Smart 7688 | ||||||
| 	$(call Image/Build/Profile/LinkIt7688,$(1)) |   DEVICE_PACKAGES:= kmod-usb2 kmod-usb-ohci uboot-envtools | ||||||
| 	$(call Image/Build/Profile/WRTNODE2R,$(1)) |  | ||||||
| endef | endef | ||||||
|  | TARGET_DEVICES += LinkIt7688 | ||||||
|  |  | ||||||
|  | define Device/wrtnode2r | ||||||
|  |   DTS := WRTNODE2R | ||||||
|  |   IMAGE_SIZE := $(ralink_default_fw_size_16M) | ||||||
|  |   DEVICE_TITLE := WRTnode 2R | ||||||
|  |   DEVICE_PACKAGES := kmod-usb2 kmod-usb-ohci | ||||||
|  | endef | ||||||
|  | TARGET_DEVICES += wrtnode2r | ||||||
|   | |||||||
| @@ -7,9 +7,7 @@ | |||||||
|  |  | ||||||
| define Profile/Default | define Profile/Default | ||||||
| 	NAME:=Default Profile | 	NAME:=Default Profile | ||||||
| 	PACKAGES:=\ | 	PACKAGES:= kmod-usb-core kmod-usb2 kmod-usb-ohci kmod-ledtrig-usbdev | ||||||
| 		kmod-usb-core kmod-usb2 kmod-usb-ohci \ |  | ||||||
| 		kmod-ledtrig-usbdev |  | ||||||
| endef | endef | ||||||
|  |  | ||||||
| define Profile/Default/Description | define Profile/Default/Description | ||||||
|   | |||||||
| @@ -1,18 +0,0 @@ | |||||||
| # |  | ||||||
| # Copyright (C) 2015 OpenWrt.org |  | ||||||
| # |  | ||||||
| # This is free software, licensed under the GNU General Public License v2. |  | ||||||
| # See /LICENSE for more information. |  | ||||||
| # |  | ||||||
|  |  | ||||||
| define Profile/LinkIt7688 |  | ||||||
| 	NAME:=LinkIt7688 |  | ||||||
| 	PACKAGES:=\ |  | ||||||
| 		kmod-usb-core kmod-usb2 kmod-usb-ohci \ |  | ||||||
| 		uboot-envtools kmod-ledtrig-netdev |  | ||||||
| endef |  | ||||||
|  |  | ||||||
| define Profile/LinkIt7688/Description |  | ||||||
| 	Default package set compatible with LinkIt Smart7688 dev board. |  | ||||||
| endef |  | ||||||
| $(eval $(call Profile,LinkIt7688)) |  | ||||||
		Reference in New Issue
	
	Block a user
	 John Crispin
					John Crispin