* [PATCH] linux-2.6.28: allow building with GNU make >= 3.82
@ 2011-09-15 10:53 Steffen Sledz
2011-09-19 7:35 ` Steffen Sledz
0 siblings, 1 reply; 2+ messages in thread
From: Steffen Sledz @ 2011-09-15 10:53 UTC (permalink / raw)
To: openembedded-devel; +Cc: paulepanter
GNU make >= 3.82 does not allow mixed implicit and normal rules
Signed-off-by: Steffen Sledz <sledz@dresearch-fe.de>
---
recipes/linux/linux-2.6.28/make-3.82.patch | 40 ++++++++++++++++++++++++++++
recipes/linux/linux_2.6.28.bb | 3 +-
2 files changed, 42 insertions(+), 1 deletions(-)
create mode 100644 recipes/linux/linux-2.6.28/make-3.82.patch
diff --git a/recipes/linux/linux-2.6.28/make-3.82.patch b/recipes/linux/linux-2.6.28/make-3.82.patch
new file mode 100644
index 0000000..c22717e
--- /dev/null
+++ b/recipes/linux/linux-2.6.28/make-3.82.patch
@@ -0,0 +1,40 @@
+linux-2.6.28: allow building with GNU make >= 3.82
+
+GNU make >= 3.82 does not allow mixed implicit and normal rules
+
+Because linux-2.6.28 is superseded by newer versions it makes no sense
+to submit this patch upstream.
+
+Upstream-Status: Inappropriate [other]
+
+Signed-off-by: Steffen Sledz <sledz@dresearch-fe.de>
+
+diff -Nurd linux-2.6.28.orig//Makefile linux-2.6.28/Makefile
+--- linux-2.6.28.orig//Makefile 2011-09-14 16:15:53.782945380 +0200
++++ linux-2.6.28/Makefile 2011-09-14 16:16:50.887123688 +0200
+@@ -439,7 +439,11 @@
+ include $(srctree)/arch/$(SRCARCH)/Makefile
+ export KBUILD_DEFCONFIG KBUILD_KCONFIG
+
+-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 $@
+
+@@ -1607,7 +1611,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.28.bb b/recipes/linux/linux_2.6.28.bb
index 9cbb15e..1356378 100644
--- a/recipes/linux/linux_2.6.28.bb
+++ b/recipes/linux/linux_2.6.28.bb
@@ -1,6 +1,6 @@
require linux.inc
-PR = "r15"
+PR = "r16"
# Mark archs/machines that this kernel supports
DEFAULT_PREFERENCE = "-1"
@@ -18,6 +18,7 @@ DEFAULT_PREFERENCE_mini6410 = "1"
SRC_URI = "${KERNELORG_MIRROR}/pub/linux/kernel/v2.6/linux-2.6.28.tar.bz2;name=kernel \
${KERNELORG_MIRROR}/pub/linux/kernel/v2.6/patch-${PV}.10.bz2;apply=yes;name=stablepatch \
+ file://make-3.82.patch \
file://defconfig"
SRC_URI_append_at91sam9263ek = " \
--
1.7.3.4
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] linux-2.6.28: allow building with GNU make >= 3.82
2011-09-15 10:53 [PATCH] linux-2.6.28: allow building with GNU make >= 3.82 Steffen Sledz
@ 2011-09-19 7:35 ` Steffen Sledz
0 siblings, 0 replies; 2+ messages in thread
From: Steffen Sledz @ 2011-09-19 7:35 UTC (permalink / raw)
To: openembedded-devel
On 15.09.2011 12:53, Steffen Sledz wrote:
> GNU make >= 3.82 does not allow mixed implicit and normal rules
>
> Signed-off-by: Steffen Sledz <sledz@dresearch-fe.de>
> ---
> recipes/linux/linux-2.6.28/make-3.82.patch | 40 ++++++++++++++++++++++++++++
> recipes/linux/linux_2.6.28.bb | 3 +-
> 2 files changed, 42 insertions(+), 1 deletions(-)
> create mode 100644 recipes/linux/linux-2.6.28/make-3.82.patch
>
> diff --git a/recipes/linux/linux-2.6.28/make-3.82.patch b/recipes/linux/linux-2.6.28/make-3.82.patch
> new file mode 100644
> index 0000000..c22717e
> --- /dev/null
> +++ b/recipes/linux/linux-2.6.28/make-3.82.patch
> @@ -0,0 +1,40 @@
> +linux-2.6.28: allow building with GNU make >= 3.82
> +
> +GNU make >= 3.82 does not allow mixed implicit and normal rules
> +
> +Because linux-2.6.28 is superseded by newer versions it makes no sense
> +to submit this patch upstream.
> +
> +Upstream-Status: Inappropriate [other]
> +
> +Signed-off-by: Steffen Sledz <sledz@dresearch-fe.de>
> +
> +diff -Nurd linux-2.6.28.orig//Makefile linux-2.6.28/Makefile
> +--- linux-2.6.28.orig//Makefile 2011-09-14 16:15:53.782945380 +0200
> ++++ linux-2.6.28/Makefile 2011-09-14 16:16:50.887123688 +0200
> +@@ -439,7 +439,11 @@
> + include $(srctree)/arch/$(SRCARCH)/Makefile
> + export KBUILD_DEFCONFIG KBUILD_KCONFIG
> +
> +-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 $@
> +
> +@@ -1607,7 +1611,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.28.bb b/recipes/linux/linux_2.6.28.bb
> index 9cbb15e..1356378 100644
> --- a/recipes/linux/linux_2.6.28.bb
> +++ b/recipes/linux/linux_2.6.28.bb
> @@ -1,6 +1,6 @@
> require linux.inc
>
> -PR = "r15"
> +PR = "r16"
>
> # Mark archs/machines that this kernel supports
> DEFAULT_PREFERENCE = "-1"
> @@ -18,6 +18,7 @@ DEFAULT_PREFERENCE_mini6410 = "1"
>
> SRC_URI = "${KERNELORG_MIRROR}/pub/linux/kernel/v2.6/linux-2.6.28.tar.bz2;name=kernel \
> ${KERNELORG_MIRROR}/pub/linux/kernel/v2.6/patch-${PV}.10.bz2;apply=yes;name=stablepatch \
> + file://make-3.82.patch \
> file://defconfig"
>
> SRC_URI_append_at91sam9263ek = " \
applied and pushed
--
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] 2+ messages in thread
end of thread, other threads:[~2011-09-19 7:40 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-09-15 10:53 [PATCH] linux-2.6.28: allow building with GNU make >= 3.82 Steffen Sledz
2011-09-19 7:35 ` Steffen Sledz
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.