Makefile 1015 B

12345678910111213141516171819202122232425262728293031323334353637
  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:= u-boot-imx6
  5. PKG_VERSION:= 20140416
  6. PKG_RELEASE:= 1
  7. PKG_MD5SUM:= f2a5f697670c340eef8074f6a5f26476
  8. PKG_DESCR:= bootloader for imx6 (cubox-i)
  9. PKG_SECTION:= boot
  10. PKG_URL:= https://github.com/SolidRun/u-boot-imx6.git
  11. PKG_SITES:= http://openadk.org/distfiles/
  12. DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.xz
  13. PKG_SYSTEM_DEPENDS:= cubox-i
  14. include $(TOPDIR)/mk/package.mk
  15. $(eval $(call PKG_template,U_BOOT_IMX6,u-boot-imx6,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  16. CONFIG_STYLE:= manual
  17. XAKE_FLAGS+= GCC_HONOUR_COPTS=s
  18. # u-boot uses ld directly
  19. TARGET_LDFLAGS:=
  20. INSTALL_STYLE:= manual
  21. do-configure:
  22. cd ${WRKBUILD}; $(MAKE) mx6_cubox-i_config
  23. u-boot-imx6-install:
  24. $(INSTALL_DIR) ${FW_DIR}
  25. $(CP) ${WRKBUILD}/SPL ${FW_DIR}
  26. $(CP) ${WRKBUILD}/u-boot.img ${FW_DIR}
  27. include ${TOPDIR}/mk/pkg-bottom.mk