apex: Updated to version 1.5.4
[openwrt/svn-archive/archive.git] / target / linux / ixp4xx-2.6 / image / apex / 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 # $Id$
8
9 include $(TOPDIR)/rules.mk
10
11 PKG_NAME:=apex
12 PKG_VERSION:=1.5.4
13 PKG_RELEASE:=1
14
15 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
16 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
17 PKG_SOURCE_URL:=ftp://ftp.buici.com/pub/apex/ \
18 ftp://metalab.unc.edu/pub/Linux/system/boot/apex/
19 PKG_MD5SUM:=b07790b259f48653c32955244c23cc57
20
21 include $(INCLUDE_DIR)/package.mk
22
23 define Build/Configure
24 $(MAKE) -C $(PKG_BUILD_DIR) \
25 ARCH=arm \
26 slugos-nslu2-armeb_config
27 endef
28
29 define Build/Compile
30 $(MAKE) -C $(PKG_BUILD_DIR) \
31 $(TARGET_CONFIGURE_OPTS) \
32 ARCH=arm \
33 all
34 endef
35
36 define Build/InstallDev
37 $(INSTALL_BIN) $(PKG_BUILD_DIR)/apex.bin $(TARGET)/apex-nslu2-armeb.bin
38 endef
39
40 $(eval $(call Build/DefaultTargets))