diff options
author | Masahiro Yamada <yamada.masahiro@socionext.com> | 2019-02-14 12:05:14 +0900 |
---|---|---|
committer | Masahiro Yamada <yamada.masahiro@socionext.com> | 2019-02-20 09:42:46 +0900 |
commit | 175209cce23d6b0669ed5366add2517e26cd75cd (patch) | |
tree | 5eb1151733634b8cbceab40da1f46ec0309ed7bc /scripts/package/buildtar | |
parent | ad15006cc78459d059af56729c4d9bed7c7fd860 (diff) | |
download | lwn-175209cce23d6b0669ed5366add2517e26cd75cd.tar.gz lwn-175209cce23d6b0669ed5366add2517e26cd75cd.zip |
kbuild: pkg: use -f $(srctree)/Makefile to recurse to top Makefile
'$(MAKE) KBUILD_SRC=' changes the working directory back and forth
between objtree and srctree.
It is better to recurse to the top-level Makefile directly.
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Diffstat (limited to 'scripts/package/buildtar')
-rwxr-xr-x | scripts/package/buildtar | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/package/buildtar b/scripts/package/buildtar index d624a07a4e77..cfd2a4a3fe42 100755 --- a/scripts/package/buildtar +++ b/scripts/package/buildtar @@ -57,7 +57,7 @@ dirs=boot # Try to install modules # if grep -q '^CONFIG_MODULES=y' "${KCONFIG_CONFIG}"; then - make ARCH="${ARCH}" O="${objtree}" KBUILD_SRC= INSTALL_MOD_PATH="${tmpdir}" modules_install + make ARCH="${ARCH}" -f ${srctree}/Makefile INSTALL_MOD_PATH="${tmpdir}" modules_install dirs="$dirs lib" fi |