[Buildroot] [PATCH 3/3] package/rpi-firmware: updated to 4.9.31 firmware (ca9116f)

Yann E. MORIN yann.morin.1998 at free.fr
Sat Jun 10 11:07:41 UTC 2017


Arnout, Jens, All,

On June 10, 2017 12:40:47 PM GMT+02:00, Arnout Vandecappelle <arnout at mind.be> wrote:
>On 10-06-17 11:45, Yann E. MORIN wrote:
[snip]
>> Also, I would prefer you just add them to the existing list.
>> It is better to be explicit rather than having a catch-all
>> command.
>
>But then, a loop that iterates over a list of variables is still nicer
>than
>repeating the command 7 times.

Yup.

RPI_FIRMWARE_DTBS = \
    rpi-b.dtb \
    rpi-b-plus.dtb etc....

define RPI_FIRMWARE_INSTALL_DTBS
    $(foreach dtb,$(RPI_FIRMWARE_DTBS),\
        $(INSTALL) -D -m 0644 $(@D)/dtbs/$(dtb) $(BINARIES_DIR)/rpi-firmware/$(dtb))
endef

(of course, fix my typoes, the dtb filenames, and the variable names)

Regards,
Yann E. MORIN.

-- 
Sent from my phone. Please excuse my brevity.


More information about the buildroot mailing list