summaryrefslogtreecommitdiff
path: root/target/linux/ixp4xx/image/apex/Makefile
diff options
context:
space:
mode:
authorrwhitby <rwhitby@3c298f89-4303-0410-b956-a3cf2f4a3e73>2009-01-19 02:49:34 +0000
committerrwhitby <rwhitby@3c298f89-4303-0410-b956-a3cf2f4a3e73>2009-01-19 02:49:34 +0000
commitb3a73cbf98404aa91f72afbe8b715ea793cba6ed (patch)
tree1cf42b9d47a4963a7ee4c593d87dc6ceb04f36a5 /target/linux/ixp4xx/image/apex/Makefile
parent510f6334be4785b692c5025d52cfa107cfa4ac26 (diff)
Add support for NAS100d apex builds, and deploy apex binaries
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14100 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ixp4xx/image/apex/Makefile')
-rw-r--r--target/linux/ixp4xx/image/apex/Makefile12
1 files changed, 11 insertions, 1 deletions
diff --git a/target/linux/ixp4xx/image/apex/Makefile b/target/linux/ixp4xx/image/apex/Makefile
index d6c4c4a0c2..07b61ea786 100644
--- a/target/linux/ixp4xx/image/apex/Makefile
+++ b/target/linux/ixp4xx/image/apex/Makefile
@@ -10,7 +10,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=apex
PKG_VERSION:=1.5.14
-PKG_RELEASE:=2
+PKG_RELEASE:=3
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
@@ -57,6 +57,16 @@ define Build/Compile
ARCH=arm \
all
$(INSTALL_BIN) $(PKG_BUILD_DIR)/apex.bin $(TARGET)/apex-fsg3-armeb.bin
+ $(MAKE) -C $(PKG_BUILD_DIR) \
+ ARCH=arm \
+ slugos-nas100d-armeb_config
+ $(SED) 's,.*CONFIG_AEABI.*,$(if $(CONFIG_EABI_SUPPORT),CONFIG_AEABI=y,# CONFIG_AEABI is not set),' $(PKG_BUILD_DIR)/.config
+ $(MAKE) -C $(PKG_BUILD_DIR) \
+ $(TARGET_CONFIGURE_OPTS) \
+ KBUILD_HAVE_NLS=no \
+ ARCH=arm \
+ all
+ $(INSTALL_BIN) $(PKG_BUILD_DIR)/apex.bin $(TARGET)/apex-nas100d-armeb.bin
endef
define Build/InstallDev