summaryrefslogtreecommitdiffstats
path: root/base
diff options
context:
space:
mode:
authortnut <thierryn1 at hispeed dot ch>2011-03-02 20:24:39 +0100
committertnut <thierryn1 at hispeed dot ch>2011-03-02 20:24:39 +0100
commit29ceb953e6dd033fa3ed453c281e89bfa31be625 (patch)
tree2d2af98af7a1298f162727abca4a85af0d9714e2 /base
parentdf1e6801ea028a777df1afd32895f06fb778523c (diff)
downloadnutyx-extra-29ceb953e6dd033fa3ed453c281e89bfa31be625.tar.gz
nutyx-extra-29ceb953e6dd033fa3ed453c281e89bfa31be625.tar.bz2
nutyx-extra-29ceb953e6dd033fa3ed453c281e89bfa31be625.tar.xz
nutyx-extra-29ceb953e6dd033fa3ed453c281e89bfa31be625.zip
kernel-lenovo, maj 2.6.36.4-1
Diffstat (limited to 'base')
-rw-r--r--base/kernel-lenovo/Pkgfile30
-rw-r--r--base/kernel-lenovo/config47
2 files changed, 52 insertions, 25 deletions
diff --git a/base/kernel-lenovo/Pkgfile b/base/kernel-lenovo/Pkgfile
index 01e627806..e13ee93ce 100644
--- a/base/kernel-lenovo/Pkgfile
+++ b/base/kernel-lenovo/Pkgfile
@@ -1,14 +1,16 @@
# Description: Optimisé pour Lenovo G550, NetLink BCM5906M Fast Ethernet broadcom, broadcom BCM4312 LP-PHY pilote hybrid, SATA ICH9M/M-E SATA AHCI, VGA Intel Mobile 4, Intel HD Audio, ReiserFS
# URL: http://www.kernel.org
+# Broadcom URL: http://www.broadcom.com/support/802.11/linux_sta.php
# Maintainer: NuTyX core team
# Packager: thierryn1 at hispeed dot ch
name=kernel-lenovo
-version=2.6.36.3
+version=2.6.36.4
_BaseVersion=2.6.36
release=1
PKGMK_NO_STRIP="yes"
PKGMK_IGNORE_FOOTPRINT="yes"
+PKGMK_IGNORE_MD5SUM="yes"
source=(http://www.broadcom.com/docs/linux_sta/hybrid-portsrc_x86_32-v5_100_82_38.tar.gz \
http://www.broadcom.com/docs/linux_sta/hybrid-portsrc_x86_64-v5_100_82_38.tar.gz \
http://www.kernel.org/pub/linux/kernel/v2.6/linux-${_BaseVersion}.tar.bz2 config config_64\
@@ -24,16 +26,23 @@ case `uname -m` in
i?86)
cp $SRC/config ./.config;;
esac
-bzip2 -d -c ../patch-$version.bz2|patch -Np1
+if [ -f ../patch-$version.bz2 ]; then
+ bzip2 -d -c ../patch-$version.bz2 | patch -Np1
+fi
+sed -i "s/EXTRAVERSION = .*/EXTRAVERSION =/" Makefile
make menuconfig
-cp .config /tmp/
+case `uname -m` in
+ x86_64)
+ cp .config `prt-get printf %p --filter=kernel`/$name/config_64;;
+ i?86)
+ cp .config `prt-get printf %p --filter=kernel`/$name/config;;
+esac
make
make INSTALL_MOD_PATH=$PKG modules_install
mkdir -p $PKG/boot
cp System.map \
$PKG/boot/System.map-$version
-cp .config \
-$PKG/boot/config-$version
+cp .config $PKG/boot/config-$version
case `uname -m` in
i?86)
cp arch/i386/boot/bzImage \
@@ -42,8 +51,7 @@ case `uname -m` in
cp arch/x86_64/boot/bzImage \
$PKG/boot/kernel-version;;
esac
-ln -sf kernel-$version \
-$PKG/boot/kernel
+ln -sf kernel-$version $PKG/boot/kernel
mkdir $SRC/broadcom
cd $SRC/broadcom
case `uname -m` in
@@ -54,8 +62,8 @@ case `uname -m` in
esac
# make clean
# make
-KBUILD_NOPEDANTIC=1 make -C $PKG/lib/modules/$version/build M=`pwd` clean
-KBUILD_NOPEDANTIC=1 make -C $PKG/lib/modules/$version/build M=`pwd`
-install -m644 wl.ko $PKG/lib/modules/$version/kernel/net/wireless/wl.ko
-rm $PKG/lib/modules/$version/{source,build}
+CFLAGS="-w" KBUILD_NOPEDANTIC=1 make -C $PKG/lib/modules/${_BaseVersion}/build M=`pwd` clean
+CFLAGS="-w" KBUILD_NOPEDANTIC=1 make -C $PKG/lib/modules/${_BaseVersion}/build M=`pwd`
+install -m644 wl.ko $PKG/lib/modules/${_BaseVersion}/kernel/net/wireless/wl.ko
+rm $PKG/lib/modules/${_BaseVersion}/{source,build}
}
diff --git a/base/kernel-lenovo/config b/base/kernel-lenovo/config
index bcc8b578d..08a4a6f83 100644
--- a/base/kernel-lenovo/config
+++ b/base/kernel-lenovo/config
@@ -1,7 +1,7 @@
#
# Automatically generated make config: don't edit
-# Linux kernel version: 2.6.36.2
-# Thu Jan 6 18:31:49 2011
+# Linux kernel version: 2.6.36
+# Tue Mar 1 15:43:37 2011
#
# CONFIG_64BIT is not set
CONFIG_X86_32=y
@@ -100,7 +100,8 @@ CONFIG_IKCONFIG_PROC=y
CONFIG_LOG_BUF_SHIFT=18
CONFIG_HAVE_UNSTABLE_SCHED_CLOCK=y
# CONFIG_CGROUPS is not set
-# CONFIG_SYSFS_DEPRECATED_V2 is not set
+CONFIG_SYSFS_DEPRECATED=y
+CONFIG_SYSFS_DEPRECATED_V2=y
CONFIG_RELAY=y
CONFIG_NAMESPACES=y
# CONFIG_UTS_NS is not set
@@ -356,7 +357,7 @@ CONFIG_ARCH_SUPPORTS_MEMORY_FAILURE=y
# CONFIG_MEMORY_FAILURE is not set
# CONFIG_HIGHPTE is not set
# CONFIG_X86_CHECK_BIOS_CORRUPTION is not set
-# CONFIG_X86_RESERVE_LOW_64K is not set
+CONFIG_X86_RESERVE_LOW_64K=y
# CONFIG_MATH_EMULATION is not set
CONFIG_MTRR=y
# CONFIG_MTRR_SANITIZER is not set
@@ -529,7 +530,8 @@ CONFIG_IP_PNP_DHCP=y
CONFIG_IP_PNP_BOOTP=y
CONFIG_IP_PNP_RARP=y
# CONFIG_NET_IPIP is not set
-# CONFIG_NET_IPGRE is not set
+CONFIG_NET_IPGRE=m
+# CONFIG_NET_IPGRE_BROADCAST is not set
CONFIG_IP_MROUTE=y
# CONFIG_IP_MROUTE_MULTIPLE_TABLES is not set
CONFIG_IP_PIMSM_V1=y
@@ -767,7 +769,7 @@ CONFIG_MAC80211_RC_MINSTREL_HT=y
CONFIG_MAC80211_RC_DEFAULT_MINSTREL=y
CONFIG_MAC80211_RC_DEFAULT="minstrel_ht"
CONFIG_MAC80211_MESH=y
-CONFIG_MAC80211_LEDS=y
+# CONFIG_MAC80211_LEDS is not set
CONFIG_MAC80211_DEBUGFS=y
CONFIG_MAC80211_DEBUG_MENU=y
# CONFIG_MAC80211_NOINLINE is not set
@@ -783,7 +785,6 @@ CONFIG_MAC80211_DRIVER_API_TRACER=y
CONFIG_WIMAX=m
CONFIG_WIMAX_DEBUG_LEVEL=8
CONFIG_RFKILL=m
-CONFIG_RFKILL_LEDS=y
CONFIG_RFKILL_INPUT=y
CONFIG_NET_9P=m
# CONFIG_NET_9P_DEBUG is not set
@@ -858,7 +859,8 @@ CONFIG_SCSI_PROC_FS=y
CONFIG_BLK_DEV_SD=y
# CONFIG_CHR_DEV_ST is not set
# CONFIG_CHR_DEV_OSST is not set
-# CONFIG_BLK_DEV_SR is not set
+CONFIG_BLK_DEV_SR=y
+# CONFIG_BLK_DEV_SR_VENDOR is not set
CONFIG_CHR_DEV_SG=y
# CONFIG_CHR_DEV_SCH is not set
# CONFIG_SCSI_MULTI_LUN is not set
@@ -1398,12 +1400,30 @@ CONFIG_I2C_I801=y
# CONFIG_PPS is not set
CONFIG_ARCH_WANT_OPTIONAL_GPIOLIB=y
# CONFIG_GPIOLIB is not set
-# CONFIG_W1 is not set
+CONFIG_W1=m
+# CONFIG_W1_CON is not set
+
+#
+# 1-wire Bus Masters
+#
+# CONFIG_W1_MASTER_MATROX is not set
+# CONFIG_W1_MASTER_DS2490 is not set
+# CONFIG_W1_MASTER_DS2482 is not set
+
+#
+# 1-wire Slaves
+#
+# CONFIG_W1_SLAVE_THERM is not set
+# CONFIG_W1_SLAVE_SMEM is not set
+# CONFIG_W1_SLAVE_DS2431 is not set
+# CONFIG_W1_SLAVE_DS2433 is not set
+CONFIG_W1_SLAVE_DS2760=m
+# CONFIG_W1_SLAVE_BQ27000 is not set
CONFIG_POWER_SUPPLY=y
# CONFIG_POWER_SUPPLY_DEBUG is not set
# CONFIG_PDA_POWER is not set
# CONFIG_TEST_POWER is not set
-# CONFIG_BATTERY_DS2760 is not set
+CONFIG_BATTERY_DS2760=m
# CONFIG_BATTERY_DS2782 is not set
# CONFIG_BATTERY_BQ27x00 is not set
# CONFIG_BATTERY_MAX17040 is not set
@@ -1876,12 +1896,11 @@ CONFIG_USB_LIBUSUAL=y
CONFIG_UWB=y
# CONFIG_UWB_HWA is not set
# CONFIG_UWB_WHCI is not set
-# CONFIG_UWB_WLP is not set
+CONFIG_UWB_WLP=m
# CONFIG_MMC is not set
# CONFIG_MEMSTICK is not set
CONFIG_NEW_LEDS=y
# CONFIG_LEDS_CLASS is not set
-CONFIG_LEDS_TRIGGERS=y
# CONFIG_ACCESSIBILITY is not set
# CONFIG_INFINIBAND is not set
# CONFIG_EDAC is not set
@@ -2065,7 +2084,7 @@ CONFIG_NFS_COMMON=y
CONFIG_SUNRPC=y
CONFIG_SUNRPC_GSS=y
CONFIG_RPCSEC_GSS_KRB5=y
-# CONFIG_RPCSEC_GSS_SPKM3 is not set
+CONFIG_RPCSEC_GSS_SPKM3=m
# CONFIG_SMB_FS is not set
# CONFIG_CEPH_FS is not set
CONFIG_CIFS=y
@@ -2373,7 +2392,7 @@ CONFIG_CRYPTO_AES_586=y
CONFIG_CRYPTO_ARC4=y
# CONFIG_CRYPTO_BLOWFISH is not set
# CONFIG_CRYPTO_CAMELLIA is not set
-# CONFIG_CRYPTO_CAST5 is not set
+CONFIG_CRYPTO_CAST5=m
# CONFIG_CRYPTO_CAST6 is not set
CONFIG_CRYPTO_DES=y
# CONFIG_CRYPTO_FCRYPT is not set