Skip to contentSkip to conversation

make problem: -Dfoo='"bar"' and FILES_FLAGS_CHANGED in .flags

DISCUSSION Kevin Hilman 2 participants 2 messages Feb 5, 2001 – Feb 6, 2001

lore
Share & tools
lore
#0 lore raw

When using -Dfoo='"bar"' in CFLAGS, it ends up as -Dfoo=bar in the .flags file. This difference causes the FILES_FLAGS_CHANGED to get set for any files that have that in their CFLAGS, and therefore they are always remade.

I'm not sure where the right place to change this is, but it looks like the .c.o rule in Rules.make is where the .flags files are generated.

Signature · 5 lines
Kevin Hilman
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
Please read the FAQ at http://www.tux.org/lkml/
#1 lore raw
Quoted 4 lines · Kevin Hilman

When using -Dfoo='"bar"' in CFLAGS, it ends up as -Dfoo=bar in the .flags file. This difference causes the FILES_FLAGS_CHANGED to get set for any files that have that in their CFLAGS, and therefore they are always remade.

Try using -Dfoo=\"bar\" instead.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
Please read the FAQ at http://www.tux.org/lkml/