Go to file
Jan Kundrát 7d43534625 cmake: Fix RPATH for host libraries built by CMake
The host shared libraries produced by CMake were missing a proper
DT_RPATH. That became a problem because the DT_RPATH handling is not
transitive by design.

Consider the following scenario:

- pkg-a provides a library (`liba`) which links to `libpcre`
- pkg-b provides a binary (`foo`) and a shared library (`libb`) which is
needed by that binary
- `libb` links to `liba`
- pkg-a and pkg-b are both built by CMake

In this scenario, `foo` is correctly marked with DT_RPATH pointing to
host/lib/, but that path is not used when (recursively) resolving PCRE's
symbols in `liba`. When attempting to run the `foo` binary, the linker
correctly finds both `liba` and `libb`, but it cannot find the
libpcre.so as built by Buildroot for host.

Signed-off-by: Jan Kundrát <jan.kundrat@cesnet.cz>
Reviewed-by: Samuel Martin <s.martin49@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2018-03-13 09:27:50 +01:00
arch arch: add Atom CPUs as Silvermont Architecture target 2018-01-01 13:05:16 +01:00
board configs/freescale_t1040d4rdb_defconfig: new board 2018-03-11 22:22:02 +01:00
boot uboot: fix build for older uboot source trees 2018-03-12 23:50:17 +01:00
configs configs/freescale_t1040d4rdb_defconfig: new board 2018-03-11 22:22:02 +01:00
docs support/check-bin-arch: exclude kernel modules for merged /usr 2018-03-07 23:03:52 +01:00
fs fs/cpio/init: preserve arguments 2018-02-26 20:49:40 +01:00
linux linux: bump default to version 4.15.9 2018-03-12 08:53:11 +01:00
package cmake: Fix RPATH for host libraries built by CMake 2018-03-13 09:27:50 +01:00
support support/check-bin-arch: exclude kernel modules for merged /usr 2018-03-07 23:03:52 +01:00
system systemd: allow to build with uClibc toolchains 2018-02-14 21:31:17 +01:00
toolchain toolchain: limit musl/kernel headers conflict workaround 2018-02-14 22:02:29 +01:00
utils utils/scanpypi: correctly handle license dirs in subdirs for .hash files 2018-03-09 22:23:35 +01:00
.defconfig arch: remove support for sh64 2016-09-08 22:15:15 +02:00
.flake8 .flake8: add config file for Python code style 2017-10-06 19:05:18 +02:00
.gitignore update gitignore 2013-05-04 12:41:55 +02:00
.gitlab-ci.yml configs/freescale_t1040d4rdb_defconfig: new board 2018-03-11 22:22:02 +01:00
.gitlab-ci.yml.in gitlab-ci: use new, tagged image 2018-02-05 22:38:30 +01:00
CHANGES Update for 2018.02 2018-03-04 22:28:34 +01:00
Config.in core: drop no-longer used C.UTF-8 locale option 2018-03-04 11:59:16 +01:00
Config.in.legacy linux-headers: drop old unsupported 3.x versions 2018-02-04 00:02:35 +01:00
COPYING COPYING: add exception about patch licensing 2016-02-26 19:50:13 +01:00
DEVELOPERS docker-proxy: new package 2018-03-11 22:34:10 +01:00
Makefile Kickoff 2018.05 cycle 2018-03-05 19:32:12 +01:00
Makefile.legacy Remove BR2_DEPRECATED 2016-10-15 23:14:45 +02:00
README README: add reference to submitting-patches 2016-02-01 19:16:08 +01:00

Buildroot is a simple, efficient and easy-to-use tool to generate embedded
Linux systems through cross-compilation.

The documentation can be found in docs/manual. You can generate a text
document with 'make manual-text' and read output/docs/manual/manual.text.
Online documentation can be found at http://buildroot.org/docs.html

To build and use the buildroot stuff, do the following:

1) run 'make menuconfig'
2) select the target architecture and the packages you wish to compile
3) run 'make'
4) wait while it compiles
5) find the kernel, bootloader, root filesystem, etc. in output/images

You do not need to be root to build or run buildroot.  Have fun!

Buildroot comes with a basic configuration for a number of boards. Run
'make list-defconfigs' to view the list of provided configurations.

Please feed suggestions, bug reports, insults, and bribes back to the
buildroot mailing list: buildroot@buildroot.org
You can also find us on #buildroot on Freenode IRC.

If you would like to contribute patches, please read
https://buildroot.org/manual.html#submitting-patches