From: Thomas Lamprecht Date: Sat, 25 May 2019 16:16:26 +0000 (+0200) Subject: followup: buildsys: fix initializing submodules and do so recursively X-Git-Url: https://git.proxmox.com/?p=pve-kernel.git;a=commitdiff_plain;h=b76c223cac64a4f6f92b87d88265a1739404a59b followup: buildsys: fix initializing submodules and do so recursively "${ZFSONLINUX_SUBMODULE}/upstream/README.markdown" does not exists anymore, if it'd be ".../README.md", but actually lets just switch over to a recursive initialization and be done with it.. Signed-off-by: Thomas Lamprecht --- diff --git a/Makefile b/Makefile index 300be1a..b4494ea 100644 --- a/Makefile +++ b/Makefile @@ -118,8 +118,7 @@ update_modules: submodule .PHONY: submodule submodule: test -f "${KERNEL_SRC_SUBMODULE}/README" || git submodule update --init ${KERNEL_SRC_SUBMODULE} - test -f "${ZFSONLINUX_SUBMODULE}/Makefile" || git submodule update --init ${ZFSONLINUX_SUBMODULE} - test -f "${ZFSONLINUX_SUBMODULE}/upstream/README.markdown" || (cd ${ZFSONLINUX_SUBMODULE}; git submodule update --init) + test -f "${ZFSONLINUX_SUBMODULE}/Makefile" || git submodule update --init --recursive ${ZFSONLINUX_SUBMODULE} # call after ABI bump with header deb in working directory .PHONY: abiupdate