commit | author | age
|
849fbd
|
1 |
FILESEXTRAPATHS:prepend := "${THISDIR}/files:" |
G |
2 |
SRC_URI:append = " file://uboot-imx-lf-6.1.36-2.1.0.patch " |
|
3 |
|
|
4 |
do_deploy:append:igkboardbase() { |
|
5 |
# Deploy u-boot-nodtb.bin and fsl-imx8m*-XX.dtb for mkimage to generate boot binary |
|
6 |
if [ -n "${UBOOT_CONFIG}" ] |
|
7 |
then |
|
8 |
for config in ${UBOOT_MACHINE}; do |
|
9 |
i=$(expr $i + 1); |
|
10 |
for type in ${UBOOT_CONFIG}; do |
|
11 |
j=$(expr $j + 1); |
|
12 |
if [ $j -eq $i ] |
|
13 |
then |
|
14 |
install -d ${DEPLOYDIR}/${BOOT_TOOLS} |
|
15 |
install -m 0777 ${B}/${config}/arch/arm/dts/${UBOOT_DTB_NAME} ${DEPLOYDIR}/${BOOT_TOOLS} |
|
16 |
install -m 0777 ${B}/${config}/u-boot-nodtb.bin ${DEPLOYDIR}/${BOOT_TOOLS}/u-boot-nodtb.bin-${MACHINE}-${type} |
|
17 |
fi |
|
18 |
done |
|
19 |
unset j |
|
20 |
done |
|
21 |
unset i |
|
22 |
fi |
|
23 |
} |