]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
uml: fx command-line CFLAGS and LDFLAGS support
authorJeff Dike <jdike@addtoit.com>
Tue, 5 Feb 2008 06:31:02 +0000 (22:31 -0800)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Tue, 5 Feb 2008 17:44:29 +0000 (09:44 -0800)
commit260c0cb886c304b760835b6033bf876a7701eb91
tree7d24edab780da2ed0192146ce6453fd9454b9671
parent3963333fe6767f15141ab2dc3b933721c636c212
uml: fx command-line CFLAGS and LDFLAGS support

UML still needed some work in order to allow CFLAGS to be passed in from the
command line.

USER_CFLAGS is produced from KBUILD_CFLAGS in part by removing all the -I
switches.  This is so that kernel headers don't accidentally get pulled into
libc files.  However, a common use of command-line CFLAGS would be to add -I
switches to the build.  This patch specifically adds any command-line -I flags
back to USER_CFLAGS.

I also corrected the spelling of LFLAGS to LDFLAGS.

Signed-off-by: Jeff Dike <jdike@linux.intel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/um/Makefile