ixp4xx: fix imagebuilder
[openwrt-github/.git] / package / boot / apex / Makefile
index f17118e46c0552cc0f904512292961320b8125d9..f154f9606e691687dc64187561e5e77867540dd6 100644 (file)
@@ -6,14 +6,14 @@
 #
 
 include $(TOPDIR)/rules.mk
+include $(INCLUDE_DIR)/kernel.mk
 
 PKG_NAME:=apex
 PKG_VERSION:=1.6.9
 PKG_RELEASE:=1
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
-PKG_SOURCE_URL:=ftp://ftp.buici.com/pub/apex/ \
-       ftp://metalab.unc.edu/pub/Linux/system/boot/apex/
+PKG_SOURCE_URL:=http://downloads.openwrt.org/sources/
 PKG_MD5SUM:=9606cf2e3fd2c9a86fe0b61388509a30
 PKG_TARGETS:=bin
 
@@ -55,4 +55,8 @@ define Package/apex/install
        $(CP) $(PKG_BUILD_DIR)/out/*.bin $(1)/
 endef
 
+define Build/InstallDev
+       $(CP) $(PKG_BUILD_DIR)/out/*.bin $(KERNEL_BUILD_DIR)
+endef
+
 $(eval $(call BuildPackage,apex))