gp-peak: use _outdir in linux pmaport (MR 1405)

This commit is contained in:
Oliver Smith 2020-07-09 20:42:19 +02:00
parent ae35afd208
commit e794dde79e
No known key found for this signature in database
GPG key ID: 5AE7F5513E0885CB

View file

@ -33,6 +33,7 @@ source="
01_timeconst_fix.patch 01_timeconst_fix.patch
" "
builddir="$srcdir/$_repository-$_commit" builddir="$srcdir/$_repository-$_commit"
_outdir="out"
prepare() { prepare() {
default_prepare default_prepare
@ -48,11 +49,11 @@ build() {
package() { package() {
# kernel.release # kernel.release
install -D "$builddir/out/include/config/kernel.release" \ install -D "$builddir/$_outdir/include/config/kernel.release" \
"$pkgdir/usr/share/kernel/$_flavor/kernel.release" "$pkgdir/usr/share/kernel/$_flavor/kernel.release"
# zImage (find the right one) # zImage (find the right one)
cd "$builddir/out/arch/$_carch/boot" cd "$builddir/$_outdir/arch/$_carch/boot"
_target="$pkgdir/boot/vmlinuz-$_flavor" _target="$pkgdir/boot/vmlinuz-$_flavor"
for _zimg in zImage-dtb Image.gz-dtb *zImage Image; do for _zimg in zImage-dtb Image.gz-dtb *zImage Image; do
[ -e "$_zimg" ] || continue [ -e "$_zimg" ] || continue