summaryrefslogtreecommitdiff
path: root/package
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2014-02-18 07:42:14 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2014-02-18 07:42:14 +0100
commit97857425df0e2878902eb651e2ce71ac476c407b (patch)
tree4e55ceea83efaafe37dfc6965c1071f11fcce8e3 /package
parentad7fa8e7f6f555849b39ebd4cd67df13e58983d4 (diff)
add initial stuff for cubox-i, still waiting for the hardware, so fully untested
Diffstat (limited to 'package')
-rw-r--r--package/u-boot-cubox-i/Makefile35
-rw-r--r--package/u-boot/Makefile28
2 files changed, 63 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
diff --git a/package/u-boot/Makefile b/package/u-boot/Makefile
new file mode 100644
index 000000000..5546c9063
--- /dev/null
+++ b/package/u-boot/Makefile
@@ -0,0 +1,28 @@
+# 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
+PKG_VERSION:= 2014.01
+PKG_RELEASE:= 1
+PKG_MD5SUM:= e531307578f6d32a7ccb1d04f1e08cbc
+PKG_DESCR:= bootloader
+PKG_SECTION:= boot
+PKG_URL:= http://www.denx.de/wiki/U-Boot
+PKG_SITES:= ftp://ftp.denx.de/pub/u-boot/
+
+DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.bz2
+
+include $(TOPDIR)/mk/package.mk
+
+$(eval $(call PKG_template,U_BOOT,u-boot,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
+
+CONFIG_STYLE:= manual
+
+do-configure:
+ echo "no config for your target available"
+
+u-boot-install:
+
+include ${TOPDIR}/mk/pkg-bottom.mk