OpenWrt – Blame information for rev 1
?pathlinks?
Rev | Author | Line No. | Line |
---|---|---|---|
1 | office | 1 | # |
2 | # Copyright (C) 2017 OpenWrt.org |
||
3 | # |
||
4 | # This is free software, licensed under the GNU General Public License v2. |
||
5 | # See /LICENSE for more information. |
||
6 | # |
||
7 | |||
8 | include $(TOPDIR)/rules.mk |
||
9 | include $(INCLUDE_DIR)/image.mk |
||
10 | |||
11 | KERNEL_LOADADDR := 0x80400000 |
||
12 | |||
13 | define Device/Default |
||
14 | PROFILES := Default |
||
15 | FILESYSTEMS := squashfs |
||
16 | KERNEL_DEPENDS = $$(wildcard $$(DTS_DIR)/$$(DEVICE_DTS).dts) |
||
17 | KERNEL = kernel-bin | gzip | fit gzip $$(DTS_DIR)/$$(DEVICE_DTS).dtb |
||
18 | KERNEL_SUFFIX := -kernel.itb |
||
19 | KERNEL_INSTALL := 1 |
||
20 | KERNEL_IN_UBI := 1 |
||
21 | IMAGES := factory.ubi sysupgrade.tar |
||
22 | IMAGE/factory.ubi := append-ubi |
||
23 | IMAGE/sysupgrade.tar := sysupgrade-tar |
||
24 | endef |
||
25 | |||
26 | define Device/marduk |
||
27 | BOARD_NAME := img,pistachio-marduk |
||
28 | DEVICE_DTS := img/pistachio_marduk |
||
29 | BLOCKSIZE := 256KiB |
||
30 | PAGESIZE := 4KiB |
||
31 | DEVICE_TITLE := Creator Ci40 |
||
32 | DEVICE_PACKAGES := kmod-tpm-i2c-infineon |
||
33 | endef |
||
34 | |||
35 | TARGET_DEVICES += marduk |
||
36 | |||
37 | |||
38 | $(eval $(call BuildImage)) |