Can you please write the rule as:
3c575_cb.o: ../3c59x.c
$(CC) $(CFLAGS) -D__NO_VERSION__ -DPCMCIA -c -o $@ $<
Or perhaps as:
CFLAGS_3c575_cb.o := $(CFLAGS) -D__NO_VERSION__ -DPCMCIA
3c575_cb.o: ../3c59x.c
(altthough I suppose that would generate the .flags.o that you didn't
seem to want.)
I've been trying to get the kernel makefiles to cooperate with VPATH,
and it helps greatly if no more rules that explicitly list the source
file get added.
-- Aaron Denney -><-- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/