summaryrefslogtreecommitdiff
path: root/target/foxg20/tools/e100boot/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'target/foxg20/tools/e100boot/Makefile')
-rw-r--r--target/foxg20/tools/e100boot/Makefile24
1 files changed, 24 insertions, 0 deletions
diff --git a/target/foxg20/tools/e100boot/Makefile b/target/foxg20/tools/e100boot/Makefile
new file mode 100644
index 000000000..d807f2349
--- /dev/null
+++ b/target/foxg20/tools/e100boot/Makefile
@@ -0,0 +1,24 @@
+# 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 $@
+
+$(WRKBUILD)/.installed: $(WRKBUILD)/.compiled
+ $(INSTALL_BIN) $(WRKBUILD)/sbl/e100boot.stripped $(BIN_DIR)/etrax100boot
+ touch $@
+
+include $(TOPDIR)/mk/tools.mk