Rev 6 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 6 | Rev 361 | ||
---|---|---|---|
Line 10... | Line 10... | ||
10 | 10 | ||
11 | obj-m += $(TARGET).o |
11 | obj-m += $(TARGET).o |
12 | $(TARGET)-objs := usmcpkt.o usmcdrv-driver.o |
12 | $(TARGET)-objs := usmcpkt.o usmcdrv-driver.o |
13 | 13 | ||
14 | default: |
14 | default: |
15 | make -C $(KDIR) SUBDIRS=$(PWD) modules |
15 | # make -C $(KDIR) SUBDIRS=$(PWD) modules |
- | 16 | make -C $(KDIR) M=$(shell pwd) modules |
|
16 | 17 | ||
17 | $(TARGET).o: $(OBJS) |
18 | $(TARGET).o: $(OBJS) |
18 | $(LD) $(LD_RFLAG) -r -o $@ $(OBJS) |
19 | $(LD) $(LD_RFLAG) -r -o $@ $(OBJS) |
19 | 20 | ||
20 | ifneq (,$(findstring 2.4.,$(CURRENT))) |
21 | ifneq (,$(findstring 2.4.,$(CURRENT))) |