Re: kbuild will remove .c files

From: Chris Wright
Date: Wed Mar 03 2004 - 16:40:05 EST


* Sam Ravnborg (sam@xxxxxxxxxxxx) wrote:
> What happens here is that make resort to a chained rule to create the
> irlan.o file.
> The chain goes from SCCS/%.c -> %.c -> %.s -> %.o
>
> The two files %.c and %.s is considered intermidiate files, and make
> guarantees that intermidiate files that did not exist when
> make was called, does not exists when make exists.
> This is reported by make with the "rm ..." line.

Ah, I was trying to find it in kbuild.

> First my make documentatin say the make would use "rm -f ...",not "rm".
> What make version do you use?

GNU Make 3.80

> Also I would expect to see irlan_client.s to be deleted also - did you miss that?
> It may show up a bit later.

No, it is not deleted.

thanks,
-chris
--
Linux Security Modules http://lsm.immunix.org http://lsm.bkbits.net
-
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/