Bump Buildroot Version to buildroot 2019_02_6
This commit is contained in:
@@ -1,5 +1,20 @@
|
||||
# netsurf mixes up host and target CFLAGS, so it isn't compatible with
|
||||
# architectures where we pass ABI specific compiler flags (TARGET_ABI)
|
||||
config BR2_PACKAGE_NETSURF_ARCH_SUPPORTS
|
||||
bool
|
||||
default y if !((BR2_arc && BR2_ARC_ATOMIC_EXT) || \
|
||||
BR2_powerpc_8540 || BR2_powerpc_8548 || BR2_powerpc_e500mc || \
|
||||
BR2_xtensa)
|
||||
|
||||
comment "netsurf needs a toolchain w/ dynamic library"
|
||||
depends on BR2_STATIC_LIBS
|
||||
depends on BR2_PACKAGE_NETSURF_ARCH_SUPPORTS
|
||||
|
||||
config BR2_PACKAGE_NETSURF
|
||||
bool "netsurf"
|
||||
# static linking support is broken beyond repair
|
||||
depends on !BR2_STATIC_LIBS
|
||||
depends on BR2_PACKAGE_NETSURF_ARCH_SUPPORTS
|
||||
select BR2_PACKAGE_EXPAT
|
||||
select BR2_PACKAGE_JPEG
|
||||
select BR2_PACKAGE_LIBICONV if !BR2_ENABLE_LOCALE
|
||||
|
||||
@@ -70,13 +70,18 @@ define NETSURF_CONFIGURE_CMDS
|
||||
$(NETSURF_CURL_CONFIGURE_CMDS)
|
||||
endef
|
||||
|
||||
NETSURF_MAKE_ENV = \
|
||||
$(TARGET_MAKE_ENV) \
|
||||
CFLAGS="$(TARGET_CFLAGS) -I$(@D)/tmpusr/include" \
|
||||
LDFLAGS="$(TARGET_LDFLAGS) -L$(@D)/tmpusr/lib"
|
||||
|
||||
NETSURF_MAKE_OPTS = \
|
||||
TARGET=$(NETSURF_FRONTEND) \
|
||||
BISON="$(HOST_DIR)/bin/bison" \
|
||||
FLEX="$(HOST_DIR)/bin/flex" \
|
||||
PKG_CONFIG="$(PKG_CONFIG_HOST_BINARY)" \
|
||||
BUILD_CC="$(HOSTCC)" \
|
||||
CC="$(TARGET_CC) -I$(@D)/tmpusr/include -L$(@D)/tmpusr/lib" \
|
||||
CC="$(TARGET_CC)" \
|
||||
AR="$(TARGET_AR)" \
|
||||
TMP_PREFIX=$(@D)/tmpusr \
|
||||
NETSURF_CONFIG="$(NETSURF_CONFIG)" \
|
||||
@@ -84,7 +89,7 @@ NETSURF_MAKE_OPTS = \
|
||||
|
||||
define NETSURF_BUILD_CMDS
|
||||
mkdir -p $(@D)/tmpusr
|
||||
$(TARGET_MAKE_ENV) $(MAKE) -C $(@D) $(NETSURF_MAKE_OPTS) \
|
||||
$(NETSURF_MAKE_ENV) $(MAKE) -C $(@D) $(NETSURF_MAKE_OPTS) \
|
||||
build
|
||||
endef
|
||||
|
||||
|
||||
Reference in New Issue
Block a user