From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Thu, 03 Jun 2021 12:44:14 +0200 Received: from metis.ext.pengutronix.de ([2001:67c:670:201:290:27ff:fe1d:cc33]) by lore.white.stw.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1lokpi-00054g-JJ for lore@lore.pengutronix.de; Thu, 03 Jun 2021 12:44:14 +0200 Received: from localhost ([127.0.0.1] helo=metis.ext.pengutronix.de) by metis.ext.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1lokpi-000592-5E; Thu, 03 Jun 2021 12:44:14 +0200 Received: from mail-vi1eur05on2086.outbound.protection.outlook.com ([40.107.21.86] helo=EUR05-VI1-obe.outbound.protection.outlook.com) by metis.ext.pengutronix.de with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lokox-00058n-5K; Thu, 03 Jun 2021 12:43:28 +0200 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=HTgCJgNrUO+Mj295Mozlf9QG5oH1sm0hgLqxcNuzSYJ/YRS2IVOZOFDpJmfa6MNm6L3LUS4J3x1zhxW3C0co7r8rf3HjAHqBk/7E9KmbYJlE3Ct+wTH6tlGzG8VL7F+i77VaSUh+1yVdizq2ZhB5wLIV94KgyrkOWJGxQoEV40tp6CqBYmy7nQMWszNUBmOL5ig47cMr7cThDKRAPEQVlaWczSUY2mUgtV+w+P2VKLHOs22aJ/9ifCQEd9ucuIIcrqOQt5txqRSWw1deXe4xZHGdHSxKt+gr+DP91tmg3HfwAxXYPHdspUjNTzIN92PjpPovKGJA2zYasQKAjUnqew== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=02AO9N1En44fBatwNDYD8it8DgLxqkY2eZNe/XIqE/U=; b=LcqmkxfawR8OSkm9j+RUqEiPSFqyC2/lAoMKoQ9l6cnV+YxCmQywmk1OSzyDSbuxmnfNoVYSSVIcjaYnr/10Uoj0N4YlJyFFTRRkl4bJQLLkob+t1wFj9b1WoOutGPSaXjr/czTVBQODfFdOFbF2YyRQVdq/Jn1nk1ehWa2KqBOzfXkKxey8d1rV2a58PrrUjv9RNdsvlgS+hVoSfj7+2eWFzRRLsrzBtaJxL0YLUyvCCFy3FSyo22HkN4Y6KjX4zBLU9t6z1RAKdA03uuIp+rbq2b+JnSrL6MMepvXiyNAnD90kIcllCOLkUfWGp7yxcvG2iBpVqNfU20hbQBhS0g== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=t2data.com; dmarc=pass action=none header.from=t2data.com; dkim=pass header.d=t2data.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=t2datacom.onmicrosoft.com; s=selector1-t2datacom-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=02AO9N1En44fBatwNDYD8it8DgLxqkY2eZNe/XIqE/U=; b=feHhE12mWGj1AG2Wcg9RbW/CKdDciojhUNwie7k7znZKI4L+1dzk4Btg2d7ONsjkIWan1M8lCRoKADdZb79gNRCZBnHJqkh9S06kGZy64rVPKgqNwwwDY5v9hviPNncHHfOkagdLr5lTD22hYklBzvGCby1fNvnMaU33oj3F98w= Authentication-Results: pengutronix.de; dkim=none (message not signed) header.d=none;pengutronix.de; dmarc=none action=none header.from=t2data.com; Received: from HE1PR0602MB2858.eurprd06.prod.outlook.com (2603:10a6:3:da::10) by HE1PR0601MB2284.eurprd06.prod.outlook.com (2603:10a6:3:90::23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4195.20; Thu, 3 Jun 2021 10:43:24 +0000 Received: from HE1PR0602MB2858.eurprd06.prod.outlook.com ([fe80::45ab:82f:2e40:b921]) by HE1PR0602MB2858.eurprd06.prod.outlook.com ([fe80::45ab:82f:2e40:b921%10]) with mapi id 15.20.4195.020; Thu, 3 Jun 2021 10:43:24 +0000 To: ptxdist@pengutronix.de, Michael Tretter References: <20210602121910.2527-1-christian.melki@t2data.com> <20210603072114.GC12967@pengutronix.de> From: Christian Melki Message-ID: <262ce07b-b983-75d5-1e87-ecad7fad4b3f@t2data.com> Date: Thu, 3 Jun 2021 12:43:10 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.10.2 In-Reply-To: <20210603072114.GC12967@pengutronix.de> Content-Language: en-US X-Originating-IP: [212.247.174.226] X-ClientProxiedBy: HE1PR0101CA0006.eurprd01.prod.exchangelabs.com (2603:10a6:3:77::16) To HE1PR0602MB2858.eurprd06.prod.outlook.com (2603:10a6:3:da::10) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from [172.16.234.94] (212.247.174.226) by HE1PR0101CA0006.eurprd01.prod.exchangelabs.com (2603:10a6:3:77::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4195.20 via Frontend Transport; Thu, 3 Jun 2021 10:43:24 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 32b957f8-3301-4cf5-a903-08d9267c69c0 X-MS-TrafficTypeDiagnostic: HE1PR0601MB2284: X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:7219; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: wm3oLkbyHBOScRE851CVKPGRI+IC95K/C+8G8L/PpqVSCkWwHd69p+j/pU7JHUaePwb7bPYjfcw1XSgUJxx/slOgp1DcbCiLIZxOQQ5zFbgJobKn0ri1rJUZ8izQFpDeQ3Zt5jptoDRz+W/QExK2iIvCki1qv5M+YzmRvPh+Jc7tOK/Tyq7pxxuemAaRtFmM+lERH/lG/KihrHqHLqUaC9TwDAqNgkod3xnpk4jAVGO9/tPNkz2ghR3tHEVlcfAyGKvEVJ610jZQ4LiLaqzZuhiNB39x8qNIz8MW50qSZPEvygcD2yziASgaYAM2U1PX1piFWGz0I4m/QD5tNda3uPC4SajtSYjjQqME9tv3+euhvAMKB69rkbBD07KDQFXzU2iuOH3UNibnam3VeC/Ht+1FVeJ9dT9xYgk/8UA2wzgbGCUcos2ADTlPytmOXtUbfZrgOBayyduPFBo0RrSkYOGm3e6WIQ74zDmMAV39W5zfJ3mqqI4U8zHj6nQ5sIJOfbrZwl02Ew6nDcbUBZ1cdoYsdOsmc0UhA2Zw3+bBpj0DIuaPPGRGm39B3Rhd8d5J4kGHzNe+DPrl9WADbU1LT7zxOV3/bCWnqysoP+efM5h9XK5gXdNpy416DsOjiy2p4EalBsn8JHYTvkaHayo1M5NkcaMyznOcfNxKLGyVFEgjfWLxh6J2+jo43Y4Qs1ZF X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:HE1PR0602MB2858.eurprd06.prod.outlook.com; PTR:; CAT:NONE; SFS:(346002)(366004)(39830400003)(136003)(42606007)(396003)(376002)(8676002)(450100002)(8936002)(5660300002)(16526019)(6666004)(16576012)(478600001)(316002)(83380400001)(53546011)(26005)(956004)(44832011)(2616005)(52116002)(66946007)(66556008)(66476007)(2906002)(31686004)(6916009)(38100700002)(31696002)(38350700002)(186003)(36756003)(6486002)(86362001)(43740500002); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData: =?utf-8?B?bGZiYWREWHdISm9KV25ndk02SXExWW83RjY2Y21GRUxQbEtMSzNLRkVVbVpN?= =?utf-8?B?MXdseDJRaWt5azJxMmJ2M3QwYW51MjRPZzQrMDBnK2dFcHlmRXdXM3RtRzFU?= =?utf-8?B?ZjRzTjFqaTNmbzRmbGo3aDhDcWZzZXhLRmlVdkN3djlPT0hmL2NKUGMxOGIr?= =?utf-8?B?a0tadWVPMDh5L2Rmd1FzSXluY0lGK1EzV3YvcWdxdElqd3JoOXR6SWR3OGh4?= =?utf-8?B?UEk0VHhKVkJOZ3E0Q3ljKzNkL3RNTGhZTUlReXVsaW1DRG1SMFEyZktjNlBh?= =?utf-8?B?Vm56dlZTOWpYQ1h3NnVHYVE3bHQ4S21qSGpzNWtHb2V1bE9oVGVpYlo0SExr?= =?utf-8?B?dVEyNTFXZTRHeHJjWGpUUW1XR1FpNGFRS2FSNWhuQVRzci9ZVmFCUDNnQWp1?= =?utf-8?B?WUhQaU9OYkdtNUtRdWcxaEZsWTU2UTA3TTVzTllZZTZMbWdwei9EdVFkcnI4?= =?utf-8?B?SnhVMmFBZ2Mra3BWQWFlaHZvR3VldU1QL0ZTQmtXR3phSytJdlF1VWRKbFpO?= =?utf-8?B?bTZJRWdMQjM3Q3AxUDl0bjgzcjdGcUw2NVZqdzhPTE8yaFlRNWc5dGZBQmNm?= =?utf-8?B?MjlzVitIRnh1dXRuVlI3NmFBWFZRWVdxQzVQRXlFRTQ4Y1llYWNZQ09UNU5V?= =?utf-8?B?UVhLQjJ0dzcxTWhIVWcwdTQ2TmZsb202czBDR3luUFFCSU5sM1h6ZUlvUEJr?= =?utf-8?B?ZE9oMS9HMk9NZVZxWmQxbDRUeDRtWW5NQzZhZlhjOHBqbWpVY0NKbnVqSHhj?= =?utf-8?B?ajhueVltdUd0L05rY3RKc1RGQzh1YzhsZCswR1REak1Qd08yNjBmMVhZcGRu?= =?utf-8?B?Zk13a2U1Z2xwRC9JT0krUy9ONHBGU25EZzhRVlo0cm1OK1lJWHpQdlB4aHkx?= =?utf-8?B?cSs1Q1ZKNkVvQlg1WGU3MlVqdDVCUUNiQ0Z3OFExLzZlTy9rQmpmeTJqeWd3?= =?utf-8?B?ejBrN3k0UlhscGJybXU2NSs1dHNHWE05S3ZZcFpYNm10ZWtBb0NqL0ZFYTFZ?= =?utf-8?B?dlhzK1dmOVJoc203RVpFWTFUejZuUm8rU2FCNUtzK0ozQXF1eDR5YjRvSkkw?= =?utf-8?B?KzJiZXA5dTNUaFdlYlYyeVAzR0Vzbi8wZHVsTlkvM0RONmlZakpUcWIwc0gy?= =?utf-8?B?cUhDY3dUak1idUJ0eGNnclVyaERFcHZua2lzQVBZL1ZSTG5xNlM1MDQ4MTZt?= =?utf-8?B?c2JoQXVXeHRQWGMxWmxQdFg5WEFBczBGUExESU81aFNWVDdyV0FKNUpkeTlU?= =?utf-8?B?MGlxY2VxeXFER3BGOS9oTXpTVzZzWllTVEN2K0I5QXo5U2NCeUo5R2RWMUlF?= =?utf-8?B?dWpzVnprMG80WTczbnB6Z0hIME1YT1BFZ1JENU1qaHZaZVpDMFpibUg5R2lj?= =?utf-8?B?cm1XOGlaZTlnUCtoUG1Fd3hoZklVTEl3cEhVNGFRS1JnMUdYelRYeVJzajM1?= =?utf-8?B?c3M5NEJKWEl4Q0VLWjF3ekNROVZ2OTNrRnlQTERkTGZidGh5QXFYTjE0WEVv?= =?utf-8?B?VExaVCt3bFVub1RyM1g5d0ZEbmU3cGpsa05ZV0JvTk03eGd5RHJYOElaOU9u?= =?utf-8?B?WVFGNXV6UEFydkZJcDJPQzJqU1hBbEl5T3c4aGJPejA4UHhPNnJ4Qm13ZDg3?= =?utf-8?B?Y0w5V0hZT1BrMzVLMnlWMnF1K2l1akVMSzNTQ255REVWRHFQMjdUVDFUNTda?= =?utf-8?B?bnhyMkdyNXFuY1U0UW5ydy84dGtJMUJacVNTNlBLTm5wTmFsUVY2WCt6aHgr?= =?utf-8?Q?QXRZxju1tMqrdX6go8u47p46xyszyEQaOki8mPg?= X-OriginatorOrg: t2data.com X-MS-Exchange-CrossTenant-Network-Message-Id: 32b957f8-3301-4cf5-a903-08d9267c69c0 X-MS-Exchange-CrossTenant-AuthSource: HE1PR0602MB2858.eurprd06.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 03 Jun 2021 10:43:24.4728 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 27928da5-aacd-4ba1-9566-c748a6863e6c X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: qiIrfvKCwdH+ichSN8ldrsCg48erlmE0zvftsVxCw/NFVS/M4YK42d6pwBOdxjxfnUokp8YSrGKcuk7XXRiOcNE66vbIN/CfkknwazNzdmc= X-MS-Exchange-Transport-CrossTenantHeadersStamped: HE1PR0601MB2284 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on metis.ext.pengutronix.de X-Spam-Level: X-Spam-Status: No, score=-2.7 required=4.0 tests=AWL,BAYES_00,DKIM_SIGNED, DKIM_VALID,MSGID_FROM_MTA_HEADER,NICE_REPLY_A,RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,SPF_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.2 Subject: Re: [ptxdist] [RFC] Add DTB overlay handling to ptxdist X-BeenThere: ptxdist@pengutronix.de X-Mailman-Version: 2.1.29 Precedence: list List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: ptxdist@pengutronix.de Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Sender: "ptxdist" X-SA-Exim-Connect-IP: 127.0.0.1 X-SA-Exim-Mail-From: ptxdist-bounces@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false On 6/3/21 9:21 AM, Michael Tretter wrote: > On Wed, 02 Jun 2021 14:19:10 +0200, Christian Melki wrote: >> The only real difference here is that the symbol handling >> must always be present. Hence "-@" for default extra arg. >> Make paths variable but default to boot for the old dtb behavior. >> There is a lot of duplication going on here, but the main purpose >> is to separate dtb from dtbo handling with separate names and functions. > > I am not convinced that it is a good idea to mix the handling of dtb and dtbo > in one rule file. Maybe it helps, if there is a separate rule for overlays, > but I didn't think this through. > Splitting them works for me. I have no opinion here. I thought that this was an easy way to start a seed for refinement. >> >> Signed-off-by: Christian Melki >> >> diff --git a/platforms/dtc.in b/platforms/dtc.in >> index 5e8b35291..101d99836 100644 >> --- a/platforms/dtc.in >> +++ b/platforms/dtc.in >> @@ -13,10 +13,18 @@ menuconfig DTC >> if DTC >> >> config DTC_INSTALL_OFTREE >> - bool "install oftree to /boot" >> + bool "install oftrees to target path" >> help >> - Creates a package to install the 'oftree' file to /boot >> - of your target system. >> + Creates a package to install the 'oftree' files >> + to your target system. >> + >> +config DTC_INSTALL_OFTREE_OVERLAY >> + bool "install oftrees overlays to target path" >> + help >> + Creates a package to install the 'oftree' overlay >> + files to your target system. >> + >> +comment "device tree paths ---" >> >> config DTC_OFTREE_DTS_PATH >> string "path to source dts file" >> @@ -25,6 +33,15 @@ config DTC_OFTREE_DTS_PATH >> Define path to the dts source file. Multiple directories can be >> specified separated by ':'. >> >> +config DTC_OFTREE_DTO_PATH >> + string "path to source dto (overlay) files" >> + default "${PTXDIST_PLATFORMCONFIG_SUBDIR}/dts:${KERNEL_DIR}/arch/${GENERIC_KERNEL_ARCH}/boot/dts" >> + help >> + Define path to the dto source files. Multiple directories can be >> + specified separated by ':'. >> + >> +comment "device tree sources ---" >> + >> config DTC_OFTREE_DTS >> string "source dts file" >> default ".dts" >> @@ -34,7 +51,43 @@ config DTC_OFTREE_DTS >> is used as a search path for the device tree files specified >> here. Multiple dts files can be specified, separated by spaces. >> >> +config DTC_OFTREE_DTO >> + string "source dto file" >> + default ".dto" >> + help >> + Select the dts/dto files to use for the device tree binary overlay >> + blob generation. For relative file names DTC_OFTREE_DTO_PATH >> + is used as a search path for the device tree overlay files specified >> + here. Multiple dts overlay files can be specified, separated by spaces. >> + >> +if DTC_INSTALL_OFTREE >> + >> +comment "device tree binary install path ---" >> + >> +config DTC_INSTALL_OFTREE_PATH >> + string "oftree installation path" >> + default "/boot" >> + help >> + oftree target installation path >> + >> +endif >> + >> +if DTC_INSTALL_OFTREE_OVERLAY >> + >> +comment "device tree overlay install path ---" >> + >> +config DTC_INSTALL_OFTREE_OVERLAY_PATH >> + string "oftree overlay installation path" >> + default "/lib/firmware" >> + help >> + oftree overlay target installation path >> + >> +endif >> + >> config DTC_EXTRA_ARGS >> string "extra options passed to dtc" >> + default "-@" > > Building with symbols can increase the size of the device tree quite a lot. It > would be better to default to building with symbols only if overlays are > enabled. > > Michael > You're right. Also I think older dtcs might have a problem with defaulting to symbol generation. >> + help >> + Defaults to -@ for compiling dtb/dtbo for resolving symbols. >> >> endif >> diff --git a/rules/dtc.make b/rules/dtc.make >> index 7c281e8f0..45543d3d4 100644 >> --- a/rules/dtc.make >> +++ b/rules/dtc.make >> @@ -26,11 +26,18 @@ $(call ptx/error, PTXCONF_KERNEL_ARCH_STRING is no longer defined.) >> $(call ptx/error, Use GENERIC_KERNEL_ARCH instead) >> endif >> >> +ifneq ($(subst PTXCONF_KERNEL_ARCH_STRING,,$(value PTXCONF_DTC_OFTREE_DTO_PATH)),$(value PTXCONF_DTC_OFTREE_DTO_PATH)) >> +$(call ptx/error, invalid value for PTXCONF_DTC_OFTREE_DTO_PATH:) >> +$(call ptx/error, PTXCONF_KERNEL_ARCH_STRING is no longer defined.) >> +$(call ptx/error, Use GENERIC_KERNEL_ARCH instead) >> +endif >> +o >> # ---------------------------------------------------------------------------- >> # Target-Install >> # ---------------------------------------------------------------------------- >> >> ptx/dtb = $(notdir $(basename $(strip $(1)))).dtb >> +ptx/dtbo = $(notdir $(basename $(strip $(1)))).dtbo >> >> dts/env = \ >> $(call ptx/env) \ >> @@ -40,17 +47,31 @@ dts/env = \ >> dts_kernel_dir="$(KERNEL_DIR)" \ >> dts_kernel_arch="$(GENERIC_KERNEL_ARCH)" >> >> +dto/env = \ >> + $(call ptx/env) \ >> + dts_path=$(PTXCONF_DTC_OFTREE_DTO_PATH) \ >> + dts_dtb="$(strip $(1))" \ >> + dts_dts="$(strip $(2))" \ >> + dts_kernel_dir="$(KERNEL_DIR)" \ >> + dts_kernel_arch="$(GENERIC_KERNEL_ARCH)" >> + >> %.dtb: $(STATEDIR)/dtc.install >> @$(call targetinfo) >> @$(call dts/env, $@, $(DTB_DTS)) ptxd_make_dts_dtb >> @$(call finish) >> >> +%.dtbo: $(STATEDIR)/dtc.install >> + @$(call targetinfo) >> + @$(call dto/env, $@, $(DTBO_DTO)) ptxd_make_dts_dtb >> + @$(call finish) >> + >> DTC_DTB = $(foreach dts, $(call remove_quotes,$(PTXCONF_DTC_OFTREE_DTS)), $(IMAGEDIR)/$(call ptx/dtb, $(dts))) >> +DTC_DTBO = $(foreach dto, $(call remove_quotes,$(PTXCONF_DTC_OFTREE_DTO)), $(IMAGEDIR)/$(call ptx/dtbo, $(dto))) >> >> # make sure "ptxdist targetinstall kernel" generates a new device trees >> -$(STATEDIR)/kernel.targetinstall.post: $(DTC_DTB) >> +$(STATEDIR)/kernel.targetinstall.post: $(DTC_DTB) $(DTC_DTBO) >> >> -$(STATEDIR)/dtc.targetinstall: $(DTC_DTB) >> +$(STATEDIR)/dtc.targetinstall: $(DTC_DTB) $(DTC_DTBO) >> @$(call targetinfo) >> >> ifdef PTXCONF_DTC_INSTALL_OFTREE >> @@ -61,10 +82,16 @@ ifdef PTXCONF_DTC_INSTALL_OFTREE >> @$(call install_fixup, dtc, DESCRIPTION, "oftree description for machine $(PTXCONF_PLATFORM)") >> >> @$(call install_copy, dtc, 0, 0, 0755, /boot); >> + @$(call install_copy, dtc, 0, 0, 0755, "$(PTXCONF_DTC_INSTALL_OFTREE_PATH)"); >> @$(foreach dtb, $(DTC_DTB), \ >> $(call install_copy, dtc, 0, 0, 0644, \ >> - "$(dtb)", "/boot/$(notdir $(dtb))")$(ptx/nl)) >> - >> + "$(dtb)", "$(PTXCONF_DTC_INSTALL_OFTREE_PATH)/$(notdir $(dtb))")$(ptx/nl)) >> +ifdef PTXCONF_DTC_INSTALL_OFTREE_OVERLAY >> + @$(call install_copy, dtc, 0, 0, 0755, "$(PTXCONF_DTC_INSTALL_OFTREE_OVERLAY_PATH)"); >> + @$(foreach dtbo, $(DTC_DTBO), \ >> + $(call install_copy, dtc, 0, 0, 0644, \ >> + "$(dtbo)", "$(PTXCONF_DTC_INSTALL_OFTREE_OVERLAY_PATH)/$(notdir $(dtbo))")$(ptx/nl)) >> +endif >> @$(call install_finish, dtc) >> endif >> @$(call touch) >> diff --git a/rules/post/dts.make b/rules/post/dts.make >> index ffa8bf2fc..4bb1856ff 100644 >> --- a/rules/post/dts.make >> +++ b/rules/post/dts.make >> @@ -8,8 +8,12 @@ >> >> # >> # defined in post/ to make sure PTXCONF_DTC_OFTREE_DTS is fully defined >> +# defined in post/ to make sure PTXCONF_DTC_OFTREE_DTO is fully defined >> # >> $(foreach dts, $(call remove_quotes,$(PTXCONF_DTC_OFTREE_DTS)), \ >> $(eval $(IMAGEDIR)/$(call ptx/dtb, $(dts)): DTB_DTS=$(dts))) >> >> +$(foreach dto, $(call remove_quotes,$(PTXCONF_DTC_OFTREE_DTO)), \ >> + $(eval $(IMAGEDIR)/$(call ptx/dtbo, $(dto)): DTBO_DTO=$(dto))) >> + >> # vim: syntax=make >> -- >> 2.31.1 >> >> >> _______________________________________________ >> ptxdist mailing list >> ptxdist@pengutronix.de >> To unsubscribe, send a mail with subject "unsubscribe" to ptxdist-request@pengutronix.de >> > > _______________________________________________ > ptxdist mailing list > ptxdist@pengutronix.de > To unsubscribe, send a mail with subject "unsubscribe" to ptxdist-request@pengutronix.de > _______________________________________________ ptxdist mailing list ptxdist@pengutronix.de To unsubscribe, send a mail with subject "unsubscribe" to ptxdist-request@pengutronix.de