kernel: bump 5.4 to 5.4.80
[openwrt/staging/rmilecki.git] / target / linux / rtl838x / image / Makefile
1 # This is free software, licensed under the GNU General Public License v2.
2 # See /LICENSE for more information.
3 #
4 include $(TOPDIR)/rules.mk
5 include $(INCLUDE_DIR)/image.mk
6
7 KERNEL_LOADADDR = 0x80000000
8 KERNEL_ENTRY = 0x80000400
9
10 define Device/Default
11 PROFILES = Default
12 KERNEL := kernel-bin | append-dtb | gzip | uImage gzip
13 KERNEL_INITRAMFS := kernel-bin | append-dtb | gzip | uImage gzip
14 DEVICE_DTS_DIR := ../dts
15 DEVICE_DTS = $$(SOC)_$(1)
16 SUPPORTED_DEVICES := $(subst _,$(comma),$(1))
17 IMAGES := sysupgrade.bin
18 IMAGE/sysupgrade.bin := append-kernel | pad-to 64k | append-rootfs | pad-rootfs | \
19 append-metadata | check-size
20 endef
21
22 define Device/allnet_all-sg8208m
23 SOC := rtl8382
24 IMAGE_SIZE := 7168k
25 DEVICE_VENDOR := ALLNET
26 DEVICE_MODEL := ALL-SG8208M
27 UIMAGE_MAGIC := 0x00000006
28 UIMAGE_NAME := 2.2.2.0
29 DEVICE_PACKAGES := ip-full ip-bridge kmod-gpio-button-hotplug tc
30 endef
31 TARGET_DEVICES += allnet_all-sg8208m
32
33 define Device/d-link_dgs-1210
34 SOC := rtl8382
35 IMAGE_SIZE := 13824k
36 DEVICE_VENDOR := D-Link
37 DEVICE_PACKAGES := ip-full ip-bridge ethtool tc
38 endef
39
40 define Device/d-link_dgs-1210-10p
41 $(Device/d-link_dgs-1210)
42 DEVICE_MODEL := DGS-1210-10P
43 DEVICE_PACKAGES += lua-rs232
44 endef
45 TARGET_DEVICES += d-link_dgs-1210-10p
46
47 define Device/d-link_dgs-1210-16
48 $(Device/d-link_dgs-1210)
49 DEVICE_MODEL := DGS-1210-16
50 endef
51 TARGET_DEVICES += d-link_dgs-1210-16
52
53 define Device/d-link_dgs-1210-28
54 $(Device/d-link_dgs-1210)
55 DEVICE_MODEL := DGS-1210-28
56 endef
57 TARGET_DEVICES += d-link_dgs-1210-28
58 $(eval $(call BuildImage))