2f511fe312
Introducing a package to install pre-built binaries for the bootloader and the GPU firmware for the RaspberryPi board. [Peter: rename to rpi-firmware, add link to http://elinux.org/RPiconfig] Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
22 lines
965 B
Makefile
22 lines
965 B
Makefile
#############################################################
|
|
#
|
|
# rpi-firmware
|
|
#
|
|
#############################################################
|
|
|
|
RPI_FIRMWARE_VERSION = 76d0ac38f16b6343c6155c80db1e4758b3a5838a
|
|
RPI_FIRMWARE_SITE = http://github.com/raspberrypi/firmware/tarball/master
|
|
RPI_FIRMWARE_LICENSE = BSD-3c
|
|
RPI_FIRMWARE_LICENSE_FILE = boot/LICENCE.broadcom
|
|
|
|
define RPI_FIRMWARE_INSTALL_TARGET_CMDS
|
|
$(INSTALL) -D -m 0644 $(@D)/boot/bootcode.bin $(BINARIES_DIR)/rpi-firmware/bootcode.bin
|
|
$(INSTALL) -D -m 0644 $(@D)/boot/start.elf $(BINARIES_DIR)/rpi-firmware/start.elf
|
|
$(INSTALL) -D -m 0644 $(@D)/boot/start_cd.elf $(BINARIES_DIR)/rpi-firmware/start_cd.elf
|
|
$(INSTALL) -D -m 0644 $(@D)/boot/fixup.dat $(BINARIES_DIR)/rpi-firmware/fixup.dat
|
|
$(INSTALL) -D -m 0644 $(@D)/boot/fixup_cd.dat $(BINARIES_DIR)/rpi-firmware/fixup_cd.dat
|
|
$(INSTALL) -D -m 0644 package/rpi-firmware/config.txt $(BINARIES_DIR)/rpi-firmware/config.txt
|
|
endef
|
|
|
|
$(eval $(generic-package))
|