mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-08-23 15:54:21 -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>
(cherry picked from commit 6a63051931)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
committed by
Peter Korsgaard
parent
9f057b8aa5
commit
63b400f8f3
@@ -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