summaryrefslogtreecommitdiffstats
path: root/package/rpi-firmware/rpi-firmware.mk
diff options
context:
space:
mode:
authorMaxime Hadjinlian <maxime.hadjinlian@gmail.com>2013-01-06 10:56:22 +0000
committerPeter Korsgaard <jacmet@sunsite.dk>2013-01-06 23:01:50 +0100
commit2f511fe31229ab9fd2182aa0ebda0ecf205ab12b (patch)
tree9143fcbd60744d514b50833814c9f71d40b63a3d /package/rpi-firmware/rpi-firmware.mk
parentabb68f6fa79612830b65ba591534cdd0cb898f68 (diff)
downloadbuildroot-novena-2f511fe31229ab9fd2182aa0ebda0ecf205ab12b.tar.gz
buildroot-novena-2f511fe31229ab9fd2182aa0ebda0ecf205ab12b.zip
rpi-firmware: New package
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>
Diffstat (limited to 'package/rpi-firmware/rpi-firmware.mk')
-rw-r--r--package/rpi-firmware/rpi-firmware.mk21
1 files changed, 21 insertions, 0 deletions
diff --git a/package/rpi-firmware/rpi-firmware.mk b/package/rpi-firmware/rpi-firmware.mk
new file mode 100644
index 000000000..5a65e34be
--- /dev/null
+++ b/package/rpi-firmware/rpi-firmware.mk
@@ -0,0 +1,21 @@
+#############################################################
+#
+# 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))