diff options
author | Mark Hatle <mark.hatle@xilinx.com> | 2020-12-02 09:53:12 -0800 |
---|---|---|
committer | Mark Hatle <mark.hatle@xilinx.com> | 2020-12-04 16:25:15 -0800 |
commit | 699d986de6c301cfdec34d4928f3f65de43a3733 (patch) | |
tree | 5e4dd6f1a4f7982556343552a08a8d6e2876d1f7 /meta-xilinx-standalone/recipes-devtools | |
parent | d8d50ea2285d7ce3e2917fdeaf1b651bbfcaad8d (diff) | |
download | meta-xilinx-699d986de6c301cfdec34d4928f3f65de43a3733.tar.gz |
libgcc.bbappend: Clear empty lib directory
Due to the way the multilib xilinx-standalone works, one or more empty
directories under ${D}/lib may exist. This triggers a QA error about
unpackaged files. Use rmdir to delete these directories to ensure they
are empty.
Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
Diffstat (limited to 'meta-xilinx-standalone/recipes-devtools')
-rw-r--r-- | meta-xilinx-standalone/recipes-devtools/gcc/libgcc_%.bbappend | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/meta-xilinx-standalone/recipes-devtools/gcc/libgcc_%.bbappend b/meta-xilinx-standalone/recipes-devtools/gcc/libgcc_%.bbappend index e80b0b79..17529a03 100644 --- a/meta-xilinx-standalone/recipes-devtools/gcc/libgcc_%.bbappend +++ b/meta-xilinx-standalone/recipes-devtools/gcc/libgcc_%.bbappend | |||
@@ -13,6 +13,9 @@ standalone_fixup () { | |||
13 | ln -s $each $(basename $each) | 13 | ln -s $each $(basename $each) |
14 | done | 14 | done |
15 | ) | 15 | ) |
16 | |||
17 | # Apparently we can end up with an empty /lib occasionally | ||
18 | find ${D}/lib -type d | sort -r | xargs rmdir || : | ||
16 | } | 19 | } |
17 | 20 | ||
18 | FIXUP_FUNCTION = "" | 21 | FIXUP_FUNCTION = "" |