# # Copyright (C) 2012-2013 OpenWrt.org # # This is free software, licensed under the GNU General Public License v2. # See /LICENSE for more information. # include $(TOPDIR)/rules.mk PKG_NAME:=u-boot PKG_VERSION:=2013.01 PKG_RELEASE:=1 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(BUILD_VARIANT)/$(PKG_NAME)-$(PKG_VERSION) PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2 PKG_SOURCE_URL:=ftp://ftp.denx.de/pub/u-boot PKG_MD5SUM:=e58a8a7f78972248190d83de0dc362ce PKG_TARGETS:=bin PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(BUILD_VARIANT)/$(PKG_NAME)-$(PKG_VERSION) include $(INCLUDE_DIR)/package.mk define uboot/Default TITLE:= SOC:= DDR_SETTINGS:= IMAGE:= endef define uboot/arv4519pw_ram TITLE:=U-Boot for Arcadyan arv4519pw (RAM) SOC:=danube DDR_SETTINGS:=board/arcadyan/arv4519pw/ddr_settings.h endef define uboot/arv4519pw_nor TITLE:=U-Boot for Arcadyan arv4519pw (NOR) SOC:=danube endef define uboot/arv7518pw_ram TITLE:=U-Boot for Arcadyan arv7518pw (RAM) SOC:=danube DDR_SETTINGS:=board/arcadyan/arv7518pw/ddr_settings.h endef define uboot/arv7518pw_nor TITLE:=U-Boot for Arcadyan arv7518pw (NOR) SOC:=danube endef define uboot/gigasx76x_ram TITLE:=U-Boot for Siemens Gigaset sx76x (RAM) SOC:=danube DDR_SETTINGS:=board/gigaset/sx76x/ddr_settings.h endef define uboot/gigasx76x_nor TITLE:=U-Boot for Siemens Gigaset sx76x (NOR) SOC:=danube endef UBOOTS:= \ arv4519pw_ram arv4519pw_nor \ arv7518pw_ram arv7518pw_nor \ gigasx76x_ram gigasx76x_nor define Package/uboot/template define Package/uboot-lantiq-$(1) SECTION:=boot CATEGORY:=Boot Loaders DEPENDS:=@TARGET_lantiq_xway TITLE:=$(2) URL:=http://www.denx.de/wiki/U-Boot VARIANT:=$(1) MAINTAINER:=Luka Perkov endef endef define BuildUBootPackage $(eval $(uboot/Default)) $(eval $(uboot/$(1))) $(call Package/uboot/template,$(1),$(TITLE)) endef define Build/Configure $(MAKE) -C $(PKG_BUILD_DIR) $(BUILD_VARIANT)_config endef define Build/Compile $(MAKE) -C $(PKG_BUILD_DIR) CROSS_COMPILE=$(TARGET_CROSS) endef define Package/uboot/install/default $(CP) \ $(PKG_BUILD_DIR)/$(2) \ $(BIN_DIR)/uboot-$(BOARD)-$(1)/openwrt-$(BOARD)-$(1)-u-boot.img endef define Package/uboot/install/uart awk -f $(PKG_BUILD_DIR)/tools/lantiq_ram_init_uart.awk \ -v soc=$(2) $(PKG_BUILD_DIR)/$(3) \ > $(PKG_BUILD_DIR)/ddr_settings perl $(PKG_BUILD_DIR)/tools/gct.pl \ $(PKG_BUILD_DIR)/ddr_settings $(PKG_BUILD_DIR)/u-boot.srec \ $(BIN_DIR)/uboot-$(BOARD)-$(1)/openwrt-$(BOARD)-$(1)-u-boot.asc endef define Package/uboot/install/template define Package/uboot-lantiq-$(1)/install $(call Package/uboot/install/default,$(1),$(if $(IMAGE),$(IMAGE),u-boot.bin)) $(if $(DDR_SETTINGS), \ $(call Package/uboot/install/uart,$(1),$(SOC),$(DDR_SETTINGS)) \ ) endef endef $(foreach u,$(UBOOTS), \ $(eval $(call BuildUBootPackage,$(u))) \ $(eval $(call Package/uboot/install/template,$(u))) \ $(eval $(call BuildPackage,uboot-lantiq-$(u))) \ ) avr/qmk/firmware/plain/keyboards/tg4x/config.h?id=e34af631c2c4b0c9406dead907bf74b460ee9f7f'>plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251