From patchwork Thu Apr 6 19:07:23 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Alex_Benn=C3=A9e?= X-Patchwork-Id: 747954 Return-Path: X-Original-To: incoming-imx@patchwork.ozlabs.org Delivered-To: patchwork-incoming-imx@bilbo.ozlabs.org Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3vzXLx15frz9s7c for ; Fri, 7 Apr 2017 05:09:12 +1000 (AEST) Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="Xkkb+dOX"; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=linaro.org header.i=@linaro.org header.b="Gukgo38v"; dkim-atps=neutral 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:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version: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=R80eBoxMhbyRHRi/JS6XiUYNMfXSQm1WehhMzLcVhL8=; b=Xkkb+dOXa/0QB2 cqYGZRy+JhF/o2wgLq9MVVMNoWGHpWT2rZCrosgNyCZKiLs+BAaygMXervQ5Jg8L+sia2yYjG8CdH +qJvAbfV9FmttbIGd4eyXN7qofUtdefo+tEGfUr3IxBXBZQSa3W3Hb/8Vpk2ZjpEmFLCGHRQH+D9R h5GFB58BLaa0CENCWDAMYMw6PgHTKYuAfxY33o33o/WmC3p73jkKjFPxg60TGxvtK+E/IXCXGt1Sw 0BLnFIssR4vyt4U60cKYdspbEWQVK7Yjs+FkxjDNJVGC7tOKiWFhc7avxrX/mznCDZ9WyYKEeILNj d+dVdTX0VF4mdSDE3LWA==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1cwCmI-0000sJ-Dl; Thu, 06 Apr 2017 19:09:06 +0000 Received: from mail-wr0-x234.google.com ([2a00:1450:400c:c0c::234]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1cwClE-0007ty-0u for linux-arm-kernel@lists.infradead.org; Thu, 06 Apr 2017 19:08:03 +0000 Received: by mail-wr0-x234.google.com with SMTP id g19so32948300wrb.0 for ; Thu, 06 Apr 2017 12:07:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=/YyiGPPxifsbwEgSaulkAwLUpet+q9jjdMiVmTqB7iQ=; b=Gukgo38vA7VyIaocTkC6bDB+FlT2WRZ77boS46utU3IY/CkGVvRwqHpHEQep7tt82j 5mCagBH3DcHEdlosECjoSa/mWVBFcJprzysGxOpwgU9zN/mCWY761KgslUhHbq77xLOp 91TBuPZBOq/VI3q24GLLD1zqXxrpoABhsido0= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=/YyiGPPxifsbwEgSaulkAwLUpet+q9jjdMiVmTqB7iQ=; b=qmJ76xePN9T9zyc/psGEYsXvqTpqGwj9Ja2YidsMG3exRJU+4JI+8LYrppX64srAiq c/gmiFb4cadPfPiJbPgGyAoyz1Ag0azTXILWNgQRiALKd60girLzLtjdc5yW9WnCY5nJ pl/mjVHWCWr1s0tPIuwwJxFY8Eu1EydKQR96iNBHQSxqIlvhneKBZxfmc98sYTVcX84D TcV5ATye3ECzV1gBiktZEhmEC+lJkJzwCNFwVB9F8/DEqDLRdIkOrjWP/Fk/lb4Mkom6 7YS5TwEV/WiXzNyu9FT4NMoCsMp3OA1ZvuLBevnXafCQhwstUAdlxmmgUlSqk72ph4QZ cKNg== X-Gm-Message-State: AFeK/H3zp/4/Go4YsMz/rCN0MXJK9AGpWJ/uWBNQr1pVzM0+M7Jhyr1awdoktLaju1LHkjTM X-Received: by 10.223.160.183 with SMTP id m52mr31592621wrm.201.1491505658149; Thu, 06 Apr 2017 12:07:38 -0700 (PDT) Received: from zen.linaro.local ([81.128.185.34]) by smtp.gmail.com with ESMTPSA id j138sm3472515wmg.10.2017.04.06.12.07.33 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 06 Apr 2017 12:07:35 -0700 (PDT) Received: from zen.linaroharston (localhost [127.0.0.1]) by zen.linaro.local (Postfix) with ESMTP id 922E23E03B7; Thu, 6 Apr 2017 20:07:37 +0100 (BST) From: =?UTF-8?q?Alex=20Benn=C3=A9e?= To: drjones@redhat.com, pbonzini@redhat.com Subject: [RFC kvm-unit-tests PATCH 4/8] Makefiles: use explicit path for including sub-Makefiles Date: Thu, 6 Apr 2017 20:07:23 +0100 Message-Id: <20170406190727.5624-5-alex.bennee@linaro.org> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20170406190727.5624-1-alex.bennee@linaro.org> References: <20170406190727.5624-1-alex.bennee@linaro.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170406_120800_246929_6BEE9214 X-CRM114-Status: GOOD ( 10.44 ) X-Spam-Score: -2.0 (--) X-Spam-Report: SpamAssassin version 3.4.1 on bombadil.infradead.org summary: Content analysis details: (-2.0 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/, no trust [2a00:1450:400c:c0c:0:0:0:234 listed in] [list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: kvm@vger.kernel.org, marc.zyngier@arm.com, linux-arm-kernel@lists.infradead.org, =?UTF-8?q?Alex=20Benn=C3=A9e?= , kvmarm@lists.cs.columbia.edu, christoffer.dall@linaro.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+incoming-imx=patchwork.ozlabs.org@lists.infradead.org List-Id: linux-imx-kernel.lists.patchwork.ozlabs.org I would of thought VPATH took care of this but apparently not. Signed-off-by: Alex Bennée --- Makefile | 8 ++++---- arm/Makefile | 2 +- arm/Makefile.arm | 2 +- arm/Makefile.arm64 | 2 +- powerpc/Makefile | 2 +- powerpc/Makefile.ppc64 | 2 +- x86/Makefile | 2 +- x86/Makefile.i386 | 2 +- x86/Makefile.x86_64 | 2 +- 9 files changed, 12 insertions(+), 12 deletions(-) diff --git a/Makefile b/Makefile index 80bc57e..781186e 100644 --- a/Makefile +++ b/Makefile @@ -32,14 +32,14 @@ cflatobjs := \ lib/stack.o # libfdt paths -LIBFDT_objdir = lib/libfdt -LIBFDT_srcdir = lib/libfdt +LIBFDT_objdir = $(SRCDIR)/lib/libfdt +LIBFDT_srcdir = $(SRCDIR)/lib/libfdt LIBFDT_archive = $(LIBFDT_objdir)/libfdt.a LIBFDT_include = $(addprefix $(LIBFDT_srcdir)/,$(LIBFDT_INCLUDES)) LIBFDT_version = $(addprefix $(LIBFDT_srcdir)/,$(LIBFDT_VERSION)) -#include architecure specific make rules -include $(TEST_DIR)/Makefile +#include architecture specific make rules +include $(SRCDIR)/$(TEST_DIR)/Makefile # cc-option # Usage: OP_CFLAGS+=$(call cc-option, -falign-functions=0, -malign-functions=0) diff --git a/arm/Makefile b/arm/Makefile index 369a38b..8a007ab 100644 --- a/arm/Makefile +++ b/arm/Makefile @@ -1 +1 @@ -include $(TEST_DIR)/Makefile.$(ARCH) +include $(SRCDIR)/$(TEST_DIR)/Makefile.$(ARCH) diff --git a/arm/Makefile.arm b/arm/Makefile.arm index 92f3757..6b57284 100644 --- a/arm/Makefile.arm +++ b/arm/Makefile.arm @@ -22,6 +22,6 @@ cflatobjs += lib/arm/stack.o # arm specific tests tests = -include $(TEST_DIR)/Makefile.common +include $(SRCDIR)/$(TEST_DIR)/Makefile.common arch_clean: arm_clean diff --git a/arm/Makefile.arm64 b/arm/Makefile.arm64 index 0b0761c..b5fc1ec 100644 --- a/arm/Makefile.arm64 +++ b/arm/Makefile.arm64 @@ -14,7 +14,7 @@ cflatobjs += lib/arm64/spinlock.o # arm64 specific tests tests = -include $(TEST_DIR)/Makefile.common +include $(SRCDIR)/$(TEST_DIR)/Makefile.common arch_clean: arm_clean $(RM) lib/arm64/.*.d diff --git a/powerpc/Makefile b/powerpc/Makefile index 369a38b..8a007ab 100644 --- a/powerpc/Makefile +++ b/powerpc/Makefile @@ -1 +1 @@ -include $(TEST_DIR)/Makefile.$(ARCH) +include $(SRCDIR)/$(TEST_DIR)/Makefile.$(ARCH) diff --git a/powerpc/Makefile.ppc64 b/powerpc/Makefile.ppc64 index 3da3a83..3c0294a 100644 --- a/powerpc/Makefile.ppc64 +++ b/powerpc/Makefile.ppc64 @@ -20,7 +20,7 @@ cflatobjs += lib/ppc64/spinlock.o # ppc64 specific tests tests = -include $(TEST_DIR)/Makefile.common +include $(SRCDIR)/$(TEST_DIR)/Makefile.common arch_clean: powerpc_clean $(RM) lib/ppc64/.*.d diff --git a/x86/Makefile b/x86/Makefile index 369a38b..8a007ab 100644 --- a/x86/Makefile +++ b/x86/Makefile @@ -1 +1 @@ -include $(TEST_DIR)/Makefile.$(ARCH) +include $(SRCDIR)/$(TEST_DIR)/Makefile.$(ARCH) diff --git a/x86/Makefile.i386 b/x86/Makefile.i386 index 284b9e5..d801b80 100644 --- a/x86/Makefile.i386 +++ b/x86/Makefile.i386 @@ -7,4 +7,4 @@ cflatobjs += lib/x86/setjmp32.o tests = $(TEST_DIR)/taskswitch.flat $(TEST_DIR)/taskswitch2.flat \ $(TEST_DIR)/cmpxchg8b.flat -include $(TEST_DIR)/Makefile.common +include $(SRCDIR)/$(TEST_DIR)/Makefile.common diff --git a/x86/Makefile.x86_64 b/x86/Makefile.x86_64 index 3e2821e..30f82a6 100644 --- a/x86/Makefile.x86_64 +++ b/x86/Makefile.x86_64 @@ -17,7 +17,7 @@ tests += $(TEST_DIR)/vmx.flat tests += $(TEST_DIR)/tscdeadline_latency.flat tests += $(TEST_DIR)/intel-iommu.flat -include $(TEST_DIR)/Makefile.common +include $(SRCDIR)/$(TEST_DIR)/Makefile.common $(TEST_DIR)/hyperv_clock.elf: $(TEST_DIR)/hyperv_clock.o