[meta-xilinx] externalxsctsrc.bbclass deletes the source dir! :(
Jean-Francois Dagenais
jeff.dagenais at gmail.com
Fri Jun 21 11:30:54 PDT 2019
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!
More information about the meta-xilinx
mailing list