All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] linux-2.6.24: allow building kernel with newer GNU make
@ 2011-03-29  7:00 Steffen Sledz
  2011-03-31 13:43 ` Steffen Sledz
  2011-03-31 20:42 ` Khem Raj
  0 siblings, 2 replies; 3+ messages in thread
From: Steffen Sledz @ 2011-03-29  7:00 UTC (permalink / raw)
  To: openembedded-devel

GNU make >= 3.82 does not allow mixed implicit and normal rules

Signed-off-by: Steffen Sledz <sledz@dresearch-fe.de>
---
 .../linux-libc-headers-2.6.24/make-3.82.patch      |   29 ++++++++++++++++++++
 .../linux-libc-headers_2.6.24.bb                   |    3 +-
 recipes/linux/linux-2.6.24/make-3.82.patch         |   29 ++++++++++++++++++++
 recipes/linux/linux_2.6.24.bb                      |    3 +-
 4 files changed, 62 insertions(+), 2 deletions(-)
 create mode 100644 recipes/linux-libc-headers/linux-libc-headers-2.6.24/make-3.82.patch
 create mode 100644 recipes/linux/linux-2.6.24/make-3.82.patch

diff --git a/recipes/linux-libc-headers/linux-libc-headers-2.6.24/make-3.82.patch b/recipes/linux-libc-headers/linux-libc-headers-2.6.24/make-3.82.patch
new file mode 100644
index 0000000..99896d9
--- /dev/null
+++ b/recipes/linux-libc-headers/linux-libc-headers-2.6.24/make-3.82.patch
@@ -0,0 +1,29 @@
+diff -Nurd linux-2.6.24.orig//Makefile linux-2.6.24/Makefile
+--- linux-2.6.24.orig//Makefile	2011-03-29 07:56:05.122449521 +0200
++++ linux-2.6.24/Makefile	2011-03-29 07:57:48.726768621 +0200
+@@ -431,7 +431,11 @@
+ include $(srctree)/arch/$(SRCARCH)/Makefile
+ export KBUILD_DEFCONFIG
+ 
+-config %config: scripts_basic outputmakefile FORCE
++config: scripts_basic outputmakefile FORCE
++	$(Q)mkdir -p include/linux include/config
++	$(Q)$(MAKE) $(build)=scripts/kconfig $@
++
++%config: scripts_basic outputmakefile FORCE
+ 	$(Q)mkdir -p include/linux include/config
+ 	$(Q)$(MAKE) $(build)=scripts/kconfig $@
+ 
+@@ -1500,7 +1504,11 @@
+ 	$(Q)$(MAKE) $(build)=$(build-dir) $(target-dir)$(notdir $@)
+ 
+ # Modules
+-/ %/: prepare scripts FORCE
++/: prepare scripts FORCE
++	$(cmd_crmodverdir)
++	$(Q)$(MAKE) KBUILD_MODULES=$(if $(CONFIG_MODULES),1) \
++	$(build)=$(build-dir)
++%/: prepare scripts FORCE
+ 	$(cmd_crmodverdir)
+ 	$(Q)$(MAKE) KBUILD_MODULES=$(if $(CONFIG_MODULES),1) \
+ 	$(build)=$(build-dir)
diff --git a/recipes/linux-libc-headers/linux-libc-headers_2.6.24.bb b/recipes/linux-libc-headers/linux-libc-headers_2.6.24.bb
index e95299b..9c683a7 100644
--- a/recipes/linux-libc-headers/linux-libc-headers_2.6.24.bb
+++ b/recipes/linux-libc-headers/linux-libc-headers_2.6.24.bb
@@ -2,11 +2,12 @@ require linux-libc-headers.inc
 
 INHIBIT_DEFAULT_DEPS = "1"
 DEPENDS += "unifdef-native"
-PR = "r6"
+PR = "r7"
 
 SRC_URI = "${KERNELORG_MIRROR}/pub/linux/kernel/v2.6/linux-${PV}.tar.bz2 \
            file://procinfo.h \
            file://export_falloc_h.patch \
+           file://make-3.82.patch \
            file://unifdef.patch"
 
 S = "${WORKDIR}/linux-${PV}"
diff --git a/recipes/linux/linux-2.6.24/make-3.82.patch b/recipes/linux/linux-2.6.24/make-3.82.patch
new file mode 100644
index 0000000..99896d9
--- /dev/null
+++ b/recipes/linux/linux-2.6.24/make-3.82.patch
@@ -0,0 +1,29 @@
+diff -Nurd linux-2.6.24.orig//Makefile linux-2.6.24/Makefile
+--- linux-2.6.24.orig//Makefile	2011-03-29 07:56:05.122449521 +0200
++++ linux-2.6.24/Makefile	2011-03-29 07:57:48.726768621 +0200
+@@ -431,7 +431,11 @@
+ include $(srctree)/arch/$(SRCARCH)/Makefile
+ export KBUILD_DEFCONFIG
+ 
+-config %config: scripts_basic outputmakefile FORCE
++config: scripts_basic outputmakefile FORCE
++	$(Q)mkdir -p include/linux include/config
++	$(Q)$(MAKE) $(build)=scripts/kconfig $@
++
++%config: scripts_basic outputmakefile FORCE
+ 	$(Q)mkdir -p include/linux include/config
+ 	$(Q)$(MAKE) $(build)=scripts/kconfig $@
+ 
+@@ -1500,7 +1504,11 @@
+ 	$(Q)$(MAKE) $(build)=$(build-dir) $(target-dir)$(notdir $@)
+ 
+ # Modules
+-/ %/: prepare scripts FORCE
++/: prepare scripts FORCE
++	$(cmd_crmodverdir)
++	$(Q)$(MAKE) KBUILD_MODULES=$(if $(CONFIG_MODULES),1) \
++	$(build)=$(build-dir)
++%/: prepare scripts FORCE
+ 	$(cmd_crmodverdir)
+ 	$(Q)$(MAKE) KBUILD_MODULES=$(if $(CONFIG_MODULES),1) \
+ 	$(build)=$(build-dir)
diff --git a/recipes/linux/linux_2.6.24.bb b/recipes/linux/linux_2.6.24.bb
index 5c05593..5cc686a 100644
--- a/recipes/linux/linux_2.6.24.bb
+++ b/recipes/linux/linux_2.6.24.bb
@@ -11,7 +11,7 @@ DEFAULT_PREFERENCE_hipox = "1"
 DEFAULT_PREFERENCE_cs-e9302 = "1"
 DEFAULT_PREFERENCE_smartq5 = "1"
 
-PR = "r36"
+PR = "r37"
 
 SRC_URI = "${KERNELORG_MIRROR}/pub/linux/kernel/v2.6/linux-2.6.24.tar.bz2;name=kernel \
            ${KERNELORG_MIRROR}/pub/linux/kernel/v2.6/patch-${PV}.7.bz2;apply=yes;name=stablepatch \
@@ -19,6 +19,7 @@ SRC_URI = "${KERNELORG_MIRROR}/pub/linux/kernel/v2.6/linux-2.6.24.tar.bz2;name=k
            file://ubifs-v2.6.24.patch \
            file://ubifs-v2.6.24-silent-get-sb.patch \
            file://cfi-amic.patch \
+           file://make-3.82.patch \
            file://defconfig"
 
 # Moved away temporarely until committed properly (work in progress).
-- 
1.7.3.4




^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] linux-2.6.24: allow building kernel with newer GNU make
  2011-03-29  7:00 [PATCH] linux-2.6.24: allow building kernel with newer GNU make Steffen Sledz
@ 2011-03-31 13:43 ` Steffen Sledz
  2011-03-31 20:42 ` Khem Raj
  1 sibling, 0 replies; 3+ messages in thread
From: Steffen Sledz @ 2011-03-31 13:43 UTC (permalink / raw)
  To: openembedded-devel

Am 29.03.2011 09:00, schrieb Steffen Sledz:
> GNU make >= 3.82 does not allow mixed implicit and normal rules
> 
> Signed-off-by: Steffen Sledz <sledz@dresearch-fe.de>

Somebody willing to ACK?

Steffen

-- 
DResearch Fahrzeugelektronik GmbH
Otto-Schmirgal-Str. 3, 10319 Berlin, Germany
Tel: +49 30 515932-237 mailto:sledz@dresearch-fe.de
Fax: +49 30 515932-299
Geschäftsführer: Dr. Michael Weber, Werner Mögle;
Amtsgericht Berlin Charlottenburg; HRB 130120 B;
Ust.-IDNr. DE273952058



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] linux-2.6.24: allow building kernel with newer GNU make
  2011-03-29  7:00 [PATCH] linux-2.6.24: allow building kernel with newer GNU make Steffen Sledz
  2011-03-31 13:43 ` Steffen Sledz
@ 2011-03-31 20:42 ` Khem Raj
  1 sibling, 0 replies; 3+ messages in thread
From: Khem Raj @ 2011-03-31 20:42 UTC (permalink / raw)
  To: openembedded-devel

On Tue, Mar 29, 2011 at 12:00 AM, Steffen Sledz <sledz@dresearch-fe.de> wrote:
> GNU make >= 3.82 does not allow mixed implicit and normal rules
>
> Signed-off-by: Steffen Sledz <sledz@dresearch-fe.de>

Looks good.


Acked-by: Khem Raj <raj.khem@gmail.com>

> ---
>  .../linux-libc-headers-2.6.24/make-3.82.patch      |   29 ++++++++++++++++++++
>  .../linux-libc-headers_2.6.24.bb                   |    3 +-
>  recipes/linux/linux-2.6.24/make-3.82.patch         |   29 ++++++++++++++++++++
>  recipes/linux/linux_2.6.24.bb                      |    3 +-
>  4 files changed, 62 insertions(+), 2 deletions(-)
>  create mode 100644 recipes/linux-libc-headers/linux-libc-headers-2.6.24/make-3.82.patch
>  create mode 100644 recipes/linux/linux-2.6.24/make-3.82.patch
>
> diff --git a/recipes/linux-libc-headers/linux-libc-headers-2.6.24/make-3.82.patch b/recipes/linux-libc-headers/linux-libc-headers-2.6.24/make-3.82.patch
> new file mode 100644
> index 0000000..99896d9
> --- /dev/null
> +++ b/recipes/linux-libc-headers/linux-libc-headers-2.6.24/make-3.82.patch
> @@ -0,0 +1,29 @@
> +diff -Nurd linux-2.6.24.orig//Makefile linux-2.6.24/Makefile
> +--- linux-2.6.24.orig//Makefile        2011-03-29 07:56:05.122449521 +0200
> ++++ linux-2.6.24/Makefile      2011-03-29 07:57:48.726768621 +0200
> +@@ -431,7 +431,11 @@
> + include $(srctree)/arch/$(SRCARCH)/Makefile
> + export KBUILD_DEFCONFIG
> +
> +-config %config: scripts_basic outputmakefile FORCE
> ++config: scripts_basic outputmakefile FORCE
> ++      $(Q)mkdir -p include/linux include/config
> ++      $(Q)$(MAKE) $(build)=scripts/kconfig $@
> ++
> ++%config: scripts_basic outputmakefile FORCE
> +       $(Q)mkdir -p include/linux include/config
> +       $(Q)$(MAKE) $(build)=scripts/kconfig $@
> +
> +@@ -1500,7 +1504,11 @@
> +       $(Q)$(MAKE) $(build)=$(build-dir) $(target-dir)$(notdir $@)
> +
> + # Modules
> +-/ %/: prepare scripts FORCE
> ++/: prepare scripts FORCE
> ++      $(cmd_crmodverdir)
> ++      $(Q)$(MAKE) KBUILD_MODULES=$(if $(CONFIG_MODULES),1) \
> ++      $(build)=$(build-dir)
> ++%/: prepare scripts FORCE
> +       $(cmd_crmodverdir)
> +       $(Q)$(MAKE) KBUILD_MODULES=$(if $(CONFIG_MODULES),1) \
> +       $(build)=$(build-dir)
> diff --git a/recipes/linux-libc-headers/linux-libc-headers_2.6.24.bb b/recipes/linux-libc-headers/linux-libc-headers_2.6.24.bb
> index e95299b..9c683a7 100644
> --- a/recipes/linux-libc-headers/linux-libc-headers_2.6.24.bb
> +++ b/recipes/linux-libc-headers/linux-libc-headers_2.6.24.bb
> @@ -2,11 +2,12 @@ require linux-libc-headers.inc
>
>  INHIBIT_DEFAULT_DEPS = "1"
>  DEPENDS += "unifdef-native"
> -PR = "r6"
> +PR = "r7"
>
>  SRC_URI = "${KERNELORG_MIRROR}/pub/linux/kernel/v2.6/linux-${PV}.tar.bz2 \
>            file://procinfo.h \
>            file://export_falloc_h.patch \
> +           file://make-3.82.patch \
>            file://unifdef.patch"
>
>  S = "${WORKDIR}/linux-${PV}"
> diff --git a/recipes/linux/linux-2.6.24/make-3.82.patch b/recipes/linux/linux-2.6.24/make-3.82.patch
> new file mode 100644
> index 0000000..99896d9
> --- /dev/null
> +++ b/recipes/linux/linux-2.6.24/make-3.82.patch
> @@ -0,0 +1,29 @@
> +diff -Nurd linux-2.6.24.orig//Makefile linux-2.6.24/Makefile
> +--- linux-2.6.24.orig//Makefile        2011-03-29 07:56:05.122449521 +0200
> ++++ linux-2.6.24/Makefile      2011-03-29 07:57:48.726768621 +0200
> +@@ -431,7 +431,11 @@
> + include $(srctree)/arch/$(SRCARCH)/Makefile
> + export KBUILD_DEFCONFIG
> +
> +-config %config: scripts_basic outputmakefile FORCE
> ++config: scripts_basic outputmakefile FORCE
> ++      $(Q)mkdir -p include/linux include/config
> ++      $(Q)$(MAKE) $(build)=scripts/kconfig $@
> ++
> ++%config: scripts_basic outputmakefile FORCE
> +       $(Q)mkdir -p include/linux include/config
> +       $(Q)$(MAKE) $(build)=scripts/kconfig $@
> +
> +@@ -1500,7 +1504,11 @@
> +       $(Q)$(MAKE) $(build)=$(build-dir) $(target-dir)$(notdir $@)
> +
> + # Modules
> +-/ %/: prepare scripts FORCE
> ++/: prepare scripts FORCE
> ++      $(cmd_crmodverdir)
> ++      $(Q)$(MAKE) KBUILD_MODULES=$(if $(CONFIG_MODULES),1) \
> ++      $(build)=$(build-dir)
> ++%/: prepare scripts FORCE
> +       $(cmd_crmodverdir)
> +       $(Q)$(MAKE) KBUILD_MODULES=$(if $(CONFIG_MODULES),1) \
> +       $(build)=$(build-dir)
> diff --git a/recipes/linux/linux_2.6.24.bb b/recipes/linux/linux_2.6.24.bb
> index 5c05593..5cc686a 100644
> --- a/recipes/linux/linux_2.6.24.bb
> +++ b/recipes/linux/linux_2.6.24.bb
> @@ -11,7 +11,7 @@ DEFAULT_PREFERENCE_hipox = "1"
>  DEFAULT_PREFERENCE_cs-e9302 = "1"
>  DEFAULT_PREFERENCE_smartq5 = "1"
>
> -PR = "r36"
> +PR = "r37"
>
>  SRC_URI = "${KERNELORG_MIRROR}/pub/linux/kernel/v2.6/linux-2.6.24.tar.bz2;name=kernel \
>            ${KERNELORG_MIRROR}/pub/linux/kernel/v2.6/patch-${PV}.7.bz2;apply=yes;name=stablepatch \
> @@ -19,6 +19,7 @@ SRC_URI = "${KERNELORG_MIRROR}/pub/linux/kernel/v2.6/linux-2.6.24.tar.bz2;name=k
>            file://ubifs-v2.6.24.patch \
>            file://ubifs-v2.6.24-silent-get-sb.patch \
>            file://cfi-amic.patch \
> +           file://make-3.82.patch \
>            file://defconfig"
>
>  # Moved away temporarely until committed properly (work in progress).
> --
> 1.7.3.4
>
>
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
>



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2011-03-31 20:44 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-03-29  7:00 [PATCH] linux-2.6.24: allow building kernel with newer GNU make Steffen Sledz
2011-03-31 13:43 ` Steffen Sledz
2011-03-31 20:42 ` Khem Raj

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.