Why does SDK2.0-1703 break using EXTERNALSRC on no rule to make target?

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Why does SDK2.0-1703 break using EXTERNALSRC on no rule to make target?

575 Views
Gandalf-kern
Contributor IV

Failure when bitbaking u-boot or fsl-image-full using EXTERNALSRC for 1703: no make rule for ls1043ardb_nand_config.

Please explain why and please provide a workaround to the no rule to making ls1043ardb_nand_config when using EXTERNALSRC?

make: *** No rule to make target `ls1043ardb_nand_config'.  Stop.

1. cp u-boot source to an external source location

2. run 'bitbake -c cleansstate u-boot' to clean tmp of any source and for u-boot

3. Add the following to u-boot-qoriq_2016.01.bb: EXTERNALSRC = "${TOPDIR}/..src/ls1043ardb-fsl-linux/u-boot-qoriq/2016.09+fslgit-r0/git" in u-boot-qoriq_2016.01.bb

 4. Add INHERIT += "externalsrc" in the conf/local.conf. 

 5. run "bitbake fsl-image-full"

This assumes of course that all other steps to bitbake fsl-image-full have been completed correctly including running ./SOURCE_THIS

Labels (1)
Tags (1)
0 Kudos
1 Reply

459 Views
yipingwang
NXP TechSupport
NXP TechSupport

Hello Tracy Smith,

Please also add the following line in the file sources/meta-freescale/recipes-bsp/u-boot/u-boot-qoriq_2016.01.bb, which you mentioned in another thread.

EXTERNALSRC_BUILD = "${TOPDIR}/..src/ls1043ardb-fsl-linux/u-boot-qoriq/2016.09+fslgit-r0/git"


Have a great day,
TIC

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos