2 # Copyright (C) 2006 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
9 include $(TOPDIR
)/rules.mk
15 PKG_BUILD_DIR
:=$(BUILD_DIR
)/$(PKG_NAME
)-$(PKG_VERSION
)
16 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.gz
17 PKG_SOURCE_URL
:=ftp
://metalab.unc.edu
/pub
/Linux
/system
/boot
/apex
/
18 PKG_MD5SUM
:=ed2183311aacf5714afbd825f3671417
21 PKG_INSTALL_DIR
:=$(TARGET
)
23 include $(INCLUDE_DIR
)/package.mk
25 define Package
/apex-nslu2
28 The Apex Bootloader
(compiled for the Linksys NSLU2
).
29 URL
:=http
://wiki.buici.com
/twiki
/bin
/view
/Main
/ApexBootloader
31 CATEGORY
:=Boot Loaders
32 DEPENDS
:=@LINUX_2_6_IXP4XX
35 define Build
/Configure
36 $(MAKE
) -C
$(PKG_BUILD_DIR
) \
38 slugos-nslu2-armeb_config
42 $(MAKE
) -C
$(PKG_BUILD_DIR
) \
43 $(TARGET_CONFIGURE_OPTS
) \
48 compile-targets
: ${PKG_BUILD_DIR}/.built
52 $(INSTALL_BIN
) $(PKG_BUILD_DIR
)/apex.bin
$(TARGET
)/apex-nslu2-armeb.bin
55 $(eval
$(call BuildPackage
,apex-nslu2
))