From patchwork Sat Aug 24 13:22:58 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Glass X-Patchwork-Id: 1152636 X-Patchwork-Delegate: sjg@chromium.org Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=lists.denx.de (client-ip=81.169.180.215; helo=lists.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=chromium.org Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=chromium.org header.i=@chromium.org header.b="jAPvkWjr"; dkim-atps=neutral Received: from lists.denx.de (dione.denx.de [81.169.180.215]) by ozlabs.org (Postfix) with ESMTP id 46FztC1H2Qz9s7T for ; Sat, 24 Aug 2019 23:40:35 +1000 (AEST) Received: by lists.denx.de (Postfix, from userid 105) id D9303C21E7D; Sat, 24 Aug 2019 13:33:26 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on lists.denx.de X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=RCVD_IN_MSPIKE_H2, T_DKIM_INVALID autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.denx.de (localhost [IPv6:::1]) by lists.denx.de (Postfix) with ESMTP id 6B104C21C50; Sat, 24 Aug 2019 13:30:55 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id 4E52AC21DEC; Sat, 24 Aug 2019 13:27:43 +0000 (UTC) Received: from mail-io1-f68.google.com (mail-io1-f68.google.com [209.85.166.68]) by lists.denx.de (Postfix) with ESMTPS id 8B4EBC21E12 for ; Sat, 24 Aug 2019 13:27:38 +0000 (UTC) Received: by mail-io1-f68.google.com with SMTP id p12so26732928iog.5 for ; Sat, 24 Aug 2019 06:27:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=RCWDR34j1/1r6mr6S4bBmw8KMbTri/1NSTN8pWOZ6Q4=; b=jAPvkWjrZE+AlzvVLPnmr1h817HMxL0PgXRCx6DmoNuvnoyyuDEMYP2HsdvDUjCHwb lQRi/JoBv2oop/td+a8faoMwJbBDXUGTjcpTaFzPGS6t/PBKLLb7TbhyYC74Zf14+KWK 9vkr/RnF2r/iS/r3Mg4MmIk5oCg4WvyVSvHB0= 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=RCWDR34j1/1r6mr6S4bBmw8KMbTri/1NSTN8pWOZ6Q4=; b=aB4uldkDpNu/MaNvjcqViukV8R7Kq2TNLsdV+RIBtUkH/vmJvzxpbIT0d9RiUk/8L6 GowZfmvhzbXWAXduZ/79TEaEfCYbjT7jIykSAKkVIDGox3czymOrgTIOZu8yd7B+BCx5 ox69UZRp0tiz0p0zmXtgk3QDOpb020DhI1tyE7cPWclzuMHjViMqC8mA2hSINIsn9XMO yefvzN9XQDXqnJA10i7eYwKEpGfOarrdyDFubJPJErQXQ6zinjV1lzaGQ9MJh2xzQBUf SWxdGZd/R2KzQpco4gBcQBWybNS1yFv5mGQyxnZ8YlWMS7hi/0ZYjAXGAi5jmEabamWp HJWg== X-Gm-Message-State: APjAAAWGGHny/j9uapckt4g7lbLrpp8/S1XIYLSEq+DROeXf/LSdrejG YWzPD7XjS/FM7e6+6Hd1cKf2cB6FkQc= X-Google-Smtp-Source: APXvYqwTryuZyMoSBWpwzmLEQYrKpGzQJRX+OQ8Bs85wXV+t+xGyCBtnq2zFrswWel59OyxAWo1SpA== X-Received: by 2002:a6b:fd10:: with SMTP id c16mr12518951ioi.217.1566653257343; Sat, 24 Aug 2019 06:27:37 -0700 (PDT) Received: from kiwi.bld.corp.google.com ([2620:15c:183:0:8223:87c:a681:66aa]) by smtp.gmail.com with ESMTPSA id l2sm8881790ioq.83.2019.08.24.06.27.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 24 Aug 2019 06:27:37 -0700 (PDT) From: Simon Glass To: U-Boot Mailing List Date: Sat, 24 Aug 2019 07:22:58 -0600 Message-Id: <20190824132315.53130-19-sjg@chromium.org> X-Mailer: git-send-email 2.23.0.187.g17f5b7556c-goog In-Reply-To: <20190824132315.53130-1-sjg@chromium.org> References: <20190824132315.53130-1-sjg@chromium.org> MIME-Version: 1.0 Subject: [U-Boot] [PATCH 18/34] binman: Use the Makefile for u_boot_binman_syms_bad X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.18 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" Remove this file from git and instead build it using the Makefile. Signed-off-by: Simon Glass Signed-off-by: Simon Glass --- tools/binman/elf_test.py | 4 ++-- tools/binman/test/Makefile | 2 +- tools/binman/test/u_boot_binman_syms_bad | Bin 4890 -> 0 bytes 3 files changed, 3 insertions(+), 3 deletions(-) delete mode 100755 tools/binman/test/u_boot_binman_syms_bad diff --git a/tools/binman/test/u_boot_binman_syms_bad b/tools/binman/test/u_boot_binman_syms_bad deleted file mode 100755 index 8da3d9d48f388a9be53e92590984411691f6721f..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 4890 zcmeHLJ!=$E6up~WjOjLFrOg&wtVkY797F^`2yqpRVv#}#JZ3VBF6_=MJ8y(ENwASv zTZuow-an8(k|ITFk^BHXXW!gp@?m5BF5I~v=e#@bo!MsJ-ulaDjYdP%=A?|UEab!>$^ba;d9Esg+fF-hI&dUhZQ7UZ1yrOXM4R zYC2Er>!RM|@O-r9g*UTShR0j-`;X7g>pMufp8HzF`iCBxJ=-|V6J$O3O*rv)h}25? zACdEJh}H)F8BzDcT1uPbxwGeAzOYH0nr+cmMJOgCJDKJaJIM>Ng^Q=|8p>*oQ;n?F U$JtH|)8YK34YE{hz2S%d1wo~NOaK4? diff --git a/tools/binman/elf_test.py b/tools/binman/elf_test.py index a913970150..1ee5d9d57c 100644 --- a/tools/binman/elf_test.py +++ b/tools/binman/elf_test.py @@ -72,7 +72,7 @@ def BuildElfTestFiles(target_dir): os.path.join(testdir, 'Makefile'), 'SRC=%s/' % testdir, 'bss_data', 'u_boot_ucode_ptr', 'u_boot_no_ucode_ptr', 'u_boot_binman_syms', 'u_boot_binman_syms.bin', - 'u_boot_binman_syms_size') + 'u_boot_binman_syms_size', 'u_boot_binman_syms_bad') class TestElf(unittest.TestCase): @@ -134,7 +134,7 @@ class TestElf(unittest.TestCase): """ entry = FakeEntry(10) section = FakeSection() - elf_fname = os.path.join(binman_dir, 'test', 'u_boot_binman_syms_bad') + elf_fname = self.ElfTestFile('u_boot_binman_syms_bad') self.assertEqual(elf.LookupAndWriteSymbols(elf_fname, entry, section), None) diff --git a/tools/binman/test/Makefile b/tools/binman/test/Makefile index 7af5459793..593bbe9bd9 100644 --- a/tools/binman/test/Makefile +++ b/tools/binman/test/Makefile @@ -13,7 +13,7 @@ CFLAGS := -march=i386 -m32 -nostdlib -I $(SRC)../../../include \ LDS_UCODE := -T $(SRC)u_boot_ucode_ptr.lds LDS_BINMAN := -T $(SRC)u_boot_binman_syms.lds -LDS_BINMAN_BAD := -T u_boot_binman_syms_bad.lds +LDS_BINMAN_BAD := -T $(SRC)u_boot_binman_syms_bad.lds TARGETS = u_boot_ucode_ptr u_boot_no_ucode_ptr bss_data \ u_boot_binman_syms u_boot_binman_syms.bin u_boot_binman_syms_bad \