From patchwork Tue Oct 17 01:11:40 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masahiro Yamada X-Patchwork-Id: 115998 Delivered-To: patch@linaro.org Received: by 10.140.22.163 with SMTP id 32csp4298372qgn; Mon, 16 Oct 2017 18:16:38 -0700 (PDT) X-Google-Smtp-Source: AOwi7QBitk0eyW8uM9LeWyAyyDYGwfE4sqB+e5LcB2+r/bBRDn35DmHknhj7b64zQH/ypw+6x7b8 X-Received: by 10.80.137.91 with SMTP id f27mr14536934edf.18.1508202998568; Mon, 16 Oct 2017 18:16:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1508202998; cv=none; d=google.com; s=arc-20160816; b=zwIUNHYAb8K4J0P+SIZYs187y5MIwRUQQWLTf8ZU5va2HsQrtaT5FIlX9V/PLeLswu Yu6sf1w9nzenCNLtxnOnWdkciD4d1ebl8aI0k2hzdNiX6QXmm91dByK/xSGJghFRPY+s DreKiPNcW8HPnLIVXxQ6ErdwOdt9PAF7jUZRV8OWxD12sUJfiQScy6b/ub2K8rw/TwA8 LOQodT8SYB6tQsZRAltzEEYkEvMYKyGPib/WnP6rUgogjvrpXm+LbC4pYIeu0ZqkdmYB AtSC1dhtYHZ3WaNyayzff4wsCkVBygubIgr1PCSbvVrSQY3McCHGtCLHxIq1Z+7TKrVm WvcA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:mime-version :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:cc:message-id:date:to:from :dkim-signature:dkim-filter:arc-authentication-results; bh=ENqhNv8rDBthXGuNrNJi2+T9Z9g8mZDEPxVEDzMp4QI=; b=ncEQeyagJ4yYsgK1DdbBx9MEqKrLIGlc0viP1LQNloj93YaMp4oSrvBuw39xfRyFgr uo8vH3p060OPu6F6kyRSmtVOqqi4oC/i438Gb/XStL3Fu6Tg7g0gdMoqACGQHJ+p2yCg udIJbGT7489arYnA6vQICWd7yVKAb6VzTGHL8iS/Jn1m7JlNopjlMtHMbsLUzh/FCGua sw+JMmKStslNlj9Z1udrzhVSa66MrfIN3BjYYFh+KzWEAZ0QkfBP5iiuRjKLp76x7SaH Wfvw1J5pAAUFMa4Id4lrWBqcMcVPMCc6JQwZ90SdPVXOb9BF+ye+scz+NksbBXnpSkPD 1KTQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@nifty.com header.s=dec2015msa header.b=Tg0AKuhr; spf=pass (google.com: best guess record for domain of u-boot-bounces@lists.denx.de designates 81.169.180.215 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de Return-Path: Received: from lists.denx.de (dione.denx.de. [81.169.180.215]) by mx.google.com with ESMTP id z8si1483960edi.549.2017.10.16.18.16.38; Mon, 16 Oct 2017 18:16:38 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of u-boot-bounces@lists.denx.de designates 81.169.180.215 as permitted sender) client-ip=81.169.180.215; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@nifty.com header.s=dec2015msa header.b=Tg0AKuhr; spf=pass (google.com: best guess record for domain of u-boot-bounces@lists.denx.de designates 81.169.180.215 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de Received: by lists.denx.de (Postfix, from userid 105) id 0B363C21D82; Tue, 17 Oct 2017 01:16:37 +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=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 E6903C21D76; Tue, 17 Oct 2017 01:13:10 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id C2CC0C21D6A; Tue, 17 Oct 2017 01:13:08 +0000 (UTC) Received: from conuserg-09.nifty.com (conuserg-09.nifty.com [210.131.2.76]) by lists.denx.de (Postfix) with ESMTPS id C9727C21D90 for ; Tue, 17 Oct 2017 01:12:51 +0000 (UTC) Received: from pug.e01.socionext.com (p14092-ipngnfx01kyoto.kyoto.ocn.ne.jp [153.142.97.92]) (authenticated) by conuserg-09.nifty.com with ESMTP id v9H1Bnl2015917; Tue, 17 Oct 2017 10:11:49 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-09.nifty.com v9H1Bnl2015917 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1508202710; bh=xPi0empbzAaSREMwtgZSWbKHbmqSqmXA+nXMbJl8ZDU=; h=From:To:Cc:Subject:Date:From; b=Tg0AKuhrvrmMOC+3Cu7mNBA3kZu8Nu1JzzUL8u9ANjn+P3Tm8DQkCi9tXSo5zLQCI pshNp9khLF5LdSivE0v25MnSJ0oTeWSj+5XR0w2wtcgBDeUC56Q+SlB/lp092crAaO Qf4FL9WWbWbzRT2L5rNWp9aFyqps8QKf3rtCGHpYAOH081tkUBjslrd0w/oAbbPhMQ 6X2Yr0fgqExsiD3GHBlhVZ8XnaVZ15hUow0iurQ3yCzEKebQiZ8RxYcgUIyBdCiXAy uK/BJ/4KO3sZLWaBHpzJNGlAyQ+n0hWFg3hhl0yunZbabGPjUNy4/XmzxlL10Xt5DK NUe70+jc/0inQ== X-Nifty-SrcIP: [153.142.97.92] From: Masahiro Yamada To: u-boot@lists.denx.de Date: Tue, 17 Oct 2017 10:11:40 +0900 Message-Id: <1508202703-23165-1-git-send-email-yamada.masahiro@socionext.com> X-Mailer: git-send-email 2.7.4 Cc: Tom Rini Subject: [U-Boot] [PATCH 0/3] pylibfdt: compile pylibfdt in scripts/dtc/pylibfdt only when necessary 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: , MIME-Version: 1.0 Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" Masahiro Yamada (3): dtc: libfdt: import fdt_addresses.c and fdt_overlay.c pylibfdt: move pylibfdt to scripts/dtc/pylibfdt and refactor makefile pylibfdt: compile pylibfdt only when dtoc/binman is necessary Makefile | 17 +- arch/arm/Kconfig | 1 + arch/x86/Kconfig | 1 + dts/Kconfig | 13 + scripts/Makefile.spl | 17 +- scripts/dtc/Makefile | 3 + scripts/dtc/libfdt/fdt_addresses.c | 96 +++ scripts/dtc/libfdt/fdt_overlay.c | 861 +++++++++++++++++++++ scripts/dtc/pylibfdt/.gitignore | 4 + scripts/dtc/pylibfdt/Makefile | 30 + .../dtc/pylibfdt/libfdt.i_shipped | 0 {lib/libfdt => scripts/dtc}/pylibfdt/setup.py | 0 tools/.gitignore | 4 - tools/Makefile | 30 - tools/binman/binman.py | 2 +- 15 files changed, 1015 insertions(+), 64 deletions(-) create mode 100644 scripts/dtc/libfdt/fdt_addresses.c create mode 100644 scripts/dtc/libfdt/fdt_overlay.c create mode 100644 scripts/dtc/pylibfdt/.gitignore create mode 100644 scripts/dtc/pylibfdt/Makefile rename lib/libfdt/pylibfdt/libfdt.i => scripts/dtc/pylibfdt/libfdt.i_shipped (100%) rename {lib/libfdt => scripts/dtc}/pylibfdt/setup.py (100%)