gp-peak: use _outdir in linux pmaport (MR 1405)
This commit is contained in:
parent
ae35afd208
commit
e794dde79e
1 changed files with 3 additions and 2 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue