default "archs" if BR2_archs38
config BR2_READELF_ARCH_NAME
- default "ARCompact" if BR2_arc750d || BR2_arc770d
+ default "ARCompact" if BR2_arc750d || BR2_arc770d
default "ARCv2" if BR2_archs38
choice
default "iwmmxt" if BR2_iwmmxt
default "cortex-a53" if (BR2_cortex_a53 && !BR2_ARCH_IS_64)
default "cortex-a53+fp" if (BR2_cortex_a53 && BR2_ARCH_IS_64 && BR2_ARM_FPU_FP_ARMV8)
- default "cortex-a53+fp+simd" if (BR2_cortex_a53 && BR2_ARCH_IS_64 && BR2_ARM_FPU_NEON_FP_ARMV8)
+ default "cortex-a53+fp+simd" if (BR2_cortex_a53 && BR2_ARCH_IS_64 && BR2_ARM_FPU_NEON_FP_ARMV8)
default "cortex-a57" if (BR2_cortex_a57 && !BR2_ARCH_IS_64)
default "cortex-a57+fp" if (BR2_cortex_a57 && BR2_ARCH_IS_64 && BR2_ARM_FPU_FP_ARMV8)
- default "cortex-a57+fp+simd" if (BR2_cortex_a57 && BR2_ARCH_IS_64 && BR2_ARM_FPU_NEON_FP_ARMV8)
+ default "cortex-a57+fp+simd" if (BR2_cortex_a57 && BR2_ARCH_IS_64 && BR2_ARM_FPU_NEON_FP_ARMV8)
default "cortex-a72" if (BR2_cortex_a72 && !BR2_ARCH_IS_64)
default "cortex-a72+fp" if (BR2_cortex_a72 && BR2_ARCH_IS_64 && BR2_ARM_FPU_FP_ARMV8)
- default "cortex-a72+fp+simd" if (BR2_cortex_a72 && BR2_ARCH_IS_64 && BR2_ARM_FPU_NEON_FP_ARMV8)
+ default "cortex-a72+fp+simd" if (BR2_cortex_a72 && BR2_ARCH_IS_64 && BR2_ARM_FPU_NEON_FP_ARMV8)
config BR2_GCC_TARGET_ABI
default "aapcs-linux" if BR2_arm || BR2_armeb
depends on BR2_arm || BR2_armeb
default "vfp" if BR2_ARM_FPU_VFPV2
default "vfpv3" if BR2_ARM_FPU_VFPV3
- default "vfpv3-d16" if BR2_ARM_FPU_VFPV3D16
- default "vfpv4" if BR2_ARM_FPU_VFPV4
- default "vfpv4-d16" if BR2_ARM_FPU_VFPV4D16
- default "neon" if BR2_ARM_FPU_NEON
- default "neon-vfpv4" if BR2_ARM_FPU_NEON_VFPV4
+ default "vfpv3-d16" if BR2_ARM_FPU_VFPV3D16
+ default "vfpv4" if BR2_ARM_FPU_VFPV4
+ default "vfpv4-d16" if BR2_ARM_FPU_VFPV4D16
+ default "neon" if BR2_ARM_FPU_NEON
+ default "neon-vfpv4" if BR2_ARM_FPU_NEON_VFPV4
default "fp-armv8" if BR2_ARM_FPU_FP_ARMV8
default "neon-fp-armv8" if BR2_ARM_FPU_NEON_FP_ARMV8
config BR2_ENDIAN
default "LITTLE" if BR2_mipsel || BR2_mips64el
- default "BIG" if BR2_mips || BR2_mips64
+ default "BIG" if BR2_mips || BR2_mips64
config BR2_GCC_TARGET_ARCH
default "mips32" if BR2_mips_32
define RTAI_PREPARE_KERNEL
kver=`$(MAKE) $(LINUX_MAKE_FLAGS) -C $(LINUX_DIR) --no-print-directory -s kernelversion` ; \
if test -f $(RTAI_DIR)/base/arch/$(RTAI_ARCH)/patches/hal-linux-$${kver}-*patch ; then \
- $(APPLY_PATCHES) $(LINUX_DIR) \
- $(RTAI_DIR)/base/arch/$(RTAI_ARCH)/patches/ \
+ $(APPLY_PATCHES) $(LINUX_DIR) \
+ $(RTAI_DIR)/base/arch/$(RTAI_ARCH)/patches/ \
hal-linux-$${kver}-*patch ; \
else \
echo "No RTAI patch for your kernel version" ; \
$(if $(BR2_LINUX_KERNEL_USE_CUSTOM_DTS),
cp -f $(call qstrip,$(BR2_LINUX_KERNEL_CUSTOM_DTS_PATH)) $(KERNEL_ARCH_PATH)/boot/dts/)
$(LINUX_MAKE_ENV) $(MAKE) $(LINUX_MAKE_FLAGS) -C $(@D) $(LINUX_TARGET_NAME)
- @if grep -q "CONFIG_MODULES=y" $(@D)/.config; then \
+ @if grep -q "CONFIG_MODULES=y" $(@D)/.config; then \
$(LINUX_MAKE_ENV) $(MAKE) $(LINUX_MAKE_FLAGS) -C $(@D) modules ; \
fi
$(LINUX_BUILD_DTB)
define LINUX_INSTALL_HOST_TOOLS
# Installing dtc (device tree compiler) as host tool, if selected
- if grep -q "CONFIG_DTC=y" $(@D)/.config; then \
+ if grep -q "CONFIG_DTC=y" $(@D)/.config; then \
$(INSTALL) -D -m 0755 $(@D)/scripts/dtc/dtc $(HOST_DIR)/usr/bin/linux-dtc ; \
if [ ! -e $(HOST_DIR)/usr/bin/dtc ]; then \
ln -sf linux-dtc $(HOST_DIR)/usr/bin/dtc ; \
$(LINUX_INSTALL_KERNEL_IMAGE_TO_TARGET)
# Install modules and remove symbolic links pointing to build
# directories, not relevant on the target
- @if grep -q "CONFIG_MODULES=y" $(@D)/.config; then \
+ @if grep -q "CONFIG_MODULES=y" $(@D)/.config; then \
$(LINUX_MAKE_ENV) $(MAKE1) $(LINUX_MAKE_FLAGS) -C $(@D) modules_install; \
rm -f $(TARGET_DIR)/lib/modules/$(LINUX_VERSION_PROBED)/build ; \
rm -f $(TARGET_DIR)/lib/modules/$(LINUX_VERSION_PROBED)/source ; \
BLUEZ5_UTILS_LICENSE = GPLv2+, LGPLv2.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)
# Reduces the buggy makefile to the smallest possible (and working) thing
define LESSTIF_NOMAN2HTML
- echo "all:" > $(@D)/doc/Makefile
- echo "" >> $(@D)/doc/Makefile
+ echo "all:" > $(@D)/doc/Makefile
+ echo "" >> $(@D)/doc/Makefile
echo "install:" >> $(@D)/doc/Makefile
- echo "" >> $(@D)/doc/Makefile
- echo "clean:" >> $(@D)/doc/Makefile
+ echo "" >> $(@D)/doc/Makefile
+ echo "clean:" >> $(@D)/doc/Makefile
endef
# Prevents to copy ac_find_motif.m4 on target, it would else
# rtl81xx
ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_RTL_81XX),y)
LINUX_FIRMWARE_FILES += \
- rtlwifi/rtl8192cfw.bin rtlwifi/rtl8192cfwU.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 \
endif
define NETSNMP_STAGING_NETSNMP_CONFIG_FIXUP
- $(SED) "s,^includedir=.*,includedir=\'$(STAGING_DIR)/usr/include\',g" \
+ $(SED) "s,^includedir=.*,includedir=\'$(STAGING_DIR)/usr/include\',g" \
-e "s,^libdir=.*,libdir=\'$(STAGING_DIR)/usr/lib\',g" \
$(STAGING_DIR)/usr/bin/net-snmp-config
endef
$(1)-install-images:
endif
-$(1)-install-host: $$($(2)_TARGET_INSTALL_HOST)
+$(1)-install-host: $$($(2)_TARGET_INSTALL_HOST)
$$($(2)_TARGET_INSTALL_HOST): $$($(2)_TARGET_BUILD)
$(1)-build: $$($(2)_TARGET_BUILD)
#
# $(eval $(kernel-module))
# define FOO_MOD_TWEAK
-# # do something
+# # do something
# endef
# FOO_POST_BUILD_HOOKS += FOO_MOD_TWEAK
# $(eval $(generic-package))
$(2)_WAF = ./waf
endif
-$(2)_BUILD_OPTS ?=
-$(2)_INSTALL_STAGING_OPTS ?=
-$(2)_INSTALL_TARGET_OPTS ?=
+$(2)_BUILD_OPTS ?=
+$(2)_INSTALL_STAGING_OPTS ?=
+$(2)_INSTALL_TARGET_OPTS ?=
$(2)_WAF_OPTS ?=
#
# also installed in $(HOST_DIR), as it is needed when cross-compiling
# third-party Python modules.
-HOST_PYTHON_CONF_OPTS += \
+HOST_PYTHON_CONF_OPTS += \
--enable-static \
- --without-cxx-main \
+ --without-cxx-main \
--disable-sqlite3 \
--disable-tk \
--with-expat=system \
endif
PYTHON_CONF_OPTS += \
- --without-cxx-main \
+ --without-cxx-main \
--without-doc-strings \
--with-system-ffi \
--disable-pydoc \
# installed in $(HOST_DIR), as it is needed when cross-compiling
# third-party Python modules.
-HOST_PYTHON3_CONF_OPTS += \
+HOST_PYTHON3_CONF_OPTS += \
--without-ensurepip \
- --without-cxx-main \
+ --without-cxx-main \
--disable-sqlite3 \
--disable-tk \
--with-expat=system \
PYTHON3_CONF_OPTS += \
--without-ensurepip \
- --without-cxx-main \
+ --without-cxx-main \
--with-system-ffi \
--disable-pydoc \
--disable-test-modules \
define RT_TESTS_BUILD_CMDS
$(TARGET_MAKE_ENV) $(MAKE) -C $(@D) \
- CC="$(TARGET_CC)" \
+ 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 \
+ 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 \
+ --with-linux-dir=$(LINUX_DIR) \
+ --disable-leds \
--enable-usi \
--enable-align-priority \
--disable-rtailab \
# For 0002-Fix-systemd-service-file.patch
UDISKS_AUTORECONF = YES
-UDISKS_DEPENDENCIES = \
+UDISKS_DEPENDENCIES = \
sg3_utils \
host-pkgconf \
udev \
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
XSERVER_XORG_SERVER_INSTALL_STAGING = YES
# xfont_font-util is needed only for autoreconf
XSERVER_XORG_SERVER_AUTORECONF = YES
-XSERVER_XORG_SERVER_DEPENDENCIES = \
- xfont_font-util \
- xutil_util-macros \
- xlib_libX11 \
- xlib_libXau \
- xlib_libXdmcp \
- xlib_libXext \
- xlib_libXfixes \
- xlib_libXi \
- xlib_libXrender \
- xlib_libXres \
- xlib_libXft \
- xlib_libXcursor \
- xlib_libXinerama \
- xlib_libXrandr \
- xlib_libXdamage \
- xlib_libXxf86vm \
- xlib_libxkbfile \
- xlib_xtrans \
- xdata_xbitmaps \
- xproto_bigreqsproto \
- xproto_compositeproto \
- xproto_damageproto \
- xproto_fixesproto \
- xproto_fontsproto \
- xproto_glproto \
- xproto_inputproto \
- xproto_kbproto \
- xproto_randrproto \
- xproto_renderproto \
- xproto_resourceproto \
- xproto_videoproto \
- xproto_xcmiscproto \
- xproto_xextproto \
- xproto_xf86bigfontproto \
- xproto_xf86dgaproto \
- xproto_xf86vidmodeproto \
- xproto_xproto \
- xkeyboard-config \
- pixman \
- mcookie \
+XSERVER_XORG_SERVER_DEPENDENCIES = \
+ xfont_font-util \
+ xutil_util-macros \
+ xlib_libX11 \
+ xlib_libXau \
+ xlib_libXdmcp \
+ xlib_libXext \
+ xlib_libXfixes \
+ xlib_libXi \
+ xlib_libXrender \
+ xlib_libXres \
+ xlib_libXft \
+ xlib_libXcursor \
+ xlib_libXinerama \
+ xlib_libXrandr \
+ xlib_libXdamage \
+ xlib_libXxf86vm \
+ xlib_libxkbfile \
+ xlib_xtrans \
+ xdata_xbitmaps \
+ xproto_bigreqsproto \
+ xproto_compositeproto \
+ xproto_damageproto \
+ xproto_fixesproto \
+ xproto_fontsproto \
+ xproto_glproto \
+ xproto_inputproto \
+ xproto_kbproto \
+ xproto_randrproto \
+ xproto_renderproto \
+ xproto_resourceproto \
+ xproto_videoproto \
+ xproto_xcmiscproto \
+ xproto_xextproto \
+ xproto_xf86bigfontproto \
+ xproto_xf86dgaproto \
+ xproto_xf86vidmodeproto \
+ xproto_xproto \
+ xkeyboard-config \
+ pixman \
+ mcookie \
host-pkgconf
# We force -O2 regardless of the optimization level chosen by the