fix wep encryption setting for madwifi
[openwrt.git] / target / linux / ixp4xx-2.6 / image / npe-ucode / 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:=npe-ucode
12 PKG_VERSION:=2.3
13 PKG_RELEASE:=1
14
15 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
16 PKG_SOURCE:=IPL_ixp400NpeLibrary-2_3.zip
17 PKG_UNPACK:=unzip -d $(PKG_BUILD_DIR)/ $(DL_DIR)/$(PKG_SOURCE)
18
19 include $(INCLUDE_DIR)/unpack.mk
20
21 $(PKG_BUILD_DIR)/.prepared:
22 mkdir $(PKG_BUILD_DIR)
23 $(PKG_UNPACK)
24 mv $(PKG_BUILD_DIR)/ixp400_xscale_sw/src/npeDl/IxNpeMicrocode.c $(PKG_BUILD_DIR)/
25 rm -rf $(PKG_BUILD_DIR)/ixp400_xscale_sw
26 $(CP) ./src/* $(PKG_BUILD_DIR)/
27 touch $@
28
29 $(PKG_BUILD_DIR)/NPE-B: $(PKG_BUILD_DIR)/.prepared
30 ( cd $(PKG_BUILD_DIR) ; \
31 $(HOSTCC) -Wall IxNpeMicrocode.c -o IxNpeMicrocode ; \
32 ./IxNpeMicrocode -be )
33
34 download: $(DL_DIR)/$(PKG_SOURCE)
35 prepare: $(PKG_BUILD_DIR)/.prepared
36 compile: $(PKG_BUILD_DIR)/NPE-B
37
38 ifneq ($(TARGET),)
39 install: compile
40 $(INSTALL_BIN) $(PKG_BUILD_DIR)/NPE-B $(TARGET)/
41 endif
42
43 clean:
44 rm -rf $(PKG_BUILD_DIR)
This page took 0.049387 seconds and 5 git commands to generate.