Message ID | 1547828061-20462-5-git-send-email-Dave.Martin@arm.com (mailing list archive) |
---|---|
State | RFC |
Headers | show
Return-Path: <linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org> Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id C9E8213B4 for <patchwork-linux-arm@patchwork.kernel.org>; Fri, 18 Jan 2019 16:16:44 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id B6D8B2F571 for <patchwork-linux-arm@patchwork.kernel.org>; Fri, 18 Jan 2019 16:16:44 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id A777A2F64C; Fri, 18 Jan 2019 16:16:44 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 5C6832F571 for <patchwork-linux-arm@patchwork.kernel.org>; Fri, 18 Jan 2019 16:16:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:References: In-Reply-To:Message-Id:Date:Subject:To:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=F1fQ95cQ5dXvuVflUZHT9SLwETlTNHL53t9biUjlu5s=; b=tBp6z+pqHNKUqTgIt1Mv6aeUuP wI3CMo0glvJl0EJ8sQqtc7HZM8rF+LQnLNMnJeC4rtEQNJ4T4qqo+jbaj6IZ/Sl1rkbCDGlnhIGJ3 YKqNdDEmNax8vNjMRNQ3yCcrRK6nu0Bbt4QwYUQkJypeHKQaV2D0oHvbMKuC4HYg0te4X+T9rK7zW y5CCKGMdyQ9AOKov0u7daWTYb4KKC2oGkc6IeVJkH8ZXO1oarLFNT+6PlyRbU/v1PX/rcj7oN47X1 ycfa9tu3jd1fo2qOl02QivWl6MKVCmox0tY6B96MN0iwTNKR+axKX8GyU9xnY+KdP9DwmBaiYoD0j bsyFASGA==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1gkWp1-0006PU-CW; Fri, 18 Jan 2019 16:16:43 +0000 Received: from usa-sjc-mx-foss1.foss.arm.com ([217.140.101.70] helo=foss.arm.com) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1gkWnk-0005KI-3R for linux-arm-kernel@lists.infradead.org; Fri, 18 Jan 2019 16:15:31 +0000 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.72.51.249]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 52231EBD; Fri, 18 Jan 2019 08:15:23 -0800 (PST) Received: from e103592.cambridge.arm.com (usa-sjc-imap-foss1.foss.arm.com [10.72.51.249]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id 35A543F557; Fri, 18 Jan 2019 08:15:21 -0800 (PST) From: Dave Martin <Dave.Martin@arm.com> To: kvmarm@lists.cs.columbia.edu Subject: [RFC PATCH 04/12] Makefile: [HACK] Pass relevant flags when checking for libfdt Date: Fri, 18 Jan 2019 16:14:13 +0000 Message-Id: <1547828061-20462-5-git-send-email-Dave.Martin@arm.com> X-Mailer: git-send-email 2.1.4 In-Reply-To: <1547828061-20462-1-git-send-email-Dave.Martin@arm.com> References: <1547828061-20462-1-git-send-email-Dave.Martin@arm.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190118_081524_782225_4664265F X-CRM114-Status: GOOD ( 11.85 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: <linux-arm-kernel.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/linux-arm-kernel/> List-Post: <mailto:linux-arm-kernel@lists.infradead.org> List-Help: <mailto:linux-arm-kernel-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=subscribe> Cc: Peter Maydell <peter.maydell@linaro.org>, Okamoto Takayuki <tokamoto@jp.fujitsu.com>, Christoffer Dall <cdall@kernel.org>, Ard Biesheuvel <ard.biesheuvel@linaro.org>, Marc Zyngier <marc.zyngier@arm.com>, Catalin Marinas <catalin.marinas@arm.com>, Will Deacon <will.deacon@arm.com>, Julien Grall <Julien.Grall@arm.com>, Andre Przywara <andre.przywara@arm.com>, =?utf-8?q?Alex_Benn=C3=A9e?= <alex.bennee@linaro.org>, linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" <linux-arm-kernel-bounces@lists.infradead.org> Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP |
Series |
arm64: SVE guest support test hacks
|
expand
|
diff --git a/Makefile b/Makefile index e8e9376..d6bcce7 100644 --- a/Makefile +++ b/Makefile @@ -310,7 +310,7 @@ $(warning No static libc found. Skipping guest init) endif ifeq (y,$(ARCH_WANT_LIBFDT)) - ifneq ($(call try-build,$(SOURCE_LIBFDT),$(CFLAGS),-lfdt),y) + ifneq ($(call try-build,$(SOURCE_LIBFDT),$(CPPFLAGS) $(CFLAGS) $(LDFLAGS),-lfdt),y) $(error No libfdt found. Please install libfdt-dev package) else CFLAGS_DYNOPT += -DCONFIG_HAS_LIBFDT
CPPFLAGS and LDFLAGS may be telling us where libdft.h and -lfdt are to be found, so don't ignore them when looking for libfdt. Signed-off-by: Dave Martin <Dave.Martin@arm.com> --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)