summaryrefslogtreecommitdiff
path: root/repo/linux
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2022-05-25 22:50:03 +0100
committerdavidovski <david@davidovski.xyz>2022-05-25 22:50:03 +0100
commit7b0628f037dcbf85cfb381d5e05dea39a2059d33 (patch)
tree4a534ef861d19cdf5235b504af5be2a5d0becb71 /repo/linux
parent79062a39e9bcb9731adbacd0bd9bcd0b59d19d0a (diff)
fixed various broken dependencies
Diffstat (limited to 'repo/linux')
-rw-r--r--repo/linux/linux/linux-src.xibuild20
-rw-r--r--repo/linux/linux/linux.xibuild4
2 files changed, 7 insertions, 17 deletions
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 () {