On 06/15/2011 04:01 PM, Jonas Gorski wrote: > Linux 3.0 is now at rc3, and it still isn't supported in OpenWrt, we have > to fix that! > > But first we have to make sure that it doesn't break anything (or at least > not too much), so add the required checks and handling for version numbers > starting with 3, and fix some other places breaking with 3.0. > > It will also need to be backported to backfire, else any three number > version will be "newer" than 3.0. > > There was also one explicit 2.6 check with $(KERNEL), since this will break > with 3.0 I chose to just assume this as always true and removed it. > > There are also some updates for the packages feed, but these rely on a > backported compareKernelPatchVer fix else they break on backfire. > Therefore I left them out for now. > > **Note**: Both linux patches were generated with > "--detect-copies-harder -l1000" and need to be also dcomitted with these > setting if using git-svn to properly keep the copy-and-modify information > for svn. > > Since this also reduces their size significantly the generic patch is now > included in the patchset. > > Changes V2 -> V3: > * Removed one accidentially slipped in patch for 3.0 and added a recently > added one > * Regenerated the linux patch patches to properly detect copies > * Refreshed patches for rc3 > > Changes V1 -> V2: > * Fix mac80211 instead of marking it as broken > * Fix madwifi instead of marking it as broken > * Fix busybox' insmod for 3.0 > * Fix acx-mac80211 compilation for 3.0 > * Add some more missing config options > * Made linux report itself as 3.0 instead of 3.0.0 > * Droppped the compareKernelPatchVer patch, as Felix already committed > a better version > * Refreshed patches for rc2 > > Jonas Gorski (10): > Properly extract KERNEL_PATCHVER for linux 3.0 > Fix CONFIG_LINUX_ for linux 3.0 > bcm47xx: Remove kernel checks from image Makefile > package/kernel: Update version dependencies and kmods for linux 3.0 > package/mac80211: Add linux 3.0 compatibility > madwifi: Fix linux 3.0 detection > busybox: Fix insmod for linux 3.0 > acx-mac80211: Compile fix for newer kernels > linux/generic: Add support for 3.0-rc2 > bcm63xx: Add support for Linux 3.0-rc2 > Hi,
There is still a problem affecting non 3.0 kernels. After I applied your 10 patches and ran make oldconfig CONFIG_LINUX_2_6_37=y was removed and CONFIG_LINUX_2_6=y was added to the .config instaed. Now all the conditions in the Makefiles are not working any more. Here is the diff of default brcm47xx target with mostly default config. Hauke --- .config.old 2011-06-15 21:22:38.970119270 +0200 +++ .config 2011-06-15 21:22:51.260509264 +0200 @@ -1,7 +1,7 @@ # # Automatically generated make config: don't edit # OpenWrt version: Attitude Adjustment (r27182) -# Wed Jun 15 21:22:38 2011 +# Wed Jun 15 21:22:51 2011 # CONFIG_HAVE_DOT_CONFIG=y # CONFIG_TARGET_ppc40x is not set @@ -258,7 +258,7 @@ CONFIG_TARGET_BOARD="brcm47xx" CONFIG_TARGET_ARCH_PACKAGES="brcm47xx" CONFIG_DEFAULT_TARGET_OPTIMIZATION="-Os -pipe -mips32 -mtune=mips32 -fno-caller-saves" -CONFIG_LINUX_2_6_37=y +CONFIG_LINUX_2_6=y CONFIG_DEFAULT_base-files=y CONFIG_DEFAULT_busybox=y CONFIG_DEFAULT_dnsmasq=y @@ -1517,9 +1517,6 @@ # CONFIG_PACKAGE_kmod-iptunnel6 is not set # CONFIG_PACKAGE_kmod-ipv6 is not set # CONFIG_PACKAGE_kmod-isdn4linux is not set -# CONFIG_PACKAGE_kmod-l2tp is not set -# CONFIG_PACKAGE_kmod-l2tp-eth is not set -# CONFIG_PACKAGE_kmod-l2tp-ip is not set # CONFIG_PACKAGE_kmod-misdn is not set # CONFIG_PACKAGE_kmod-mp-alg is not set # CONFIG_PACKAGE_kmod-openswan is not set @@ -1530,7 +1527,6 @@ # CONFIG_PACKAGE_kmod-pppoa is not set CONFIG_PACKAGE_kmod-pppoe=y # CONFIG_PACKAGE_kmod-pppol2tp is not set -# CONFIG_PACKAGE_kmod-pptp is not set # CONFIG_PACKAGE_kmod-sched is not set # CONFIG_PACKAGE_kmod-sctp is not set # CONFIG_PACKAGE_kmod-sit is not set (END) _______________________________________________ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel