diff options
author | Masahiro Yamada <yamada.masahiro@socionext.com> | 2019-02-13 22:05:14 -0500 |
---|---|---|
committer | Masahiro Yamada <yamada.masahiro@socionext.com> | 2019-02-19 19:42:46 -0500 |
commit | 175209cce23d6b0669ed5366add2517e26cd75cd (patch) | |
tree | 5eb1151733634b8cbceab40da1f46ec0309ed7bc /scripts/package/buildtar | |
parent | ad15006cc78459d059af56729c4d9bed7c7fd860 (diff) |
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 | |||
57 | # Try to install modules | 57 | # Try to install modules |
58 | # | 58 | # |
59 | if grep -q '^CONFIG_MODULES=y' "${KCONFIG_CONFIG}"; then | 59 | if grep -q '^CONFIG_MODULES=y' "${KCONFIG_CONFIG}"; then |
60 | make ARCH="${ARCH}" O="${objtree}" KBUILD_SRC= INSTALL_MOD_PATH="${tmpdir}" modules_install | 60 | make ARCH="${ARCH}" -f ${srctree}/Makefile INSTALL_MOD_PATH="${tmpdir}" modules_install |
61 | dirs="$dirs lib" | 61 | dirs="$dirs lib" |
62 | fi | 62 | fi |
63 | 63 | ||