From patchwork Wed Jan 31 21:49:09 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ard Biesheuvel X-Patchwork-Id: 126416 Delivered-To: patch@linaro.org Received: by 10.46.124.24 with SMTP id x24csp1126436ljc; Wed, 31 Jan 2018 13:49:26 -0800 (PST) X-Google-Smtp-Source: AH8x227nBXsXR2tG1NwgmhQzLsfjaUzbGXdIP8JnfH2qNVM+3dzMOx8OPJIQiQ7GHlCOlUelOF/W X-Received: by 10.101.91.66 with SMTP id y2mr28358588pgr.11.1517435366777; Wed, 31 Jan 2018 13:49:26 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1517435366; cv=none; d=google.com; s=arc-20160816; b=XLefaZvuEUXppBvIhslemlqZBwzLTpFLRZCqvs6T34yl5nv5RAR6moeBSDq3B6p/1v 7CV7IKlpoO8FrxxE4tcSpUlQXCGl2E93XrGsfcINnLVbxkAp2UfxRxASq7gSi45eNXul XVo6e5GWKBKh2b1/OhFajBrQebiRlhFz34D8s1HIYM9E4WGWCyEZkARoSFP8OVClTdc3 v+o7QnFlj3hv75f9Hd6XqqoDRETFWLKBnV2QsxUGbH9LE9KU3Ih2bJYWVefPq26UgcTn cYsirlBWfxng5Lcmjus5zmsAdvLdsHpbXS1Rs03nT0/8sCnb0tNfwxzGakKoS73chn4A LsPA== 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:cc :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:message-id:date:to:from:dkim-signature :delivered-to:arc-authentication-results; bh=LLya9FP9LRxv1SgXk2Zeq6/195Jh0qQdZMVSqoUnxSM=; b=1FIEJo62KXAkUZGlAglGdes8uB4N9Zs3SGkAipsRplhVeX/C2xgtsvvd/7IWI/7N4G ME8K06K/Npp/sWo7n15vl53SdOBQx1M6GW70vF82sZ32/eN/nmwAySeSgAz4OriHxNTP IrcSFJT9ZMeIND/8Vv2qgd9oWEXTgpnKHfWJUDUnBdVAiCOYb5msiOOd3LgmHiMZktXI uVNjbyeOZx33dlUpzoJo0xRkzCRjSkgG++b85YDmDv/R8y1LAA72rqFYjkRBnBwd9shQ 3AAXQH3w3yn9pzjP+qqJ6uqBngfvBESxngLgqUSB1PFo9T9ss2pezI31HWoCUwMSWxTf Fypg== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=G41F02N8; spf=pass (google.com: best guess record for domain of edk2-devel-bounces@lists.01.org designates 198.145.21.10 as permitted sender) smtp.mailfrom=edk2-devel-bounces@lists.01.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from ml01.01.org (ml01.01.org. [198.145.21.10]) by mx.google.com with ESMTPS id z8-v6si652155pll.462.2018.01.31.13.49.26 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 31 Jan 2018 13:49:26 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of edk2-devel-bounces@lists.01.org designates 198.145.21.10 as permitted sender) client-ip=198.145.21.10; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=G41F02N8; spf=pass (google.com: best guess record for domain of edk2-devel-bounces@lists.01.org designates 198.145.21.10 as permitted sender) smtp.mailfrom=edk2-devel-bounces@lists.01.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from [127.0.0.1] (localhost [IPv6:::1]) by ml01.01.org (Postfix) with ESMTP id 5C38122393652; Wed, 31 Jan 2018 13:43:49 -0800 (PST) X-Original-To: edk2-devel@lists.01.org Delivered-To: edk2-devel@lists.01.org Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=2a00:1450:400c:c0c::241; helo=mail-wr0-x241.google.com; envelope-from=ard.biesheuvel@linaro.org; receiver=edk2-devel@lists.01.org Received: from mail-wr0-x241.google.com (mail-wr0-x241.google.com [IPv6:2a00:1450:400c:c0c::241]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id A832022393624 for ; Wed, 31 Jan 2018 13:43:47 -0800 (PST) Received: by mail-wr0-x241.google.com with SMTP id v31so16659242wrc.11 for ; Wed, 31 Jan 2018 13:49:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id; bh=dZiV7YuwY3JLoljDwJghAYUSqfbJXox/IdZoeBOAgGQ=; b=G41F02N809C6x6BKGZjW1Tvg8OAIbmGaGcFvqAVFl2RbGImEtIvCa1rtB2P0Jkne+w A8zcMJbUOetvYmh3ESWXgrXWgsWEWnMQFnvM2d9KA46l0o6AK5Elz3Yp1bJTVu6yV1vm yYN2H7wzIy6nRIUwzwOMCzZqrHtt24VFei3C0= 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; bh=dZiV7YuwY3JLoljDwJghAYUSqfbJXox/IdZoeBOAgGQ=; b=hRvZKrii1gpPWBV61Spi9KH8Qv870VNI+3HCvlkUwg+8xzHeUXDNTrz0sf1/SqarOS ZTeuyKc8RuBB/fXMyQrGtFRCUh7J6blS9H6/e/rQjVFxhUPrAcyz+JnuDhpAMpZRkSh5 oOFiSvMEv6Kut553wFKegmo9Iv0ml8595ZqT4RHWS9p+cKSTvodlXOi6B2UtvEbZDEV4 E/CazICmDJ7hlEDQbGYGNT/WkQkhGnIvecrCgAKYh5FnEUwrTNFTArx9fBSL2qX8cIn/ 01MEw10cshCJTrmN4gNFMwQJ2CKXpFYUtkwNi/KztoOFfgp2la2G0MmLgqjhqIwgxj1+ EOVA== X-Gm-Message-State: AKwxyte2SlPyxWoJ5rXgV6JCKbWq+9ABQWu2D5o7MnH3GWOAzth4N9To 1n/IYEFLgGx0hCW8nwLtGQp65oQNAmw= X-Received: by 10.223.177.150 with SMTP id q22mr11995815wra.20.1517435361230; Wed, 31 Jan 2018 13:49:21 -0800 (PST) Received: from localhost.localdomain ([160.164.249.13]) by smtp.gmail.com with ESMTPSA id o82sm758750wmo.30.2018.01.31.13.49.19 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 31 Jan 2018 13:49:20 -0800 (PST) From: Ard Biesheuvel To: edk2-devel@lists.01.org Date: Wed, 31 Jan 2018 21:49:09 +0000 Message-Id: <20180131214909.1103-1-ard.biesheuvel@linaro.org> X-Mailer: git-send-email 2.11.0 Subject: [edk2] [PATCH] BaseTools/build_rule: pass contents of DTC_FLAGS device tree compiler X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: lersek@redhat.com, liming.gao@intel.com, Ard Biesheuvel MIME-Version: 1.0 Errors-To: edk2-devel-bounces@lists.01.org Sender: "edk2-devel" To allow device tree compilation to be customized at the platform or module level, pass the contents of the DTC_FLAGS variable on the dtc command line. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Ard Biesheuvel --- BaseTools/Conf/build_rule.template | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.11.0 _______________________________________________ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel diff --git a/BaseTools/Conf/build_rule.template b/BaseTools/Conf/build_rule.template index 3e6aa8ff0f34..a5e471eb3c10 100755 --- a/BaseTools/Conf/build_rule.template +++ b/BaseTools/Conf/build_rule.template @@ -250,7 +250,7 @@ "$(PP)" $(DTCPP_FLAGS) $(INC) ${src} > ${d_path}(+)${s_base}.i - "$(DTC)" -I dts -O dtb -o ${dst} ${d_path}(+)${s_base}.i + "$(DTC)" $(DTC_FLAGS) -I dts -O dtb -o ${dst} ${d_path}(+)${s_base}.i [Visual-Form-Representation-File]