mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-29 13:46:49 +00:00
packages: set [HOST|INIT|TARGET|BOOTSTRAP]_[CONFIGURE|CMAKE|MESON]_OPTS in pre_configure_$TARGET()
Because we set these variables unconditionally in scripts/build
This commit is contained in:
parent
c2281f3c37
commit
c1a650c862
@ -1,5 +1,6 @@
|
|||||||
# SPDX-License-Identifier: GPL-2.0-or-later
|
# SPDX-License-Identifier: GPL-2.0-or-later
|
||||||
# Copyright (C) 2009-2016 Stephan Raue (stephan@openelec.tv)
|
# Copyright (C) 2009-2016 Stephan Raue (stephan@openelec.tv)
|
||||||
|
# Copyright (C) 2018-present Team LibreELEC (https://libreelec.tv)
|
||||||
|
|
||||||
PKG_NAME="v86d"
|
PKG_NAME="v86d"
|
||||||
PKG_VERSION="0.1.10"
|
PKG_VERSION="0.1.10"
|
||||||
@ -11,9 +12,9 @@ PKG_URL="$DISTRO_SRC/$PKG_NAME-$PKG_VERSION.tar.bz2"
|
|||||||
PKG_DEPENDS_INIT="toolchain gcc:init"
|
PKG_DEPENDS_INIT="toolchain gcc:init"
|
||||||
PKG_LONGDESC="v86d is the userspace helper that runs x86 code in an emulated environment."
|
PKG_LONGDESC="v86d is the userspace helper that runs x86 code in an emulated environment."
|
||||||
|
|
||||||
INIT_CONFIGURE_OPTS="--with-x86emu"
|
|
||||||
|
|
||||||
pre_configure_init() {
|
pre_configure_init() {
|
||||||
|
INIT_CONFIGURE_OPTS="--with-x86emu"
|
||||||
|
|
||||||
# v86d fails to build in subdirs
|
# v86d fails to build in subdirs
|
||||||
cd $PKG_BUILD
|
cd $PKG_BUILD
|
||||||
rm -rf .$TARGET_NAME-init
|
rm -rf .$TARGET_NAME-init
|
||||||
|
@ -10,19 +10,21 @@ PKG_URL="https://download.qemu.org/qemu-$PKG_VERSION.tar.xz"
|
|||||||
PKG_DEPENDS_HOST="toolchain glib:host pixman:host Python2:host zlib:host"
|
PKG_DEPENDS_HOST="toolchain glib:host pixman:host Python2:host zlib:host"
|
||||||
PKG_LONGDESC="QEMU is a generic and open source machine emulator and virtualizer."
|
PKG_LONGDESC="QEMU is a generic and open source machine emulator and virtualizer."
|
||||||
|
|
||||||
HOST_CONFIGURE_OPTS="--bindir=$TOOLCHAIN/bin \
|
pre_configure_host() {
|
||||||
--extra-cflags=-I$TOOLCHAIN/include \
|
HOST_CONFIGURE_OPTS="--bindir=$TOOLCHAIN/bin \
|
||||||
--extra-ldflags=-L$TOOLCHAIN/lib \
|
--extra-cflags=-I$TOOLCHAIN/include \
|
||||||
--libexecdir=$TOOLCHAIN/lib \
|
--extra-ldflags=-L$TOOLCHAIN/lib \
|
||||||
--localstatedir=$TOOLCHAIN/var \
|
--libexecdir=$TOOLCHAIN/lib \
|
||||||
--prefix=$TOOLCHAIN \
|
--localstatedir=$TOOLCHAIN/var \
|
||||||
--sbindir=$TOOLCHAIN/sbin \
|
--prefix=$TOOLCHAIN \
|
||||||
--static \
|
--sbindir=$TOOLCHAIN/sbin \
|
||||||
--sysconfdir=$TOOLCHAIN/etc \
|
--static \
|
||||||
--disable-blobs \
|
--sysconfdir=$TOOLCHAIN/etc \
|
||||||
--disable-docs \
|
--disable-blobs \
|
||||||
--disable-gcrypt \
|
--disable-docs \
|
||||||
--disable-system \
|
--disable-gcrypt \
|
||||||
--disable-user \
|
--disable-system \
|
||||||
--disable-vnc \
|
--disable-user \
|
||||||
--disable-werror"
|
--disable-vnc \
|
||||||
|
--disable-werror"
|
||||||
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user