Re: [kbuild-devel] Re: Announce: Kernel Build for 2.5, release 3.0 is available

John Cowan (jcowan@reutershealth.com)
Tue, 4 Jun 2002 22:25:20 -0400 (EDT)


Keith Owens scripsit:

> In order to do separate source and object correctly, kbuild 2.5
> enforces the rule that #include "" comes from the local directory,
> #include <> comes from the include path. include/linux/zlib.h
> incorrectly does #include "zconf.h" instead of #include <linux/zconf.h>,
> breaking the rules.

This is not the standard gcc behavior, however; quoted-includes
can come from the include path, although the current directory
is searched first. The purpose of <>-includes is to suppress
searching the current directory.

-- 
John Cowan <jcowan@reutershealth.com>     http://www.reutershealth.com
I amar prestar aen, han mathon ne nen,    http://www.ccil.org/~cowan
han mathon ne chae, a han noston ne 'wilith.  --Galadriel, _LOTR:FOTR_
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/