docs/manual: add appendix about $(HOST_DIR)/usr

Reported-by: Adam Duskett <aduskett@gmail.com>
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Cc: Adam Duskett <aduskett@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
Yann E. MORIN 2017-09-05 22:34:53 +02:00 committed by Thomas Petazzoni
parent 11e548f1e6
commit c8f51a00d8

View File

@ -44,3 +44,15 @@ Now, your br2-external tree can be used with Buildroot 2016.11 onward.
.Note: .Note:
This change makes your br2-external tree incompatible with Buildroot This change makes your br2-external tree incompatible with Buildroot
before 2016.11. before 2016.11.
[[migrating-host-usr]]
=== Migrating to 2017.08
Before Buildroot 2017.08, host packages were installed in +$(HOST_DIR)/usr+
(with e.g. the autotools' +--prefix=$(HOST_DIR)/usr+). With Buildroot
2017.08, they are now installed directly in +$(HOST_DIR)+.
Whenever a package installs an executable that is linked with a library
in +$(HOST_DIR)/lib+, it must have an RPATH pointing to that directory.
An RPATH pointing to +$(HOST_DIR)/usr/lib+ is no longer accepted.