Sam Ravnborg schrieb: > I'm afraid some people do not realize a whit about what they do. > So at least we could let kbuild warn about it. > Something like this: > > $ export CFLAGS=-O3 > $ make AFLAGS=-fisk > Makefile:540: "Appending $AFLAGS (-fisk) from command line to kernel defined $AFLAGS" > Makefile:544: "Appending $CFLAGS (-O3) from environment to kernel defined $CFLAGS" > CHK include/linux/version.h > CHK include/linux/utsrelease.h > CC arch/x86/kernel/asm-offsets.s > GEN include/asm-x86/asm-offsets.h > CALL scripts/checksyscalls.sh > CC scripts/mod/empty.o I agree, this is a sane way to do it. Would this patch have been applied, I would have found the problem within minutes AND I would have known that the kernel does use my CFLAGS, which I assumed it wouldn't. Maybe you should prefix the message with a "WARNING: ".
Attachment:
signature.asc
Description: OpenPGP digital signature
- References:
- Re: 2.6.24-rc1-82798a1 compile failure (x86_64)
- From: Sam Ravnborg <[email protected]>
- Re: 2.6.24-rc1-82798a1 compile failure (x86_64)
- From: Adrian Bunk <[email protected]>
- Re: 2.6.24-rc1-82798a1 compile failure (x86_64)
- From: Ingo Molnar <[email protected]>
- Re: 2.6.24-rc1-82798a1 compile failure (x86_64)
- From: David Miller <[email protected]>
- Re: 2.6.24-rc1-82798a1 compile failure (x86_64)
- From: Sam Ravnborg <[email protected]>
- Re: 2.6.24-rc1-82798a1 compile failure (x86_64)
- Prev by Date: Re: [PATCH 2/3 2.6.24-rc1-gitX] ieee1394: sbp2: s/g list fix
- Next by Date: Re: [PATCH] Smackv10: Smack rules grammar + their stateful parser
- Previous by thread: Re: 2.6.24-rc1-82798a1 compile failure (x86_64)
- Next by thread: Re: 2.6.24-rc1-82798a1 compile failure (x86_64)
- Index(es):