summaryrefslogtreecommitdiff
path: root/scripts/package
diff options
context:
space:
mode:
authorMasahiro Yamada <masahiroy@kernel.org>2020-01-25 13:12:33 +0900
committerMasahiro Yamada <masahiroy@kernel.org>2020-01-29 01:51:30 +0900
commitaae6a6712440d566ae148fc3af223dc25fbd9794 (patch)
treeb606413e2f6ffbd8157741a8eadeda45e117e3ae /scripts/package
parent9a92eee38790c63b45b32876cb1967154f8b9ee5 (diff)
downloadlinux-aae6a6712440d566ae148fc3af223dc25fbd9794.tar.gz
builddeb: remove redundant make for ARCH=um
The kernel build has already been done before builddeb is invoked. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Diffstat (limited to 'scripts/package')
-rwxr-xr-xscripts/package/builddeb3
1 files changed, 1 insertions, 2 deletions
diff --git a/scripts/package/builddeb b/scripts/package/builddeb
index a73e0d5377e9..731b5d0b2422 100755
--- a/scripts/package/builddeb
+++ b/scripts/package/builddeb
@@ -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"