summaryrefslogtreecommitdiff
blob: d10617bf1501bfc409236fe9bd98d1baa3e53077 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
diff -urp ipw2200-1.1.2/Makefile ipw2200-1.1.2-modverdir/Makefile
--- ipw2200-1.1.2/Makefile	2006-03-31 13:24:49.000000000 +0200
+++ ipw2200-1.1.2-modverdir/Makefile	2006-03-31 16:50:49.000000000 +0200
@@ -153,26 +153,8 @@ clean:
 distclean: clean
 	rm -f tags TAGS
 
-TMP=$(PWD)/tmp
-MODVERDIR=$(TMP)/.tmp_versions
-
 modules:
-	mkdir -p $(MODVERDIR)
-	-cp $(IEEE80211_MODVERDIR)/*.mod $(MODVERDIR)
-ifdef ($(KSRC_OUTPUT)/.tmp_versions)
-	-cp $(KSRC_OUTPUT)/.tmp_versions/*.mod $(MODVERDIR)
-endif
-ifeq ($(KSRC),$(KSRC_OUTPUT)) # We're not outputting elsewhere
-ifdef ($(KSRC)/.tmp_versions)
-	-cp $(KSRC)/.tmp_versions/*.mod $(MODVERDIR)
-endif
-	$(MAKE) -C $(KSRC) M=$(PWD) MODVERDIR=$(MODVERDIR) modules
-else # We've got a kernel with seperate output, copy the config, and use O=
-	mkdir -p $(TMP)
-	cp $(KSRC_OUTPUT)/.config $(TMP)
-	$(MAKE) -C $(KSRC) M=$(PWD) MODVERDIR=$(MODVERDIR)) O=$(PWD)/tmp modules
-endif
-
+	$(MAKE) -C $(KSRC) M=$(PWD) modules
 
 
 patch_kernel: