Adding external source for u-boot

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Adding external source for u-boot

2,610件の閲覧回数
anjojohn
Contributor IV

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

0 件の賞賛
返信
2 返答(返信)

2,273件の閲覧回数
jimmychan
NXP TechSupport
NXP TechSupport

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.

0 件の賞賛
返信

2,273件の閲覧回数
anjojohn
Contributor IV

i tried the parameters in my build/conf/local.conf file and also in the .bb file. still bitbake shows error for do_unpack()

0 件の賞賛
返信