summaryrefslogtreecommitdiff
path: root/repo/linux
diff options
context:
space:
mode:
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 () {