kpatch-build: Remove unnecessary 'make prepare'

This was introduced in commit 5352d8b01a ('build objects in separate
directory to fix caching') but is no longer necessary.

Fixes: 2e99d6b7a4 ('kpatch-build: build the kernel in ~/.kpatch/src again')
Signed-off-by: Juerg Haefliger <juerg.haefliger@canonical.com>
This commit is contained in:
Juerg Haefliger 2017-11-08 16:30:31 +01:00
parent d6bcffe954
commit c33adf0ff2
1 changed files with 0 additions and 2 deletions

View File

@ -763,8 +763,6 @@ if "$KPATCH_MODULE"; then
fi
echo "Building patch module: $MODNAME.ko"
cd "$SRCDIR" || die
make prepare >> "$LOGFILE" 2>&1 || die
if [[ ! -z "$UBUNTU_KERNEL" ]]; then
# UBUNTU: add UTS_UBUNTU_RELEASE_ABI to utsrelease.h after regenerating it