initial buildroot for linux 5.15
This commit is contained in:
@@ -0,0 +1,47 @@
|
||||
From 60c3ee917c8e7a4760b1ef7c3dc2b44a615150d3 Mon Sep 17 00:00:00 2001
|
||||
From: Gustavo Zacarias <gustavo@zacarias.com.ar>
|
||||
Date: Thu, 26 May 2016 16:26:18 -0300
|
||||
Subject: [PATCH] Disable pngfix and png-fix-itxt
|
||||
|
||||
Disable the new pngfix and png-fix-itxt tools: they take up space, fail
|
||||
to build on some oddball toolchain configurations and aren't
|
||||
expected/needed in a non-interactive embedded system.
|
||||
|
||||
[Julien: update for 1.6.25]
|
||||
Signed-off-by: Julien Boibessot <julien.boibessot@armadeus.com>
|
||||
|
||||
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
|
||||
---
|
||||
Makefile.am | 2 +-
|
||||
Makefile.in | 2 +-
|
||||
2 files changed, 2 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/Makefile.am b/Makefile.am
|
||||
index 7212951..3430dca 100644
|
||||
--- a/Makefile.am
|
||||
+++ b/Makefile.am
|
||||
@@ -18,7 +18,7 @@ check_PROGRAMS += timepng
|
||||
endif
|
||||
|
||||
# Utilities - installed
|
||||
-bin_PROGRAMS= pngfix png-fix-itxt
|
||||
+bin_PROGRAMS=
|
||||
|
||||
# This ensures that pnglibconf.h gets built at the start of 'make all' or
|
||||
# 'make check', but it does not add dependencies to the individual programs,
|
||||
diff --git a/Makefile.in b/Makefile.in
|
||||
index a66f6aa..4e67782 100644
|
||||
--- a/Makefile.in
|
||||
+++ b/Makefile.in
|
||||
@@ -104,7 +104,7 @@ check_PROGRAMS = pngtest$(EXEEXT) pngunknown$(EXEEXT) \
|
||||
pngstest$(EXEEXT) pngvalid$(EXEEXT) pngimage$(EXEEXT) \
|
||||
pngcp$(EXEEXT) $(am__EXEEXT_1)
|
||||
@HAVE_CLOCK_GETTIME_TRUE@am__append_1 = timepng
|
||||
-bin_PROGRAMS = pngfix$(EXEEXT) png-fix-itxt$(EXEEXT)
|
||||
+bin_PROGRAMS =
|
||||
@PNG_ARM_NEON_TRUE@am__append_2 = arm/arm_init.c\
|
||||
@PNG_ARM_NEON_TRUE@ arm/filter_neon.S arm/filter_neon_intrinsics.c
|
||||
|
||||
--
|
||||
2.7.3
|
||||
|
||||
@@ -0,0 +1,8 @@
|
||||
config BR2_PACKAGE_LIBPNG
|
||||
bool "libpng"
|
||||
select BR2_PACKAGE_ZLIB
|
||||
help
|
||||
Library for handling PNG (Portable Network Graphics)
|
||||
images.
|
||||
|
||||
http://www.libpng.org/
|
||||
@@ -0,0 +1,6 @@
|
||||
# From https://sourceforge.net/projects/libpng/files/libpng16/1.6.37/
|
||||
md5 015e8e15db1eecde5f2eb9eb5b6e59e9 libpng-1.6.37.tar.xz
|
||||
sha1 3ab93fabbf4c27e1c4724371df408d9a1bd3f656 libpng-1.6.37.tar.xz
|
||||
# Locally computed:
|
||||
sha256 505e70834d35383537b6491e7ae8641f1a4bed1876dbfe361201fc80868d88ca libpng-1.6.37.tar.xz
|
||||
sha256 bf5e22b9dce8464064ae17a48ea1133c3369ac9e1d80ef9e320e5219aa14ea9b LICENSE
|
||||
@@ -0,0 +1,32 @@
|
||||
################################################################################
|
||||
#
|
||||
# libpng
|
||||
#
|
||||
################################################################################
|
||||
|
||||
LIBPNG_VERSION = 1.6.37
|
||||
LIBPNG_SERIES = 16
|
||||
LIBPNG_SOURCE = libpng-$(LIBPNG_VERSION).tar.xz
|
||||
LIBPNG_SITE = http://downloads.sourceforge.net/project/libpng/libpng$(LIBPNG_SERIES)/$(LIBPNG_VERSION)
|
||||
LIBPNG_LICENSE = Libpng-2.0
|
||||
LIBPNG_LICENSE_FILES = LICENSE
|
||||
LIBPNG_CPE_ID_VENDOR = libpng
|
||||
LIBPNG_INSTALL_STAGING = YES
|
||||
LIBPNG_DEPENDENCIES = host-pkgconf zlib
|
||||
HOST_LIBPNG_DEPENDENCIES = host-pkgconf host-zlib
|
||||
LIBPNG_CONFIG_SCRIPTS = libpng$(LIBPNG_SERIES)-config libpng-config
|
||||
|
||||
ifeq ($(BR2_ARM_CPU_HAS_NEON)$(BR2_aarch64),y)
|
||||
LIBPNG_CONF_OPTS += --enable-arm-neon
|
||||
else
|
||||
LIBPNG_CONF_OPTS += --disable-arm-neon
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_X86_CPU_HAS_SSE2),y)
|
||||
LIBPNG_CONF_OPTS += --enable-intel-sse
|
||||
else
|
||||
LIBPNG_CONF_OPTS += --disable-intel-sse
|
||||
endif
|
||||
|
||||
$(eval $(autotools-package))
|
||||
$(eval $(host-autotools-package))
|
||||
Reference in New Issue
Block a user