Re: kbuild + kconfig: Updates

From: viro
Date: Mon Aug 16 2004 - 15:06:24 EST


On Mon, Aug 16, 2004 at 10:45:50PM +0200, Sam Ravnborg wrote:
> $(single-used-m): %.o: %.c FORCE
> + $(cmd_force_checksrc)
> $(call if_changed_rule,cc_o_c)
> @{ echo $(@:.o=.ko); echo $@; } > $(MODVERDIR)/$(@F:.o=.mod)
>
>
> That should do it?
> I will push this if you are OK with it.

Uhh... It ends up running sparse *twice* and still runs gcc on every
file.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/