[dpdk-dev,3/3] build: don't hard-code generic/exec-env install path
Checks
Commit Message
From: Luca Boccassi <bluca@debian.org>
Instead of hard-coding the install path of generic and exec-env headers
use the includedir option, so that it can be correctly overridden.
Signed-off-by: Luca Boccassi <bluca@debian.org>
---
lib/librte_eal/bsdapp/eal/meson.build | 2 +-
lib/librte_eal/common/include/meson.build | 2 +-
lib/librte_eal/linuxapp/eal/meson.build | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
Comments
On Fri, Sep 15, 2017 at 06:36:12PM +0100, luca.boccassi@gmail.com wrote:
> From: Luca Boccassi <bluca@debian.org>
>
> Instead of hard-coding the install path of generic and exec-env headers
> use the includedir option, so that it can be correctly overridden.
>
> Signed-off-by: Luca Boccassi <bluca@debian.org>
> ---
Acked-by: Bruce Richardson <bruce.richardson@intel.com>
@@ -30,7 +30,7 @@
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
eal_inc += include_directories('include')
-install_subdir('include/exec-env', install_dir: 'include')
+install_subdir('include/exec-env', install_dir: get_option('includedir'))
sources = ['eal_alarm.c',
'eal_debug.c',
@@ -66,6 +66,6 @@ common_headers = [
'rte_version.h']
install_headers(common_headers)
-install_subdir('generic', install_dir : 'include')
+install_subdir('generic', install_dir : get_option('includedir'))
subdir('arch')
@@ -30,7 +30,7 @@
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
eal_inc += include_directories('include')
-install_subdir('include/exec-env', install_dir: 'include')
+install_subdir('include/exec-env', install_dir: get_option('includedir'))
sources = ['eal_alarm.c',
'eal_debug.c',