From patchwork Thu Mar 3 20:55:29 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Feiner X-Patchwork-Id: 8496141 Return-Path: X-Original-To: patchwork-kvm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 124559F8A8 for ; Thu, 3 Mar 2016 20:55:45 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 409A420392 for ; Thu, 3 Mar 2016 20:55:44 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 6FAD92035E for ; Thu, 3 Mar 2016 20:55:43 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757607AbcCCUzl (ORCPT ); Thu, 3 Mar 2016 15:55:41 -0500 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) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=from:to:cc:subject:date:message-id; bh=EZY9WEykJJBuJpYF5TTlSbizHnE2B06w3CdT+po5sQ4=; b=OOpg1LlCIrysL70TVerE+3/aXtFgrMkd4rBdcUJabmVm+qCqtlwlu/XDaiGZZn9e9s 79+rs63H9c13B0UM289Al6NYkC1NihBI42E/OsEy5suEu4kWxU8SDAKlEBDFB6UgItE9 O8cUkKwVolW0WX8w8jGH5r9s0Rv0+fkcAOzimC6Qd6Ei6NauORqGqCjKlBDBl0bBMU4P 318UG/qgqRizxkY+u+9A9oMCvcRRZcoTkBp1j2KiRNhN+Kt30CN7HqHhn2elaPsQsdbI DqxofQrIpUpjsoEeq70sxBybF9AYdjcx1HjruQMcGUjzdefdSdmMNa91vhS79FgLNjsF 2Zlg== 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=EZY9WEykJJBuJpYF5TTlSbizHnE2B06w3CdT+po5sQ4=; b=YLXrw5cpnoqxFf3adtfmkL3qcitFyrWntRnRSBA7DJXId2d7k4fSU8vTZvkl1iCLaC x21PKbZjtSxG90z9npVnw7bm4XierJejTqnPwuhsO3ZBpVck3JVyY5tko9CxypDEuQQo vYIRaqRK/D/y77x3hAjIcYsenvV3XE4f8P9USkQtPOU6u+qeufD1hw0dPIQopDHA3cRO 9I6aziXOs43uKjb42Dz/4sAVcWlkgVtFPX844A11VHcXhWtjpXNUckLRgLqgxt19QZ1k 7vns3gOordeSySWPrxs7sHKAzumcn81Lh4JVLwp+8jfz7ftmGTkSZu6ziPJFBlqtwM7M r7Ug== X-Gm-Message-State: AD7BkJJvQkOD37PEjp6nY3gyP2AhT39pvx57GbMIT0iUR92kJOHB+CwIdsSnM7rZXBcRKiBS X-Received: by 10.98.33.91 with SMTP id h88mr3802108pfh.54.1457038538943; Thu, 03 Mar 2016 12:55:38 -0800 (PST) Received: from localhost ([2620:0:1009:3:48a8:c9fe:5013:71d]) by smtp.gmail.com with ESMTPSA id r65sm240660pfa.27.2016.03.03.12.55.38 (version=TLS1_2 cipher=AES128-SHA bits=128/128); Thu, 03 Mar 2016 12:55:38 -0800 (PST) From: Peter Feiner To: kvm@vger.kernel.org, drjones@redhat.com, pbonzini@redhat.com Cc: pfeiner@google.com 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> X-Mailer: git-send-email 2.7.0.rc3.207.g0ac5344 Sender: kvm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: kvm@vger.kernel.org X-Spam-Status: No, score=-6.8 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, T_DKIM_INVALID, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP 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 Reviewed-by: Andrew Jones --- 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