summaryrefslogtreecommitdiff
path: root/target/tools/e100boot/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'target/tools/e100boot/Makefile')
-rw-r--r--target/tools/e100boot/Makefile25
1 files changed, 25 insertions, 0 deletions
diff --git a/target/tools/e100boot/Makefile b/target/tools/e100boot/Makefile
new file mode 100644
index 000000000..bec2b4302
--- /dev/null
+++ b/target/tools/e100boot/Makefile
@@ -0,0 +1,25 @@
+# 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:= e100boot
+PKG_VERSION:= 0.1
+PKG_RELEASE:= 1
+PKG_MD5SUM:= 11fd53e7824dc550e4cffbc4cd114c3e
+PKG_SITES:= http://download.tuxfamily.org/crisos/repository/source/
+DISTFILES:= ${PKG_NAME}.tar.bz2
+WRKDIST= ${WRKDIR}/${PKG_NAME}
+
+include ../rules.mk
+
+$(WRKBUILD)/.compiled: ${WRKDIST}/.prepared
+ $(MAKE) -C $(WRKBUILD)
+ touch $@
+
+$(BIN_DIR)/etrax100boot: $(WRKBUILD)/.compiled
+ $(INSTALL_BIN) $(WRKBUILD)/sbl/e100boot.stripped $(BIN_DIR)/etrax100boot
+
+install: $(BIN_DIR)/etrax100boot
+
+include $(TOPDIR)/mk/tools.mk