From 8f4b6bfc99d972f08d154ca3bc2835eaaf65abe7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Igor=20Pe=C4=8Dovnik?= Date: Sun, 24 Nov 2019 19:57:57 +0100 Subject: [PATCH] Create patches directory structure under USERPATCHES_PATH (#1628) Closes [AR-74] --- lib/general.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/general.sh b/lib/general.sh index d19b8d7599..707463de9f 100644 --- a/lib/general.sh +++ b/lib/general.sh @@ -808,6 +808,9 @@ prepare_host() fi mkdir -p $DEST/debs-beta/extra $DEST/debs/extra $DEST/{config,debug,patch} $USERPATCHES_PATH/overlay $SRC/cache/{sources,toolchains,utility,rootfs} $SRC/.tmp + # create patches directory structure under USERPATCHES_PATH + find $SRC/patch -maxdepth 2 -type d ! -name . | sed "s%/.*patch%/$USERPATCHES_PATH%" | xargs mkdir -p + display_alert "Checking for external GCC compilers" "" "info" # download external Linaro compiler and missing special dependencies since they are needed for certain sources