diff options
-rw-r--r-- | scripts/package/builddeb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/package/builddeb b/scripts/package/builddeb index 0db889f865c4..eee5f8ed2493 100644 --- a/scripts/package/builddeb +++ b/scripts/package/builddeb | |||
@@ -121,7 +121,7 @@ else | |||
121 | fi | 121 | fi |
122 | 122 | ||
123 | if grep -q '^CONFIG_MODULES=y' .config ; then | 123 | if grep -q '^CONFIG_MODULES=y' .config ; then |
124 | INSTALL_MOD_PATH="$tmpdir" make KBUILD_SRC= modules_install | 124 | INSTALL_MOD_PATH="$tmpdir" $MAKE KBUILD_SRC= modules_install |
125 | rm -f "$tmpdir/lib/modules/$version/build" | 125 | rm -f "$tmpdir/lib/modules/$version/build" |
126 | rm -f "$tmpdir/lib/modules/$version/source" | 126 | rm -f "$tmpdir/lib/modules/$version/source" |
127 | if [ "$ARCH" = "um" ] ; then | 127 | if [ "$ARCH" = "um" ] ; then |
@@ -131,8 +131,8 @@ if grep -q '^CONFIG_MODULES=y' .config ; then | |||
131 | fi | 131 | fi |
132 | 132 | ||
133 | if [ "$ARCH" != "um" ]; then | 133 | if [ "$ARCH" != "um" ]; then |
134 | make headers_check | 134 | $MAKE headers_check KBUILD_SRC= |
135 | make headers_install INSTALL_HDR_PATH="$libc_headers_dir/usr" | 135 | $MAKE headers_install KBUILD_SRC= INSTALL_HDR_PATH="$libc_headers_dir/usr" |
136 | fi | 136 | fi |
137 | 137 | ||
138 | # Install the maintainer scripts | 138 | # Install the maintainer scripts |