ifeq ($(BR2_PACKAGE_AMD_CATALYST_MODULE),y)
AMD_CATALYST_MODULE_SUBDIRS = common/lib/modules/fglrx/build_mod/2.6.x
-AMD_CATALYST_MODULE_MAKE_OPTS = \
+AMD_CATALYST_MODULE_MAKE_OPTS = \
CFLAGS_MODULE="-DCOMPAT_ALLOC_USER_SPACE=arch_compat_alloc_user_space"
define AMD_CATALYST_PREPARE_MODULE
BLUEZ5_UTILS_LICENSE = GPL-2.0+, LGPL-2.1+
BLUEZ5_UTILS_LICENSE_FILES = COPYING COPYING.LIB
-BLUEZ5_UTILS_CONF_OPTS = \
- --enable-tools \
- --enable-library \
+BLUEZ5_UTILS_CONF_OPTS = \
+ --enable-tools \
+ --enable-library \
--disable-cups
ifeq ($(BR2_PACKAGE_BLUEZ5_UTILS_OBEX),y)
# BlueZ 3.x compatibility
ifeq ($(BR2_PACKAGE_BLUEZ_UTILS_COMPAT),y)
-BLUEZ_UTILS_CONF_OPTS += \
- --enable-hidd \
- --enable-pand \
- --enable-sdp \
+BLUEZ_UTILS_CONF_OPTS += \
+ --enable-hidd \
+ --enable-pand \
+ --enable-sdp \
--enable-dund
endif
# audio support
ifeq ($(BR2_PACKAGE_BLUEZ_UTILS_AUDIO),y)
-BLUEZ_UTILS_DEPENDENCIES += \
- alsa-lib \
+BLUEZ_UTILS_DEPENDENCIES += \
+ alsa-lib \
libsndfile
-BLUEZ_UTILS_CONF_OPTS += \
- --enable-alsa \
+BLUEZ_UTILS_CONF_OPTS += \
+ --enable-alsa \
--enable-audio
else
-BLUEZ_UTILS_CONF_OPTS += \
- --disable-alsa \
+BLUEZ_UTILS_CONF_OPTS += \
+ --disable-alsa \
--disable-audio
endif
# USB support
ifeq ($(BR2_PACKAGE_BLUEZ_UTILS_USB),y)
BLUEZ_UTILS_DEPENDENCIES += libusb
-BLUEZ_UTILS_CONF_OPTS += \
+BLUEZ_UTILS_CONF_OPTS += \
--enable-usb
else
-BLUEZ_UTILS_CONF_OPTS += \
+BLUEZ_UTILS_CONF_OPTS += \
--disable-usb
endif
CEGUI06_LICENSE_FILES = COPYING
CEGUI06_INSTALL_STAGING = YES
-CEGUI06_DEPENDENCIES = \
- expat \
- freetype \
+CEGUI06_DEPENDENCIES = \
+ expat \
+ freetype \
pcre
-CEGUI06_CONF_OPTS = \
- --enable-expat \
- --disable-external-tinyxml \
- --disable-xerces-c \
- --disable-libxml \
- --disable-tinyxml \
- --disable-opengl-renderer \
- --disable-external-glew \
+CEGUI06_CONF_OPTS = \
+ --enable-expat \
+ --disable-external-tinyxml \
+ --disable-xerces-c \
+ --disable-libxml \
+ --disable-tinyxml \
+ --disable-opengl-renderer \
+ --disable-external-glew \
--disable-irrlicht-renderer \
--disable-directfb-renderer \
- --disable-samples \
- --disable-lua-module \
- --disable-toluacegui \
+ --disable-samples \
+ --disable-lua-module \
+ --disable-toluacegui \
--disable-external-toluapp
$(eval $(autotools-package))
# if target is the same kind as host (ie. same arch, same bitness,
# same endianness, so that /usr/lib contains libraries linkable by
# our cross-compiler)
-CELT051_CONF_OPTS = \
- --enable-fixed-point \
- --disable-fixed-point-debug \
+CELT051_CONF_OPTS = \
+ --enable-fixed-point \
+ --disable-fixed-point-debug \
--disable-experimental-postfilter \
- --disable-static-modes \
- --disable-assertions \
- --disable-oggtest \
+ --disable-static-modes \
+ --disable-assertions \
+ --disable-oggtest \
--with-ogg=$(STAGING_DIR)/usr
$(eval $(autotools-package))
CONNMAN_LICENSE_FILES = COPYING
CONNMAN_CONF_OPTS += \
--with-dbusconfdir=/etc \
- $(if $(BR2_PACKAGE_CONNMAN_DEBUG),--enable-debug,--disable-debug) \
- $(if $(BR2_PACKAGE_CONNMAN_ETHERNET),--enable-ethernet,--disable-ethernet) \
- $(if $(BR2_PACKAGE_CONNMAN_WIFI),--enable-wifi,--disable-wifi) \
+ $(if $(BR2_PACKAGE_CONNMAN_DEBUG),--enable-debug,--disable-debug) \
+ $(if $(BR2_PACKAGE_CONNMAN_ETHERNET),--enable-ethernet,--disable-ethernet) \
+ $(if $(BR2_PACKAGE_CONNMAN_WIFI),--enable-wifi,--disable-wifi) \
$(if $(BR2_PACKAGE_CONNMAN_WISPR),--enable-wispr,--disable-wispr) \
- $(if $(BR2_PACKAGE_CONNMAN_BLUETOOTH),--enable-bluetooth,--disable-bluetooth) \
- $(if $(BR2_PACKAGE_CONNMAN_LOOPBACK),--enable-loopback,--disable-loopback) \
+ $(if $(BR2_PACKAGE_CONNMAN_BLUETOOTH),--enable-bluetooth,--disable-bluetooth) \
+ $(if $(BR2_PACKAGE_CONNMAN_LOOPBACK),--enable-loopback,--disable-loopback) \
$(if $(BR2_PACKAGE_CONNMAN_NEARD),--enable-neard,--disable-neard) \
$(if $(BR2_PACKAGE_CONNMAN_OFONO),--enable-ofono,--disable-ofono) \
$(if $(BR2_INIT_SYSTEMD),--with-systemdunitdir=/usr/lib/systemd/system)
$(if $(BR2_PACKAGE_DIRECTFB_CYBER5K),cyber5k) \
$(if $(BR2_PACKAGE_DIRECTFB_MATROX),matrox) \
$(if $(BR2_PACKAGE_DIRECTFB_PXA3XX),pxa3xx) \
- $(if $(BR2_PACKAGE_DIRECTFB_I830),i830) \
+ $(if $(BR2_PACKAGE_DIRECTFB_I830),i830) \
$(if $(BR2_PACKAGE_DIRECTFB_EP9X),ep9x)
ifeq ($(strip $(DIRECTFB_GFX)),)
# The dependency of some source files in duma_config.h, which is generated at
# build time, is not specified in the Makefile. Force non-parallel build.
define DUMA_BUILD_CMDS
- $(TARGET_MAKE_ENV) $(MAKE1) $(TARGET_CONFIGURE_OPTS) \
+ $(TARGET_MAKE_ENV) $(MAKE1) $(TARGET_CONFIGURE_OPTS) \
OS=linux \
- DUMA_OPTIONS="$(DUMA_OPTIONS)" \
+ DUMA_OPTIONS="$(DUMA_OPTIONS)" \
$(DUMA_CPP) -C $(@D)
endef
EFIBOOTMGR_POST_PATCH_HOOKS += EFIBOOTMSR_PATCH_HEADER_PATH
define EFIBOOTMGR_BUILD_CMDS
- $(TARGET_MAKE_ENV) $(TARGET_CONFIGURE_OPTS) \
+ $(TARGET_MAKE_ENV) $(TARGET_CONFIGURE_OPTS) \
LDFLAGS="$(EFIBOOTMGR_LDFLAGS)" $(MAKE1) -C $(@D)
endef
define EFIBOOTMGR_INSTALL_TARGET_CMDS
- $(TARGET_MAKE_ENV) $(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D) \
+ $(TARGET_MAKE_ENV) $(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D) \
DESTDIR=$(TARGET_DIR) install
endef
GIFLIB_BINS = \
gif2epsn gif2ps gif2rgb gif2x11 gifasm gifbg gifbuild gifburst gifclip \
- gifclrmp gifcolor gifcomb gifcompose gifecho giffiltr giffix gifflip \
- gifhisto gifinfo gifinter gifinto gifovly gifpos gifrotat \
+ gifclrmp gifcolor gifcomb gifcompose gifecho giffiltr giffix gifflip \
+ gifhisto gifinfo gifinter gifinto gifovly gifpos gifrotat \
gifrsize gifspnge giftext giftool gifwedge icon2gif raw2gif rgb2gif \
text2gif
ifeq ($(BR2_PACKAGE_LIBCURL),y)
GIT_DEPENDENCIES += libcurl
GIT_CONF_OPTS += --with-curl
-GIT_CONF_ENV += \
+GIT_CONF_ENV += \
ac_cv_prog_curl_config=$(STAGING_DIR)/usr/bin/$(LIBCURL_CONFIG_SCRIPTS)
else
GIT_CONF_OPTS += --without-curl
endef
GVFS_POST_INSTALL_TARGET_HOOKS += \
- GVFS_REMOVE_USELESS_BINARY \
- GVFS_REMOVE_TARGET_SCHEMAS \
+ GVFS_REMOVE_USELESS_BINARY \
+ GVFS_REMOVE_TARGET_SCHEMAS \
GVFS_COMPILE_SCHEMAS
$(eval $(autotools-package))
CFLAGS="$(TARGET_CFLAGS) -I../include"
define I2C_TOOLS_BUILD_PYSMBUS
- (cd $(@D)/py-smbus; \
+ (cd $(@D)/py-smbus; \
$(I2C_TOOLS_PYTHON_BASE_ENV) \
$(HOST_DIR)/usr/bin/python setup.py build \
$(PKG_PYTHON_DISTUTILS_BUILD_OPTS))
KEYUTILS_LICENSE_FILES = LICENCE.GPL LICENCE.LGPL
KEYUTILS_INSTALL_STAGING = YES
-KEYUTILS_MAKE_PARAMS = \
- INSTALL=$(INSTALL) \
- LIBDIR=/usr/lib \
- USRLIBDIR=/usr/lib \
- CFLAGS="$(TARGET_CFLAGS)" \
+KEYUTILS_MAKE_PARAMS = \
+ INSTALL=$(INSTALL) \
+ LIBDIR=/usr/lib \
+ USRLIBDIR=/usr/lib \
+ CFLAGS="$(TARGET_CFLAGS)" \
CPPFLAGS="$(TARGET_CPPFLAGS) -I." \
LNS="$(HOSTLN) -sf"
USE_TEXTUREPACKER_NATIVE_ROOT="$(HOST_DIR)/usr" \
TEXTUREPACKER_NATIVE_ROOT="$(HOST_DIR)/usr"
-KODI_CONF_OPTS += \
+KODI_CONF_OPTS += \
--with-ffmpeg=shared \
--disable-joystick \
--disable-openmax \
LESSTIF_CONF_OPTS = \
--with-gnu-ld \
--with-freetype-config=$(STAGING_DIR)/usr/bin/freetype-config \
- --enable-production=yes \
+ --enable-production=yes \
--enable-build-tests=no \
--no-recursion
# rtl81xx
ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_RTL_81XX),y)
LINUX_FIRMWARE_FILES += \
- rtlwifi/rtl8192cfw.bin rtlwifi/rtl8192cfwU.bin \
- rtlwifi/rtl8192cfwU_B.bin rtlwifi/rtl8192cufw.bin \
- rtlwifi/rtl8192defw.bin rtlwifi/rtl8192sefw.bin \
- rtlwifi/rtl8188efw.bin rtlwifi/rtl8188eufw.bin \
- rtlwifi/rtl8192cufw_A.bin \
+ rtlwifi/rtl8192cfw.bin rtlwifi/rtl8192cfwU.bin \
+ rtlwifi/rtl8192cfwU_B.bin rtlwifi/rtl8192cufw.bin \
+ rtlwifi/rtl8192defw.bin rtlwifi/rtl8192sefw.bin \
+ rtlwifi/rtl8188efw.bin rtlwifi/rtl8188eufw.bin \
+ rtlwifi/rtl8192cufw_A.bin \
rtlwifi/rtl8192cufw_B.bin rtlwifi/rtl8192cufw_TMSC.bin
LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENCE.rtlwifi_firmware.txt
endif
ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_TI_WL127X),y)
# wl1271-nvs.bin is a symlink to wl127x-nvs.bin
LINUX_FIRMWARE_FILES += \
- ti-connectivity/wl1271-fw-2.bin \
- ti-connectivity/wl1271-fw-ap.bin \
- ti-connectivity/wl1271-fw.bin \
- ti-connectivity/wl1271-nvs.bin \
- ti-connectivity/wl127x-fw-3.bin \
- ti-connectivity/wl127x-fw-plt-3.bin \
- ti-connectivity/wl127x-nvs.bin \
- ti-connectivity/wl127x-fw-4-mr.bin \
- ti-connectivity/wl127x-fw-4-plt.bin \
- ti-connectivity/wl127x-fw-4-sr.bin \
- ti-connectivity/wl127x-fw-5-mr.bin \
- ti-connectivity/wl127x-fw-5-plt.bin \
- ti-connectivity/wl127x-fw-5-sr.bin \
+ ti-connectivity/wl1271-fw-2.bin \
+ ti-connectivity/wl1271-fw-ap.bin \
+ ti-connectivity/wl1271-fw.bin \
+ ti-connectivity/wl1271-nvs.bin \
+ ti-connectivity/wl127x-fw-3.bin \
+ ti-connectivity/wl127x-fw-plt-3.bin \
+ ti-connectivity/wl127x-nvs.bin \
+ ti-connectivity/wl127x-fw-4-mr.bin \
+ ti-connectivity/wl127x-fw-4-plt.bin \
+ ti-connectivity/wl127x-fw-4-sr.bin \
+ ti-connectivity/wl127x-fw-5-mr.bin \
+ ti-connectivity/wl127x-fw-5-plt.bin \
+ ti-connectivity/wl127x-fw-5-sr.bin \
ti-connectivity/TIInit_7.2.31.bts
LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENCE.ti-connectivity
endif
ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_TI_WL128X),y)
# wl1271-nvs.bin and wl12xx-nvs.bin are symlinks to wl127x-nvs.bin
LINUX_FIRMWARE_FILES += \
- ti-connectivity/wl128x-fw-3.bin \
- ti-connectivity/wl128x-fw-ap.bin \
- ti-connectivity/wl128x-fw-plt-3.bin \
- ti-connectivity/wl128x-fw.bin \
- ti-connectivity/wl1271-nvs.bin \
- ti-connectivity/wl128x-nvs.bin \
- ti-connectivity/wl12xx-nvs.bin \
- ti-connectivity/wl127x-nvs.bin \
- ti-connectivity/wl128x-fw-4-mr.bin \
- ti-connectivity/wl128x-fw-4-plt.bin \
- ti-connectivity/wl128x-fw-4-sr.bin \
- ti-connectivity/wl128x-fw-5-mr.bin \
- ti-connectivity/wl128x-fw-5-plt.bin \
- ti-connectivity/wl128x-fw-5-sr.bin \
+ ti-connectivity/wl128x-fw-3.bin \
+ ti-connectivity/wl128x-fw-ap.bin \
+ ti-connectivity/wl128x-fw-plt-3.bin \
+ ti-connectivity/wl128x-fw.bin \
+ ti-connectivity/wl1271-nvs.bin \
+ ti-connectivity/wl128x-nvs.bin \
+ ti-connectivity/wl12xx-nvs.bin \
+ ti-connectivity/wl127x-nvs.bin \
+ ti-connectivity/wl128x-fw-4-mr.bin \
+ ti-connectivity/wl128x-fw-4-plt.bin \
+ ti-connectivity/wl128x-fw-4-sr.bin \
+ ti-connectivity/wl128x-fw-5-mr.bin \
+ ti-connectivity/wl128x-fw-5-plt.bin \
+ ti-connectivity/wl128x-fw-5-sr.bin \
ti-connectivity/TIInit_7.2.31.bts
LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENCE.ti-connectivity
endif
endif
ifeq ($(BR2_PACKAGE_FREETYPE),y)
-MPLAYER_CONF_OPTS += \
+MPLAYER_CONF_OPTS += \
--enable-freetype \
--with-freetype-config=$(STAGING_DIR)/usr/bin/freetype-config
MPLAYER_DEPENDENCIES += freetype
# We intentionally don't pass --enable-dvdread, to let the
# autodetection find which library to link with.
ifeq ($(BR2_PACKAGE_LIBDVDREAD),y)
-MPLAYER_CONF_OPTS += \
+MPLAYER_CONF_OPTS += \
--with-dvdread-config="$(PKG_CONFIG_HOST_BINARY) dvdread"
MPLAYER_DEPENDENCIES += libdvdread
endif
# We intentionally don't pass --enable-dvdnav to let the autodetection
# find which library to link with.
ifeq ($(BR2_PACKAGE_LIBDVDNAV),y)
-MPLAYER_CONF_OPTS += \
+MPLAYER_CONF_OPTS += \
--with-dvdnav-config="$(PKG_CONFIG_HOST_BINARY) dvdnav"
MPLAYER_DEPENDENCIES += libdvdnav
endif
endif
NGREP_CONF_ENV += LIBS+="$(NGREP_LIBS)"
-NGREP_CONF_OPTS = \
+NGREP_CONF_OPTS = \
--with-pcap-includes=$(STAGING_DIR)/usr/include/pcap \
--enable-pcre \
--with-pcre=$(STAGING_DIR)/usr \
--disable-uart \
--disable-libusb \
--disable-libftdi \
- --disable-http \
+ --disable-http \
--disable-examples \
--disable-unittests \
--disable-doxygen-html \
POCO_INSTALL_STAGING = YES
POCO_PATCH = https://github.com/pocoproject/poco/commit/30159aea4b3f6421da9d74a8bf22aad6d3bf26b4.patch
-POCO_DEPENDENCIES = zlib pcre \
- $(if $(BR2_PACKAGE_POCO_XML),expat) \
- $(if $(BR2_PACKAGE_POCO_CRYPTO),openssl) \
- $(if $(BR2_PACKAGE_POCO_NETSSL_OPENSSL),openssl) \
- $(if $(BR2_PACKAGE_POCO_DATA_SQLITE),sqlite) \
+POCO_DEPENDENCIES = zlib pcre \
+ $(if $(BR2_PACKAGE_POCO_XML),expat) \
+ $(if $(BR2_PACKAGE_POCO_CRYPTO),openssl) \
+ $(if $(BR2_PACKAGE_POCO_NETSSL_OPENSSL),openssl) \
+ $(if $(BR2_PACKAGE_POCO_DATA_SQLITE),sqlite) \
$(if $(BR2_PACKAGE_POCO_DATA_MYSQL),mysql)
-POCO_OMIT = Data/ODBC PageCompiler \
- $(if $(BR2_PACKAGE_POCO_XML),,XML) \
- $(if $(BR2_PACKAGE_POCO_UTIL),,Util) \
- $(if $(BR2_PACKAGE_POCO_NET),,Net) \
- $(if $(BR2_PACKAGE_POCO_NETSSL_OPENSSL),,NetSSL_OpenSSL) \
- $(if $(BR2_PACKAGE_POCO_CRYPTO),,Crypto) \
- $(if $(BR2_PACKAGE_POCO_ZIP),,Zip) \
- $(if $(BR2_PACKAGE_POCO_DATA),,Data) \
- $(if $(BR2_PACKAGE_POCO_DATA_MYSQL),,Data/MySQL) \
+POCO_OMIT = Data/ODBC PageCompiler \
+ $(if $(BR2_PACKAGE_POCO_XML),,XML) \
+ $(if $(BR2_PACKAGE_POCO_UTIL),,Util) \
+ $(if $(BR2_PACKAGE_POCO_NET),,Net) \
+ $(if $(BR2_PACKAGE_POCO_NETSSL_OPENSSL),,NetSSL_OpenSSL) \
+ $(if $(BR2_PACKAGE_POCO_CRYPTO),,Crypto) \
+ $(if $(BR2_PACKAGE_POCO_ZIP),,Zip) \
+ $(if $(BR2_PACKAGE_POCO_DATA),,Data) \
+ $(if $(BR2_PACKAGE_POCO_DATA_MYSQL),,Data/MySQL) \
$(if $(BR2_PACKAGE_POCO_DATA_SQLITE),,Data/SQLite)
ifeq ($(LIBC),uclibc)
define POCO_CONFIGURE_CMDS
(cd $(@D); $(TARGET_MAKE_ENV) ./configure \
- --config=Linux \
- --prefix=/usr \
- --omit="$(POCO_OMIT)" \
- $(POCO_CONF_OPTS) \
- --unbundled \
- --no-tests \
+ --config=Linux \
+ --prefix=/usr \
+ --omit="$(POCO_OMIT)" \
+ $(POCO_CONF_OPTS) \
+ --unbundled \
+ --no-tests \
--no-samples)
endef
# Python 3.x.
ifeq ($(BR2_PACKAGE_PYTHON),y)
PYTHON_PYQT_CONF_OPTS += \
- --vendorid-incdir $(STAGING_DIR)/usr/include/$(PYTHON_PYQT_PYTHON_DIR) \
+ --vendorid-incdir $(STAGING_DIR)/usr/include/$(PYTHON_PYQT_PYTHON_DIR) \
--vendorid-libdir $(STAGING_DIR)/usr/lib/$(PYTHON_PYQT_PYTHON_DIR)/config
endif
$(TARGET_MAKE_ENV) $(TARGET_CONFIGURE_OPTS) $(HOST_DIR)/usr/bin/python configure.py \
--bindir $(TARGET_DIR)/usr/bin \
--destdir $(TARGET_DIR)/$(PYTHON_SIP_LIB_DIR) \
- --incdir $(STAGING_DIR)/$(PYTHON_SIP_INCLUDE_DIR) \
+ --incdir $(STAGING_DIR)/$(PYTHON_SIP_INCLUDE_DIR) \
--sipdir $(TARGET_DIR)/usr/share/sip \
--sysroot $(STAGING_DIR)/usr \
--use-qmake && \
# also installed in $(HOST_DIR), as it is needed when cross-compiling
# third-party Python modules.
-HOST_PYTHON_CONF_OPTS += \
- --enable-static \
- --without-cxx-main \
- --disable-sqlite3 \
- --disable-tk \
- --with-expat=system \
- --disable-curses \
- --disable-codecs-cjk \
- --disable-nis \
- --enable-unicodedata \
- --disable-dbm \
- --disable-gdbm \
- --disable-bsddb \
- --disable-test-modules \
- --disable-bz2 \
- --disable-ssl \
- --disable-ossaudiodev \
+HOST_PYTHON_CONF_OPTS += \
+ --enable-static \
+ --without-cxx-main \
+ --disable-sqlite3 \
+ --disable-tk \
+ --with-expat=system \
+ --disable-curses \
+ --disable-codecs-cjk \
+ --disable-nis \
+ --enable-unicodedata \
+ --disable-dbm \
+ --disable-gdbm \
+ --disable-bsddb \
+ --disable-test-modules \
+ --disable-bz2 \
+ --disable-ssl \
+ --disable-ossaudiodev \
--disable-pyo-build
# Make sure that LD_LIBRARY_PATH overrides -rpath.
endif
PYTHON_CONF_OPTS += \
- --without-cxx-main \
- --without-doc-strings \
- --with-system-ffi \
- --disable-pydoc \
- --disable-test-modules \
- --disable-lib2to3 \
- --disable-gdbm \
- --disable-tk \
- --disable-nis \
- --disable-dbm \
- --disable-pyo-build \
+ --without-cxx-main \
+ --without-doc-strings \
+ --with-system-ffi \
+ --disable-pydoc \
+ --disable-test-modules \
+ --disable-lib2to3 \
+ --disable-gdbm \
+ --disable-tk \
+ --disable-nis \
+ --disable-dbm \
+ --disable-pyo-build \
--disable-pyc-build
# This is needed to make sure the Python build process doesn't try to
# installed in $(HOST_DIR), as it is needed when cross-compiling
# third-party Python modules.
-HOST_PYTHON3_CONF_OPTS += \
- --without-ensurepip \
- --without-cxx-main \
- --disable-sqlite3 \
- --disable-tk \
- --with-expat=system \
- --disable-curses \
- --disable-codecs-cjk \
- --disable-nis \
- --enable-unicodedata \
- --disable-test-modules \
- --disable-idle3 \
- --disable-ossaudiodev \
+HOST_PYTHON3_CONF_OPTS += \
+ --without-ensurepip \
+ --without-cxx-main \
+ --disable-sqlite3 \
+ --disable-tk \
+ --with-expat=system \
+ --disable-curses \
+ --disable-codecs-cjk \
+ --disable-nis \
+ --enable-unicodedata \
+ --disable-test-modules \
+ --disable-idle3 \
+ --disable-ossaudiodev \
--disable-openssl
# Make sure that LD_LIBRARY_PATH overrides -rpath.
endif
PYTHON3_CONF_OPTS += \
- --without-ensurepip \
- --without-cxx-main \
- --with-system-ffi \
- --disable-pydoc \
- --disable-test-modules \
- --disable-lib2to3 \
- --disable-tk \
- --disable-nis \
- --disable-idle3 \
+ --without-ensurepip \
+ --without-cxx-main \
+ --with-system-ffi \
+ --disable-pydoc \
+ --disable-test-modules \
+ --disable-lib2to3 \
+ --disable-tk \
+ --disable-nis \
+ --disable-idle3 \
--disable-pyc-build
# Python builds two tools to generate code: 'pgen' and
# Override CPP, as it expects to be able to call it like it'd
# call the compiler.
define QEMU_CONFIGURE_CMDS
- ( cd $(@D); \
- LIBS='$(QEMU_LIBS)' \
- $(TARGET_CONFIGURE_OPTS) \
- $(TARGET_CONFIGURE_ARGS) \
- CPP="$(TARGET_CC) -E" \
- $(QEMU_VARS) \
- ./configure \
- --prefix=/usr \
- --cross-prefix=$(TARGET_CROSS) \
- --with-system-pixman \
- --audio-drv-list= \
- --enable-kvm \
- --enable-attr \
- --enable-vhost-net \
- --disable-bsd-user \
- --disable-xen \
- --disable-slirp \
- --disable-vnc \
- --disable-virtfs \
- --disable-brlapi \
- --disable-curses \
- --disable-curl \
- --disable-bluez \
- --disable-uuid \
- --disable-vde \
- --disable-linux-aio \
- --disable-cap-ng \
- --disable-docs \
- --disable-spice \
- --disable-rbd \
- --disable-libiscsi \
- --disable-usb-redir \
- --disable-strip \
- --disable-seccomp \
- --disable-sparse \
- $(QEMU_OPTS) \
+ ( cd $(@D); \
+ LIBS='$(QEMU_LIBS)' \
+ $(TARGET_CONFIGURE_OPTS) \
+ $(TARGET_CONFIGURE_ARGS) \
+ CPP="$(TARGET_CC) -E" \
+ $(QEMU_VARS) \
+ ./configure \
+ --prefix=/usr \
+ --cross-prefix=$(TARGET_CROSS) \
+ --with-system-pixman \
+ --audio-drv-list= \
+ --enable-kvm \
+ --enable-attr \
+ --enable-vhost-net \
+ --disable-bsd-user \
+ --disable-xen \
+ --disable-slirp \
+ --disable-vnc \
+ --disable-virtfs \
+ --disable-brlapi \
+ --disable-curses \
+ --disable-curl \
+ --disable-bluez \
+ --disable-uuid \
+ --disable-vde \
+ --disable-linux-aio \
+ --disable-cap-ng \
+ --disable-docs \
+ --disable-spice \
+ --disable-rbd \
+ --disable-libiscsi \
+ --disable-usb-redir \
+ --disable-strip \
+ --disable-seccomp \
+ --disable-sparse \
+ $(QEMU_OPTS) \
)
endef
endif
define RT_TESTS_BUILD_CMDS
- $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) \
- CC="$(TARGET_CC)" \
- CFLAGS="$(TARGET_CFLAGS)" \
+ $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) \
+ CC="$(TARGET_CC)" \
+ CFLAGS="$(TARGET_CFLAGS)" \
prefix=/usr
endef
define RT_TESTS_INSTALL_TARGET_CMDS
- $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) \
- DESTDIR="$(TARGET_DIR)" \
- prefix=/usr \
+ $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) \
+ DESTDIR="$(TARGET_DIR)" \
+ prefix=/usr \
$(if $(BR2_PACKAGE_PYTHON),PYLIB=/usr/lib/python$(PYTHON_VERSION_MAJOR)/site-packages/,PYLIB="") \
install
endef
RTAI_CONF_OPTS = \
--includedir=/usr/include/rtai \
- --with-linux-dir=$(LINUX_DIR) \
- --disable-leds \
- --enable-usi \
- --enable-align-priority \
- --disable-rtailab \
+ --with-linux-dir=$(LINUX_DIR) \
+ --disable-leds \
+ --enable-usi \
+ --enable-align-priority \
+ --disable-rtailab \
--with-module-dir=/lib/modules/$(LINUX_VERSION_PROBED)/rtai
RTAI_MAKE = $(MAKE1)
SDL2_CONF_OPTS += --enable-video-x11 \
--with-x=$(STAGING_DIR) \
--x-includes=$(STAGING_DIR)/usr/include \
- --x-libraries=$(STAGING_DIR)/usr/lib \
+ --x-libraries=$(STAGING_DIR)/usr/lib \
--enable-video-x11-xshape
ifeq ($(BR2_PACKAGE_XLIB_LIBXCURSOR),y)
define SKELETON_SET_NETWORK_LOCALHOST
( \
echo "# interface file auto-generated by buildroot"; \
- echo ; \
- echo "auto lo"; \
- echo "iface lo inet loopback"; \
+ echo ; \
+ echo "auto lo"; \
+ echo "iface lo inet loopback"; \
) > $(TARGET_DIR)/etc/network/interfaces
endef
ifneq ($(SKELETON_NETWORK_DHCP_IFACE),)
define SKELETON_SET_NETWORK_DHCP
( \
- echo ; \
- echo "auto $(SKELETON_NETWORK_DHCP_IFACE)"; \
- echo "iface $(SKELETON_NETWORK_DHCP_IFACE) inet dhcp"; \
- echo " pre-up /etc/network/nfs_check"; \
- echo " wait-delay 15"; \
+ echo ; \
+ echo "auto $(SKELETON_NETWORK_DHCP_IFACE)"; \
+ echo "iface $(SKELETON_NETWORK_DHCP_IFACE) inet dhcp"; \
+ echo " pre-up /etc/network/nfs_check"; \
+ echo " wait-delay 15"; \
) >> $(TARGET_DIR)/etc/network/interfaces
$(INSTALL) -m 0755 -D $(SKELETON_PKGDIR)/nfs_check \
$(TARGET_DIR)/etc/network/nfs_check
SPICE_LICENSE = LGPL-2.1+
SPICE_LICENSE_FILES = COPYING
SPICE_INSTALL_STAGING = YES
-SPICE_DEPENDENCIES = \
- alsa-lib \
- celt051 \
- jpeg \
- libglib2 \
- openssl \
- pixman \
- python-pyparsing \
+SPICE_DEPENDENCIES = \
+ alsa-lib \
+ celt051 \
+ jpeg \
+ libglib2 \
+ openssl \
+ pixman \
+ python-pyparsing \
spice-protocol
# We disable everything for now, because the dependency tree can become
# quite deep if we try to enable some features, and I have not tested that.
-SPICE_CONF_OPTS = \
- --disable-opengl \
- --disable-smartcard \
+SPICE_CONF_OPTS = \
+ --disable-opengl \
+ --disable-smartcard \
--disable-automated-tests \
--without-sasl
# it should link against libz and libjpeg. libz is pkg-config-aware, while
# libjpeg isn't, hence the two-line tweak
define SPICE_POST_INSTALL_STAGING_FIX_PC
- $(SED) 's/^\(Requires.private:.*\)$$/\1 zlib/; s/^\(Libs.private:.*\)$$/\1 -ljpeg/;' \
+ $(SED) 's/^\(Requires.private:.*\)$$/\1 zlib/; s/^\(Libs.private:.*\)$$/\1 -ljpeg/;' \
"$(STAGING_DIR)/usr/lib/pkgconfig/spice-server.pc"
endef
SPICE_POST_INSTALL_STAGING_HOOKS += SPICE_POST_INSTALL_STAGING_FIX_PC
HOST_SQUASHFS_MAKE_ARGS = \
XATTR_SUPPORT=1 \
- XZ_SUPPORT=1 \
- GZIP_SUPPORT=1 \
- LZ4_SUPPORT=1 \
- LZO_SUPPORT=1 \
+ XZ_SUPPORT=1 \
+ GZIP_SUPPORT=1 \
+ LZ4_SUPPORT=1 \
+ LZO_SUPPORT=1 \
LZMA_XZ_SUPPORT=1
define SQUASHFS_BUILD_CMDS
- $(TARGET_MAKE_ENV) $(MAKE) \
- CC="$(TARGET_CC)" \
- EXTRA_CFLAGS="$(TARGET_CFLAGS)" \
+ $(TARGET_MAKE_ENV) $(MAKE) \
+ CC="$(TARGET_CC)" \
+ EXTRA_CFLAGS="$(TARGET_CFLAGS)" \
EXTRA_LDFLAGS="$(TARGET_LDFLAGS)" \
$(SQUASHFS_MAKE_ARGS) \
-C $(@D)/squashfs-tools/
define HOST_SQUASHFS_BUILD_CMDS
$(HOST_MAKE_ENV) $(MAKE) \
CC="$(HOSTCC)" \
- EXTRA_CFLAGS="$(HOST_CFLAGS)" \
+ EXTRA_CFLAGS="$(HOST_CFLAGS)" \
EXTRA_LDFLAGS="$(HOST_LDFLAGS)" \
$(HOST_SQUASHFS_MAKE_ARGS) \
-C $(@D)/squashfs-tools/
ifeq ($(BR2_PACKAGE_LIBGCRYPT),y)
SYSTEMD_DEPENDENCIES += libgcrypt
SYSTEMD_CONF_OPTS += \
- --enable-gcrypt \
+ --enable-gcrypt \
--with-libgcrypt-prefix=$(STAGING_DIR)/usr \
--with-libgpg-error-prefix=$(STAGING_DIR)/usr
else
TVHEADEND_PRE_CONFIGURE_HOOKS += TVHEADEND_INSTALL_DTV_SCAN_TABLES
define TVHEADEND_CONFIGURE_CMDS
- (cd $(@D); \
- $(TARGET_CONFIGURE_OPTS) \
- $(TARGET_CONFIGURE_ARGS) \
- CFLAGS="$(TVHEADEND_CFLAGS)" \
- ./configure \
- --prefix=/usr \
- --arch="$(ARCH)" \
- --cpu="$(BR2_GCC_TARGET_CPU)" \
- --nowerror \
- --python="$(HOST_DIR)/usr/bin/python" \
- --enable-dvbscan \
- --enable-bundle \
- --enable-pngquant \
- --disable-ffmpeg_static \
- --disable-hdhomerun_static \
- $(TVHEADEND_CONF_OPTS) \
+ (cd $(@D); \
+ $(TARGET_CONFIGURE_OPTS) \
+ $(TARGET_CONFIGURE_ARGS) \
+ CFLAGS="$(TVHEADEND_CFLAGS)" \
+ ./configure \
+ --prefix=/usr \
+ --arch="$(ARCH)" \
+ --cpu="$(BR2_GCC_TARGET_CPU)" \
+ --nowerror \
+ --python="$(HOST_DIR)/usr/bin/python" \
+ --enable-dvbscan \
+ --enable-bundle \
+ --enable-pngquant \
+ --disable-ffmpeg_static \
+ --disable-hdhomerun_static \
+ $(TVHEADEND_CONF_OPTS) \
)
endef
TZ_LOCALTIME = $(call qstrip,$(BR2_TARGET_LOCALTIME))
define TZ_BUILD_CMDS
- (cd $(HOST_DIR)/usr/share/zoneinfo/posix/; \
- for i in $$(find . -type f); do \
- mkdir -p $(@D)/output/$$(dirname $$i); \
+ (cd $(HOST_DIR)/usr/share/zoneinfo/posix/; \
+ for i in $$(find . -type f); do \
+ mkdir -p $(@D)/output/$$(dirname $$i); \
$(TZDUMP) -p . -q $${i#./} | sed '1d' > $(@D)/output/$$i; \
- done \
+ done \
)
endef
$(TARGET_DIR)/usr/share/zoneinfo/iso3166.tab
mkdir -p $(TARGET_DIR)/usr/share/zoneinfo/uclibc
cp -a $(@D)/output/* $(TARGET_DIR)/usr/share/zoneinfo/uclibc
- if [ -n "$(TZ_LOCALTIME)" ]; then \
+ if [ -n "$(TZ_LOCALTIME)" ]; then \
if [ ! -f $(TARGET_DIR)/usr/share/zoneinfo/uclibc/$(TZDATA_LOCALTIME) ]; then \
printf "Error: '%s' is not a valid timezone, check your BR2_TARGET_LOCALTIME setting\n" \
- "$(TZDATA_LOCALTIME)"; \
- exit 1; \
- fi; \
- cd $(TARGET_DIR)/etc; \
+ "$(TZDATA_LOCALTIME)"; \
+ exit 1; \
+ fi; \
+ cd $(TARGET_DIR)/etc; \
ln -sf ../usr/share/zoneinfo/uclibc/$(TZDATA_LOCALTIME) TZ; \
fi
endef
define TZDATA_INSTALL_TARGET_CMDS
$(INSTALL) -d -m 0755 $(TARGET_DIR)/usr/share/zoneinfo
cp -a $(HOST_DIR)/usr/share/zoneinfo/* $(TARGET_DIR)/usr/share/zoneinfo
- cd $(TARGET_DIR)/usr/share/zoneinfo; \
- for zone in posix/*; do \
- ln -sfn "$${zone}" "$${zone##*/}"; \
+ cd $(TARGET_DIR)/usr/share/zoneinfo; \
+ for zone in posix/*; do \
+ ln -sfn "$${zone}" "$${zone##*/}"; \
done
- if [ -n "$(TZDATA_LOCALTIME)" ]; then \
+ if [ -n "$(TZDATA_LOCALTIME)" ]; then \
if [ ! -f $(TARGET_DIR)/usr/share/zoneinfo/$(TZDATA_LOCALTIME) ]; then \
printf "Error: '%s' is not a valid timezone, check your BR2_TARGET_LOCALTIME setting\n" \
- "$(TZDATA_LOCALTIME)"; \
- exit 1; \
- fi; \
- cd $(TARGET_DIR)/etc; \
+ "$(TZDATA_LOCALTIME)"; \
+ exit 1; \
+ fi; \
+ cd $(TARGET_DIR)/etc; \
ln -sf ../usr/share/zoneinfo/$(TZDATA_LOCALTIME) localtime; \
- echo "$(TZDATA_LOCALTIME)" >timezone; \
+ echo "$(TZDATA_LOCALTIME)" >timezone; \
fi
endef
# For 0002-Fix-systemd-service-file.patch
UDISKS_AUTORECONF = YES
-UDISKS_DEPENDENCIES = \
- sg3_utils \
- host-pkgconf \
- udev \
- dbus \
- dbus-glib \
- polkit \
- parted \
- lvm2 \
- libatasmart \
+UDISKS_DEPENDENCIES = \
+ sg3_utils \
+ host-pkgconf \
+ udev \
+ dbus \
+ dbus-glib \
+ polkit \
+ parted \
+ lvm2 \
+ libatasmart \
libgudev
UDISKS_CONF_OPTS = --disable-remote-access --disable-man-pages
define USBMOUNT_INSTALL_TARGET_CMDS
$(INSTALL) -m 0755 -D $(@D)/usbmount $(TARGET_DIR)/usr/share/usbmount/usbmount
- $(INSTALL) -m 0755 -D $(@D)/00_create_model_symlink \
+ $(INSTALL) -m 0755 -D $(@D)/00_create_model_symlink \
$(TARGET_DIR)/etc/usbmount/mount.d/00_create_model_symlink
- $(INSTALL) -m 0755 -D $(@D)/00_remove_model_symlink \
+ $(INSTALL) -m 0755 -D $(@D)/00_remove_model_symlink \
$(TARGET_DIR)/etc/usbmount/umount.d/00_remove_model_symlink
$(INSTALL) -m 0644 -D $(@D)/usbmount.rules $(TARGET_DIR)/lib/udev/rules.d/usbmount.rules
WPA_SUPPLICANT_CONFIG_SET = CONFIG_BGSCAN_SIMPLE
WPA_SUPPLICANT_CONFIG_ENABLE = \
- CONFIG_IEEE80211AC \
- CONFIG_IEEE80211N \
- CONFIG_IEEE80211R \
+ CONFIG_IEEE80211AC \
+ CONFIG_IEEE80211N \
+ CONFIG_IEEE80211R \
CONFIG_INTERNAL_LIBTOMMATH \
CONFIG_DEBUG_FILE \
CONFIG_MATCH_IFACE
ifeq ($(BR2_PACKAGE_DBUS),y)
WPA_SUPPLICANT_DEPENDENCIES += host-pkgconf dbus
WPA_SUPPLICANT_MAKE_ENV = \
- PKG_CONFIG_SYSROOT_DIR="$(STAGING_DIR)" \
+ PKG_CONFIG_SYSROOT_DIR="$(STAGING_DIR)" \
PKG_CONFIG_PATH="$(STAGING_DIR)/usr/lib/pkgconfig"
ifeq ($(BR2_PACKAGE_WPA_SUPPLICANT_DBUS_OLD),y)