I have a fsbl_git.bbappend which adds the following:

XSCTH_BUILD_DEBUG = "1"
inherit externalxsctsrc
EXTERNALXSCTSRC = "/home/dagenaisj/devel/xlnx-embeddedsw"
EXTERNALXSCTSRC_BUILD = "/builds/fsbl/ws"

Replicate:

Start with a normal build 'bitbake fsbl -c configure'
Then add the above lines, the source directory can be dummy, like this:

mkdir /tmp/dontDeleteMePlease
touch /tmp/dontDeleteMePlease/SomeFileInThisDir


Then make EXTERNALXSCTSRC point to this dir. Then issue 'bitbake fsbl -c 
configure', BAM! /tmp/dontDeleteMePlease is now empty.

There seems to be some corner case around cleandirs around the fact that 
xsctapp.bbclass recipes have 'app.tcl' in their SRC_URI.


I really wonder though if it would not be possible to use (and extend) 
"externasrc.bbclass"

Cheers!
-- 
_______________________________________________
meta-xilinx mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-xilinx

Reply via email to