* [PATCH] x86/kbuild: archscripts depends on scripts_basic
[not found] ` <505A03EC.8090502@linux.intel.com>
@ 2012-09-20 14:31 ` Jeff Mahoney
[not found] ` <505B281D.80405@suse.de>
1 sibling, 0 replies; 2+ messages in thread
From: Jeff Mahoney @ 2012-09-20 14:31 UTC (permalink / raw)
To: linux-kbuild; +Cc: Michal Marek
While building the SUSE kernel packages, which build the scripts,
make clean, and then build everything, we have been running into spurious
build failures. We tracked them down to a simple dependency issue:
$ make mrproper
CLEAN arch/x86/tools
CLEAN scripts/basic
$ cp patches/config/x86_64/desktop .config
$ make archscripts
HOSTCC arch/x86/tools/relocs
/bin/sh: scripts/basic/fixdep: No such file or directory
make[3]: *** [arch/x86/tools/relocs] Error 1
make[2]: *** [archscripts] Error 2
make[1]: *** [sub-make] Error 2
make: *** [all] Error 2
This was introduced by commit
6520fe55 (x86, realmode: 16-bit real-mode code support for relocs),
which added the archscripts dependency to archprepare.
This patch adds the scripts_basic dependency to the x86 archscripts.
Signed-off-by: Jeff Mahoney <jeffm@suse.com>
---
arch/x86/Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- a/arch/x86/Makefile
+++ b/arch/x86/Makefile
@@ -142,7 +142,7 @@ KBUILD_CFLAGS += $(call cc-option,-mno-a
KBUILD_CFLAGS += $(mflags-y)
KBUILD_AFLAGS += $(mflags-y)
-archscripts:
+archscripts: scripts_basic
$(Q)$(MAKE) $(build)=arch/x86/tools relocs
###
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] x86/kbuild: archscripts depends on scripts_basic
[not found] ` <505B281D.80405@suse.de>
@ 2012-09-21 11:50 ` Michal Marek
0 siblings, 0 replies; 2+ messages in thread
From: Michal Marek @ 2012-09-21 11:50 UTC (permalink / raw)
To: Jeff Mahoney; +Cc: H. Peter Anvin, linux-kbuild, Linux Kernel Maling List
On Thu, Sep 20, 2012 at 10:28:45AM -0400, Jeff Mahoney wrote:
> While building the SUSE kernel packages, which build the scripts,
> make clean, and then build everything, we have been running into spurious
> build failures. We tracked them down to a simple dependency issue:
>
> $ make mrproper
> CLEAN arch/x86/tools
> CLEAN scripts/basic
> $ cp patches/config/x86_64/desktop .config
> $ make archscripts
> HOSTCC arch/x86/tools/relocs
> /bin/sh: scripts/basic/fixdep: No such file or directory
> make[3]: *** [arch/x86/tools/relocs] Error 1
> make[2]: *** [archscripts] Error 2
> make[1]: *** [sub-make] Error 2
> make: *** [all] Error 2
>
> This was introduced by commit
> 6520fe55 (x86, realmode: 16-bit real-mode code support for relocs),
> which added the archscripts dependency to archprepare.
>
> This patch adds the scripts_basic dependency to the x86 archscripts.
>
> Signed-off-by: Jeff Mahoney <jeffm@suse.com>
Applied to kbuild.git#rc-fixes, thanks.
Michal
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2012-09-21 11:50 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <505A02F8.4040804@suse.de>
[not found] ` <505A03EC.8090502@linux.intel.com>
2012-09-20 14:31 ` [PATCH] x86/kbuild: archscripts depends on scripts_basic Jeff Mahoney
[not found] ` <505B281D.80405@suse.de>
2012-09-21 11:50 ` Michal Marek
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox