summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* icu: Add dependency on atomic intrinsicsAnton Kolesov2014-08-035-19/+20
| | | | | | | | ICU requires GCC built-in atomic functions which are architecture specific and may not be implemented. Signed-off-by: Anton Kolesov <Anton.Kolesov@synopsys.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* jack2: Add dependency on atomic intrinsicsAnton Kolesov2014-08-031-4/+3
| | | | | | | | | | | Jack requires GCC built-in atomic functions which are architecture specific and may not be implemented. This fixes: http://autobuild.buildroot.net/results/c218be876d3abf7a8e212b6d526595bfd835e1c5/ Signed-off-by: Anton Kolesov <Anton.Kolesov@synopsys.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* toolchain: Add config option for atomic intrinsicsAnton Kolesov2014-08-033-0/+13
| | | | | | | | | | | | | | GCC has several builtin functions that implement atomic operations. Those functions are architecture specific and may not be implemented by the specific toolchain. In case of GCC for ARC those functions rely on LLOCK/SCOND instructions which are optional in ARC CPU's. If ARC CPU doesn't support those instructions but software tries to use them, then application will be aborted with Illegal instruction exception. To avoid confusion user should first specify that their CPU supports atomic extension, which will allow selection of packages that use builtin atomic functions. Signed-off-by: Anton Kolesov <Anton.Kolesov@synopsys.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* libmemcached: unification of name <PKG>_VERSION_MAJOR variableJerzy Grzegorek2014-08-031-3/+3
| | | | | Signed-off-by: Jerzy Grzegorek <jerzy.grzegorek@trzebnica.net> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* xbmc: Add VA-API supportBernd Kuhls2014-08-031-1/+8
| | | | | | Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* xbmc: Add option for Goom screensaverBernd Kuhls2014-08-032-0/+15
| | | | | | Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* xbmc: Add X.org/OpenGL supportBernd Kuhls2014-08-032-9/+55
| | | | | | | | | | | | | - on ARM xbmc only supports EGL/GLES https://github.com/xbmc/xbmc/blob/Gotham/configure.in#L695 - rsxs depends on OpenGL https://github.com/xbmc/xbmc/blob/Gotham/configure.in#L1469 so include a compile fix, courtesy of https://github.com/OpenELEC/OpenELEC.tv/blob/master/packages/mediacenter/xbmc/package.mk#L109 Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* openssh: replace individual ssh-keygen calls with a single callDanomi Manchego2014-08-031-32/+2
| | | | | | | | | | | | | | | Since openssh-6.0, the ssh-keygen app has supported a -A option, which creates any missing keys. This frees us of having to add new ssh-keygen invocations as new key types are introduced. This also frees us of having to know the default key names and locations. So this patch replaces all the the init.d script invocations with a single "ssh-keygen -A" call. Note: the systemd service script *already* uses this option. Signed-off-by: Danomi Manchego <danomimanchego123@gmail.com> Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* atk: bump to version 2.12.0Jerzy Grzegorek2014-08-031-1/+1
| | | | | | Signed-off-by: Jerzy Grzegorek <jerzy.grzegorek@trzebnica.net> Tested-by: Fabio Porcedda <fabio.porcedda@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* qt: make installation of translation files optionalDanomi Manchego2014-08-032-0/+9
| | | | | | | | | | | | | | | Commit 93917b6980f7f2b51302e1a3fa451b07cf7d674e introduced the installation of the binary .qm translation files, unconditionally. This patch introduces an option to disable this behavior, saving almost 8MB of space. [Thomas: rename option to BR2_PACKAGE_QT_TRANSLATION_FILES instead of BR2_PACKAGE_QT_INSTALL_TRANSLATION_FILES, and move its definition around the installation of examples/demos rather than in the middle of the options for the different modules.] Signed-off-by: Danomi Manchego <danomimanchego123@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/ffmpeg: Bump to version 2.3.1Bernd Kuhls2014-08-033-2/+126
| | | | | | | | | | | | | | | | | | | | | | | | | | | - remove obsolete option --disable-vis - add patch to fix compile error with uClibc - add patch to fix compile error in freerdp Compile-tested against all packages depending on ffmpeg using this defconfig: BR2_TOOLCHAIN_EXTERNAL=y BR2_PACKAGE_GSTREAMER=y BR2_PACKAGE_GST_FFMPEG=y BR2_PACKAGE_MPD=y BR2_PACKAGE_MPD_FFMPEG=y BR2_PACKAGE_XORG7=y BR2_PACKAGE_FREERDP=y BR2_PACKAGE_OPENCV=y BR2_PACKAGE_OPENCV_WITH_FFMPEG=y BR2_PACKAGE_MEDIASTREAMER=y BR2_PACKAGE_MINIDLNA=y VLC also compiled when the build of vlc-static is disabled in Makefiles, otherwise this known error occurs: http://autobuild.buildroot.net/results/022/022252176c051ff3365b2cb820f32aafc802803a/ Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* configs: bump kernel used for the RPiBernd Kuhls2014-08-031-2/+2
| | | | | | | | | The rpi-3.12.y branch has now been merged with the 3.12.25 upstream. Bump kernel headers used for the toolchain at the same time. Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/rpi-firmware: Bump version to kernel 3.12.25Bernd Kuhls2014-08-031-1/+1
| | | | | | | | | This version bump, amongst other things, introduces OMX_ImageFilterDeInterlaceFast, which is needed by the upcoming xbmc/kodi version bump. Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/rpi-userland: Bump versionBernd Kuhls2014-08-031-1/+1
| | | | | | | | This version bump introduces OMX_ImageFilterDeInterlaceFast, which is needed by the upcoming xbmc/kodi version bump. Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/vlc: Bump version to 2.1.5Bernd Kuhls2014-08-031-1/+1
| | | | | Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* libxcb: Bump version to 1.11Bernd Kuhls2014-08-031-1/+1
| | | | | Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* xcb-proto: Bump version to 1.11Bernd Kuhls2014-08-031-1/+1
| | | | | Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* xapp_xrandr: Bump version to 1.4.3Bernd Kuhls2014-08-031-1/+1
| | | | | Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* musl: bump to version 1.1.4Gustavo Zacarias2014-08-031-7/+1
| | | | | | | The gcc 4.9.x breakage is now handled by musl itself. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* samba4: security update to 4.1.11Gustavo Zacarias2014-08-031-1/+1
| | | | | | | Fixes CVE-2014-3560 (Remote code execution in nmbd). Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* linux: bump default to version 3.15.8Gustavo Zacarias2014-08-031-2/+2
| | | | | Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* linux-headers: bump 3.{4, 10, 12, 14, 15}.x seriesGustavo Zacarias2014-08-031-5/+5
| | | | | Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* bluez5_utils: new packageMarcin Bis2014-08-023-0/+140
| | | | | | | | | | | | | | | | | | | | | This patch adds Bluez 5.x. Its API is not backwards compatible with BlueZ 4 so it is packaged separately from BlueZ 4. BlueZ utils will use systemd and/or udev if enabled. It contains a hook to install the GATT support tool, which is always built but not installed by default. [Thomas: - Add dependency on 3.4 kernel headers - Add options for OBEX support and client support, to make the libical and readline dependencies optional. - Rewrap Config.in help text. - Adapt indentation in .mk file. - Bump to version 5.21. - Use BR2_PACKAGE_HAS_UDEV instead of BR2_PACKAGE_UDEV.] Signed-off-by: Marcin Bis <marcin@bis.org.pl> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* libdrm/intel: Explain dependency on xorg in Kconfig only for BR2_i386/BR2_x86_64Bernd Kuhls2014-08-011-0/+1
| | | | | | | Suggested by Yann: http://article.gmane.org/gmane.comp.lib.uclibc.buildroot/82731 Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* qemu/x86: update defconfig to Linux 3.15.xWaldemar Brodkorb2014-07-313-7/+7
| | | | | | | | | Update the default configuration to use Linux 3.15.x. Enable ext4, so that ext2/ext3/ext4 can be used. Tested with Qemu 2.0.0. Signed-off-by: Waldemar Brodkorb <wbx@openadk.org> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/patchelf: new host packageYann E. MORIN2014-07-313-0/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | In some situations, users may want to tweak the dynamic section of the binaries (for example to add/set the RPATH to $ORIGIN/../lib). Because it is not trivial to do it properly from the Buildroot infrastructure, allow those users to use patchelf (e.g. from a post-build script) to tweak binaries. patchelf is able to: - modify an existing DT_RUNPATH tags - add a DT_RUNPATH tag if not already present - do the above to the DT_RPATH tag, too - set the path to the interpreter - remove DT_NEEDED tags - query a binary for the DT_RUNPATH/DT_RPATH tag, or for the interpreter path Does not really fix #7172, but this is an appropriate workaround. [Thomas: change license to GPLv3+, as mentionned in the project's README file.] Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Cc: Mike Zick <minimod@morethan.org> Reviewed-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* toolchain: linker options with a $ sign are not supportedYann E. MORIN2014-07-312-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | As reported in bug #7172 [0], setting BR2_TARGET_LDFLAGS to a value containing a $ sign can lead to unexpected results. This is because it is very hard to know when the $ sign gets evaluated: - in the Buildroot-level make - in the shell called by the Buildroot-level make - in the package's own build-system, either at configure time, in the Makefile, in a shell in the Makefile... So, it is very difficult to know how much escaping that would need. A proposal is to use a shell variable to pass such values unmolested. But it is not that simple either, since it still contains a $ sign, and there is not much certainty as to when it would be evaluated. Instead, just document this limitation, both in the help text for BR2_TARGET_LDFLAGS, and in the known-issues section in the manual. Does not really fix #7172, but at least the limitation is documented. [0] https://bugs.buildroot.org/show_bug.cgi?id=7172 Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Cc: Mike Zick <minimod@morethan.org> Reviewed-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* bandwidthd: new packageNathaniel Roach2014-07-313-0/+83
| | | | | | | [Thomas: minor reformatting like removing trailing whitespaces, wrapping to a shorter length Config.in help texts, etc.] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/dnsmasq: Fix link error with gettextBernd Kuhls2014-07-311-2/+2
| | | | | | | | | | | -lintl needs to be added at the end of the link command, Makefile has variable LIBS for this purpose, so use it instead of LDFLAGS. Fixes http://autobuild.buildroot.net/results/276/276581f6dbbe330799c3a7eaa26b453e38a22907/ Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package: remove the trailing slash sign from <PKG>_SITE variableJerzy Grzegorek2014-07-31292-296/+296
| | | | | | | | | | | | Since the trailing slash is stripped from $($(PKG)_SITE) by pkg-generic.mk: $(call DOWNLOAD,$($(PKG)_SITE:/=)/$($(PKG)_SOURCE)) so it is redundant. This patch removes it from $(PKG)_SITE variable for BR consistency. Signed-off-by: Jerzy Grzegorek <jerzy.grzegorek@trzebnica.net> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* manual/adding-packages-perl.txt: remove the trailing slash sign from ↵Jerzy Grzegorek2014-07-311-1/+1
| | | | | | | | | | | | | description of PERL_SITE variable Since the trailing slash is stripped from $($(PKG)_SITE) by pkg-generic.mk: $(call DOWNLOAD,$($(PKG)_SITE:/=)/$($(PKG)_SOURCE)) so it is redundant. Signed-off-by: Jerzy Grzegorek <jerzy.grzegorek@trzebnica.net> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* libevdev: use tarball instead of git repositoryThomas Petazzoni2014-07-311-4/+2
| | | | | | | | Tarballs are now provided for libevdev, so use that instead of the Git repository, as it allows to avoid autoreconf for the package. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
* libevdev: remove host python dependencyThomas Petazzoni2014-07-311-7/+0
| | | | | | | | | | | | | | | | | | | | | In commit 79c31e3297da7f0aec4d4675c154736e4cffe3ed ("package/libevdev: add dependency on host-python"), Yann added a dependency of libevdev on host-python, because the Python script in evdev was using argparse which is only available since Python 2.6. At the time, this was causing failures on machines that were using Python versions older than 2.6. However, since Yann's patch, the libevdev version has been bumped. And one of the upstream commit, http://cgit.freedesktop.org/libevdev/commit/libevdev/?id=cea8f0b8cc86332b0643acd62f24f9fef2ecc153, was precisely made to remove the argparse dependency to avoid the need to have a >= 2.6 Python version. Thanks to this, we can avoid the host-python dependency and rely on the system-installed Python version instead. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
* libevdev: bump to 1.2.2Thomas Petazzoni2014-07-311-1/+1
| | | | | Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
* google-breakpad: integration into Makefile and Config.inPascal Huerst2014-07-313-0/+76
| | | | | | | | | | | | | | | | Add a new config option that allows to specify a list of files to dump symbols from, and generate a database of symbols, in stagins/usr/share/google-breakpad/. Signed-off-by: Pascal Huerst <pascal.huerst@gmail.com> [yann.morin.1998@free.fr: add dependency on the host variant; fix script; add commit log] Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> [Thomas: remove leftover debugging, rewrap Config.in help text, propagate dependencies correctly.] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* libarchive: bump to version 3.1.2Gustavo Zacarias2014-07-311-7/+52
| | | | | | | | | | Switch to proper upstream source. And account for many auto dependencies that were missing. Also fixes link issues: http://autobuild.buildroot.net/results/774/7747a043123e958952a16e0c0db823296c4e0594/ Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* linux-pam: unavailable for static buildsGustavo Zacarias2014-07-313-14/+30
| | | | | | | | | | | Fixes: http://autobuild.buildroot.net/results/3bb/3bb8d4662995a11e8e6cc5fdaaba9e25d4c0e0ec/ [Thomas: add more details about the non availability for static builds as a comment in the Config.in file.] Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* libqmi: bump to 1.10.2Yegor Yefremov2014-07-311-1/+1
| | | | | Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* libndp: bump to 1.4Yegor Yefremov2014-07-311-1/+1
| | | | | Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* Remove unsupported libcue from package mpdJoerg Krause2014-07-312-12/+0
| | | | | | | | Support for libcue has been removed for mpd since version 0.17. Signed-off-by: Jörg Krause <jkrause@posteo.de> Acked-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* udev: remove left-over S10udev script from udev virtual packageDanomi Manchego2014-07-311-48/+0
| | | | | | | | | The S10udev script is not installed or referenced, and eudev has its own S10udev. So we can simply remove it. Signed-off-by: Danomi Manchego <danomimanchego123@gmail.com> Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* ptpd2: fix static linkingGustavo Zacarias2014-07-311-0/+4
| | | | | | | | | Do the same as in commit b64a06d7b70bd7b160826bf9b97e60e18171913d to avoid missing libraries needed by libpcap. Fixes: http://autobuild.buildroot.net/results/1a1/1a1dadfa2b22074d401b013606f0cede66efe826/ Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* imagemagick: bump to version 6.8.9-6Jerzy Grzegorek2014-07-311-1/+1
| | | | | Signed-off-by: Jerzy Grzegorek <jerzy.grzegorek@trzebnica.net> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* samba4: bump to version 4.1.10Gustavo Zacarias2014-07-311-2/+20
| | | | | | | | Lots of bugfixes, enhancements to provisioning and printing support via cups. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* Revert "packages: autoreconf non-vanilla libtool packages"Gustavo Zacarias2014-07-319-25/+0
| | | | | | | | | | Now that we've got a cleaner/fuzzier libtool 1.5 static patch we can discard the temporary workaround. This reverts commit e573f5d3267e5916c580e499ecd127c60107b8e1. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* support/libtool: improve version 1.5 static patchingGustavo Zacarias2014-07-311-42/+22
| | | | | | | | | | | Alter the libtool 1.5.x support patch to accomodate for wildly different versions of ltmain.sh Just make it alter incoming args from -static to -all-static which seems to apply to all the different variants out there since argument parsing is unlikely to change much. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* packages: autoreconf non-vanilla libtool packagesGustavo Zacarias2014-07-319-0/+25
| | | | | | | | | | | | | | Some packages no longer apply the libtool patch since commit 97703978ac870ce2b14ad144f8e082de82aa2c64 because they use a non-vanilla version of libtool 1.5.x Fixes many failures like: http://autobuild.buildroot.net/results/34e/34e4898e2bdc08e5d34e16e556384b3086b76467/ http://autobuild.buildroot.net/results/ecf/ecf4e7d6812f972d05c95203fb665235856c0817/ http://autobuild.buildroot.net/results/5d9/5d9a05fb70e8a65f2399c4f38375aeafb9686ea4/ Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* bind: fix static openssl linkingGustavo Zacarias2014-07-301-0/+2
| | | | | | | | | | Apparently LIBS (environment) isn't pushed to LIBS (autoconf) for the tests, hence when static linking openssl it misses libz and assumes some basic digests required for ecdsa support are missing, which is false. Fixes: http://autobuild.buildroot.net/results/204/20411901d1bc6811e1ef8fa39457257d6bf1a146/ Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* polarssl: disable microblaze inline assemblyGustavo Zacarias2014-07-301-0/+18
| | | | | | | | Fixes: http://autobuild.buildroot.net/results/4d5/4d54958ded61a0d929d992e4ca0bb31c996953cb/ Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* support/libtool: make -static behave like -all-staticThomas Petazzoni2014-07-303-20/+146
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | After switching TARGET_LDFLAGS from --static to -static, one issue appears: from the point of view of libtool, -static only means to link statically against the 'uninstalled libtool libraries' (i.e the libraries that libtool has built in the current package), but otherwise links dynamically with the other libraries. To really get a completely static build, you need to pass -all-static to libtool. Unfortunately, -all-static is only a valid option for libtool, not as a general LDFLAGS, so we cannot to TARGET_LDFLAGS = -all-static without breaking virtually all packages. As pointed out 10 years ago on the libtool mailing list, the current naming of the options is very confusing and the source of issues, and there was a proposal to change -static to have the behavior of -all-static, and instead introduce a separate -lt-static to have the current behavior of -static. But that never got merged, because it was breaking the current behavior. See: http://lists.gnu.org/archive/html/libtool/2004-11/msg00017.html However, in Buildroot, when we pass -static, we really mean it, and we want a completely static build. Therefore, this patch adapts our ltmain.sh patches so that they alter the behavior of -static to make it work like -all-static. The changes are small and quite easy to understand, and have been tested to work fine with a small selection of packages. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
OpenPOWER on IntegriCloud