OpenWrt – Diff between revs 2 and 3
?pathlinks?
Rev 2 | Rev 3 | |||
---|---|---|---|---|
Line 4... | Line 4... | |||
4 | # This is free software, licensed under the GNU General Public License v2. |
4 | # This is free software, licensed under the GNU General Public License v2. |
|
5 | # See /LICENSE for more information. |
5 | # See /LICENSE for more information. |
|
6 | # |
6 | # |
|
Line 7... | Line 7... | |||
7 | |
7 | |
|
- | 8 | include $(TOPDIR)/rules.mk |
||
Line 8... | Line 9... | |||
8 | include $(TOPDIR)/rules.mk |
9 | include $(INCLUDE_DIR)/image.mk |
|
9 | |
10 | |
|
10 | PKG_NAME:=ls-rcw |
11 | PKG_NAME:=ls-rcw |
|
Line 11... | Line 12... | |||
11 | PKG_VERSION:=lsdk-1806 |
12 | PKG_SOURCE_DATE:=2017-12-01 |
|
12 | PKG_RELEASE:=1 |
13 | PKG_RELEASE:=1 |
|
13 | |
14 | |
|
14 | PKG_SOURCE_PROTO:=git |
15 | PKG_SOURCE_PROTO:=git |
|
- | 16 | PKG_SOURCE_URL:=https://github.com/qoriq-open-source/rcw.git |
||
- | 17 | PKG_SOURCE_VERSION:=cbd5e66fcb850e821c8632578410ceba5733a49e |
||
- | 18 | PKG_MIRROR_HASH:=4caad5e0ae2018a0a594f36e46e4a96698420956c64bb73656f380fd46733c3d |
||
- | 19 | |
||
- | 20 | PKG_BUILD_DIR=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)-$(BUILD_VARIANT)/$(PKG_NAME)-$(PKG_VERSION) |
||
- | 21 | |
||
- | 22 | PKG_LICENSE:=BSD-3-Clause |
||
Line 15... | Line 23... | |||
15 | PKG_SOURCE_URL:=https://source.codeaurora.org/external/qoriq/qoriq-components/rcw |
23 | PKG_LICENSE_FILES:=LICENSE |
|
Line 16... | Line -... | |||
16 | PKG_SOURCE_VERSION:=1f43bef4b4475d8e81c9b3b8c5bdd6c1ce8cfa6c |
- | ||
17 | PKG_MIRROR_HASH:=a3b455bcc1f070c8e51f520e32b62cec5b05d772d7ae4a876d88fd5f278a7b1c |
24 | |
|
18 | |
- | ||
19 | include $(INCLUDE_DIR)/package.mk |
- | ||
20 | |
25 | PKG_FLAGS:=nonshared |
|
21 | define Package/layerscape-rcw/Config |
- | ||
22 | define Package/layerscape-rcw-$(1) |
26 | |
|
23 | SECTION:=firmware |
- | ||
24 | CATEGORY:=Firmware |
27 | include $(INCLUDE_DIR)/package.mk |
|
Line 25... | Line 28... | |||
25 | TITLE:=$(2) |
28 | |
|
26 | DEPENDS:=@TARGET_layerscape |
29 | define rcw/Default |
|
27 | CONFIG:=$(3) |
30 | TITLE:= |
|
28 | endef |
31 | CONFIG:= |
|
Line 29... | Line 32... | |||
29 | endef |
32 | endef |
|
30 | |
33 | |
|
31 | define Package/layerscape-rcw/ls1012ardb |
34 | define rcw/ls1043ardb |
|
32 | TITLE:=NXP LS1012ARDB RCW binary |
35 | TITLE=RCW binary $(PKG_VERSION) for NXP ls1043ardb 64b/32b Dev Board |
|
Line 33... | Line -... | |||
33 | CONFIG:=ls1012ardb/R_SPNH_3508/rcw_1000_default.bin.swapped |
- | ||
34 | endef |
36 | CONFIG=ls1043ardb/RR_FQPP_1455/rcw_1600.bin |
|
35 | |
37 | endef |
|
36 | define Package/layerscape-rcw/ls1012afrwy |
38 | |
|
Line -... | Line 39... | |||
- | 39 | define rcw/ls1046ardb |
||
37 | TITLE:=NXP LS1012AFRWY RCW binary |
40 | TITLE=RCW binary $(PKG_VERSION) for NXP ls1046ardb 64b/32b Dev Board |
|
- | 41 | CONFIG=ls1046ardb/RR_FFSSPPPH_1133_5559/rcw_1800_qspiboot.bin.swap |
||
- | 42 | endef |
||
38 | CONFIG:=ls1012afrwy/N_SSNP_3305/rcw_1000_default.bin.swapped |
43 | |
|
- | 44 | RCWS := \ |
||
39 | endef |
45 | ls1043ardb \ |
|
- | 46 | ls1046ardb |
||
- | 47 | |
||
40 | |
48 | define Package/rcw/template |
|
41 | define Package/layerscape-rcw/ls1043ardb |
- | ||
42 | TITLE:=NXP LS1043ARDB RCW binary |
- | ||
43 | CONFIG:=ls1043ardb/RR_FQPP_1455/rcw_1600.bin |
- | ||
44 | endef |
- | ||
45 | |
49 | define Package/rcw-layerscape-$(1) |
|
Line 46... | Line 50... | |||
46 | define Package/layerscape-rcw/ls1046ardb |
50 | SECTION:=firmware |
|
47 | TITLE:=NXP LS1046ARDB RCW binary |
51 | CATEGORY:=Firmware |
|
- | 52 | DEPENDS:= @TARGET_layerscape |
||
48 | CONFIG:=ls1046ardb/RR_FFSSPPPH_1133_5559/rcw_1800_qspiboot.bin.swapped |
53 | TITLE:=$(2) |
|
49 | endef |
54 | URL:=http://git.freescale.com/git/cgit.cgi/ppc/sdk/rcw.git |
|
Line 50... | Line 55... | |||
50 | |
55 | VARIANT:=$(1) |
|
51 | define Package/layerscape-rcw/ls1088ardb |
56 | MAINTAINER:=Jiang Yutang <jiangyutang1978@gmail.com> |
|
52 | TITLE:=NXP LS1088ARDB RCW binary |
57 | endef |
|
53 | CONFIG:=ls1088ardb/FCQQQQQQQQ_PPP_H_0x1d_0x0d/rcw_1600_qspi.bin |
58 | endef |
|
Line 54... | Line 59... | |||
54 | endef |
59 | |
|
55 | |
- | ||
56 | define Package/layerscape-rcw/ls1088ardb-sdboot |
- | ||
57 | TITLE:=NXP LS1088ARDB SD card boot RCW binary |
60 | define BuildRCWPackage |
|
Line 58... | Line 61... | |||
58 | CONFIG:=ls1088ardb/FCQQQQQQQQ_PPP_H_0x1d_0x0d/rcw_1600_sd.bin |
61 | $(eval $(rcw/Default)) |
|
59 | endef |
- | ||
60 | |
62 | $(eval $(rcw/$(1))) |
|
61 | define Package/layerscape-rcw/ls2088ardb |
63 | $(call Package/rcw/template,$(1),$(TITLE)) |
|
62 | TITLE:=NXP LS2088ARDB RCW binary |
- | ||
63 | CONFIG:=ls2088ardb/FFFFFFFF_PP_HH_0x2a_0x41/rcw_1800.bin |
64 | endef |
|
Line 64... | Line -... | |||
64 | endef |
- | ||
65 | |
- | ||
66 | define Package/layerscape-rcw/ls1021atwr |
65 | |
|
67 | TITLE:=NXP LS1021ATWR RCW binary |
66 | ifdef BUILD_VARIANT |
|
68 | CONFIG:=ls1021atwr/SSR_PNS_30/rcw_1200.bin |
- | ||
69 | endef |
- | ||
70 | |
67 | $(eval $(call rcw/$(BUILD_VARIANT))) |
|
71 | define Package/layerscape-rcw/Install |
68 | RCW_CONFIG:=$(if $(CONFIG),$(CONFIG),$(BUILD_VARIANT)) |
|
72 | define Package/layerscape-rcw-$(1)/install |
69 | endif |
|
73 | $(INSTALL_DIR) $(STAGING_DIR_IMAGE) |
70 | |
|
74 | $(CP) $(PKG_BUILD_DIR)/$(CONFIG) $(STAGING_DIR_IMAGE)/$(1)-rcw.bin |
71 | define Build/Configure |
|
75 | endef |
72 | endef |
|
- | 73 | |
||
- | 74 | define Package/rcw/install/default |
||
76 | endef |
75 | $(INSTALL_DIR) $(STAGING_DIR_IMAGE) |
|
77 | |
76 | $(CP) $(PKG_BUILD_DIR)/$(RCW_CONFIG) $(STAGING_DIR_IMAGE)/$(1)-rcw.bin |
|
78 | RCWS := \ |
77 | endef |
|
79 | ls1012ardb \ |
78 | |