On Wednesday 26 March 2008, Subrata Modak wrote: > On Wed, 2008-03-26 at 16:49 +0800, wangf wrote: > > Hi, > > > > When I was compiling ltp-full-20080229/kernel/module/, error occured. > > The error like this: > > ... > > scripts/Makefile.build:46: *** CFLAGS was changed > > in"ltp-full-20080229/testcases/kernel/module/delete_module/Makefile".Fix > > it to use EXTRA_CFLAGS. Stop. > > > > The reason is: When we build an External module, we should use > > EXTRA_CFLAGS, not CFLAGS. > > In detail please refer to Documentation/kbuild/modules.txt > > > > In addition,there are some trashy "include" such as: > > "#include <asm/atomic.h>" in delete_module01.c > > "#include <linux/config.h>" in dummy_del_mod.c > > > > The following patch solves these problems: > > > > Signed-off-by: Wang Fang <[EMAIL PROTECTED]> > > > > --- > > Thanks for your Patches. > > Mike, > > Can you review this Patch and put forward your comments ?
looks fine -mike
signature.asc
Description: This is a digitally signed message part.
------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________ Ltp-list mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/ltp-list
