Home
last modified time | relevance | path

Searched hist:"9 da0763b" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/
H A DMakefilec79624c1a698a82747b1e6fe54cc7effa4c07aa5 Fri Jul 04 15:53:52 CDT 2014 Michal Marek <mmarek@suse.cz> kbuild: Fix packaging targets with relative $(srctree)

All other users of Makefile.build set $(obj) to the name of the
subdirectory to build. Do the same for the packaging targets, otherwise
the build fails if $(srctree) is a relative directory:

$ make O=build tar-pkg
make[1]: Entering directory `/home/mmarek/linux-2.6/build'
CHK include/config/kernel.release
../scripts/Makefile.build:44: ../../scripts/package/Makefile: No such file or directory
make[2]: *** No rule to make target `../../scripts/package/Makefile'. Stop.

Fixes: 9da0763b ("kbuild: Use relative path when building in a subdir of the source tree")
Signed-off-by: Michal Marek <mmarek@suse.cz>
c2e28dc975ea87feed84415006ae143424912ac7 Wed Jul 02 07:28:26 CDT 2014 Michal Marek <mmarek@suse.cz> kbuild: Print the name of the build directory

With commit 9da0763b (kbuild: Use relative path when building in a
subdir of the source tree), the compiler messages include relative
paths. These are however relative to the build directory, not the
directory where make was started. Print the "Entering directory ..."
message once, so that IDEs/editors can find the source files.

Acked-by: David Howells <dhowells@redhat.com>
Signed-off-by: Michal Marek <mmarek@suse.cz>