mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs.git
synced 2026-10-28 12:53:14 +01:00
kbuild: Create INSTALL_PATH directory if it does not exist
If INSTALL_PATH is not a valid directory, create it, like what modules_install and dtbs_install will do in the same situation. Signed-off-by: Zhang Bingwu <[email protected]> Reviewed-by: Nicolas Schier <[email protected]> Signed-off-by: Masahiro Yamada <[email protected]>
This commit is contained in:
1 parent
af7925d820
commit
7efcb39e0d
1 file changed
+4
@@ -20,6 +20,10 @@ do
|
||||
fi
|
||||
done
|
||||
|
||||
if [ -n "${INSTALL_PATH}" ] && ! [ -e "${INSTALL_PATH}" ]; then
|
||||
mkdir -p "${INSTALL_PATH}"
|
||||
fi
|
||||
|
||||
# User/arch may have a custom install script
|
||||
for file in "${HOME}/bin/${INSTALLKERNEL}" \
|
||||
"/sbin/${INSTALLKERNEL}" \
|
||||
|
||||
Reference in new issue
Block a user