From patchwork Fri Oct 25 10:07:40 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: AKASHI Takahiro X-Patchwork-Id: 1183982 X-Patchwork-Delegate: trini@ti.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (no SPF record) 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=linaro.org Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=linaro.org header.i=@linaro.org header.b="ybyTTtvi"; dkim-atps=neutral Received: from lists.denx.de (dione.denx.de [81.169.180.215]) by ozlabs.org (Postfix) with ESMTP id 4700Qg45vgz9s7T for ; Fri, 25 Oct 2019 21:16:59 +1100 (AEDT) Received: by lists.denx.de (Postfix, from userid 105) id 24768C21EC9; Fri, 25 Oct 2019 10:13:57 +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_H3, RCVD_IN_MSPIKE_WL, 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 62E34C21F00; Fri, 25 Oct 2019 10:08:44 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id 424D9C21ECF; Fri, 25 Oct 2019 10:08:36 +0000 (UTC) Received: from mail-pf1-f182.google.com (mail-pf1-f182.google.com [209.85.210.182]) by lists.denx.de (Postfix) with ESMTPS id 55278C21EB9 for ; Fri, 25 Oct 2019 10:08:19 +0000 (UTC) Received: by mail-pf1-f182.google.com with SMTP id c7so82913pfo.12 for ; Fri, 25 Oct 2019 03:08:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=nExw+gzFMYTYWKNADNtOUNSgBlY/MTPvzAyVaXmFJDU=; b=ybyTTtviDAIXh6j9hwMdw/n86yi3b+iaTzHcveJcKnxkAhKTiV3IiQs8OzMxGsFkoz UETkt13Sw7RJVlz2+lE57Ua3nle+vDAHq81bQvRJ98oAv+9dWYqh2hd5/My/kclljVfv Oc5JhSjQ83D65giGUaPT7FCmaWXok6qS9gke7sxz8Tk6GHWc1qzq7ZF5i8wGhx9zvkb1 eLfPbQmOn+/+4x0aDzxGUg9KKLgjDN2MuVlUHhbeCGHjyf9QJJdM4w5uvjs7obNi8wh+ ryMup2DPFlzS5DtDDaAD++6CK4yetPgFm0E8MQ7CqK9byFq6Sn7OhA9nrNy3EAusEncP F34w== 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=nExw+gzFMYTYWKNADNtOUNSgBlY/MTPvzAyVaXmFJDU=; b=SMZIVUbD9Y7AFdJ/KVd5q1IgU064zUyjtb19cPUS0xd3WXpYDwZp1mUDv0o4s7kiMy mycmRaXRVV3MgM5OsOvkI620jYtBeFBFY9oSt0PbnnZPdsGAhwK6FaGodwf7CzGSFdq4 LDgWQAUZpuWH/xQwBwS7VSyT5/lesbyeBYrErpshQdGV81MVjZVqqofuvI0vTrNUhaTT 9RZLEd122zKnDdLeKarLJbjkdKBYkSePmhlLMwasc7rvJdQsIEPMkzQW6w1MCxL7TZm2 55tAuSC7qnXCVxC2J/tY0zbRSbmRVB0j1LnER6tgDwSH+OzrvMvl5bwY1ckZL4ILPpsV dNdg== X-Gm-Message-State: APjAAAVBHHJUpXG+BvqXHpqEKH+15T+9iYEkhpBtehqAodq4WFKPEoXt H5n3oNM+P9VMzbdu5kezrFEDLQ== X-Google-Smtp-Source: APXvYqy3RvgI2AnQQ1tGBAj6M6BZvE9Xu/BNFx1reOVXvTbw3p3f4UBlqBg28I+3YpcXaobLo+aIxQ== X-Received: by 2002:a62:61c4:: with SMTP id v187mr3262133pfb.149.1571998097942; Fri, 25 Oct 2019 03:08:17 -0700 (PDT) Received: from linaro.org ([121.95.100.191]) by smtp.googlemail.com with ESMTPSA id p1sm1767167pfb.112.2019.10.25.03.08.16 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 25 Oct 2019 03:08:17 -0700 (PDT) From: AKASHI Takahiro To: trini@konsulko.com, xypron.glpk@gmx.de, agraf@csgraf.de Date: Fri, 25 Oct 2019 19:07:40 +0900 Message-Id: <20191025100749.16165-9-takahiro.akashi@linaro.org> X-Mailer: git-send-email 2.21.0 In-Reply-To: <20191025100749.16165-1-takahiro.akashi@linaro.org> References: <20191025100749.16165-1-takahiro.akashi@linaro.org> MIME-Version: 1.0 Cc: u-boot@lists.denx.de Subject: [U-Boot] [PATCH v2 08/17] Makefile: add build script for asn1 parsers 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" This rule will be used to build x509 and pkcs7 parsers. Signed-off-by: AKASHI Takahiro --- Makefile | 1 + scripts/Makefile.build | 4 +++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 54da5cd51cea..66ef4503e606 100644 --- a/Makefile +++ b/Makefile @@ -1878,6 +1878,7 @@ clean: $(clean-dirs) -o -name '*.ko.*' -o -name '*.su' -o -name '*.pyc' \ -o -name '.*.d' -o -name '.*.tmp' -o -name '*.mod.c' \ -o -name '*.lex.c' -o -name '*.tab.[ch]' \ + -o -name '*.asn1.[ch]' \ -o -name '*.symtypes' -o -name 'modules.order' \ -o -name modules.builtin -o -name '.tmp_*.o.*' \ -o -name 'dsdt.aml' -o -name 'dsdt.asl.tmp' -o -name 'dsdt.c' \ diff --git a/scripts/Makefile.build b/scripts/Makefile.build index 26eb701f8dea..6d59ea91fac3 100644 --- a/scripts/Makefile.build +++ b/scripts/Makefile.build @@ -419,9 +419,11 @@ targets += $(multi-used-y) $(multi-used-m) intermediate_targets = $(foreach sfx, $(2), \ $(patsubst %$(strip $(1)),%$(sfx), \ $(filter %$(strip $(1)), $(targets)))) +# %.asn1.o <- %.asn1.[ch] <- %.asn1 # %.lex.o <- %.lex.c <- %.l # %.tab.o <- %.tab.[ch] <- %.y -targets += $(call intermediate_targets, .lex.o, .lex.c) \ +targets += $(call intermediate_targets, .asn1.o, .asn1.c .asn1.h) \ + $(call intermediate_targets, .lex.o, .lex.c) \ $(call intermediate_targets, .tab.o, .tab.c .tab.h) # Descending