]> code.ossystems Code Review - openembedded-core.git/commit
relocatable: Make native .pc files relocatable
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 30 Jan 2017 23:08:38 +0000 (23:08 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 31 Jan 2017 23:47:27 +0000 (23:47 +0000)
commita3f4e9ff55c7d9eba175e83eb6c99cf349a74432
tree7f9cbef868214364497bd492a3fb0c6844a6c4e4
parent3e02a7cda0ba70e3f9886c5cce37d71361280b11
relocatable: Make native .pc files relocatable

The native .pc files currently have hardcoded paths in them meaning each has
to be relocated at final install time. pkg-config has built in functionality
to avoid this, namely the pcfiledir variable.

This function translates .pc files to use the variable meaning further
relocation later is unnecessary.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/relocatable.bbclass