1
(r2670) Sat Jul 12 02:12:23 2008 UTC by proski
3
Replace extra-y hacks with proper dependencies
5
Patch based on https://bugs.launchpad.net/ndiswrapper/+bug/241547
6
--- a/driver/Makefile 2008/05/28 03:30:28 2666
7
+++ b/driver/Makefile 2008/07/12 02:12:23 2670
9
%_exports.h: %.c $(obj)/mkexport.sh FORCE
10
$(call if_changed,mkexport)
12
-extra-y := $(EXPORTS)
13
+$(addprefix $(obj)/,$(EXPORTS:_exports.h=.o)): %.o: %_exports.h
15
ifeq ($(CONFIG_X86_64),y)
16
quiet_cmd_mkstubs = MKSTUBS $@
18
$(obj)/win2lin_stubs.h: $(addprefix $(src)/,$(STUB_SRCS)) FORCE
19
$(call if_changed,mkstubs)
21
-extra-y += win2lin_stubs.h
22
+$(obj)/win2lin_stubs.o: $(obj)/win2lin_stubs.h
23
OBJS += win2lin_stubs.o