summaryrefslogtreecommitdiff
path: root/repo/linux-libre/linux-libre-src.xibuild
blob: 41e325ecdaf5cf041a3fdfccc26b431b10f4826f (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-libre-$PKG_VER-gnu.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
}