diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2014-02-18 07:42:14 +0100 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2014-02-18 07:42:14 +0100 |
commit | 97857425df0e2878902eb651e2ce71ac476c407b (patch) | |
tree | 4e55ceea83efaafe37dfc6965c1071f11fcce8e3 /package/u-boot-cubox-i | |
parent | ad7fa8e7f6f555849b39ebd4cd67df13e58983d4 (diff) |
add initial stuff for cubox-i, still waiting for the hardware, so fully untested
Diffstat (limited to 'package/u-boot-cubox-i')
-rw-r--r-- | package/u-boot-cubox-i/Makefile | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/package/u-boot-cubox-i/Makefile b/package/u-boot-cubox-i/Makefile new file mode 100644 index 000000000..7a32a179e --- /dev/null +++ b/package/u-boot-cubox-i/Makefile @@ -0,0 +1,35 @@ +# This file is part of the OpenADK project. OpenADK is copyrighted +# material, please see the LICENCE file in the top-level directory. + +include $(TOPDIR)/rules.mk + +PKG_NAME:= u-boot-cubox-i +PKG_VERSION:= 2014.02.16 +PKG_RELEASE:= 1 +PKG_MD5SUM:= 6f8809f69df21fc2ff1cc692aca82939 +PKG_DESCR:= bootloader for cubox-i (imx6) +PKG_SECTION:= boot +PKG_URL:= https://github.com/rabeeh/u-boot-imx6.git +PKG_SITES:= http://openadk.org/distfiles/ + +PKG_SYSTEM_DEPENDS:= cubox-i + +include $(TOPDIR)/mk/package.mk + +$(eval $(call PKG_template,U_BOOT_CUBOX_I,u-boot-cubox-i,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION})) + +CONFIG_STYLE:= manual +XAKE_FLAGS+= GCC_HONOUR_COPTS=s +# u-boot uses ld directly +TARGET_LDFLAGS:= +INSTALL_STYLE:= manual + +do-configure: + cd ${WRKBUILD}; $(MAKE) mx6_cubox-i_config + +u-boot-cubox-i-install: + $(INSTALL_DIR) ${WRKINST}/boot + $(CP) ${WRKBUILD}/SPL ${WRKINST}/boot + $(CP) ${WRKBUILD}/u-boot.img ${WRKINST}/boot + +include ${TOPDIR}/mk/pkg-bottom.mk |