Makefile 1.0 KB

1234567891011121314151617181920212223242526272829303132
  1. # This file is part of the OpenADK project. OpenADK is copyrighted
  2. # material, please see the LICENCE file in the top-level directory.
  3. include ${TOPDIR}/rules.mk
  4. PKG_NAME:= bcm2835-bootloader
  5. # actually git checkout from 03.06.2014
  6. PKG_VERSION:= 0.9
  7. PKG_RELEASE:= 1
  8. PKG_MD5SUM:= 791aa3074029f0d2343fc2fc9b5d3d7c
  9. PKG_DESCR:= bootloader for raspberry pi
  10. PKG_SECTION:= base/boot
  11. PKG_URL:= https://github.com/raspberrypi/firmware
  12. PKG_SITES:= http://openadk.org/distfiles/
  13. PKG_SYSTEM_DEPENDS:= raspberry-pi
  14. include ${TOPDIR}/mk/package.mk
  15. $(eval $(call PKG_template,BCM2835_BOOTLOADER,bcm2835-bootloader,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  16. CONFIG_STYLE:= manual
  17. BUILD_STYLE:= manual
  18. INSTALL_STYLE:= manual
  19. do-install:
  20. ${INSTALL_DIR} ${IDIR_BCM2835_BOOTLOADER}/boot
  21. ${CP} ${WRKBUILD}/boot/* ${IDIR_BCM2835_BOOTLOADER}/boot/
  22. printf "gpu_mem=$(ADK_TARGET_GPU_MEM)\n" >> \
  23. ${IDIR_BCM2835_BOOTLOADER}/boot/config.txt
  24. include ${TOPDIR}/mk/pkg-bottom.mk