u-boot: add native mkimage dependence
The SD card images support added a dependence to mkimage native tool. Otherwise the build may fail with: mkimage: not found Signed-off-by: Javier Viguera <javier.viguera@digi.com>
This commit is contained in:
parent
04f8a546aa
commit
276cfa58f5
|
|
@ -13,12 +13,12 @@ SRC_URI_append_mxs = " file://boot-sd.txt"
|
|||
|
||||
S = "${WORKDIR}/git"
|
||||
|
||||
DEPENDS_mxs += "elftosb-native imx-bootlets-dey"
|
||||
DEPENDS_mxs += "elftosb-native imx-bootlets-dey u-boot-mkimage-native"
|
||||
|
||||
EXTRA_OEMAKE += 'HOSTSTRIP=true'
|
||||
EXTRA_OEMAKE_append_mxs = ' BOOTLETS_DIR=${STAGING_DIR_TARGET}/boot'
|
||||
|
||||
do_deploy_append() {
|
||||
do_deploy_append_mxs() {
|
||||
mkimage -T script -n bootscript -C none -d ${WORKDIR}/boot-sd.txt ${DEPLOYDIR}/boot-sd.scr
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -13,7 +13,7 @@ SRC_URI += "file://boot-sd.txt"
|
|||
|
||||
S = "${WORKDIR}/git"
|
||||
|
||||
DEPENDS_ccardimx28 += "elftosb-native"
|
||||
DEPENDS += "elftosb-native u-boot-mkimage-native"
|
||||
|
||||
do_compile_prepend() {
|
||||
${S}/tools/setlocalversion --save-scmversion ${S}
|
||||
|
|
|
|||
|
|
@ -13,6 +13,8 @@ SRC_URI += "file://boot-sd.txt"
|
|||
|
||||
S = "${WORKDIR}/git"
|
||||
|
||||
DEPENDS += "u-boot-mkimage-native"
|
||||
|
||||
do_compile_prepend() {
|
||||
${S}/tools/setlocalversion --save-scmversion ${S}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue