blob: 252aae945c116d31977b6a67aba8c5b510435404 [file] [log] [blame]
Patrick Williamsc124f4f2015-09-15 14:41:29 -05001SUMMARY = "Universal Boot Loader for embedded devices"
2HOMEPAGE = "http://www.denx.de/wiki/U-Boot/WebHome"
3SECTION = "bootloaders"
4PROVIDES = "virtual/bootloader"
5
6LICENSE = "GPLv2+"
Patrick Williamsd8c66bc2016-06-20 12:57:21 -05007LIC_FILES_CHKSUM = "file://Licenses/README;md5=a2c678cfd4a4d97135585cad908541c6"
Patrick Williamsc124f4f2015-09-15 14:41:29 -05008
9SRC_URI = "git://git.denx.de/u-boot.git;branch=master"
10
11S = "${WORKDIR}/git"
Patrick Williamsc0f7c042017-02-23 20:41:17 -060012B = "${WORKDIR}/build"
Patrick Williamsc124f4f2015-09-15 14:41:29 -050013
14PACKAGE_ARCH = "${MACHINE_ARCH}"
15
Patrick Williamsc0f7c042017-02-23 20:41:17 -060016inherit uboot-config uboot-extlinux-config uboot-sign deploy
Patrick Williamsc124f4f2015-09-15 14:41:29 -050017
18EXTRA_OEMAKE = 'CROSS_COMPILE=${TARGET_PREFIX} CC="${TARGET_PREFIX}gcc ${TOOLCHAIN_OPTIONS}" V=1'
19EXTRA_OEMAKE += 'HOSTCC="${BUILD_CC} ${BUILD_CFLAGS} ${BUILD_LDFLAGS}"'
20
21PACKAGECONFIG ??= "openssl"
22# u-boot will compile its own tools during the build, with specific
23# configurations (aka when CONFIG_FIT_SIGNATURE is enabled) openssl is needed as
24# a host build dependency.
25PACKAGECONFIG[openssl] = ",,openssl-native"
26
27# Allow setting an additional version string that will be picked up by the
28# u-boot build system and appended to the u-boot version. If the .scmversion
29# file already exists it will not be overwritten.
30UBOOT_LOCALVERSION ?= ""
31
32# Some versions of u-boot use .bin and others use .img. By default use .bin
33# but enable individual recipes to change this value.
34UBOOT_SUFFIX ??= "bin"
35UBOOT_IMAGE ?= "u-boot-${MACHINE}-${PV}-${PR}.${UBOOT_SUFFIX}"
Patrick Williamsc124f4f2015-09-15 14:41:29 -050036UBOOT_SYMLINK ?= "u-boot-${MACHINE}.${UBOOT_SUFFIX}"
37UBOOT_MAKE_TARGET ?= "all"
38
39# Output the ELF generated. Some platforms can use the ELF file and directly
40# load it (JTAG booting, QEMU) additionally the ELF can be used for debugging
41# purposes.
42UBOOT_ELF ?= ""
43UBOOT_ELF_SUFFIX ?= "elf"
44UBOOT_ELF_IMAGE ?= "u-boot-${MACHINE}-${PV}-${PR}.${UBOOT_ELF_SUFFIX}"
45UBOOT_ELF_BINARY ?= "u-boot.${UBOOT_ELF_SUFFIX}"
46UBOOT_ELF_SYMLINK ?= "u-boot-${MACHINE}.${UBOOT_ELF_SUFFIX}"
47
48# Some versions of u-boot build an SPL (Second Program Loader) image that
49# should be packaged along with the u-boot binary as well as placed in the
50# deploy directory. For those versions they can set the following variables
51# to allow packaging the SPL.
52SPL_BINARY ?= ""
Patrick Williamsd8c66bc2016-06-20 12:57:21 -050053SPL_BINARYNAME ?= "${@os.path.basename(d.getVar("SPL_BINARY", True))}"
54SPL_IMAGE ?= "${SPL_BINARYNAME}-${MACHINE}-${PV}-${PR}"
55SPL_SYMLINK ?= "${SPL_BINARYNAME}-${MACHINE}"
Patrick Williamsc124f4f2015-09-15 14:41:29 -050056
57# Additional environment variables or a script can be installed alongside
58# u-boot to be used automatically on boot. This file, typically 'uEnv.txt'
59# or 'boot.scr', should be packaged along with u-boot as well as placed in the
60# deploy directory. Machine configurations needing one of these files should
61# include it in the SRC_URI and set the UBOOT_ENV parameter.
62UBOOT_ENV_SUFFIX ?= "txt"
63UBOOT_ENV ?= ""
64UBOOT_ENV_BINARY ?= "${UBOOT_ENV}.${UBOOT_ENV_SUFFIX}"
65UBOOT_ENV_IMAGE ?= "${UBOOT_ENV}-${MACHINE}-${PV}-${PR}.${UBOOT_ENV_SUFFIX}"
66UBOOT_ENV_SYMLINK ?= "${UBOOT_ENV}-${MACHINE}.${UBOOT_ENV_SUFFIX}"
67
Patrick Williamsc0f7c042017-02-23 20:41:17 -060068# U-Boot EXTLINUX variables. U-Boot searches for /boot/extlinux/extlinux.conf
69# to find EXTLINUX conf file.
70UBOOT_EXTLINUX_INSTALL_DIR ?= "/boot/extlinux"
71UBOOT_EXTLINUX_CONF_NAME ?= "extlinux.conf"
72UBOOT_EXTLINUX_SYMLINK ?= "${UBOOT_EXTLINUX_CONF_NAME}-${MACHINE}-${PR}"
73
Patrick Williamsc124f4f2015-09-15 14:41:29 -050074do_compile () {
75 if [ "${@bb.utils.contains('DISTRO_FEATURES', 'ld-is-gold', 'ld-is-gold', '', d)}" = "ld-is-gold" ] ; then
Patrick Williamsc0f7c042017-02-23 20:41:17 -060076 sed -i 's/$(CROSS_COMPILE)ld$/$(CROSS_COMPILE)ld.bfd/g' ${S}/config.mk
Patrick Williamsc124f4f2015-09-15 14:41:29 -050077 fi
78
79 unset LDFLAGS
80 unset CFLAGS
81 unset CPPFLAGS
82
83 if [ ! -e ${B}/.scmversion -a ! -e ${S}/.scmversion ]
84 then
85 echo ${UBOOT_LOCALVERSION} > ${B}/.scmversion
86 echo ${UBOOT_LOCALVERSION} > ${S}/.scmversion
87 fi
Patrick Williamsc0f7c042017-02-23 20:41:17 -060088
89 if [ -n "${UBOOT_CONFIG}" ]
Patrick Williamsc124f4f2015-09-15 14:41:29 -050090 then
Patrick Williamsc0f7c042017-02-23 20:41:17 -060091 unset i j k
Patrick Williamsc124f4f2015-09-15 14:41:29 -050092 for config in ${UBOOT_MACHINE}; do
Patrick Williamsc0f7c042017-02-23 20:41:17 -060093 i=$(expr $i + 1);
94 for type in ${UBOOT_CONFIG}; do
95 j=$(expr $j + 1);
Patrick Williamsc124f4f2015-09-15 14:41:29 -050096 if [ $j -eq $i ]
97 then
Patrick Williamsc0f7c042017-02-23 20:41:17 -060098 oe_runmake -C ${S} O=${B}/${config} ${config}
99 oe_runmake -C ${S} O=${B}/${config} ${UBOOT_MAKE_TARGET}
100 for binary in ${UBOOT_BINARIES}; do
101 k=$(expr $k + 1);
102 if [ $k -eq $i ]; then
103 cp ${B}/${config}/${binary} ${B}/${config}/u-boot-${type}.${UBOOT_SUFFIX}
104 fi
105 done
106 unset k
Patrick Williamsc124f4f2015-09-15 14:41:29 -0500107 fi
108 done
109 unset j
110 done
111 unset i
112 else
Patrick Williamsc0f7c042017-02-23 20:41:17 -0600113 oe_runmake -C ${S} O=${B} ${UBOOT_MACHINE}
114 oe_runmake -C ${S} O=${B} ${UBOOT_MAKE_TARGET}
Patrick Williamsc124f4f2015-09-15 14:41:29 -0500115 fi
116
117}
118
119do_install () {
Patrick Williamsc0f7c042017-02-23 20:41:17 -0600120 if [ -n "${UBOOT_CONFIG}" ]
Patrick Williamsc124f4f2015-09-15 14:41:29 -0500121 then
122 for config in ${UBOOT_MACHINE}; do
Patrick Williamsc0f7c042017-02-23 20:41:17 -0600123 i=$(expr $i + 1);
Patrick Williamsc124f4f2015-09-15 14:41:29 -0500124 for type in ${UBOOT_CONFIG}; do
Patrick Williamsc0f7c042017-02-23 20:41:17 -0600125 j=$(expr $j + 1);
Patrick Williamsc124f4f2015-09-15 14:41:29 -0500126 if [ $j -eq $i ]
127 then
128 install -d ${D}/boot
Patrick Williamsc0f7c042017-02-23 20:41:17 -0600129 install -m 644 ${B}/${config}/u-boot-${type}.${UBOOT_SUFFIX} ${D}/boot/u-boot-${type}-${PV}-${PR}.${UBOOT_SUFFIX}
Patrick Williamsc124f4f2015-09-15 14:41:29 -0500130 ln -sf u-boot-${type}-${PV}-${PR}.${UBOOT_SUFFIX} ${D}/boot/${UBOOT_BINARY}-${type}
131 ln -sf u-boot-${type}-${PV}-${PR}.${UBOOT_SUFFIX} ${D}/boot/${UBOOT_BINARY}
132 fi
133 done
134 unset j
135 done
136 unset i
137 else
138 install -d ${D}/boot
Patrick Williamsc0f7c042017-02-23 20:41:17 -0600139 install -m 644 ${B}/${UBOOT_BINARY} ${D}/boot/${UBOOT_IMAGE}
Patrick Williamsc124f4f2015-09-15 14:41:29 -0500140 ln -sf ${UBOOT_IMAGE} ${D}/boot/${UBOOT_BINARY}
141 fi
142
Patrick Williamsc0f7c042017-02-23 20:41:17 -0600143 if [ -n "${UBOOT_ELF}" ]
Patrick Williamsc124f4f2015-09-15 14:41:29 -0500144 then
Patrick Williamsc0f7c042017-02-23 20:41:17 -0600145 if [ -n "${UBOOT_CONFIG}" ]
Patrick Williamsc124f4f2015-09-15 14:41:29 -0500146 then
147 for config in ${UBOOT_MACHINE}; do
Patrick Williamsc0f7c042017-02-23 20:41:17 -0600148 i=$(expr $i + 1);
Patrick Williamsc124f4f2015-09-15 14:41:29 -0500149 for type in ${UBOOT_CONFIG}; do
Patrick Williamsc0f7c042017-02-23 20:41:17 -0600150 j=$(expr $j + 1);
Patrick Williamsc124f4f2015-09-15 14:41:29 -0500151 if [ $j -eq $i ]
152 then
Patrick Williamsc0f7c042017-02-23 20:41:17 -0600153 install -m 644 ${B}/${config}/${UBOOT_ELF} ${D}/boot/u-boot-${type}-${PV}-${PR}.${UBOOT_ELF_SUFFIX}
Patrick Williamsc124f4f2015-09-15 14:41:29 -0500154 ln -sf u-boot-${type}-${PV}-${PR}.${UBOOT_ELF_SUFFIX} ${D}/boot/${UBOOT_BINARY}-${type}
155 ln -sf u-boot-${type}-${PV}-${PR}.${UBOOT_ELF_SUFFIX} ${D}/boot/${UBOOT_BINARY}
156 fi
157 done
158 unset j
159 done
160 unset i
161 else
Patrick Williamsc0f7c042017-02-23 20:41:17 -0600162 install -m 644 ${B}/${UBOOT_ELF} ${D}/boot/${UBOOT_ELF_IMAGE}
Patrick Williamsc124f4f2015-09-15 14:41:29 -0500163 ln -sf ${UBOOT_ELF_IMAGE} ${D}/boot/${UBOOT_ELF_BINARY}
164 fi
165 fi
166
167 if [ -e ${WORKDIR}/fw_env.config ] ; then
168 install -d ${D}${sysconfdir}
169 install -m 644 ${WORKDIR}/fw_env.config ${D}${sysconfdir}/fw_env.config
170 fi
171
Patrick Williamsc0f7c042017-02-23 20:41:17 -0600172 if [ -n "${SPL_BINARY}" ]
Patrick Williamsc124f4f2015-09-15 14:41:29 -0500173 then
Patrick Williamsc0f7c042017-02-23 20:41:17 -0600174 if [ -n "${UBOOT_CONFIG}" ]
Patrick Williamsc124f4f2015-09-15 14:41:29 -0500175 then
176 for config in ${UBOOT_MACHINE}; do
Patrick Williamsc0f7c042017-02-23 20:41:17 -0600177 i=$(expr $i + 1);
Patrick Williamsc124f4f2015-09-15 14:41:29 -0500178 for type in ${UBOOT_CONFIG}; do
Patrick Williamsc0f7c042017-02-23 20:41:17 -0600179 j=$(expr $j + 1);
Patrick Williamsc124f4f2015-09-15 14:41:29 -0500180 if [ $j -eq $i ]
181 then
Patrick Williamsc0f7c042017-02-23 20:41:17 -0600182 install -m 644 ${B}/${config}/${SPL_BINARY} ${D}/boot/${SPL_IMAGE}-${type}-${PV}-${PR}
Patrick Williamsd8c66bc2016-06-20 12:57:21 -0500183 ln -sf ${SPL_IMAGE}-${type}-${PV}-${PR} ${D}/boot/${SPL_BINARYNAME}-${type}
184 ln -sf ${SPL_IMAGE}-${type}-${PV}-${PR} ${D}/boot/${SPL_BINARYNAME}
Patrick Williamsc124f4f2015-09-15 14:41:29 -0500185 fi
186 done
187 unset j
188 done
189 unset i
190 else
Patrick Williamsc0f7c042017-02-23 20:41:17 -0600191 install -m 644 ${B}/${SPL_BINARY} ${D}/boot/${SPL_IMAGE}
Patrick Williamsd8c66bc2016-06-20 12:57:21 -0500192 ln -sf ${SPL_IMAGE} ${D}/boot/${SPL_BINARYNAME}
Patrick Williamsc124f4f2015-09-15 14:41:29 -0500193 fi
194 fi
195
Patrick Williamsc0f7c042017-02-23 20:41:17 -0600196 if [ -n "${UBOOT_ENV}" ]
Patrick Williamsc124f4f2015-09-15 14:41:29 -0500197 then
Patrick Williamsc0f7c042017-02-23 20:41:17 -0600198 install -m 644 ${WORKDIR}/${UBOOT_ENV_BINARY} ${D}/boot/${UBOOT_ENV_IMAGE}
Patrick Williamsc124f4f2015-09-15 14:41:29 -0500199 ln -sf ${UBOOT_ENV_IMAGE} ${D}/boot/${UBOOT_ENV_BINARY}
200 fi
Patrick Williamsc0f7c042017-02-23 20:41:17 -0600201
202 if [ "${UBOOT_EXTLINUX}" = "1" ]
203 then
204 install -Dm 0644 ${UBOOT_EXTLINUX_CONFIG} ${D}/${UBOOT_EXTLINUX_INSTALL_DIR}/${UBOOT_EXTLINUX_CONF_NAME}
205 fi
206
Patrick Williamsc124f4f2015-09-15 14:41:29 -0500207}
208
209FILES_${PN} = "/boot ${sysconfdir}"
Patrick Williamsc124f4f2015-09-15 14:41:29 -0500210
211do_deploy () {
Patrick Williamsc0f7c042017-02-23 20:41:17 -0600212 if [ -n "${UBOOT_CONFIG}" ]
Patrick Williamsc124f4f2015-09-15 14:41:29 -0500213 then
214 for config in ${UBOOT_MACHINE}; do
Patrick Williamsc0f7c042017-02-23 20:41:17 -0600215 i=$(expr $i + 1);
Patrick Williamsc124f4f2015-09-15 14:41:29 -0500216 for type in ${UBOOT_CONFIG}; do
Patrick Williamsc0f7c042017-02-23 20:41:17 -0600217 j=$(expr $j + 1);
Patrick Williamsc124f4f2015-09-15 14:41:29 -0500218 if [ $j -eq $i ]
219 then
220 install -d ${DEPLOYDIR}
Patrick Williamsc0f7c042017-02-23 20:41:17 -0600221 install -m 644 ${B}/${config}/u-boot-${type}.${UBOOT_SUFFIX} ${DEPLOYDIR}/u-boot-${type}-${PV}-${PR}.${UBOOT_SUFFIX}
Patrick Williamsc124f4f2015-09-15 14:41:29 -0500222 cd ${DEPLOYDIR}
223 ln -sf u-boot-${type}-${PV}-${PR}.${UBOOT_SUFFIX} ${UBOOT_SYMLINK}-${type}
224 ln -sf u-boot-${type}-${PV}-${PR}.${UBOOT_SUFFIX} ${UBOOT_SYMLINK}
225 ln -sf u-boot-${type}-${PV}-${PR}.${UBOOT_SUFFIX} ${UBOOT_BINARY}-${type}
226 ln -sf u-boot-${type}-${PV}-${PR}.${UBOOT_SUFFIX} ${UBOOT_BINARY}
Patrick Williamsc0f7c042017-02-23 20:41:17 -0600227 fi
228 done
Patrick Williamsc124f4f2015-09-15 14:41:29 -0500229 unset j
230 done
231 unset i
232 else
233 install -d ${DEPLOYDIR}
Patrick Williamsc0f7c042017-02-23 20:41:17 -0600234 install -m 644 ${B}/${UBOOT_BINARY} ${DEPLOYDIR}/${UBOOT_IMAGE}
Patrick Williamsc124f4f2015-09-15 14:41:29 -0500235 cd ${DEPLOYDIR}
236 rm -f ${UBOOT_BINARY} ${UBOOT_SYMLINK}
237 ln -sf ${UBOOT_IMAGE} ${UBOOT_SYMLINK}
238 ln -sf ${UBOOT_IMAGE} ${UBOOT_BINARY}
239 fi
240
Patrick Williamsc0f7c042017-02-23 20:41:17 -0600241 if [ -n "${UBOOT_ELF}" ]
Patrick Williamsc124f4f2015-09-15 14:41:29 -0500242 then
Patrick Williamsc0f7c042017-02-23 20:41:17 -0600243 if [ -n "${UBOOT_CONFIG}" ]
Patrick Williamsc124f4f2015-09-15 14:41:29 -0500244 then
245 for config in ${UBOOT_MACHINE}; do
Patrick Williamsc0f7c042017-02-23 20:41:17 -0600246 i=$(expr $i + 1);
Patrick Williamsc124f4f2015-09-15 14:41:29 -0500247 for type in ${UBOOT_CONFIG}; do
Patrick Williamsc0f7c042017-02-23 20:41:17 -0600248 j=$(expr $j + 1);
Patrick Williamsc124f4f2015-09-15 14:41:29 -0500249 if [ $j -eq $i ]
250 then
Patrick Williamsc0f7c042017-02-23 20:41:17 -0600251 install -m 644 ${B}/${config}/${UBOOT_ELF} ${DEPLOYDIR}/u-boot-${type}-${PV}-${PR}.${UBOOT_ELF_SUFFIX}
Patrick Williamsc124f4f2015-09-15 14:41:29 -0500252 ln -sf u-boot-${type}-${PV}-${PR}.${UBOOT_ELF_SUFFIX} ${DEPLOYDIR}/${UBOOT_ELF_BINARY}-${type}
253 ln -sf u-boot-${type}-${PV}-${PR}.${UBOOT_ELF_SUFFIX} ${DEPLOYDIR}/${UBOOT_ELF_BINARY}
254 ln -sf u-boot-${type}-${PV}-${PR}.${UBOOT_ELF_SUFFIX} ${DEPLOYDIR}/${UBOOT_ELF_SYMLINK}-${type}
255 ln -sf u-boot-${type}-${PV}-${PR}.${UBOOT_ELF_SUFFIX} ${DEPLOYDIR}/${UBOOT_ELF_SYMLINK}
256 fi
257 done
258 unset j
259 done
260 unset i
261 else
Patrick Williamsc0f7c042017-02-23 20:41:17 -0600262 install -m 644 ${B}/${UBOOT_ELF} ${DEPLOYDIR}/${UBOOT_ELF_IMAGE}
Patrick Williamsc124f4f2015-09-15 14:41:29 -0500263 ln -sf ${UBOOT_ELF_IMAGE} ${DEPLOYDIR}/${UBOOT_ELF_BINARY}
264 ln -sf ${UBOOT_ELF_IMAGE} ${DEPLOYDIR}/${UBOOT_ELF_SYMLINK}
265 fi
266 fi
267
268
Patrick Williamsc0f7c042017-02-23 20:41:17 -0600269 if [ -n "${SPL_BINARY}" ]
Patrick Williamsc124f4f2015-09-15 14:41:29 -0500270 then
Patrick Williamsc0f7c042017-02-23 20:41:17 -0600271 if [ -n "${UBOOT_CONFIG}" ]
Patrick Williamsc124f4f2015-09-15 14:41:29 -0500272 then
273 for config in ${UBOOT_MACHINE}; do
Patrick Williamsc0f7c042017-02-23 20:41:17 -0600274 i=$(expr $i + 1);
Patrick Williamsc124f4f2015-09-15 14:41:29 -0500275 for type in ${UBOOT_CONFIG}; do
Patrick Williamsc0f7c042017-02-23 20:41:17 -0600276 j=$(expr $j + 1);
Patrick Williamsc124f4f2015-09-15 14:41:29 -0500277 if [ $j -eq $i ]
278 then
Patrick Williamsc0f7c042017-02-23 20:41:17 -0600279 install -m 644 ${B}/${config}/${SPL_BINARY} ${DEPLOYDIR}/${SPL_IMAGE}-${type}-${PV}-${PR}
Patrick Williamsd8c66bc2016-06-20 12:57:21 -0500280 rm -f ${DEPLOYDIR}/${SPL_BINARYNAME} ${DEPLOYDIR}/${SPL_SYMLINK}-${type}
281 ln -sf ${SPL_IMAGE}-${type}-${PV}-${PR} ${DEPLOYDIR}/${SPL_BINARYNAME}-${type}
282 ln -sf ${SPL_IMAGE}-${type}-${PV}-${PR} ${DEPLOYDIR}/${SPL_BINARYNAME}
Patrick Williamsc124f4f2015-09-15 14:41:29 -0500283 ln -sf ${SPL_IMAGE}-${type}-${PV}-${PR} ${DEPLOYDIR}/${SPL_SYMLINK}-${type}
284 ln -sf ${SPL_IMAGE}-${type}-${PV}-${PR} ${DEPLOYDIR}/${SPL_SYMLINK}
285 fi
286 done
287 unset j
288 done
289 unset i
290 else
Patrick Williamsc0f7c042017-02-23 20:41:17 -0600291 install -m 644 ${B}/${SPL_BINARY} ${DEPLOYDIR}/${SPL_IMAGE}
Patrick Williamsd8c66bc2016-06-20 12:57:21 -0500292 rm -f ${DEPLOYDIR}/${SPL_BINARYNAME} ${DEPLOYDIR}/${SPL_SYMLINK}
293 ln -sf ${SPL_IMAGE} ${DEPLOYDIR}/${SPL_BINARYNAME}
Patrick Williamsc124f4f2015-09-15 14:41:29 -0500294 ln -sf ${SPL_IMAGE} ${DEPLOYDIR}/${SPL_SYMLINK}
295 fi
296 fi
297
298
Patrick Williamsc0f7c042017-02-23 20:41:17 -0600299 if [ -n "${UBOOT_ENV}" ]
Patrick Williamsc124f4f2015-09-15 14:41:29 -0500300 then
Patrick Williamsc0f7c042017-02-23 20:41:17 -0600301 install -m 644 ${WORKDIR}/${UBOOT_ENV_BINARY} ${DEPLOYDIR}/${UBOOT_ENV_IMAGE}
Patrick Williamsc124f4f2015-09-15 14:41:29 -0500302 rm -f ${DEPLOYDIR}/${UBOOT_ENV_BINARY} ${DEPLOYDIR}/${UBOOT_ENV_SYMLINK}
303 ln -sf ${UBOOT_ENV_IMAGE} ${DEPLOYDIR}/${UBOOT_ENV_BINARY}
304 ln -sf ${UBOOT_ENV_IMAGE} ${DEPLOYDIR}/${UBOOT_ENV_SYMLINK}
305 fi
Patrick Williamsc0f7c042017-02-23 20:41:17 -0600306
307 if [ "${UBOOT_EXTLINUX}" = "1" ]
308 then
309 install -m 644 ${UBOOT_EXTLINUX_CONFIG} ${DEPLOYDIR}/${UBOOT_EXTLINUX_SYMLINK}
310 ln -sf ${UBOOT_EXTLINUX_SYMLINK} ${DEPLOYDIR}/${UBOOT_EXTLINUX_CONF_NAME}-${MACHINE}
311 ln -sf ${UBOOT_EXTLINUX_SYMLINK} ${DEPLOYDIR}/${UBOOT_EXTLINUX_CONF_NAME}
312 fi
Patrick Williamsc124f4f2015-09-15 14:41:29 -0500313}
314
315addtask deploy before do_build after do_compile