| 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 | http://download.tuxfamily.org/crisos/repository/source/ |
| 18 | PKG_MD5SUM:=11fd53e7824dc550e4cffbc4cd114c3e |
| 19 | |
| 20 | PKG_BUILD_DIR:=$(KERNEL_BUILD_DIR)/$(PKG_NAME) |
| 21 | |
| 22 | CRLF_WORKAROUND=1 |
| 23 | |
| 24 | include $(INCLUDE_DIR)/package.mk |
| 25 | |
| 26 | define Build/Compile |
| 27 | make -C $(PKG_BUILD_DIR) STRIP=true |
| 28 | endef |
| 29 | |
| 30 | define Build/InstallDev |
| 31 | $(INSTALL_BIN) $(PKG_BUILD_DIR)/sbl/e100boot $(BIN_DIR)/etrax100boot |
| 32 | endef |
| 33 | |
| 34 | $(eval $(call Build/DefaultTargets)) |
| 35 | |