From 7b0628f037dcbf85cfb381d5e05dea39a2059d33 Mon Sep 17 00:00:00 2001 From: davidovski Date: Wed, 25 May 2022 22:50:03 +0100 Subject: fixed various broken dependencies --- repo/linux/linux/linux-src.xibuild | 20 +++++--------------- repo/linux/linux/linux.xibuild | 4 ++-- 2 files changed, 7 insertions(+), 17 deletions(-) (limited to 'repo/linux') diff --git a/repo/linux/linux/linux-src.xibuild b/repo/linux/linux/linux-src.xibuild index 0f3a1f3..3ce3796 100644 --- a/repo/linux/linux/linux-src.xibuild +++ b/repo/linux/linux/linux-src.xibuild @@ -2,22 +2,12 @@ DESC="$DESC (source)" -prepare () { - rm linux-$PKG_VER.tar.xz - apply_patches - - make mrproper - make headers - - mv config .config - make olddefconfig - make -s kernelrelease > version -} - package () { - local kernver="$(cat version)" - srcdir=$PKG_DEST/usr/src/linux + srcdir=$PKG_DEST/usr/src/ mkdir -p $srcdir - cp -r ./ $srcdir/ + tar -xf linux-$PKG_VER.tar.xz -C $srcdir + make -C $srcdir/linux-$PKG_VER mrproper + cp config $srcdir/linux-$PKG_VER/.config + make -C $srcdir/linux-$PKG_VER olddefconfig } diff --git a/repo/linux/linux/linux.xibuild b/repo/linux/linux/linux.xibuild index 1d973d7..7bc15b4 100644 --- a/repo/linux/linux/linux.xibuild +++ b/repo/linux/linux/linux.xibuild @@ -12,7 +12,7 @@ ADDITIONAL=" prepare () { apply_patches - mv config .config + cp config .config export GREP="ggrep" @@ -22,7 +22,7 @@ prepare () { } build () { - make LLVM=1 all + make all } package () { -- cgit v1.2.1