initial buildroot for linux 5.15

This commit is contained in:
Huan.Feng
2021-12-06 14:12:13 +08:00
parent d7767d594e
commit 7b6fc358fa
12736 changed files with 508822 additions and 0 deletions
+9
View File
@@ -0,0 +1,9 @@
config BR2_PACKAGE_XLIB_LIBXFONT
bool "libXfont"
select BR2_PACKAGE_FREETYPE
select BR2_PACKAGE_XLIB_LIBFONTENC
select BR2_PACKAGE_XLIB_XTRANS
select BR2_PACKAGE_XFONT_ENCODINGS
select BR2_PACKAGE_XORGPROTO
help
X.Org Xfont library
@@ -0,0 +1,8 @@
# From https://lists.x.org/archives/xorg-announce/2017-November/002825.html
md5 16eaf156edd79b68038b6a7c44aa9e9b libXfont-1.5.4.tar.bz2
sha1 9db050f63b9c4cb19e0dbb40575558ccb95719ca libXfont-1.5.4.tar.bz2
sha256 1a7f7490774c87f2052d146d1e0e64518d32e6848184a18654e8d0bb57883242 libXfont-1.5.4.tar.bz2
sha512 864edbaff45c44bd92bc4b06275c73fdf584a9b88bc523a297d4c75c01ca253f438463e929af70d753ddecfa648bb0b9bcf0ec72267db9f2b1704f7afa906cb3 libXfont-1.5.4.tar.bz2
# Locally calculated
sha256 97e413bb4962bbb5773085cd5405502bf1d4eadeaf98ff5be015eacacc840462 COPYING
@@ -0,0 +1,42 @@
################################################################################
#
# xlib_libXfont
#
################################################################################
XLIB_LIBXFONT_VERSION = 1.5.4
XLIB_LIBXFONT_SOURCE = libXfont-$(XLIB_LIBXFONT_VERSION).tar.bz2
XLIB_LIBXFONT_SITE = http://xorg.freedesktop.org/releases/individual/lib
XLIB_LIBXFONT_LICENSE = MIT
XLIB_LIBXFONT_LICENSE_FILES = COPYING
XLIB_LIBXFONT_INSTALL_STAGING = YES
XLIB_LIBXFONT_DEPENDENCIES = freetype xlib_libfontenc xlib_xtrans xorgproto
HOST_XLIB_LIBXFONT_DEPENDENCIES = \
host-freetype host-xlib_libfontenc host-xlib_xtrans \
host-xorgproto
XLIB_LIBXFONT_CONF_OPTS = --disable-devel-docs
HOST_XLIB_LIBXFONT_CONF_OPTS = --disable-devel-docs
ifeq ($(BR2_microblaze),y)
# The microblaze toolchains don't define the __ELF__ preprocessor
# symbol even though they do use the elf format. LibXfont checks for
# this symbol to know if weak symbols are supported, and otherwise
# falls back to emulation code using dlopen - Causing linker issues
# for stuff using libXfont.
# Work around it by defining the symbol here as well.
XLIB_LIBXFONT_CONF_ENV += CFLAGS="$(TARGET_CFLAGS) -D__ELF__"
endif
XLIB_LIBXFONT_CFLAGS = $(TARGET_CFLAGS)
ifeq ($(BR2_TOOLCHAIN_HAS_GCC_BUG_85180),y)
XLIB_LIBXFONT_CFLAGS += -O0
endif
XLIB_LIBXFONT_CONF_ENV += CFLAGS="$(XLIB_LIBXFONT_CFLAGS)"
$(eval $(autotools-package))
$(eval $(host-autotools-package))