builddeb: remove redundant make for ARCH=um
authorMasahiro Yamada <masahiroy@kernel.org>
Sat, 25 Jan 2020 04:12:33 +0000 (13:12 +0900)
committerMasahiro Yamada <masahiroy@kernel.org>
Tue, 28 Jan 2020 16:51:30 +0000 (01:51 +0900)
The kernel build has already been done before builddeb is invoked.

Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
scripts/package/builddeb

index a73e0d5..731b5d0 100755 (executable)
@@ -82,10 +82,9 @@ mkdir -m 755 -p "$tmpdir/DEBIAN"
 mkdir -p "$tmpdir/lib" "$tmpdir/boot"
 mkdir -p "$kernel_headers_dir/lib/modules/$version/"
 
-# Build and install the kernel
+# Install the kernel
 if [ "$ARCH" = "um" ] ; then
        mkdir -p "$tmpdir/usr/lib/uml/modules/$version" "$tmpdir/usr/bin" "$tmpdir/usr/share/doc/$packagename"
-       $MAKE linux
        cp System.map "$tmpdir/usr/lib/uml/modules/$version/System.map"
        cp $KCONFIG_CONFIG "$tmpdir/usr/share/doc/$packagename/config"
        gzip "$tmpdir/usr/share/doc/$packagename/config"