OpenWrt – Blame information for rev 2
?pathlinks?
Rev | Author | Line No. | Line |
---|---|---|---|
1 | office | 1 | # |
2 | # Copyright (C) 2015 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 | |||
10 | PKG_VERSION:=2018.07 |
||
11 | |||
12 | PKG_HASH:=9f10df88bc91b35642e461217f73256bbaeeca9ae2db8db56197ba5e89e1f6d4 |
||
13 | |||
14 | include $(INCLUDE_DIR)/kernel.mk |
||
15 | include $(INCLUDE_DIR)/u-boot.mk |
||
16 | include $(INCLUDE_DIR)/package.mk |
||
17 | include $(INCLUDE_DIR)/host-build.mk |
||
18 | |||
19 | define U-Boot/Default |
||
20 | BUILD_TARGET:=zynq |
||
21 | UBOOT_IMAGE:=spl/boot.bin u-boot.img |
||
22 | UBOOT_CONFIG:=zynq_$(1) |
||
23 | UENV:=default |
||
24 | HIDDEN:=1 |
||
25 | endef |
||
26 | |||
27 | define U-Boot/zc702 |
||
28 | NAME:=Xilinx ZC702 Dev Board |
||
29 | BUILD_DEVICES:=xlnx_zynq-zc702 |
||
30 | endef |
||
31 | |||
32 | define U-Boot/zed |
||
33 | NAME:=Avnet Digilent ZedBoard Dev Board |
||
34 | BUILD_DEVICES:=avnet_zynq-zed |
||
35 | endef |
||
36 | |||
37 | define U-Boot/zybo |
||
38 | NAME:=Digilent Zybo Dev Board |
||
39 | BUILD_DEVICES:=digilent_zynq-zybo |
||
40 | endef |
||
41 | |||
42 | define U-Boot/zybo_z7 |
||
43 | NAME:=Digilent Zybo Z7 board |
||
44 | BUILD_DEVICES:=digilent_zynq-zybo-z7 |
||
45 | endef |
||
46 | |||
47 | UBOOT_TARGETS := \ |
||
48 | zc702 \ |
||
49 | zed \ |
||
50 | zybo \ |
||
51 | zybo_z7 |
||
52 | |||
53 | define Build/InstallDev |
||
54 | $(INSTALL_DIR) $(STAGING_DIR_IMAGE) |
||
55 | $(CP) $(PKG_BUILD_DIR)/spl/boot.bin $(STAGING_DIR_IMAGE)/$(BUILD_DEVICES)-boot.bin |
||
56 | $(CP) $(PKG_BUILD_DIR)/u-boot.img $(STAGING_DIR_IMAGE)/$(BUILD_DEVICES)-u-boot.img |
||
57 | $(CP) ./files/uEnv-$(UENV).txt $(STAGING_DIR_IMAGE)/$(BUILD_DEVICES)-uEnv.txt |
||
58 | endef |
||
59 | |||
60 | define Package/u-boot/install/default |
||
61 | endef |
||
62 | |||
63 | Build/Exports:=$(Host/Exports) |
||
64 | |||
65 | $(eval $(call BuildPackage/U-Boot)) |