From mboxrd@z Thu Jan 1 00:00:00 1970 From: Anatolij Gustschin Date: Sun, 12 Jan 2020 15:06:17 +0100 Subject: [PATCH 1/2] dts: add property removal option CONFIG_OF_REMOVE_PROPS In-Reply-To: <20200110163945.GN31026@bill-the-cat> References: <20200108213833.10869-1-agust@denx.de> <20200110163945.GN31026@bill-the-cat> Message-ID: <20200112150617.7d0de982@crub> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Fri, 10 Jan 2020 11:39:45 -0500 Tom Rini trini at konsulko.com wrote: ... > > quiet_cmd_shipped = SHIPPED $@ > > -cmd_shipped = cat $< > $@ > > +cmd_shipped = cat $< | $(objtree)/tools/fdtgrep -r -O dtb - -o $@ \ > > + $(addprefix -P ,$(subst $\",,$(CONFIG_OF_REMOVE_PROPS))) > > > > $(obj)/%: $(src)/%_shipped > > $(call cmd,shipped) > > On further thinking, this will make it harder in the case of passing the > DTB directly to the kernel. We should guard this option by something > else first. Agreed, I'll make it optional in patch v2. -- Anatolij