From patchwork Wed Oct 5 00:25:36 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Glass X-Patchwork-Id: 678277 X-Patchwork-Delegate: trini@ti.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from theia.denx.de (theia.denx.de [85.214.87.163]) by ozlabs.org (Postfix) with ESMTP id 3spc6N5YJPz9sCg for ; Wed, 5 Oct 2016 11:26:52 +1100 (AEDT) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=google.com header.i=@google.com header.b=UElwLpWZ; dkim-atps=neutral Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id E69A0A767E; Wed, 5 Oct 2016 02:26:36 +0200 (CEST) Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 3ocSS9IECJGX; Wed, 5 Oct 2016 02:26:36 +0200 (CEST) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id DE9FDB3843; Wed, 5 Oct 2016 02:26:26 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 6BC37A7673 for ; Wed, 5 Oct 2016 02:26:06 +0200 (CEST) Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 6sLzyE5fWG-f for ; Wed, 5 Oct 2016 02:26:06 +0200 (CEST) X-policyd-weight: NOT_IN_SBL_XBL_SPAMHAUS=-1.5 NOT_IN_SPAMCOP=-1.5 NOT_IN_BL_NJABL=-1.5 (only DNSBL check requested) Received: from mail-oi0-f44.google.com (mail-oi0-f44.google.com [209.85.218.44]) by theia.denx.de (Postfix) with ESMTPS id 2A370B3823 for ; Wed, 5 Oct 2016 02:26:02 +0200 (CEST) Received: by mail-oi0-f44.google.com with SMTP id r126so254009601oib.0 for ; Tue, 04 Oct 2016 17:26:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references; bh=8Abn23KazTmgkZWcGZxtLMYQO2Rlc7GZwQ1hIyxqitA=; b=UElwLpWZW4+8FJ+k+uHEKRzizdP6le2QFAplPDTdfcFHUSRXCQTUQ5NWacRiwpdxXC /rzpSdWtVYgjlyBL7c9tpEvCOoY55hGCtlK54DAttdxP7/oTe4/4idHVWbyBEsgyglA5 AAQ+t9RH0V8DjqjRC3CeMzvEUA0tx0+KDRa+BYWW/s7bzmKFH8xy4haZgWAx4GEtfBGq JCM53YcAyQ/Gt/+Jasj84C5oaOX6zdpCNBA5YDtfKoD6+IWttdVZEBEz0k8nfZCzAi+u 5gcfGdOIMdA1R0NZlqVuvXKTy9lACHliZJ/NVJUK9aGQYt/llTlk9KdUTHZuYMS4Nb6y qwlA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references; bh=8Abn23KazTmgkZWcGZxtLMYQO2Rlc7GZwQ1hIyxqitA=; b=JRaZ/Jez8HYYotN9Pu7kwpZC7tSGzoQU1xfi0yM/KZb97N5OozYZ85fmgNmlkRrEFY ySeE66J/aSThMo0Al0WmEFN4P6+LjVXOnue84jEEjDOIWrh/xgqhKA/LRX4Q/D1BPNVO I6pfx68xTx0IYRthN077xkvGzs/WMieTR3TNrmmqN0Z+lO+d61yc9LqbKfQ0b0wB9xQZ MDdZhy1JYTcDgG2onjCo8Q6G65MMGODiDqxudZw0dilvSfvqzgv3autZTLI++1OQjTDa e3Baq2oCkpR0ltTYyQKpkmIh5B8Yxdrh4wTjkCmUC46JJvWFhMoh6zT5I2qtIbyahAvp wJVA== X-Gm-Message-State: AA6/9Rn6wu4kKtE5oM5gfMvR+LWnraswJIkSDRxqhSAvweqto78QoZdRe2smxTPaLsOVvfr5 X-Received: by 10.202.196.69 with SMTP id u66mr1817810oif.101.1475627160914; Tue, 04 Oct 2016 17:26:00 -0700 (PDT) Received: from kaki.bld.corp.google.com ([100.100.202.55]) by smtp.gmail.com with ESMTPSA id w22sm931021oie.21.2016.10.04.17.26.00 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 04 Oct 2016 17:26:00 -0700 (PDT) Received: by kaki.bld.corp.google.com (Postfix, from userid 121222) id DE977220A3A; Tue, 4 Oct 2016 18:25:59 -0600 (MDT) From: Simon Glass To: U-Boot Mailing List Date: Tue, 4 Oct 2016 18:25:36 -0600 Message-Id: <1475627140-8617-7-git-send-email-sjg@chromium.org> X-Mailer: git-send-email 2.8.0.rc3.226.g39d4020 In-Reply-To: <1475627140-8617-1-git-send-email-sjg@chromium.org> References: <1475627140-8617-1-git-send-email-sjg@chromium.org> Cc: Tom Rini Subject: [U-Boot] [PATCH v3 06/10] binman: Add a build rule for binman X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.15 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" Add a standard command definition for binman so that it can be used in makefiles. Signed-off-by: Simon Glass --- Changes in v3: None Changes in v2: None Makefile | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Makefile b/Makefile index b5c9421..a5428a2 100644 --- a/Makefile +++ b/Makefile @@ -889,6 +889,12 @@ u-boot.ldr: u-boot $(LDR) -T $(CONFIG_CPU) -c $@ $< $(LDR_FLAGS) $(BOARD_SIZE_CHECK) +# binman +# --------------------------------------------------------------------------- +quiet_cmd_binman = BINMAN $@ +cmd_binman = $(srctree)/tools/binman/binman -d u-boot.dtb -O . \ + -I . -I $(srctree)/board/$(BOARDDIR) $< + OBJCOPYFLAGS_u-boot.ldr.hex := -I binary -O ihex OBJCOPYFLAGS_u-boot.ldr.srec := -I binary -O srec