From patchwork Thu Mar 20 10:45:47 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Davide Viti X-Patchwork-Id: 332071 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from fraxinus.osuosl.org (fraxinus.osuosl.org [140.211.166.137]) by ozlabs.org (Postfix) with ESMTP id 638D42C00A2 for ; Thu, 20 Mar 2014 21:46:02 +1100 (EST) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id 38EAF8B919; Thu, 20 Mar 2014 10:46:02 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from fraxinus.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id AchbwyHVsXVu; Thu, 20 Mar 2014 10:46:00 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by fraxinus.osuosl.org (Postfix) with ESMTP id B8EFD8B918; Thu, 20 Mar 2014 10:46:00 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from silver.osuosl.org (silver.osuosl.org [140.211.166.136]) by ash.osuosl.org (Postfix) with ESMTP id 453991BF989 for ; Thu, 20 Mar 2014 10:45:59 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id 408B1318CB for ; Thu, 20 Mar 2014 10:45:59 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from silver.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id qJTb83RzZVmt for ; Thu, 20 Mar 2014 10:45:58 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-ee0-f43.google.com (mail-ee0-f43.google.com [74.125.83.43]) by silver.osuosl.org (Postfix) with ESMTPS id DA07930AAE for ; Thu, 20 Mar 2014 10:45:57 +0000 (UTC) Received: by mail-ee0-f43.google.com with SMTP id e53so492629eek.30 for ; Thu, 20 Mar 2014 03:45:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:to:cc:subject:date:message-id; bh=myAXBYIQmWVYJcYr14+sfR0Qt+GI4cSxGGGNMc7s8pI=; b=eCoxEYUDOvL0Krj0uaV8MiWMy6/rZeA5Qu+my5YGOjQ3hE0Kj7Q+GQzEWXdYXMERp7 Sp27sIHyZQ2HCKzm/dPbHkolyQv1607lfhtN7ZSUheTRh+iY0WCFAY7kRodAWE5+2s+/ Qwjm2XG46zcYZ6xGwLyBYgxuXyD5dF8WPNbTH9n6JqAeQKciQofdV/qz0phXJCtWWbgV 0bu1gp4sHe/ntAcRC6esh0g7BDPurhTipu8pk+8X+SSB8RGaKbFeE/3j71tTWzVRJ7DV JlsernW3DSsz+lII3X1v1c2oNgT8FCbHsVHOLvlNYbQqO05yHsGnnmviIFZiMB10uCaq NtOA== X-Received: by 10.14.207.68 with SMTP id m44mr25649310eeo.79.1395312356269; Thu, 20 Mar 2014 03:45:56 -0700 (PDT) Received: from slurp64.infosolution.local (89-96-73-92.ip11.fastwebnet.it. [89.96.73.92]) by mx.google.com with ESMTPSA id l42sm3362548eew.19.2014.03.20.03.45.54 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 20 Mar 2014 03:45:55 -0700 (PDT) From: Davide Viti To: buildroot@buildroot.org Date: Thu, 20 Mar 2014 11:45:47 +0100 Message-Id: <1395312348-5812-1-git-send-email-d.viti@infosolution.it> X-Mailer: git-send-email 1.9.0 Cc: Davide Viti Subject: [Buildroot] [PATCH v5 1/2] eigen: follow default installation scheme X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: buildroot-bounces@busybox.net eigen's build-system (cmake), by default, installs the header files in /usr/include/eigen3 Signed-off-by: Davide Viti --- Switching from $(generic-package) to $(cmake-package) results in known [1] build failures due to in-place compilation. Not worth fixing on this package which just needs to copy include files. [1] http://article.gmane.org/gmane.comp.lib.uclibc.buildroot/43687/ package/eigen/eigen.mk | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/package/eigen/eigen.mk b/package/eigen/eigen.mk index 5abd464..9a5ce7d 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))