clean up gmp and mpfr
[openwrt.git] / target / linux / ixp4xx / 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.14
13 PKG_RELEASE:=3
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:=22fb46e76c8221c7bcc9734602367460
20
21 include $(INCLUDE_DIR)/package.mk
22 export GCC_HONOUR_COPTS=s
23
24 define Build/Compile
25 $(MAKE) -C $(PKG_BUILD_DIR) \
26 ARCH=arm \
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) \
31 KBUILD_HAVE_NLS=no \
32 ARCH=arm \
33 all
34 $(INSTALL_BIN) $(PKG_BUILD_DIR)/apex.bin $(TARGET)/apex-nslu2-armeb.bin
35 $(MAKE) -C $(PKG_BUILD_DIR) \
36 $(TARGET_CONFIGURE_OPTS) \
37 KBUILD_HAVE_NLS=no \
38 ARCH=arm \
39 clean
40 $(MAKE) -C $(PKG_BUILD_DIR) \
41 ARCH=arm \
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) \
46 KBUILD_HAVE_NLS=no \
47 ARCH=arm \
48 all
49 $(INSTALL_BIN) $(PKG_BUILD_DIR)/apex.bin $(TARGET)/apex-nslu2-16mb-armeb.bin
50 $(MAKE) -C $(PKG_BUILD_DIR) \
51 ARCH=arm \
52 slugos-fsg3-armeb_config
53 $(SED) 's,.*CONFIG_AEABI.*,$(if $(CONFIG_EABI_SUPPORT),CONFIG_AEABI=y,# CONFIG_AEABI is not set),' $(PKG_BUILD_DIR)/.config
54 $(MAKE) -C $(PKG_BUILD_DIR) \
55 $(TARGET_CONFIGURE_OPTS) \
56 KBUILD_HAVE_NLS=no \
57 ARCH=arm \
58 all
59 $(INSTALL_BIN) $(PKG_BUILD_DIR)/apex.bin $(TARGET)/apex-fsg3-armeb.bin
60 $(MAKE) -C $(PKG_BUILD_DIR) \
61 ARCH=arm \
62 slugos-nas100d-armeb_config
63 $(SED) 's,.*CONFIG_AEABI.*,$(if $(CONFIG_EABI_SUPPORT),CONFIG_AEABI=y,# CONFIG_AEABI is not set),' $(PKG_BUILD_DIR)/.config
64 $(MAKE) -C $(PKG_BUILD_DIR) \
65 $(TARGET_CONFIGURE_OPTS) \
66 KBUILD_HAVE_NLS=no \
67 ARCH=arm \
68 all
69 $(INSTALL_BIN) $(PKG_BUILD_DIR)/apex.bin $(TARGET)/apex-nas100d-armeb.bin
70 endef
71
72 define Build/InstallDev
73 true
74 endef
75
76 $(eval $(call Build/DefaultTargets))
This page took 0.05048 seconds and 5 git commands to generate.