diff options
Diffstat (limited to 'target/linux/bcm4908/image/Makefile')
-rw-r--r-- | target/linux/bcm4908/image/Makefile | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/target/linux/bcm4908/image/Makefile b/target/linux/bcm4908/image/Makefile new file mode 100644 index 0000000000..7eaafd583c --- /dev/null +++ b/target/linux/bcm4908/image/Makefile @@ -0,0 +1,39 @@ +# SPDX-License-Identifier: GPL-2.0-only + +include $(TOPDIR)/rules.mk +include $(INCLUDE_DIR)/image.mk + +define Build/bcm4908lzma + $(STAGING_DIR_HOST)/bin/lzma e -lc1 -lp2 -pb2 -d22 $@ $@.new + mv $@.new $@ +endef + +define Device/Default + KERNEL := kernel-bin | bcm4908lzma + KERNEL_DEPENDS = $$(wildcard $(DTS_DIR)/$$(DEVICE_DTS).dts) + KERNEL_INITRAMFS_SUFFIX := .bin + KERNEL_INITRAMFS := kernel-bin | bcm4908lzma + FILESYSTEMS := squashfs + KERNEL_NAME := Image + IMAGE_NAME = $$(IMAGE_PREFIX)-$$(1).$$(2) + BLOCKSIZE := 128k + PAGESIZE := 2048 +endef + +define Device/asus_gt-ac5300 + DEVICE_VENDOR := Asus + DEVICE_MODEL := GT-AC5300 + DEVICE_DTS := broadcom/bcm4908/bcm4908-asus-gt-ac5300 + IMAGES := bin +endef +TARGET_DEVICES += asus_gt-ac5300 + +define Device/netgear_r8000p + DEVICE_VENDOR := Netgear + DEVICE_MODEL := R8000P + DEVICE_DTS := broadcom/bcm4908/bcm4906-netgear-r8000p + IMAGES := bin +endef +TARGET_DEVICES += netgear_r8000p + +$(eval $(call BuildImage)) |