From: Peter Feiner Subject: [kvm-unit-tests] powerpc: fix boot_rom.bin build Date: Thu, 3 Mar 2016 12:55:29 -0800 Message-ID: <1457038529-4577-1-git-send-email-pfeiner@google.com> Cc: pfeiner@google.com To: kvm@vger.kernel.org, drjones@redhat.com, pbonzini@redhat.com Return-path: Received: from mail-pf0-f172.google.com ([209.85.192.172]:36430 "EHLO mail-pf0-f172.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757429AbcCCUzj (ORCPT ); Thu, 3 Mar 2016 15:55:39 -0500 Received: by mail-pf0-f172.google.com with SMTP id 63so21304553pfe.3 for ; Thu, 03 Mar 2016 12:55:39 -0800 (PST) Sender: kvm-owner@vger.kernel.org List-ID: My powerpc objcopy (version 2.23.52.20130305) did a seek() that bash process substitution couldn't handle! I've changed the Makefile to do things the old fashioned way. Signed-off-by: Peter Feiner --- powerpc/Makefile.common | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/powerpc/Makefile.common b/powerpc/Makefile.common index 424983e..7818c48 100644 --- a/powerpc/Makefile.common +++ b/powerpc/Makefile.common @@ -48,7 +48,8 @@ FLATLIBS = $(libcflat) $(LIBFDT_archive) $(TEST_DIR)/boot_rom.bin: $(TEST_DIR)/boot_rom.elf dd if=/dev/zero of=$@ bs=256 count=1 - $(OBJCOPY) -O binary $^ >(cat - >>$@) + $(OBJCOPY) -O binary $^ $@.suffix + cat $@.suffix >> $@ $(TEST_DIR)/boot_rom.elf: CFLAGS = -mbig-endian $(TEST_DIR)/boot_rom.elf: $(TEST_DIR)/boot_rom.o -- 2.7.0.rc3.207.g0ac5344