c5ae6763583349fd5e76cb82c096b8286f213a16
[openwrt/svn-archive/archive.git] / target / linux / etrax / image / e100boot / Makefile
1 #
2 # Copyright (C) 2006 OpenWrt.org
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6 #
7
8 include $(TOPDIR)/rules.mk
9 include $(INCLUDE_DIR)/kernel.mk
10
11 PKG_NAME:=e100boot
12 PKG_VERSION:=0.1
13 PKG_RELEASE:=1
14
15 PKG_SOURCE:=e100boot.tar.bz2
16 PKG_SOURCE_URL:=http://www.acmesystems.it/download/owrt
17 PKG_MD5SUM:=
18
19 PKG_BUILD_DIR:=$(KERNEL_BUILD_DIR)/$(PKG_NAME)
20
21 CRLF_WORKAROUND=1
22
23 include $(INCLUDE_DIR)/package.mk
24
25 define Build/Compile
26 make -C $(PKG_BUILD_DIR) STRIP=true
27 endef
28
29 define Build/InstallDev
30 $(INSTALL_BIN) $(PKG_BUILD_DIR)/sbl/e100boot $(BIN_DIR)/etrax100boot
31 endef
32
33 $(eval $(call Build/DefaultTargets))