relocate packages on recipes-base/recipes-enigma2/recipes-wlan.
[vuplus_openvuplus] / meta-openvuplus / recipes-connectivity / wlan-rt73 / files / make.patch
1 --- Module/Makefile     2008-05-06 07:58:14.000000000 +0200
2 +++ Module/Makefile     2008-08-04 15:08:58.000000000 +0200
3 @@ -14,6 +14,8 @@
4  #Support Block Net-If during TxSw queue full.
5  HAS_BLOCK_NET_IF=y
6  
7 +VERSION := $(shell uname -r)
8 +MODPATH := /lib/modules/$(VERSION)
9  
10  WFLAGS := -Wall -Wstrict-prototypes -Wno-trigraphs
11  
12 @@ -35,7 +37,7 @@
13  EXTRA_CFLAGS += $(WFLAGS)
14  
15  ifeq ($(PLATFORM),PC)
16 -LINUX_SRC =/lib/modules/$(shell uname -r)/build
17 +LINUX_SRC ?= $(MODPATH)/source
18  endif
19  ifeq ($(PLATFORM),CMPC)
20  LINUX_SRC = /home/fonchi/vendor/kernel-default-2.6.21/linux-2.6.21