From patchwork Tue Jan 26 21:36:56 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Brian Norris X-Patchwork-Id: 573490 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2001:1868:205::9]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 51CBF14029E for ; Wed, 27 Jan 2016 08:39:13 +1100 (AEDT) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b=VyGvAJAl; dkim-atps=neutral Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1aOBIl-00024V-HT; Tue, 26 Jan 2016 21:37:27 +0000 Received: from mail-pa0-x22c.google.com ([2607:f8b0:400e:c03::22c]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1aOBIk-00020U-4W for linux-mtd@lists.infradead.org; Tue, 26 Jan 2016 21:37:26 +0000 Received: by mail-pa0-x22c.google.com with SMTP id ho8so103578399pac.2 for ; Tue, 26 Jan 2016 13:37:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id; bh=jMRepJTXhadFVfT2QDU7jYZJlhF63+Ai6qLj+YMCkBw=; b=VyGvAJAllZctPNCGgSQEqDI53Dtsf0agv5ifvPiUkvMblMfQdZtCo1ON8LhnQ4X6PF ZK5RS0hVJQ0rEX4tAjbmeEI7wRHwfn5VnBuvStMgibR7xdiHH7KmX2TH+6Ujrlo0DpVs D1ISA6FpAJlHkx8ngyDC/i5CE8TOIhHMmoc48x5cCHGw82AH9FXgylxeiQAmQUTC62m0 9NXXjQfbk/2vNcxZ2pxWDuG1+NUENq8LcgUEKaqfAJeWSnsuWx2PPGCXfCm2JLQ/hlac zSB+ksJcjrT7fDQQzK6/ZlfpblzyGjy3J7ot1xBET54ZjGC4GRed5nmFXKGKyBl7zZPy kKDQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=jMRepJTXhadFVfT2QDU7jYZJlhF63+Ai6qLj+YMCkBw=; b=adG3SyxVahnKJOmD5Y9gkOWeXSwFbCK7+g5lD4onWCVo1V9RL+el7KEucv+sBq8QZX kHe9NjQfakjwwY95hcnDDDQrpufE80DrWmh6Ba03yrnKc5+zCkVULJ890LXPHEfZbsYh nGmqOFDWIqT/2QywDHFmfSCa98u+nileJjFsXwjuHq44tgaSZFPjLSMB/XSXvOAiIMjR 7tbCIboEquZ5Xhn7v61wp8ezwWk8cDYQMoZ810AMM6eDoe6HT5PQxVuBWo+novUnaqab xXQLggvHogRUo0Z19sKq7mzsQhgh9q7TJ0uLN9cLkS2Qeq2loSLDqVOt2Ufj77LsAG2r fo4g== X-Gm-Message-State: AG10YOQ1hho2HA7RuIwI2h66A1mny8EwZx5alCcBfktlMvBGtzXjuKO91rgor+bLMnYXqA== X-Received: by 10.67.14.234 with SMTP id fj10mr14415295pad.149.1453844225201; Tue, 26 Jan 2016 13:37:05 -0800 (PST) Received: from ban.mtv.corp.google.com ([172.22.64.120]) by smtp.gmail.com with ESMTPSA id z3sm3913646par.17.2016.01.26.13.37.04 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 26 Jan 2016 13:37:04 -0800 (PST) From: Brian Norris To: Subject: [mtd-utils PATCH] Makefile: install: don't look for scripts in BUILDDIR Date: Tue, 26 Jan 2016 13:36:56 -0800 Message-Id: <1453844216-133634-1-git-send-email-computersforpeace@gmail.com> X-Mailer: git-send-email 2.7.0.rc3.207.g0ac5344 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20160126_133726_225161_E2A4AF6D X-CRM114-Status: UNSURE ( 9.79 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -2.7 (--) X-Spam-Report: SpamAssassin version 3.4.0 on bombadil.infradead.org summary: Content analysis details: (-2.7 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low trust [2607:f8b0:400e:c03:0:0:0:22c listed in] [list.dnswl.org] 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (computersforpeace[at]gmail.com) -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-mtd@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Linux MTD discussion mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Dongsheng Yang , Brian Norris MIME-Version: 1.0 Sender: "linux-mtd" Errors-To: linux-mtd-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org Our ${SCRIPTS} (e.g., flash_eraseall) are not found in the build directory; they should be found in their original location. This fixes a typo in the Makefile refactoring, which caused 'make install' to fail with messages like: make: *** No rule to make target '[...my source-build directory...]/armv7a-cros-linux-gnueabi/misc-utils/flash_eraseall'. Stop. because the install target is looking in the wrong place for flash_eraseall. Fixes: 7d81790ced34 ("mtd-utils: Restructure the mtd-utils source.") Signed-off-by: Brian Norris Cc: Dongsheng Yang Reviewed-by: Dongsheng Yang --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index bd9504ae72f0..977c9c5056ed 100644 --- a/Makefile +++ b/Makefile @@ -67,7 +67,7 @@ endif rm -f $(BUILDDIR)/include/version.h $(MAKE) -C $(TESTS) clean -install:: $(addprefix $(BUILDDIR)/,${BINS} ${SCRIPTS}) +install:: $(addprefix $(BUILDDIR)/,${BINS}) ${SCRIPTS} mkdir -p ${DESTDIR}/${SBINDIR} install -m 0755 $^ ${DESTDIR}/${SBINDIR}/ mkdir -p ${DESTDIR}/${MANDIR}/man1