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 30.06.2014
  6. # affe5cd9d3e1e8dcc29509f12fc3ed5153f3fb67
  7. PKG_VERSION:= 1.0
  8. PKG_RELEASE:= 1
  9. PKG_MD5SUM:= f2e8cc4f7093560588f658f472c2eadb
  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