summaryrefslogtreecommitdiff
path: root/target/tools/e100boot/Makefile
blob: 2cdf288377b3055ae1fc23e026512384a0184b44 (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

all: $(BIN_DIR)/etrax100boot

$(WRKBUILD)/.compiled: ${WRKDIST}/.prepared
	$(MAKE) -C $(WRKBUILD)
	touch $@

$(BIN_DIR)/etrax100boot: $(WRKBUILD)/.compiled
	$(INSTALL_BIN) $(WRKBUILD)/sbl/e100boot.stripped $(BIN_DIR)/etrax100boot

include $(TOPDIR)/mk/tools.mk