AnsweredAssumed Answered

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

Question asked by Tracy Smith on May 4, 2017
Latest reply on May 9, 2017 by Yiping Wang

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

Outcomes