[PATCH] kexec-tools: don't include every archs Makefile
horms at verge.net.au
Tue May 4 23:31:24 EDT 2010
On Wed, May 05, 2010 at 11:51:10AM +1000, Michael Neuling wrote:
> This patches changes the kexec/Makefile to only include the required
> arch Makefile.
> Including all arch Makefiles causes unexpected results as changing one
> archs Makefile effects all other archs.
> ppc64 recently broke surprisingly because
> 6adc05c6e3fdbc8b9f5d915af78ca05d0a09cb17 "some kexec MIPS
> improvements" added "CFLAGS +=-Wall -Werror" to
> kexec/arch/mips/Makefile. This shouldn't happen.
> Signed-off-by: Michael Neuling <mikey at neuling.org>
> Horms: Tested by compiling on x86 and ppc64, but probably needs
> testing on other archs before being committed.
Unfortunately this breaks make tarball - only kexec/arch/$ARCH is
included in the tarball.
Perhaps we could introduce $(ARCH)_FLAGS, which I think is
consistent with the handling of other variables by the kexec build.
More information about the kexec