mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-26 12:00:48 -09:00
package/uclibc: deactivate time64 support for older kernel's
For Linux systems older then 5.1.0 we need to disable time64 support in uClibc-ng to avoid compilation failure. Fixes Buildroot's arcturus_ucp1020_defconfig: https://gitlab.com/buildroot.org/buildroot/-/jobs/8925840027 Reported-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com> Suggested-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com> Signed-off-by: Waldemar Brodkorb <wbx@openadk.org> [Julien: - fix check-package errors - add link to a build failure ] Signed-off-by: Julien Olivain <ju.o@free.fr>
This commit is contained in:
committed by
Julien Olivain
parent
fbbfc35c2d
commit
6a63051931
@@ -72,6 +72,15 @@ define UCLIBC_BINFMT_CONFIG
|
||||
endef
|
||||
endif
|
||||
|
||||
#
|
||||
# 64-bit time_t is enabled by default but needs headers >= 5.1.0
|
||||
#
|
||||
ifeq ($(BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_1),)
|
||||
define UCLIBC_DISABLE_TIME64
|
||||
$(call KCONFIG_DISABLE_OPT,UCLIBC_USE_TIME64)
|
||||
endef
|
||||
endif
|
||||
|
||||
#
|
||||
# AArch64 definitions
|
||||
#
|
||||
@@ -398,6 +407,7 @@ define UCLIBC_KCONFIG_FIXUP_CMDS
|
||||
$(call KCONFIG_DISABLE_OPT,DOSTRIP)
|
||||
$(UCLIBC_MMU_CONFIG)
|
||||
$(UCLIBC_BINFMT_CONFIG)
|
||||
$(UCLIBC_DISABLE_TIME64)
|
||||
$(UCLIBC_AARCH64_PAGE_SIZE_CONFIG)
|
||||
$(UCLIBC_ARC_PAGE_SIZE_CONFIG)
|
||||
$(UCLIBC_ARC_ATOMICS_CONFIG)
|
||||
|
||||
Reference in New Issue
Block a user