From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ian Campbell Subject: Re: [PATCH v6 1/8] xenalyze: add to tools/xentrace/ Date: Tue, 16 Jun 2015 11:24:39 +0100 Message-ID: <1434450279.13744.88.camel@citrix.com> References: <1434040245-22195-1-git-send-email-olaf@aepfle.de> <1434040245-22195-2-git-send-email-olaf@aepfle.de> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1434040245-22195-2-git-send-email-olaf@aepfle.de> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Olaf Hering Cc: George Dunlap , Wei Liu , Stefano Stabellini , Ian Jackson , xen-devel@lists.xen.org List-Id: xen-devel@lists.xenproject.org On Thu, 2015-06-11 at 16:30 +0000, Olaf Hering wrote: > @@ -26,6 +28,7 @@ install: build > [ -z "$(LIBBIN)" ] || $(INSTALL_DIR) $(DESTDIR)$(LIBEXEC_BIN) > $(INSTALL_DIR) $(DESTDIR)$(MAN1DIR) > $(INSTALL_DIR) $(DESTDIR)$(MAN8DIR) > + $(INSTALL_PROG) $(BIN) $(DESTDIR)$(bindir) Building on !x86 fails here because $(BIN) is empty: install: missing destination file operand after `/local/scratch/ianc/devel/committer-arm32.git/dist/install/usr/local/bin' Try `install --help' for more information. I propose to continue trying to commit with this fixup patch folded in: diff --git a/tools/xentrace/Makefile b/tools/xentrace/Makefile index 8932b73..3676812 100644 --- a/tools/xentrace/Makefile +++ b/tools/xentrace/Makefile @@ -28,7 +28,9 @@ install: build [ -z "$(LIBBIN)" ] || $(INSTALL_DIR) $(DESTDIR)$(LIBEXEC_BIN) $(INSTALL_DIR) $(DESTDIR)$(MAN1DIR) $(INSTALL_DIR) $(DESTDIR)$(MAN8DIR) +ifneq ($(BIN),) $(INSTALL_PROG) $(BIN) $(DESTDIR)$(bindir) +endif $(INSTALL_PROG) $(SBIN) $(DESTDIR)$(sbindir) $(INSTALL_PYTHON_PROG) $(SCRIPTS) $(DESTDIR)$(bindir) [ -z "$(LIBBIN)" ] || $(INSTALL_PROG) $(LIBBIN) $(DESTDIR)$(LIBEXEC_BIN)