[PATCH 2/2] bcm4908: build flashable & bootable firmware images

Rafał Miłecki rafal at milecki.pl
Tue Jan 19 13:09:07 EST 2021


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.



More information about the openwrt-devel mailing list