From patchwork Thu Jan 22 16:53:16 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ryan Barnett X-Patchwork-Id: 431920 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from whitealder.osuosl.org (whitealder.osuosl.org [140.211.166.138]) by ozlabs.org (Postfix) with ESMTP id 4CEB3140276 for ; Fri, 23 Jan 2015 03:53:32 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id A6FBF8AF8B; Thu, 22 Jan 2015 16:53:31 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id DYwNmvWFXAi6; Thu, 22 Jan 2015 16:53:29 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by whitealder.osuosl.org (Postfix) with ESMTP id 68B308AEB8; Thu, 22 Jan 2015 16:53:29 +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 74E171C2894 for ; Thu, 22 Jan 2015 16:53:28 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id 70F1B261C7 for ; Thu, 22 Jan 2015 16:53:28 +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 nI1XeUeRUUpV for ; Thu, 22 Jan 2015 16:53:26 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from da1vs02.rockwellcollins.com (da1vs02.rockwellcollins.com [205.175.227.29]) by silver.osuosl.org (Postfix) with ESMTPS id 7573526061 for ; Thu, 22 Jan 2015 16:53:26 +0000 (UTC) Received: from ofwda1n02.rockwellcollins.com (HELO crulimr01.rockwellcollins.com) ([205.175.227.14]) by da1vs02.rockwellcollins.com with ESMTP; 22 Jan 2015 10:53:24 -0600 X-Received: from smtplb.rockwellcollins.com (smtplb.rockwellcollins.com [131.198.63.134]) by crulimr01.rockwellcollins.com (Postfix) with ESMTP id B0379601C8; Thu, 22 Jan 2015 10:53:24 -0600 (CST) X-Received: from largo.rockwellcollins.com (unknown [192.168.140.76]) by smtplb.rockwellcollins.com (Postfix) with ESMTP id AAE2580212; Thu, 22 Jan 2015 10:53:24 -0600 (CST) From: Ryan Barnett To: buildroot@buildroot.org Date: Thu, 22 Jan 2015 10:53:16 -0600 Message-Id: <1421945596-53762-1-git-send-email-ryan.barnett@rockwellcollins.com> X-Mailer: git-send-email 1.9.1 Subject: [Buildroot] [PATCH 1/1] pkg-cmake: fix host-cmake-package type X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.18-1 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" When trying to compile a host-cmake-package type such as host-cdrkit, an error happens in regards to HOSTCC and HOSTCXX not being found. /bin/sh: HOSTCC: command not found /bin/sh: HOSTCXX: command not found This due to the fact that the environment is incorrectly configured by having the following: -DCMAKE_C_COMPILER=""$(HOSTCC)"" -DCMAKE_CXX_COMPILER=""$(HOSTCXX)"" This is due to having too many dollar signs. The fix is to remove the extra dollar sign. Signed-off-by: Ryan Barnett Acked-by: Samuel Martin --- package/pkg-cmake.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package/pkg-cmake.mk b/package/pkg-cmake.mk index 1037513..eac244f 100644 --- a/package/pkg-cmake.mk +++ b/package/pkg-cmake.mk @@ -27,8 +27,8 @@ CMAKE_HOST_CXX_COMPILER="$(HOST_DIR)/usr/bin/ccache" CMAKE_HOST_C_COMPILER_ARG1="$(HOSTCC_NOCCACHE)" CMAKE_HOST_CXX_COMPILER_ARG1="$(HOSTCXX_NOCCACHE)" else -CMAKE_HOST_C_COMPILER="$$(HOSTCC)" -CMAKE_HOST_CXX_COMPILER="$$(HOSTCXX)" +CMAKE_HOST_C_COMPILER="$(HOSTCC)" +CMAKE_HOST_CXX_COMPILER="$(HOSTCXX)" endif ################################################################################