Hi all,
i tried to add external source code for u-boot for imx6. created a recipe with u-boot-<custom> name with following parameters appended
inherit externalsrc
SRC_URI = "file://${TOPDIR}/../externalsrc/u-boot"
EXTERNALSRC = "${TOPDIR}/../externalsrc/u-boot"
EXTERNALSRC_BUILD = "${TOPDIR}/../externalsrc/u-boot"
but whenever i do the bitbake u-boot-<custom> i get error for "do_unpack". is any parameters missing ? If i gave
do_unpack(){
}
then it builds correctly. But my source is already unpacked.
Also when i do cleansstate, cleanall and clean it only cleans the u-boot binaries in tmp/ directory. the .o and .cmd are not deleted. How to remove these files from external source
According to the Yocto Project Development Manual , here are the statements to put in your local.conf
file:
INHERIT += "externalsrc" EXTERNALSRC_pn-myrecipe
= "path-to-your-source-tree
" please try.
i tried the parameters in my build/conf/local.conf file and also in the .bb file. still bitbake shows error for do_unpack()