"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "package/meson/meson.mk" between
buildroot-2019.05.1.tar.bz2 and buildroot-2019.08-rc1.tar.bz2

About: Buildroot is a set of Makefiles and patches that makes it easy to generate a complete embedded Linux system. Release candidate.

meson.mk  (buildroot-2019.05.1.tar.bz2):meson.mk  (buildroot-2019.08-rc1.tar.bz2)
################################################################################ ################################################################################
# #
# meson # meson
# #
################################################################################ ################################################################################
MESON_VERSION = 0.50.1 MESON_VERSION = 0.51.1
MESON_SITE = https://github.com/mesonbuild/meson/releases/download/$(MESON_VERSI ON) MESON_SITE = https://github.com/mesonbuild/meson/releases/download/$(MESON_VERSI ON)
MESON_LICENSE = Apache-2.0 MESON_LICENSE = Apache-2.0
MESON_LICENSE_FILES = COPYING MESON_LICENSE_FILES = COPYING
MESON_SETUP_TYPE = setuptools MESON_SETUP_TYPE = setuptools
HOST_MESON_DEPENDENCIES = host-ninja HOST_MESON_DEPENDENCIES = host-ninja
HOST_MESON_NEEDS_HOST_PYTHON = python3 HOST_MESON_NEEDS_HOST_PYTHON = python3
HOST_MESON_TARGET_ENDIAN = $(call LOWERCASE,$(BR2_ENDIAN)) HOST_MESON_TARGET_ENDIAN = $(call LOWERCASE,$(BR2_ENDIAN))
HOST_MESON_TARGET_CPU = $(GCC_TARGET_CPU) HOST_MESON_TARGET_CPU = $(GCC_TARGET_CPU)
skipping to change at line 53 skipping to change at line 53
HOST_MESON_TARGET_CPU_FAMILY = x86_64 HOST_MESON_TARGET_CPU_FAMILY = x86_64
else else
HOST_MESON_TARGET_CPU_FAMILY = $(ARCH) HOST_MESON_TARGET_CPU_FAMILY = $(ARCH)
endif endif
HOST_MESON_SED_CFLAGS = $(if $(strip $(TARGET_CFLAGS)),`printf '"%s"$(comma) ' $ (TARGET_CFLAGS)`) HOST_MESON_SED_CFLAGS = $(if $(strip $(TARGET_CFLAGS)),`printf '"%s"$(comma) ' $ (TARGET_CFLAGS)`)
HOST_MESON_SED_LDFLAGS = $(if $(strip $(TARGET_LDFLAGS)),`printf '"%s"$(comma) ' $(TARGET_LDFLAGS)`) HOST_MESON_SED_LDFLAGS = $(if $(strip $(TARGET_LDFLAGS)),`printf '"%s"$(comma) ' $(TARGET_LDFLAGS)`)
HOST_MESON_SED_CXXFLAGS = $(if $(strip $(TARGET_CXXFLAGS)),`printf '"%s"$(comma) ' $(TARGET_CXXFLAGS)`) HOST_MESON_SED_CXXFLAGS = $(if $(strip $(TARGET_CXXFLAGS)),`printf '"%s"$(comma) ' $(TARGET_CXXFLAGS)`)
# Generate a Meson cross-compilation.conf suitable for use with the # Generate a Meson cross-compilation.conf suitable for use with the
# SDK # SDK; also install the file as a template for users to add their
# own flags if they need to.
define HOST_MESON_INSTALL_CROSS_CONF define HOST_MESON_INSTALL_CROSS_CONF
mkdir -p $(HOST_DIR)/etc/meson mkdir -p $(HOST_DIR)/etc/meson
sed -e "s%@TARGET_CROSS@%$(TARGET_CROSS)%g" \ sed -e "s%@TARGET_CROSS@%$(TARGET_CROSS)%g" \
-e "s%@TARGET_ARCH@%$(HOST_MESON_TARGET_CPU_FAMILY)%g" \ -e "s%@TARGET_ARCH@%$(HOST_MESON_TARGET_CPU_FAMILY)%g" \
-e "s%@TARGET_CPU@%$(HOST_MESON_TARGET_CPU)%g" \ -e "s%@TARGET_CPU@%$(HOST_MESON_TARGET_CPU)%g" \
-e "s%@TARGET_ENDIAN@%$(HOST_MESON_TARGET_ENDIAN)%g" \ -e "s%@TARGET_ENDIAN@%$(HOST_MESON_TARGET_ENDIAN)%g" \
-e "s%@TARGET_CFLAGS@%$(HOST_MESON_SED_CFLAGS)%g" \ -e "s%@TARGET_CFLAGS@%$(HOST_MESON_SED_CFLAGS)@PKG_TARGET_CFLAGS@%g"
-e "s%@TARGET_LDFLAGS@%$(HOST_MESON_SED_LDFLAGS)%g" \ \
-e "s%@TARGET_CXXFLAGS@%$(HOST_MESON_SED_CXXFLAGS)%g" \ -e "s%@TARGET_LDFLAGS@%$(HOST_MESON_SED_LDFLAGS)@PKG_TARGET_CFLAGS@%g
" \
-e "s%@TARGET_CXXFLAGS@%$(HOST_MESON_SED_CXXFLAGS)@PKG_TARGET_CFLAGS@
%g" \
-e "s%@HOST_DIR@%$(HOST_DIR)%g" \ -e "s%@HOST_DIR@%$(HOST_DIR)%g" \
$(HOST_MESON_PKGDIR)/cross-compilation.conf.in \ $(HOST_MESON_PKGDIR)/cross-compilation.conf.in \
> $(HOST_DIR)/etc/meson/cross-compilation.conf.in
sed -e "s%@PKG_TARGET_CFLAGS@%%g" \
-e "s%@PKG_TARGET_LDFLAGS@%%g" \
-e "s%@PKG_TARGET_CXXFLAGS@%%g" \
$(HOST_DIR)/etc/meson/cross-compilation.conf.in \
> $(HOST_DIR)/etc/meson/cross-compilation.conf > $(HOST_DIR)/etc/meson/cross-compilation.conf
endef endef
TARGET_FINALIZE_HOOKS += HOST_MESON_INSTALL_CROSS_CONF TARGET_FINALIZE_HOOKS += HOST_MESON_INSTALL_CROSS_CONF
$(eval $(host-python-package)) $(eval $(host-python-package))
 End of changes. 4 change blocks. 
5 lines changed or deleted 14 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)