SOURCES: zd1211-build.patch (NEW) - kernel-net-zd1211-build.patch

wolvverine wolvverine at pld-linux.org
Sun Oct 26 14:32:25 CET 2008


Author: wolvverine                   Date: Sun Oct 26 13:32:25 2008 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- kernel-net-zd1211-build.patch

---- Files affected:
SOURCES:
   zd1211-build.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SOURCES/zd1211-build.patch
diff -u /dev/null SOURCES/zd1211-build.patch:1.1
--- /dev/null	Sun Oct 26 14:32:26 2008
+++ SOURCES/zd1211-build.patch	Sun Oct 26 14:32:20 2008
@@ -0,0 +1,55 @@
+diff -urbB zd1211.org/Makefile zd1211/Makefile
+--- zd1211.org/Makefile	2005-10-02 16:29:04.000000000 +0200
++++ zd1211/Makefile	2005-10-09 11:26:06.551540500 +0200
+@@ -21,9 +21,6 @@
+ ZD1211REV_B=0
+ 
+ SRC_DIR=src
+-DEFINES=-D__KERNEL__ -DMODULE=1
+-
+-
+ 
+ ifeq ($(KERN_26), y)
+ 
+@@ -34,18 +31,10 @@
+ MODULE = zd1211.ko
+ endif
+ 
+-INCLUDES=-I$(KERNEL_SOURCE)/include -I$(SRC_DIR)/include/ -I$(SRC_DIR)
++INCLUDES=-I$(SRC_DIR)
+ 
+ EXTRA_CFLAGS += -I$(PWD)/src/include
+ 
+-ifndef CONFIG_FRAME_POINTER
+-EXTRA_CFLAGS += -fomit-frame-pointer
+-endif
+-         
+-ifdef CONFIG_SMP
+-EXTRA_CFLAGS += -D__SMP__ -DSMP
+-endif
+-
+ KDIR := $(MODPATH)/build
+ PWD := $(shell pwd)
+ 
+@@ -155,20 +144,6 @@
+     $(SRC_DIR)/zdusb.o 
+     OBJECTS += $(SRC_DIR)/zd1211.o
+ 
+-CFLAGS=-O -Wall -Wstrict-prototypes -pipe # -Wa,-a,-ad -g
+-
+-ifdef CONFIG_MODVERSIONS
+-CFLAGS += -DMODVERSIONS -include $(KERNEL_SOURCE)/include/linux/modversions.h   #kernel 2.4
+-endif
+-
+-ifndef CONFIG_FRAME_POINTER
+-CFLAGS += -fomit-frame-pointer
+-endif
+-
+-ifdef CONFIG_SMP
+-CFLAGS += -D__SMP__ -DSMP
+-endif
+-
+ CFLAGS += -DZDCONF_WE_STAT_SUPPORT=1
+ CFLAGS += -DHOST_IF_USB
+ CFLAGS += -DAMAC
+
================================================================


More information about the pld-cvs-commit mailing list