summaryrefslogtreecommitdiff
path: root/skip/linux/linux-src.xibuild
blob: 3ce379678ad90dde2ba0d9161ac844d3a09e1d91 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/sh

DESC="$DESC (source)"

package () {
    srcdir=$PKG_DEST/usr/src/
    mkdir -p $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
}