Skip to contentSkip to conversation

jobserver disabled for make tar*-pkg

PATCH Andi Kleen 2 participants 3 messages Apr 29, 2012 Kbuild

lore
Share & tools
lore

Andi Kleen

author
#0 lore raw

When I do make -jX tar*-pkg make complains that the job server disabled and I should add + to the target rule. I tried this patch, but the message still happens. Anyone knows where the real target rule is and can fix it please?

-Andi

(cut'n'pasted, just for illustration)

iff --git a/scripts/package/Makefile b/scripts/package/Makefile index 87bf080..212ee19 100644

scripts/package/Makefile +2 -2
@@ -105,8 +105,8 @@ clean-dirs += $(objtree)/debian/
 # tarball targets
 # ---------------------------------------------------------------------------
 tar%pkg: FORCE
-       $(MAKE) KBUILD_SRC=
-       $(CONFIG_SHELL) $(srctree)/scripts/package/buildtar $@
+       +$(MAKE) KBUILD_SRC=
+       +$(CONFIG_SHELL) $(srctree)/scripts/package/buildtar $@
 
 clean-dirs += $(objtree)/tar-install/
 
Signature · 1 line
[email protected] -- Speaking for myself only.
#1 lore raw
Quoted 15 lines · Andi Kleen

When I do make -jX tar*-pkg make complains that the job server disabled and I should add + to the target rule. I tried this patch, but the message still happens. Anyone knows where the real target rule is and can fix it please?

-Andi

(cut'n'pasted, just for illustration)

iff --git a/scripts/package/Makefile b/scripts/package/Makefile index 87bf080..212ee19 100644

scripts/package/Makefile clean-dirs += $(objtree)/debian/ · line 111

Quoted 9 lines
scripts/package/Makefile +2 -2
@@ -105,8 +105,8 @@ clean-dirs += $(objtree)/debian/
 # tarball targets
 # ---------------------------------------------------------------------------
 tar%pkg: FORCE
-       $(MAKE) KBUILD_SRC=
-       $(CONFIG_SHELL) $(srctree)/scripts/package/buildtar $@
+       +$(MAKE) KBUILD_SRC=
+       +$(CONFIG_SHELL) $(srctree)/scripts/package/buildtar $@
 
 clean-dirs += $(objtree)/tar-install/

For the following comamnd:

make O=o -j8 tar-pkg

your patch fixed the annoying warning?!?
So it seems to work for me.

Sam

author
#2 lore raw
Quoted 13 lines
Quoted 13 lines

iff --git a/scripts/package/Makefile b/scripts/package/Makefile index 87bf080..212ee19 100644

scripts/package/Makefile +2 -2
@@ -105,8 +105,8 @@ clean-dirs += $(objtree)/debian/
 # tarball targets
 # ---------------------------------------------------------------------------
 tar%pkg: FORCE
-       $(MAKE) KBUILD_SRC=
-       $(CONFIG_SHELL) $(srctree)/scripts/package/buildtar $@
+       +$(MAKE) KBUILD_SRC=
+       +$(CONFIG_SHELL) $(srctree)/scripts/package/buildtar $@
 
Quoted 7 lines

scripts/package/Makefile clean-dirs += $(objtree)/debian/ · line 111

Quoted 1 line
scripts/package/Makefile +0 -0
 clean-dirs += $(objtree)/tar-install/

For the following comamnd:

make O=o -j8 tar-pkg

your patch fixed the annoying warning?!?

I still see the warning even with the patch :-(

Hmm, I use a separate objdir. Could that be related?

-Andi

Signature · 1 line
[email protected] -- Speaking for myself only.