Makefile 1003 B

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