On 2021-01-19 12:32, Adrian Schmutzler wrote:
> cp $(KDIR)/bcm63xx-cfe/$(subst
_,$(comma),$(DEVICE_NAME))/cferam.000
> $@-bootfs/
>
> This will remove the additional variable by simply making the current
> soft rule to have matching device definition name and compatible a
> hard one.

Are you still planning on adding generic COMPATIBLE variable filling in the
include/*.mk ? That would be nice to have I think.

I'm not precisely sure what you are referring to here?

Please check below quote:

On 2021-01-15 16:18, Adrian Schmutzler wrote:
Apart from that (and independent of whether you change the name or
not), we should define a default value for this in Device/Default:

SUPPORTED_DEVICES := $(subst _,$(comma),$(1))
or
COMPATIBLE := $(subst _,$(comma),$(1))

This will cover all current cases, and it can easily be overwritten by
device-specific definitions where necessary.

_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to