um: Fix for relative objtree when generating x86 headers
authorMichal Marek <mmarek@suse.cz>
Thu, 5 Jun 2014 15:44:44 +0000 (17:44 +0200)
committerMichal Marek <mmarek@suse.cz>
Thu, 5 Jun 2014 15:55:48 +0000 (17:55 +0200)
commitd4bc590f8716f7dde6b7bca319097ac30a8cb0b4
treec3b371f14281e386cc6ca44d63bf8cbb64d3554a
parent9da0763bdd82572be243fcf5161734f11568960f
um: Fix for relative objtree when generating x86 headers

In an O= build, rely on the generated Makefile to call the main Makefile
properly. When building in the source tree, we do not need to specify
the -C and O= either. This fixes the problem when $(objtree) is a
relative path and the -C changes the directory.

Reported-by: Richard Weinberger <richard.weinberger@gmail.com>
Signed-off-by: Michal Marek <mmarek@suse.cz>
arch/um/Makefile