Makefile 1.1 KB

123456789101112131415161718192021222324252627282930313233
  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 ${ADK_TOPDIR}/rules.mk
  4. PKG_NAME:= bcm2835-bootloader
  5. # actually git checkout from 07.07.2014
  6. # 1e7d3d9c04394ae8b7f38008765cfc66815a0c96
  7. PKG_VERSION:= 1.1
  8. PKG_RELEASE:= 1
  9. PKG_MD5SUM:= 1ca3b128b79d29ebbf6474869fcaf56b
  10. PKG_DESCR:= bootloader for raspberry pi
  11. PKG_SECTION:= base/boot
  12. PKG_URL:= https://github.com/raspberrypi/firmware
  13. PKG_SITES:= http://openadk.org/distfiles/
  14. PKG_SYSTEM_DEPENDS:= raspberry-pi
  15. include ${ADK_TOPDIR}/mk/package.mk
  16. $(eval $(call PKG_template,BCM2835_BOOTLOADER,bcm2835-bootloader,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  17. CONFIG_STYLE:= manual
  18. BUILD_STYLE:= manual
  19. INSTALL_STYLE:= manual
  20. do-install:
  21. ${INSTALL_DIR} ${IDIR_BCM2835_BOOTLOADER}/boot
  22. ${CP} ${WRKBUILD}/boot/* ${IDIR_BCM2835_BOOTLOADER}/boot/
  23. printf "gpu_mem=$(ADK_TARGET_GPU_MEM)\n" >> \
  24. ${IDIR_BCM2835_BOOTLOADER}/boot/config.txt
  25. include ${ADK_TOPDIR}/mk/pkg-bottom.mk