RE: [PATCH] bcm4908: automatically set DEVICE_DTS from device name

2021-01-19 Thread Adrian Schmutzler
> It should be possible to make final defines even simpler by using some > wildcard magic. You could avoid defining SOC then. > > Please take a look at the: > target/linux/bcm53xx/image/Makefile > > It has some magic² code as follows: > DEVICE_DTS := $(patsubst %.dtb,%,$(notdir $(wildcard $(if >

Re: [PATCH] bcm4908: automatically set DEVICE_DTS from device name

2021-01-19 Thread Rafał Miłecki
On 19.01.2021 19:53, Adrian Schmutzler wrote: This sets the DTS paths automatically based on their device definition name. Devices where this is not possible may still be served by simply overwriting DEVICE_DTS in their respective definition. Cc: Rafał Miłecki Signed-off-by: Adrian Schmutzler