mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-08-01 07:27:43 +00:00
package infra: drop non-lfs support
Now that largefile is mandatory remove support for non-lfs tweaks/variables in the package infra and the gcc build. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
parent
152d6414ca
commit
c0d6625e5e
@ -136,10 +136,7 @@ ifeq ($(BR2_DEBUG_3),y)
|
|||||||
TARGET_DEBUGGING = -g3
|
TARGET_DEBUGGING = -g3
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(BR2_LARGEFILE),y)
|
|
||||||
TARGET_CPPFLAGS += -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64
|
TARGET_CPPFLAGS += -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64
|
||||||
endif
|
|
||||||
|
|
||||||
TARGET_CFLAGS = $(TARGET_CPPFLAGS) $(TARGET_ABI) $(TARGET_OPTIMIZATION) $(TARGET_DEBUGGING)
|
TARGET_CFLAGS = $(TARGET_CPPFLAGS) $(TARGET_ABI) $(TARGET_OPTIMIZATION) $(TARGET_DEBUGGING)
|
||||||
TARGET_CXXFLAGS = $(TARGET_CFLAGS)
|
TARGET_CXXFLAGS = $(TARGET_CFLAGS)
|
||||||
TARGET_LDFLAGS = $(call qstrip,$(BR2_TARGET_LDFLAGS))
|
TARGET_LDFLAGS = $(call qstrip,$(BR2_TARGET_LDFLAGS))
|
||||||
@ -373,10 +370,6 @@ else
|
|||||||
DISABLE_NLS :=--disable-nls
|
DISABLE_NLS :=--disable-nls
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifneq ($(BR2_LARGEFILE),y)
|
|
||||||
DISABLE_LARGEFILE = --disable-largefile
|
|
||||||
endif
|
|
||||||
|
|
||||||
ifeq ($(BR2_INET_IPV6),y)
|
ifeq ($(BR2_INET_IPV6),y)
|
||||||
DISABLE_IPV6 = --enable-ipv6
|
DISABLE_IPV6 = --enable-ipv6
|
||||||
else
|
else
|
||||||
|
@ -49,7 +49,6 @@ GCC_FINAL_CROSS_LANGUAGES = $(subst $(space),$(comma),$(GCC_FINAL_CROSS_LANGUAGE
|
|||||||
HOST_GCC_FINAL_CONF_OPTS = \
|
HOST_GCC_FINAL_CONF_OPTS = \
|
||||||
$(HOST_GCC_COMMON_CONF_OPTS) \
|
$(HOST_GCC_COMMON_CONF_OPTS) \
|
||||||
--enable-languages=$(GCC_FINAL_CROSS_LANGUAGES) \
|
--enable-languages=$(GCC_FINAL_CROSS_LANGUAGES) \
|
||||||
$(DISABLE_LARGEFILE) \
|
|
||||||
--enable-poison-system-directories \
|
--enable-poison-system-directories \
|
||||||
--with-build-time-tools=$(HOST_DIR)/usr/$(GNU_TARGET_NAME)/bin
|
--with-build-time-tools=$(HOST_DIR)/usr/$(GNU_TARGET_NAME)/bin
|
||||||
|
|
||||||
|
@ -201,7 +201,6 @@ define $(2)_CONFIGURE_CMDS
|
|||||||
--with-fop=no \
|
--with-fop=no \
|
||||||
--disable-dependency-tracking \
|
--disable-dependency-tracking \
|
||||||
$$(DISABLE_NLS) \
|
$$(DISABLE_NLS) \
|
||||||
$$(DISABLE_LARGEFILE) \
|
|
||||||
$$(DISABLE_IPV6) \
|
$$(DISABLE_IPV6) \
|
||||||
$$(ENABLE_DEBUG) \
|
$$(ENABLE_DEBUG) \
|
||||||
$$(SHARED_STATIC_LIBS_OPTS) \
|
$$(SHARED_STATIC_LIBS_OPTS) \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user