From patchwork Thu Apr 6 19:07:21 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: 9668145 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id E7312602B3 for ; Thu, 6 Apr 2017 19:08:32 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id CAD6F285C4 for ; Thu, 6 Apr 2017 19:08:32 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id BFB4E285D5; Thu, 6 Apr 2017 19:08:32 +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=-1.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.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 57091285C4 for ; Thu, 6 Apr 2017 19:08:32 +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: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=E9P/6hwp8l7sQiLgbRBY+jkVXiONdsf48Rqm9to/E88=; b=SnXdCdb8z9R9AS PTzxZ67x+BoXxpzURDX3ywpjHbgbgyrL14bmb859nKv0RvCEAP80UmH0Dcj50mmOnnzTfeCEUdzYY z6ZfO30AxKoi1Xkhl43b3pa9+XcNRowOqnGXjqTCikZMCkHwcKEWqTIbiiNtvZ2imkDZWg4Hs9Yj6 X8SP6/MZRfLw8H7rK9aBiKvTauAE8A6IzCLShUIu5Y8IKeKQb9+UHJyvtTYWTyWKctQJsfxTfI3pV JrLPW0sE52CKQyzFSJQpxfR0oS9NQy+EV0tWj/fYQnEHU+Iq1C77ZvMZd1tCIRWaC5aL0V1pkgFnL /sXrL+jh9Jf2/7rWEfGg==; 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 1cwClc-0008RF-IY; Thu, 06 Apr 2017 19:08:24 +0000 Received: from mail-wr0-x22d.google.com ([2a00:1450:400c:c0c::22d]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1cwClC-0007to-CC for linux-arm-kernel@lists.infradead.org; Thu, 06 Apr 2017 19:08:00 +0000 Received: by mail-wr0-x22d.google.com with SMTP id t20so76935558wra.1 for ; Thu, 06 Apr 2017 12:07:37 -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=PepaPH9YOH68TdU87wRqasK3Mmq02OLTkRy/Wu46Tpg=; b=Ti5Tccq7CyZFxvusTDXIhremMq7azlN1u0x1CWFyNH0+za1cTXs9a4GbZWmykNI/4p MBMn8zQRtP0TF/ylXBIJk8nzOjAVVd5JzM8HreSuB6qOOXaOCd0lrUZTpW3j5sscicgz ul2eu8i/Ab6Pr5CalmmzUnTKSorkMpOaziX7A= 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=PepaPH9YOH68TdU87wRqasK3Mmq02OLTkRy/Wu46Tpg=; b=uf4aUoA4Jz+pOL90PUl3BtWpiIhi8DplAwN/UMhCS9Uk8EZds3U6jx3pUOGhXYUAJp tBi/p07FqaO2Y25DLT9uJmX58p+O6cXfsXLPUDWw0kdSHz28amZDhhUi9dor5zMDpob/ wIEVMrLDEIqrDtlbHjERFKh9xVQUZ9lbdEN5/c2FSW4nQxifEitZ9Iry53fI2RPjO9sA B+YjiMssHUEZDkMFeLwMj7r/QNQEzqi3asvwYYfRZZ6dhtnDbDaiqlGSdt3yJ7M18jmn EsfRthi5/OPJuGWXVhhfWn7Jb+WHh/BqQdreOCHL3iV+HtyZDdLHFEXf9mEMJ6ZlBU1l WOrw== X-Gm-Message-State: AFeK/H0uMabjE0Fgp7/ereGqXQmrs48TAVqSQd3hTGQb8OA3+z9lFrxYAFSfgR9XjBjfVzT6 X-Received: by 10.223.131.99 with SMTP id 90mr31628115wrd.147.1491505656544; Thu, 06 Apr 2017 12:07:36 -0700 (PDT) Received: from zen.linaro.local ([81.128.185.34]) by smtp.gmail.com with ESMTPSA id n5sm3448939wmf.14.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 7D2413E029D; 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 2/8] Makefile: ensure build-head works out-of-src-tree Date: Thu, 6 Apr 2017 20:07:21 +0100 Message-Id: <20170406190727.5624-3-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_120758_564540_49EA323A X-CRM114-Status: GOOD ( 10.09 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: 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+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP Pass -C $(SRCDIR) to the git command that generates the build-head stamp. Signed-off-by: Alex Bennée Reviewed-by: Andrew Jones --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 16ce297..eba7b28 100644 --- a/Makefile +++ b/Makefile @@ -80,7 +80,7 @@ $(LIBFDT_archive): $(addprefix $(LIBFDT_objdir)/,$(LIBFDT_OBJS)) -include */.*.d */*/.*.d -all: $(shell git rev-parse --verify --short=8 HEAD >build-head 2>/dev/null) +all: $(shell git -C $(SRCDIR) rev-parse --verify --short=8 HEAD >build-head 2>/dev/null) standalone: all @scripts/mkstandalone.sh