summaryrefslogtreecommitdiff
path: root/package/etrax-tools/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'package/etrax-tools/Makefile')
-rw-r--r--package/etrax-tools/Makefile30
1 files changed, 30 insertions, 0 deletions
diff --git a/package/etrax-tools/Makefile b/package/etrax-tools/Makefile
new file mode 100644
index 000000000..9e4b51227
--- /dev/null
+++ b/package/etrax-tools/Makefile
@@ -0,0 +1,30 @@
+# This file is part of the OpenADK project. OpenADK is copyrighted
+# material, please see the LICENCE file in the top-level directory.
+
+include $(ADK_TOPDIR)/rules.mk
+
+PKG_NAME:= etrax-tools
+PKG_VERSION:= 1.0
+PKG_RELEASE:= 1
+PKG_DESCR:= flash tools for cris etrax boards
+PKG_SECTION:= base/tools
+
+NO_DISTFILES:= 1
+
+PKG_CFLINE_ETRAX_TOOLS:=depends on ADK_HOST_ONLY
+
+include $(ADK_TOPDIR)/mk/host.mk
+include $(ADK_TOPDIR)/mk/package.mk
+
+$(eval $(call HOST_template,ETRAX_TOOLS,etrax-tools,$(PKG_VERSION)-${PKG_RELEASE}))
+
+HOST_STYLE:= manual
+
+host-build:
+ (cd ${WRKBUILD}/e100boot && env ${HOST_MAKE_ENV} ${MAKE} -f ${MAKE_FILE} \
+ ${HOST_MAKE_FLAGS} ${HOST_ALL_TARGET}) $(MAKE_TRACE)
+
+cmake-hostinstall:
+
+include ${ADK_TOPDIR}/mk/host-bottom.mk
+include $(ADK_TOPDIR)/mk/pkg-bottom.mk