fix build error in aarch64
authorsangwook lee <sangwook96.lee@samsung.com>
Wed, 31 May 2023 02:36:45 +0000 (11:36 +0900)
committersangwook lee <sangwook96.lee@samsung.com>
Wed, 31 May 2023 02:36:45 +0000 (11:36 +0900)
Signed-off-by: sangwook lee <sangwook96.lee@samsung.com>
make_rootstrap_64.sh

index 3ffb424964caff06a2b7376a5f70f6e0abcf573d..cc425f3b440167a30c5e9ff93e0470c41568985c 100755 (executable)
@@ -350,6 +350,10 @@ if [ "$OPT_TARGET" = true ]; then
         find ${DIR_TARGET} -name "dlog.h" -exec perl -pi -e 's/#include\ \"dlog-internal\.h\"//g' {} \;
     fi
 
+    if [ ! -d "${DIR_TARGET}/usr/lib" ]; then
+        mkdir -p ${DIR_TARGET}/usr/lib
+    fi
+
     if [ ! -d "${DIR_TARGET}/usr/lib64" ]; then
         mkdir -p ${DIR_TARGET}/usr/lib64
     fi
@@ -397,6 +401,11 @@ if [ "$OPT_EMULATOR" = true ]; then
         find ${DIR_EMULATOR} -name "dlog.h" -exec perl -pi -e 's/#include\ \"dlog-internal\.h\"//g' {} \;
     fi
 
+    if [ ! -d "${DIR_EMULATOR}/usr/lib" ]; then
+        mkdir -p ${DIR_EMULATOR}/usr/lib
+    fi
+
+
     if [ ! -d "${DIR_EMULATOR}/usr/lib64" ]; then
         mkdir -p ${DIR_EMULATOR}/usr/lib64
     fi