Update buidlroot to version 2016.08.1
This commit is contained in:
19
bsp/buildroot/package/p7zip/0001-bfin.patch
Normal file
19
bsp/buildroot/package/p7zip/0001-bfin.patch
Normal file
@@ -0,0 +1,19 @@
|
||||
Add support for blackfin arch.
|
||||
|
||||
Fixes compilation error:
|
||||
../../../../CPP/myWindows/mySplitCommandLine.cpp:99:8: error: #error ENDIANNESS
|
||||
|
||||
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
|
||||
(Patch sent upstream: https://sourceforge.net/p/p7zip/patches/33/
|
||||
|
||||
diff -uNr p7zip_15.14.1.org/C/CpuArch.h p7zip_15.14.1/C/CpuArch.h
|
||||
--- p7zip_15.14.1.org/C/CpuArch.h 2016-02-17 07:27:16.000000000 +0100
|
||||
+++ p7zip_15.14.1/C/CpuArch.h 2016-06-08 19:47:49.000000000 +0200
|
||||
@@ -66,6 +66,7 @@
|
||||
|| defined(__MIPSEL__) \
|
||||
|| defined(__MIPSEL) \
|
||||
|| defined(_MIPSEL) \
|
||||
+ || defined(__BFIN__) \
|
||||
|| (defined(__BYTE_ORDER__) && (__BYTE_ORDER__ == __ORDER_LITTLE_ENDIAN__))
|
||||
#define MY_CPU_LE
|
||||
#endif
|
||||
15
bsp/buildroot/package/p7zip/Config.in
Normal file
15
bsp/buildroot/package/p7zip/Config.in
Normal file
@@ -0,0 +1,15 @@
|
||||
config BR2_PACKAGE_P7ZIP
|
||||
bool "p7zip"
|
||||
depends on BR2_INSTALL_LIBSTDCPP
|
||||
depends on BR2_TOOLCHAIN_HAS_THREADS
|
||||
depends on BR2_USE_WCHAR
|
||||
help
|
||||
p7zip is a quick port of the command line version of 7-zip for Unix.
|
||||
(see http://www.7-zip.org)
|
||||
|
||||
7-Zip is a file archiver with highest compression ratio.
|
||||
|
||||
http://sourceforge.net/projects/p7zip
|
||||
|
||||
comment "p7zip needs a toolchain w/ threads, wchar, C++"
|
||||
depends on !BR2_TOOLCHAIN_HAS_THREADS || !BR2_USE_WCHAR || !BR2_INSTALL_LIBSTDCPP
|
||||
3
bsp/buildroot/package/p7zip/p7zip.hash
Normal file
3
bsp/buildroot/package/p7zip/p7zip.hash
Normal file
@@ -0,0 +1,3 @@
|
||||
# From https://sourceforge.net/projects/p7zip/files/p7zip/
|
||||
md5 92cca093312b5a71a7be7dc7d1d32509 p7zip_15.14.1_src_all.tar.bz2
|
||||
sha1 9b15a79f94230fab9b9d4f9f532c723117145c7a p7zip_15.14.1_src_all.tar.bz2
|
||||
27
bsp/buildroot/package/p7zip/p7zip.mk
Normal file
27
bsp/buildroot/package/p7zip/p7zip.mk
Normal file
@@ -0,0 +1,27 @@
|
||||
################################################################################
|
||||
#
|
||||
# p7zip
|
||||
#
|
||||
################################################################################
|
||||
|
||||
P7ZIP_VERSION = 15.14.1
|
||||
P7ZIP_SOURCE = p7zip_$(P7ZIP_VERSION)_src_all.tar.bz2
|
||||
P7ZIP_SITE = http://downloads.sourceforge.net/project/p7zip/p7zip/$(P7ZIP_VERSION)
|
||||
P7ZIP_LICENSE = LGPLv2.1+ with unRAR restriction
|
||||
P7ZIP_LICENSE_FILES = DOC/License.txt
|
||||
|
||||
# p7zip buildsystem is a mess: it plays dirty tricks with CFLAGS and
|
||||
# CXXFLAGS, so we can't pass them. Instead, it accepts ALLFLAGS_C
|
||||
# and ALLFLAGS_CPP as variables to pass the CFLAGS and CXXFLAGS.
|
||||
define P7ZIP_BUILD_CMDS
|
||||
$(MAKE) CC="$(TARGET_CC)" ALLFLAGS_C="$(TARGET_CFLAGS)" \
|
||||
CXX="$(TARGET_CXX)" ALLFLAGS_CPP="$(TARGET_CXXFLAGS)" \
|
||||
LDFLAGS="$(TARGET_LDFLAGS)" \
|
||||
-C $(@D) 7zr
|
||||
endef
|
||||
|
||||
define P7ZIP_INSTALL_TARGET_CMDS
|
||||
$(INSTALL) -D -m 0755 $(@D)/bin/7zr $(TARGET_DIR)/usr/bin/7zr
|
||||
endef
|
||||
|
||||
$(eval $(generic-package))
|
||||
Reference in New Issue
Block a user