Makefile 998 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 $(TOPDIR)/rules.mk
  4. PKG_NAME:= u-boot-cubox-i
  5. PKG_VERSION:= 2014.02.16
  6. PKG_RELEASE:= 1
  7. PKG_MD5SUM:= 6f8809f69df21fc2ff1cc692aca82939
  8. PKG_DESCR:= bootloader for cubox-i (imx6)
  9. PKG_SECTION:= boot
  10. PKG_URL:= https://github.com/rabeeh/u-boot-imx6.git
  11. PKG_SITES:= http://openadk.org/distfiles/
  12. PKG_SYSTEM_DEPENDS:= cubox-i
  13. include $(TOPDIR)/mk/package.mk
  14. $(eval $(call PKG_template,U_BOOT_CUBOX_I,u-boot-cubox-i,$(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-cubox-i-install:
  23. $(INSTALL_DIR) ${WRKINST}/boot
  24. $(CP) ${WRKBUILD}/SPL ${WRKINST}/boot
  25. $(CP) ${WRKBUILD}/u-boot.img ${WRKINST}/boot
  26. include ${TOPDIR}/mk/pkg-bottom.mk