AnsweredAssumed Answered

Build fail when modify SRC_URI to refer to local directory

Question asked by Bong on Apr 25, 2018
Latest reply on May 8, 2018 by Bong

Hi

 

The BSP is for iMX8MQ ga release.

I modify  /sources/meta-fsl-bsp-release/imx/meta-bsp/recipes-bsp/u-boot/u-boot-imx_2017.03.bb  to refer to the local directory instead of from git.

 

The affected changes are:

#LICENSE = "GPLv2+"
#LIC_FILES_CHKSUM = "file://Licenses/gpl-2.0.txt;md5=b234ee4d69f5fce4486a80fdaf4a4263"
LICENSE = "CLOSED"
LIC_FILES_CHKSUM = ""

#UBOOT_SRC ?= "git://source.codeaurora.org/external/imx/uboot-imx.git;protocol=https"
UBOOT_SRC ?= "file://u-boot-imx/"
SRCBRANCH = "imx_v2017.03_4.9.51_imx8m_ga"
#SRC_URI = "${UBOOT_SRC};branch=${SRCBRANCH}"
SRC_URI = "file://u-boot-imx/"

 

The Error encountered is 

ERROR: u-boot-imx-2017.03-r0 do_compile: Function failed: do_compile (log file is located at /home/imx8-ppi-001/build-001/tmp/work/imx8mq_ppi-poky-linux/u-boot-imx/2017.03-r0/temp/log.do_compile.8095)

ERROR: Logfile of failure stored in: /home/imx8-ppi-001/build-001/tmp/work/imx8mq_ppi-poky-linux/u-boot-imx/2017.03-r0/temp/log.do_compile.8095

Log data follows:

| DEBUG: Executing shell function do_compile

| WARNING: exit code 128 from a shell command.

| ERROR: Function failed: do_compile (log file is located at /home/et/imx8-pci-001/build-001/tmp/work/imx8mq_pci-poky-linux/u-boot-imx/2017.03-r0/temp/log.do_compile.8095)

ERROR: Task (/home/imx8-ppi-001/sources/meta-fsl-bsp-release/imx/meta-bsp/recipes-bsp/u-boot/u-boot-imx_2017.03.bb:do_compile) failed with exit code '1'

 

regards,  Edward

Outcomes