Changeset 2267


Ignore:
Timestamp:
Mar 6, 2013, 9:04:15 AM (5 years ago)
Author:
matthijs
Message:

kernel: Fix building with GNU Make 3.82 on 2.0g.

This was previously fixed for the 2.0n kernel, but it turns out the
newer 2.0g kernel is also still broken. This adds a similar patch for
2.0g and also fixes the patch description of the 2.0n one.

References: #1038

Location:
trunk/openwrt/target/linux/generic-2.6
Files:
1 edited
1 copied

Legend:

Unmodified
Added
Removed
  • trunk/openwrt/target/linux/generic-2.6/patches-2.6.21/998_make_fix.patch

    r1903 r2267  
    1 Fix building busybox with GNU Make 3.82.
     1Fix building kernel with GNU Make 3.82.
    22
    33Patch based on upstream patch at
    4 https://bugs.busybox.net/show_bug.cgi?id=2323
     4http://patches.openembedded.org/patch/1851/
    55--- a/Makefile  2011-04-27 17:06:18.216887341 +0200
    66+++ b/Makefile  2011-04-27 17:05:13.020219909 +0200
  • trunk/openwrt/target/linux/generic-2.6/patches-2.6.26/998_make_fix.patch

    r2266 r2267  
    1 Fix building busybox with GNU Make 3.82.
     1Fix building kernel with GNU Make 3.82.
    22
    33Patch based on upstream patch at
    4 https://bugs.busybox.net/show_bug.cgi?id=2323
    5 --- a/Makefile  2011-04-27 17:06:18.216887341 +0200
    6 +++ b/Makefile  2011-04-27 17:05:13.020219909 +0200
    7 @@ -412,7 +412,11 @@
    8  include $(srctree)/arch/$(ARCH)/Makefile
     4http://patches.openembedded.org/patch/1851/
     5--- a/Makefile
     6+++ b/Makefile
     7@@ -431,7 +431,11 @@
     8 include $(srctree)/arch/$(SRCARCH)/Makefile
    99 export KBUILD_DEFCONFIG
    1010 
     
    1818        $(Q)$(MAKE) $(build)=scripts/kconfig $@
    1919 
    20 @@ -1440,7 +1444,10 @@
     20@@ -1551,7 +1555,11 @@
    2121        $(Q)$(MAKE) $(build)=$(build-dir) $(target-dir)$(notdir $@)
    2222 
     
    2424-/ %/: prepare scripts FORCE
    2525+/: prepare scripts FORCE
     26+       $(cmd_crmodverdir)
    2627+       $(Q)$(MAKE) KBUILD_MODULES=$(if $(CONFIG_MODULES),1) \
    2728+       $(build)=$(build-dir)
    2829+%/: prepare scripts FORCE
     30        $(cmd_crmodverdir)
    2931        $(Q)$(MAKE) KBUILD_MODULES=$(if $(CONFIG_MODULES),1) \
    3032        $(build)=$(build-dir)
    31  %.ko: prepare scripts FORCE
Note: See TracChangeset for help on using the changeset viewer.