X-Git-Url: http://git.ozo.com/?a=blobdiff_plain;f=target%2Flinux%2Fpistachio%2Fimage%2FMakefile;fp=target%2Flinux%2Fpistachio%2Fimage%2FMakefile;h=a9c16856a2d6c8c0142837851bc43da1c6b61e2e;hb=0d271cef8071d0698246b4b50a610b5ff718af01;hp=0000000000000000000000000000000000000000;hpb=52c17bff3c861dc28517303e535b880473a54498;p=lede-git%2F.git diff --git a/target/linux/pistachio/image/Makefile b/target/linux/pistachio/image/Makefile new file mode 100644 index 0000000000..a9c16856a2 --- /dev/null +++ b/target/linux/pistachio/image/Makefile @@ -0,0 +1,37 @@ +# +# Copyright (C) 2017 OpenWrt.org +# +# This is free software, licensed under the GNU General Public License v2. +# See /LICENSE for more information. +# + +include $(TOPDIR)/rules.mk +include $(INCLUDE_DIR)/image.mk + +KERNEL_LOADADDR := 0x80400000 + +define Device/Default + PROFILES := Default + FILESYSTEMS := squashfs + KERNEL_DEPENDS = $$(wildcard $$(DTS_DIR)/$$(DEVICE_DTS).dts) + KERNEL = kernel-bin | gzip | fit gzip $$(DTS_DIR)/$$(DEVICE_DTS).dtb + KERNEL_SUFFIX := -kernel.itb + KERNEL_INSTALL := 1 + KERNEL_IN_UBI := 1 + IMAGES := factory.ubi sysupgrade.tar + IMAGE/factory.ubi := append-ubi + IMAGE/sysupgrade.tar := sysupgrade-tar +endef + +define Device/marduk + DEVICE_DTS := img/pistachio_marduk + BLOCKSIZE := 256KiB + PAGESIZE := 4KiB + DEVICE_TITLE := Creator Ci40 + DEVICE_PACKAGES := kmod-tpm-i2c-infineon +endef + +TARGET_DEVICES += marduk + + +$(eval $(call BuildImage))