summaryrefslogtreecommitdiff
path: root/target/foxboard/tools/e100boot/Makefile
blob: bec2b4302fe37500cd8c91002a94c81a7b09053e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
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