aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xbuild-target-bins.sh10
1 files changed, 10 insertions, 0 deletions
diff --git a/build-target-bins.sh b/build-target-bins.sh
index 5105e4a..167f1ac 100755
--- a/build-target-bins.sh
+++ b/build-target-bins.sh
@@ -207,6 +207,16 @@ do_package()
populate_variant $outdir uefi
fi
done
+
+ # clean up unwanted artifacts left in output directory
+ pushd ${OUTDIR}
+ rm uInitrd-android.* || :
+ rm uInitrd-oe.* || :
+ rm ramdisk-oe.img || :
+ rm -rf linux || :
+ rm -rf juno || :
+ rm -rf oe || :
+ popd
fi
}