summaryrefslogtreecommitdiff
path: root/package/boot-wrapper-aarch64/Makefile
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2014-04-15 16:50:50 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2014-04-15 16:50:50 +0200
commit786605b21d3996df956bf785b020996cc7df3763 (patch)
treed40b956ce805150c73bc22bc33fbaa097e323f3d /package/boot-wrapper-aarch64/Makefile
parent67f34421f0ae00adc39cbf016e4b33d2817b854d (diff)
add basic support for aarch64 with ARMv8 foundation model, toolchain and kernel works, userland broken.
Diffstat (limited to 'package/boot-wrapper-aarch64/Makefile')
-rw-r--r--package/boot-wrapper-aarch64/Makefile27
1 files changed, 27 insertions, 0 deletions
diff --git a/package/boot-wrapper-aarch64/Makefile b/package/boot-wrapper-aarch64/Makefile
new file mode 100644
index 000000000..1c7a800ee
--- /dev/null
+++ b/package/boot-wrapper-aarch64/Makefile
@@ -0,0 +1,27 @@
+# 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:= boot-wrapper-aarch64
+PKG_VERSION:= 0.1
+PKG_RELEASE:= 1
+PKG_MD5SUM:= 2ffdbf8c05854e3b855314d9ac21bbc4
+PKG_DESCR:= boot-wrapper for aarch64
+PKG_SECTION:= boot
+PKG_BUILDDEP:= autotool
+PKG_SITES:= http://www.openadk.org/distfiles/
+
+DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.xz
+
+include $(TOPDIR)/mk/package.mk
+
+$(eval $(call PKG_template,BOOT_WRAPPER_AARCH64,boot-wrapper-aarch64,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
+
+AUTOTOOL_STYLE:= autoreconf
+CONFIGURE_ARGS+= --with-kernel-dir=${LINUX_DIR}
+
+boot-wrapper-aarch64-install:
+ ${CP} ${WRKBUILD}/linux-system.axf ${LINUX_DIR}
+
+include ${TOPDIR}/mk/pkg-bottom.mk