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
://ftp.buici.com
/pub
/apex
/ \
18 ftp
://metalab.unc.edu
/pub
/Linux
/system
/boot
/apex
/
19 PKG_MD5SUM
:=5feb7a05431e5e8a4aa36fb23347de8e
21 include $(INCLUDE_DIR
)/package.mk
22 export GCC_HONOUR_COPTS
=s
25 $(MAKE
) -C
$(PKG_BUILD_DIR
) \
27 slugos-nslu2-armeb_config
28 $(SED
) 's,.*CONFIG_AEABI.*,$(if $(CONFIG_EABI_SUPPORT),CONFIG_AEABI=y,# CONFIG_AEABI is not set),' $(PKG_BUILD_DIR
)/.config
29 $(MAKE
) -C
$(PKG_BUILD_DIR
) \
30 $(TARGET_CONFIGURE_OPTS
) \
34 $(INSTALL_BIN
) $(PKG_BUILD_DIR
)/apex.bin
$(TARGET
)/apex-nslu2-armeb.bin
35 $(MAKE
) -C
$(PKG_BUILD_DIR
) \
36 $(TARGET_CONFIGURE_OPTS
) \
40 $(MAKE
) -C
$(PKG_BUILD_DIR
) \
42 slugos-nslu2-16mb-armeb_config
43 $(SED
) 's,.*CONFIG_AEABI.*,$(if $(CONFIG_EABI_SUPPORT),CONFIG_AEABI=y,# CONFIG_AEABI is not set),' $(PKG_BUILD_DIR
)/.config
44 $(MAKE
) -C
$(PKG_BUILD_DIR
) \
45 $(TARGET_CONFIGURE_OPTS
) \
49 $(INSTALL_BIN
) $(PKG_BUILD_DIR
)/apex.bin
$(TARGET
)/apex-nslu2-16mb-armeb.bin
52 define Build
/InstallDev
56 $(eval
$(call Build
/DefaultTargets
))