infra: /usr support: STAGING_DIR can be outside BASE_DIR
authorThomas De Schampheleire <patrickdepinguin@gmail.com>
Thu, 3 Jul 2014 19:58:43 +0000 (21:58 +0200)
committerPeter Korsgaard <peter@korsgaard.com>
Fri, 4 Jul 2014 13:49:59 +0000 (15:49 +0200)
commit6f638ea9c9c7bacc646430a74ad3dd2740eae676
tree51ca198975beb807120768e7f17755a89035ef68
parent065c7fcd7a16b4e4c908c975112dc3fb1265c415
infra: /usr support: STAGING_DIR can be outside BASE_DIR

If the user sets a custom BR2_HOST_DIR, then STAGING_DIR is not under
BASE_DIR. The .pc/.la file fixup commands incorrectly made this assumption
and thus should be corrected.

Additionally, this patch:
- rewords the comment in pkg-autotools that explains the replacements.
- removes a for statement in favor of xargs

Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/pkg-autotools.mk
package/pkg-generic.mk
package/qt5/qt5.mk