Go to file
Arnout Vandecappelle 4c790b8864 Move $(HOST_DIR)/usr/lib to $(HOST_DIR)/lib
This is a step towards eliminating $(HOST_DIR)/usr. It allows us to
convert all packages installing things into $(HOST_DIR)/usr/lib without
affecting the rest.

To allow compatibility with packages that still use $(HOST_DIR)/usr as
the prefix, create a symlink from usr/lib to ../lib.

Note that the symlink creation will break when $(HOST_DIR)/usr/lib
already exists as a directory, i.e. when rebuilding in an existing
output directory. This is necessary: if we don't break it now, the
following commits (which remove the usr part from various variables)
_will_ break it.

At the same time as creating this symlink, we also have to update the
check-host-rpath script to accept both $(HOST_DIR)/usr/lib and
$(HOST_DIR)/lib, because depending on how the package derives the
path, it may be different.

Since there are some dependency chains that involve $(STAGING_DIR),
$(STAGING_DIR) may in fact be created before $(HOST_DIR). Since
$(STAGING_DIR) is a subdirectory of $(HOST_DIR), it is possible that the
newly added rule for $(HOST_DIR) never triggers. To make sure that the
rule does trigger, add an order-only dependency from $(STAGING_DIR) to
$(HOST_DIR).

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Reviewed-by: Romain Naour <romain.naour@smile.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2017-07-05 11:39:58 +02:00
arch arch, linux, package: remove whitespaces 2017-03-29 23:30:37 +02:00
board olimex_a20: refactor with genimage.sh 2017-07-02 00:37:59 +02:00
boot syslinux: drop patch 0003, not needed after gnu-efi update 2017-07-04 18:45:26 +02:00
configs configs/{at91sam9x5ek*, atmel_*_xplained*}: U-Boot needs DTC 2017-07-02 15:48:05 +02:00
docs docs/manual: update gettext details 2017-07-05 01:37:38 +02:00
fs fs/ext2: use mkfs to generate rootfs image 2017-07-05 00:39:38 +02:00
linux linux: bump default version to 4.11.8 2017-07-01 13:18:09 +02:00
package Move $(HOST_DIR)/usr/$(GNU_TARGET_NAME) one level up. 2017-07-05 11:38:23 +02:00
support Move $(HOST_DIR)/usr/lib to $(HOST_DIR)/lib 2017-07-05 11:39:58 +02:00
system package/ifupdown-scripts: new package 2017-07-04 23:38:18 +02:00
toolchain toolchain: drop BR2_NEEDS_GETTEXT{,_IF_LOCALE} 2017-07-05 01:37:35 +02:00
utils utils/brmake: print the error code of the build 2017-07-05 00:15:05 +02:00
.defconfig arch: remove support for sh64 2016-09-08 22:15:15 +02:00
.gitignore
.gitlab-ci.yml .gitlab-ci.yml: use the Buildroot CI image published on Docker Hub 2017-07-02 23:45:27 +02:00
.gitlab-ci.yml.in .gitlab-ci.yml: use the Buildroot CI image published on Docker Hub 2017-07-02 23:45:27 +02:00
CHANGES CHANGES: add details on the gettext revamp 2017-07-05 01:37:42 +02:00
Config.in core: change the strip command from a choice to a boolean 2017-07-01 15:07:25 +02:00
Config.in.legacy package/mke2img: remove package 2017-07-05 00:54:01 +02:00
COPYING
DEVELOPERS package/mke2img: remove package 2017-07-05 00:54:01 +02:00
Makefile Move $(HOST_DIR)/usr/lib to $(HOST_DIR)/lib 2017-07-05 11:39:58 +02:00
Makefile.legacy Remove BR2_DEPRECATED 2016-10-15 23:14:45 +02:00
README

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