Initial Commit
- initial default booting image
This commit is contained in:
57
package/libiconv/0001-libtool.patch
Normal file
57
package/libiconv/0001-libtool.patch
Normal file
@@ -0,0 +1,57 @@
|
||||
Libtool fixes for cross-compilation, many past contributors/authors.
|
||||
Update based on libtool-2.4.4, useful for 2.4.3 as well but not 2.4.2.
|
||||
|
||||
Upstream: Not applicable (Buildroot specific)
|
||||
|
||||
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
|
||||
[Bernd: rebased for version 1.18]
|
||||
Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
|
||||
|
||||
--- a/build-aux/ltmain.sh 2014-12-16 09:51:23.068441045 -0300
|
||||
+++ b/build-aux/ltmain.sh 2014-12-16 09:57:10.509430339 -0300
|
||||
@@ -2687,8 +2687,8 @@
|
||||
# was found and let the user know that the "--tag" command
|
||||
# line option must be used.
|
||||
if test -z "$tagname"; then
|
||||
- func_echo "unable to infer tagged configuration"
|
||||
- func_fatal_error "specify a tag with '--tag'"
|
||||
+ func_echo "defaulting to \`CC'"
|
||||
+ func_echo "if this is not correct, specify a tag with \`--tag'"
|
||||
# else
|
||||
# func_verbose "using $tagname tagged configuration"
|
||||
fi
|
||||
@@ -4277,8 +4277,12 @@
|
||||
# At present, this check doesn't affect windows .dll's that
|
||||
# are installed into $libdir/../bin (currently, that works fine)
|
||||
# but it's something to keep an eye on.
|
||||
- test "$inst_prefix_dir" = "$destdir" && \
|
||||
- func_fatal_error "error: cannot install '$file' to a directory not ending in $libdir"
|
||||
+
|
||||
+ #
|
||||
+ # This breaks install into our staging area. -PB
|
||||
+ #
|
||||
+ #test "$inst_prefix_dir" = "$destdir" && \
|
||||
+ # func_fatal_error "error: cannot install '$file' to a directory not ending in $libdir"
|
||||
|
||||
if test -n "$inst_prefix_dir"; then
|
||||
# Stick the inst_prefix_dir data into the link command.
|
||||
@@ -8112,7 +8112,7 @@
|
||||
*)
|
||||
if test no = "$installed"; then
|
||||
func_append notinst_deplibs " $lib"
|
||||
- need_relink=yes
|
||||
+ need_relink=no
|
||||
fi
|
||||
;;
|
||||
esac
|
||||
@@ -10710,6 +10710,10 @@
|
||||
# Replace all uninstalled libtool libraries with the installed ones
|
||||
newdependency_libs=
|
||||
for deplib in $dependency_libs; do
|
||||
+ # Replacing uninstalled with installed can easily break crosscompilation,
|
||||
+ # since the installed path is generally the wrong architecture. -CL
|
||||
+ newdependency_libs="$newdependency_libs $deplib"
|
||||
+ continue
|
||||
case $deplib in
|
||||
*.la)
|
||||
func_basename "$deplib"
|
||||
29
package/libiconv/Config.in
Normal file
29
package/libiconv/Config.in
Normal file
@@ -0,0 +1,29 @@
|
||||
config BR2_PACKAGE_LIBICONV
|
||||
bool "libiconv"
|
||||
depends on !BR2_ENABLE_LOCALE
|
||||
help
|
||||
unicode conversion library
|
||||
|
||||
http://ftp.gnu.org/pub/gnu/libiconv
|
||||
|
||||
if BR2_PACKAGE_LIBICONV
|
||||
|
||||
config BR2_PACKAGE_LIBICONV_EXTRA_ENCODINGS
|
||||
bool "extra encodings"
|
||||
help
|
||||
Provide support for a few extra encodings:
|
||||
|
||||
European languages
|
||||
CP{437,737,775,852,853,855,857,858,860,861,863,865,869,1125}
|
||||
Semitic languages
|
||||
CP864
|
||||
Japanese
|
||||
EUC-JISX0213, Shift_JISX0213, ISO-2022-JP-3
|
||||
Chinese
|
||||
BIG5-2003 (experimental)
|
||||
Turkmen
|
||||
TDS565
|
||||
Platform specifics
|
||||
ATARIST, RISCOS-LATIN1
|
||||
|
||||
endif
|
||||
6
package/libiconv/libiconv.hash
Normal file
6
package/libiconv/libiconv.hash
Normal file
@@ -0,0 +1,6 @@
|
||||
# Locally calculated after checking pgp signature
|
||||
sha256 88dd96a8c0464eca144fc791ae60cd31cd8ee78321e67397e25fc095c4a19aa6 libiconv-1.19.tar.gz
|
||||
|
||||
# Hash for license files:
|
||||
sha256 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903 COPYING
|
||||
sha256 20e50fe7aae3e56378ebf0417d9de904f55a0e61e4df315333e632a4d3555d95 COPYING.LIB
|
||||
36
package/libiconv/libiconv.mk
Normal file
36
package/libiconv/libiconv.mk
Normal file
@@ -0,0 +1,36 @@
|
||||
################################################################################
|
||||
#
|
||||
# libiconv
|
||||
#
|
||||
################################################################################
|
||||
|
||||
LIBICONV_VERSION = 1.19
|
||||
LIBICONV_SITE = $(BR2_GNU_MIRROR)/libiconv
|
||||
LIBICONV_INSTALL_STAGING = YES
|
||||
LIBICONV_LICENSE = GPL-3.0+ (iconv program), LGPL-2.1+ (library)
|
||||
LIBICONV_LICENSE_FILES = COPYING COPYING.LIB
|
||||
|
||||
# libiconv uses a patched version of libtool 2.5.4
|
||||
# we use a package-specific patch instead
|
||||
LIBICONV_LIBTOOL_PATCH = NO
|
||||
|
||||
ifeq ($(BR2_PACKAGE_LIBICONV_EXTRA_ENCODINGS),y)
|
||||
LIBICONV_CONF_OPTS += --enable-extra-encodings
|
||||
endif
|
||||
|
||||
# Don't build the preloadable library, as we don't need it (it's only
|
||||
# for LD_PRELOAD to replace glibc's iconv, but we never build libiconv
|
||||
# when glibc is used). And it causes problems for static only builds.
|
||||
define LIBICONV_DISABLE_PRELOAD
|
||||
$(SED) '/preload/d' $(@D)/Makefile.in
|
||||
endef
|
||||
LIBICONV_PRE_CONFIGURE_HOOKS += LIBICONV_DISABLE_PRELOAD
|
||||
|
||||
$(eval $(autotools-package))
|
||||
|
||||
# Configurations where the toolchain supports locales and the libiconv
|
||||
# package is enabled are incorrect, because the toolchain already
|
||||
# provides libiconv functionality, and having both confuses packages.
|
||||
ifeq ($(BR2_PACKAGE_LIBICONV)$(BR2_ENABLE_LOCALE),yy)
|
||||
$(error Libiconv should never be enabled when the toolchain supports locales. Report this failure to Buildroot developers)
|
||||
endif
|
||||
Reference in New Issue
Block a user