update rootpkg
This commit is contained in:
parent
40620e0f2d
commit
227d8f7624
1 changed files with 9 additions and 6 deletions
|
@ -31,23 +31,26 @@ source="
|
||||||
$_config
|
$_config
|
||||||
"
|
"
|
||||||
builddir="$srcdir/$_repository-$_commit"
|
builddir="$srcdir/$_repository-$_commit"
|
||||||
_outdir="out"
|
|
||||||
|
|
||||||
prepare() {
|
prepare() {
|
||||||
default_prepare
|
default_prepare
|
||||||
export REPLACE_GCCH=0
|
REPLACE_GCCH=0 \
|
||||||
. downstreamkernel_prepare
|
. downstreamkernel_prepare
|
||||||
}
|
}
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
unset LDFLAGS
|
unset LDFLAGS
|
||||||
make O="$_outdir" ARCH="$_carch" CC="${CC:-gcc}" \
|
make ARCH="$_carch" CC="${CC:-gcc}" \
|
||||||
KBUILD_BUILD_VERSION="$((pkgrel + 1 ))-postmarketOS"
|
KBUILD_BUILD_VERSION="$((pkgrel + 1 ))-postmarketOS"
|
||||||
}
|
}
|
||||||
|
|
||||||
package() {
|
package() {
|
||||||
downstreamkernel_package "$builddir" "$pkgdir" "$_carch" \
|
downstreamkernel_package "$builddir" "$pkgdir" "$_carch" "$_flavor"
|
||||||
"$_flavor" "$_outdir"
|
|
||||||
|
make modules_install dtbs_install \
|
||||||
|
ARCH="$_carch" \
|
||||||
|
INSTALL_MOD_PATH="$pkgdir" \
|
||||||
|
INSTALL_DTBS_PATH="$pkgdir/boot/dtbs"
|
||||||
}
|
}
|
||||||
|
|
||||||
sha512sums="
|
sha512sums="
|
||||||
|
|
Loading…
Reference in a new issue