From patchwork Fri Aug 8 15:23:09 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Geert Uytterhoeven X-Patchwork-Id: 4697001 Return-Path: X-Original-To: patchwork-linux-kbuild@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id A927A9F377 for ; Fri, 8 Aug 2014 15:24:02 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id D46AE20154 for ; Fri, 8 Aug 2014 15:24:01 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 0B2B920158 for ; Fri, 8 Aug 2014 15:24:01 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757150AbaHHPXb (ORCPT ); Fri, 8 Aug 2014 11:23:31 -0400 Received: from mail-we0-f169.google.com ([74.125.82.169]:44643 "EHLO mail-we0-f169.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752782AbaHHPXa (ORCPT ); Fri, 8 Aug 2014 11:23:30 -0400 Received: by mail-we0-f169.google.com with SMTP id u56so5784774wes.28 for ; Fri, 08 Aug 2014 08:23:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references; bh=ZmI8zCh2O2qDeZvURHS1/+GNORAaEjoRmifz32JFUlY=; b=iVBp8T/kuTuTrN/Yp93dcPkUK+HkhcSG0RUdsDz1gJ/H2BiGYwFZF52PciuLPhNS51 2XernmjozXvAaEx0cKS4BaYgdmiIhkDifaK05qldnJSnHXc7b45dG75U4KAAlMwxhHHZ aZaHIIkeOvLXSC3jJYIzsGdVXBVzHstPfyoDUc2JdqSeNtvuMUQD2alyEj1cTTT7ZhUb iGR0rEHa8hgKtYBmv+9RzcJJ0tyQ4BK/U+ZZHqnJ8LxcPIIYOF/W4HP+kmbNlnphdnmq xyq6FX2Oo9VJBwfM+Tf0z8xa8piqk/bb0uFTDVFnawuw3jJAs8nM6fZi4fK/g874kSLM bhOw== X-Received: by 10.194.174.66 with SMTP id bq2mr33139318wjc.96.1407511408602; Fri, 08 Aug 2014 08:23:28 -0700 (PDT) Received: from ramsan.of.borg (d54C154A7.access.telenet.be. [84.193.84.167]) by mx.google.com with ESMTPSA id mw4sm8077343wic.20.2014.08.08.08.23.24 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 08 Aug 2014 08:23:27 -0700 (PDT) From: Geert Uytterhoeven To: Michal Marek , Randy Dunlap Cc: linux-kbuild@vger.kernel.org, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, Geert Uytterhoeven Subject: [PATCH 3/4] Documentation: kbuild: Remove obsolete dtc_cpp section Date: Fri, 8 Aug 2014 17:23:09 +0200 Message-Id: <1407511390-5429-3-git-send-email-geert@linux-m68k.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1407511390-5429-1-git-send-email-geert@linux-m68k.org> References: <1407511390-5429-1-git-send-email-geert@linux-m68k.org> Sender: linux-kbuild-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kbuild@vger.kernel.org X-Spam-Status: No, score=-7.5 required=5.0 tests=BAYES_00,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 Commit b40b25fff8205dd18124d8fc87b2c9c57f269b5f ("kbuild: always run gcc -E on *.dts, remove cmd_dtc_cpp") improved the functionality of cmd_dtc_cpp and merged it back into cmd_dtc. Signed-off-by: Geert Uytterhoeven --- Documentation/kbuild/makefiles.txt | 23 ----------------------- 1 file changed, 23 deletions(-) diff --git a/Documentation/kbuild/makefiles.txt b/Documentation/kbuild/makefiles.txt index 1c6056f1b95f..4275a719f45f 100644 --- a/Documentation/kbuild/makefiles.txt +++ b/Documentation/kbuild/makefiles.txt @@ -1186,29 +1186,6 @@ When kbuild executes, the following steps are followed (roughly): clean-files += *.dtb DTC_FLAGS ?= -p 1024 - dtc_cpp - This is just like dtc as describe above, except that the C pre- - processor is invoked upon the .dtsp file before compiling the result - with dtc. - - In order for build dependencies to work, all files compiled using - dtc_cpp must use the C pre-processor's #include functionality and not - dtc's /include/ functionality. - - Using the C pre-processor allows use of #define to create named - constants. In turn, the #defines will typically appear in a header - file, which may be shared with regular C code. Since the dtc language - represents a data structure rather than code in C syntax, similar - restrictions are placed on a header file included by a device tree - file as for a header file included by an assembly language file. - In particular, the C pre-processor is passed -x assembler-with-cpp, - which sets macro __ASSEMBLY__. __DTS__ is also set. These allow header - files to restrict their content to that compatible with device tree - source. - - A central rule exists to create $(obj)/%.dtb from $(src)/%.dtsp; - architecture Makefiles do no need to explicitly write out that rule. - --- 6.8 Custom kbuild commands When kbuild is executing with KBUILD_VERBOSE=0, then only a shorthand