Mark spca5xx-le as broken (#2923)
[openwrt.git] / package / ifxmips_adsl / Makefile
1 #
2 # Copyright (C) 2007 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 include $(INCLUDE_DIR)/kernel.mk
11
12 PKG_NAME:=ifxmips_adsl
13 PKG_RELEASE:=1
14 PKG_VERSION:=1.0
15
16 include $(INCLUDE_DIR)/package.mk
17
18 define Package/ifxmips_adsl
19 SECTION:=net
20 CATEGORY:=Network
21 DEPENDS:=@TARGET_ifxmips
22 TITLE:=ifxmips adsl firmware loader
23 endef
24
25 define Package/ifxmips_adsl/description
26 ifxmips adsl firmware loader
27 endef
28
29 define Build/Prepare
30 mkdir -p $(PKG_BUILD_DIR)
31 $(CP) ./src/* $(PKG_BUILD_DIR)/
32 endef
33
34 define Build/Compile
35 $(MAKE) -C $(PKG_BUILD_DIR) \
36 $(TARGET_CONFIGURE_OPTS) \
37 CFLAGS="$(TARGET_CFLAGS) -I$(LINUX_DIR)/include/"
38 endef
39
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/
43 endef
44
45 $(eval $(call BuildPackage,ifxmips_adsl))
This page took 0.041685 seconds and 5 git commands to generate.