diff options
author | Davide Viti <zinosat@tiscali.it> | 2014-03-20 11:45:47 +0100 |
---|---|---|
committer | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2014-03-30 12:02:13 +0200 |
commit | 3afdd6621fb5b8e0b955182a9024afe365887693 (patch) | |
tree | e4e915e9a151d3499e24b779d860b553f520b732 /package/eigen | |
parent | bbfc41cdc2b9295aa7d380009e266fcb71f90b18 (diff) | |
download | buildroot-3afdd6621fb5b8e0b955182a9024afe365887693.tar.gz buildroot-3afdd6621fb5b8e0b955182a9024afe365887693.zip |
eigen: follow default installation scheme
eigen's build-system (cmake), by default, installs the header files
in /usr/include/eigen3
Signed-off-by: Davide Viti <d.viti@infosolution.it>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/eigen')
-rw-r--r-- | package/eigen/eigen.mk | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/package/eigen/eigen.mk b/package/eigen/eigen.mk index 5abd464526..9a5ce7dfb9 100644 --- a/package/eigen/eigen.mk +++ b/package/eigen/eigen.mk @@ -12,12 +12,14 @@ EIGEN_LICENSE = MPL2, BSD-3c, LGPLv2.1 EIGEN_LICENSE_FILES = COPYING.MPL2 COPYING.BSD COPYING.LGPL COPYING.README EIGEN_INSTALL_STAGING = YES EIGEN_INSTALL_TARGET = NO +EIGEN_DEST_DIR = $(STAGING_DIR)/usr/include/eigen3 # This package only consists of headers that need to be # copied over to the sysroot for compile time use define EIGEN_INSTALL_STAGING_CMDS - $(RM) -r $(STAGING_DIR)/usr/include/Eigen - cp -a $(@D)/Eigen $(STAGING_DIR)/usr/include/ + $(RM) -r $(EIGEN_DEST_DIR) + mkdir -p $(EIGEN_DEST_DIR) + cp -a $(@D)/Eigen $(EIGEN_DEST_DIR) endef $(eval $(generic-package)) |