update buildroot to 2017.02.11
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,52 @@
|
||||
From 473fdecd9a580b45251480b8ccbbb1927c598310 Mon Sep 17 00:00:00 2001
|
||||
From: Gustavo Zacarias <gustavo@zacarias.com.ar>
|
||||
Date: Thu, 26 May 2016 16:27:13 -0300
|
||||
Subject: [PATCH] Don't append prefix to symbol names in version script
|
||||
|
||||
Even if Blackfin GNU toolchain add prefix '_' to all symbols,
|
||||
symbol prefix is not accepted in the link flag --version-script.
|
||||
Don't append prefix in the symbols in the version script file.
|
||||
|
||||
Original patch by: Sonic Zhang <sonic.zhang@analog.com>
|
||||
|
||||
[Gustavo: update for 1.6.22]
|
||||
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
|
||||
|
||||
[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 3430dca..db6a7a2 100644
|
||||
--- a/Makefile.am
|
||||
+++ b/Makefile.am
|
||||
@@ -245,7 +245,7 @@ contrib/tools/pngfix.o: pnglibconf.h
|
||||
# interfering with the symbol file format.
|
||||
SYMBOL_CFLAGS = -DPNGLIB_LIBNAME='PNG@PNGLIB_MAJOR@@PNGLIB_MINOR@_0'\
|
||||
-DPNGLIB_VERSION='@PNGLIB_VERSION@'\
|
||||
- -DSYMBOL_PREFIX='$(SYMBOL_PREFIX)'\
|
||||
+ -DSYMBOL_PREFIX=''\
|
||||
-DPNG_NO_USE_READ_MACROS -DPNG_BUILDING_SYMBOL_TABLE
|
||||
|
||||
if DO_PNG_PREFIX
|
||||
diff --git a/Makefile.in b/Makefile.in
|
||||
index 4e67782..5f468d9 100644
|
||||
--- a/Makefile.in
|
||||
+++ b/Makefile.in
|
||||
@@ -766,7 +766,7 @@ SUFFIXES = .chk .out
|
||||
# interfering with the symbol file format.
|
||||
SYMBOL_CFLAGS = -DPNGLIB_LIBNAME='PNG@PNGLIB_MAJOR@@PNGLIB_MINOR@_0' \
|
||||
-DPNGLIB_VERSION='@PNGLIB_VERSION@' \
|
||||
- -DSYMBOL_PREFIX='$(SYMBOL_PREFIX)' -DPNG_NO_USE_READ_MACROS \
|
||||
+ -DSYMBOL_PREFIX='' -DPNG_NO_USE_READ_MACROS \
|
||||
-DPNG_BUILDING_SYMBOL_TABLE $(am__append_7)
|
||||
|
||||
# EXT_LIST is a list of the possibly library directory extensions, this exists
|
||||
--
|
||||
2.7.3
|
||||
|
||||
8
bsp/buildroot-2017.02.11/package/libpng/Config.in
Normal file
8
bsp/buildroot-2017.02.11/package/libpng/Config.in
Normal file
@@ -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/
|
||||
4
bsp/buildroot-2017.02.11/package/libpng/libpng.hash
Normal file
4
bsp/buildroot-2017.02.11/package/libpng/libpng.hash
Normal file
@@ -0,0 +1,4 @@
|
||||
# From http://sourceforge.net/projects/libpng/files/libpng16/1.6.28/
|
||||
sha1 ff4dceadb15e2c929ad26283118d56f66f4a6cff libpng-1.6.28.tar.xz
|
||||
# Locally computed:
|
||||
sha256 d8d3ec9de6b5db740fefac702c37ffcf96ae46cb17c18c1544635a3852f78f7a libpng-1.6.28.tar.xz
|
||||
20
bsp/buildroot-2017.02.11/package/libpng/libpng.mk
Normal file
20
bsp/buildroot-2017.02.11/package/libpng/libpng.mk
Normal file
@@ -0,0 +1,20 @@
|
||||
################################################################################
|
||||
#
|
||||
# libpng
|
||||
#
|
||||
################################################################################
|
||||
|
||||
LIBPNG_VERSION = 1.6.28
|
||||
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 license
|
||||
LIBPNG_LICENSE_FILES = LICENSE
|
||||
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
|
||||
LIBPNG_CONF_OPTS = $(if $(BR2_ARM_CPU_HAS_NEON),--enable-arm-neon=yes,--enable-arm-neon=no)
|
||||
|
||||
$(eval $(autotools-package))
|
||||
$(eval $(host-autotools-package))
|
||||
Reference in New Issue
Block a user