Add support for the GnuBee Personal Cloud One
[librecmc/librecmc.git] / target / linux / ramips / image / mt7621.mk
1 #
2 # MT7621 Profiles
3 #
4
5 define Device/gb-pc1
6   DTS := GB-PC1
7   DEVICE_TITLE := GnuBee Personal Cloud One
8   DEVICE_PACKAGES := kmod-ata-core kmod-ata-ahci
9   IMAGE_SIZE := $(ralink_default_fw_size_32M)
10 endef
11
12 TARGET_DEVICES += gb-pc1
13
14 define Device/mt7621
15   DTS := MT7621
16   BLOCKSIZE := 64k
17   IMAGE_SIZE := $(ralink_default_fw_size_4M)
18   DEVICE_TITLE := MediaTek MT7621 EVB
19 endef
20 TARGET_DEVICES += mt7621
21
22 define Device/timecloud
23   DTS := Timecloud
24   DEVICE_TITLE := Thunder Timecloud
25 endef
26 TARGET_DEVICES += timecloud
27
28 define Device/vr500
29   DTS := VR500
30   IMAGE_SIZE := 66453504
31   DEVICE_TITLE := Planex VR500
32 endef
33 TARGET_DEVICES += vr500
34
35 # FIXME: is this still needed?
36 define Image/Prepare
37 #define Build/Compile
38         rm -rf $(KDIR)/relocate
39         $(CP) ../../generic/image/relocate $(KDIR)
40         $(MAKE) -C $(KDIR)/relocate KERNEL_ADDR=$(KERNEL_LOADADDR) CROSS_COMPILE=$(TARGET_CROSS)
41         $(CP) $(KDIR)/relocate/loader.bin $(KDIR)/loader.bin
42 endef