2 # Copyright (C) 2007 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
10 include $(INCLUDE_DIR)/kernel.mk
12 PKG_NAME:=ifxmips_adsl
16 include $(INCLUDE_DIR)/package.mk
18 define Package/ifxmips_adsl
21 DEPENDS:=@TARGET_ifxmips
22 TITLE:=ifxmips adsl firmware loader
25 define Package/ifxmips_adsl/description
26 ifxmips adsl firmware loader
30 mkdir -p $(PKG_BUILD_DIR)
31 $(CP) ./src/* $(PKG_BUILD_DIR)/
35 $(MAKE) -C $(PKG_BUILD_DIR) \
36 $(TARGET_CONFIGURE_OPTS) \
37 CFLAGS="$(TARGET_CFLAGS) -I$(LINUX_DIR)/include/"
40 define Package/ifxmips_adsl/install
41 $(INSTALL_DIR) $(1)/usr/bin
42 $(INSTALL_BIN) $(PKG_BUILD_DIR)/{translate,danube_autoboot_daemon,danube_mei_debug,danube_show_firmware_date,cmvread,cmvwrite} $(1)/usr/bin/
45 $(eval $(call BuildPackage,ifxmips_adsl))