Magellan Linux

Annotation of /smage/branches/alx-0_6_0/core/kernel26-sources-alx/kernel26-sources-alx-2.6.37-r5.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 5001 - (hide annotations) (download)
Wed Aug 7 08:48:29 2013 UTC (10 years, 9 months ago) by niro
File size: 3230 byte(s)
auto added: ver bump to 2.6.37-r5
1 niro 5001 # $Id$
2    
3     # base alx kernel:
4     # using linux-2.6.37.6
5     # using fbcondecor-0.9.6 (http://dev.gentoo.org/~spock/projects/fbcondecor/)
6     # using unionfs-2.5.7 (http://www.filesystems.org/project-unionfs.html)
7     # enabled support for large block devices to be able to mount ext4 filesystems
8     # enabled usbserial device drivers
9     # enabled nouveau drm driver (staging)
10     # enabled usbip drivers (staging)
11     # enabled x86 platform drivers and notebook extras
12     # enabled usb-audio for Philips SpeechMike III
13     # enabled joystick-interface for Philips SpeechMike III
14     # enabled cpu frequency modules
15    
16     # what type are we building (sources or image) ?
17     KERNEL_TYPE="sources"
18    
19     # which branch we're using
20     BRANCH="alx"
21    
22     PNAME="kernel26-sources-${BRANCH}"
23    
24     # 2.6.x.x subver style
25     PSUBVER=""
26    
27     PVER="2.6.37${PSUBVER}"
28     PBUILD="r5"
29    
30     PCATEGORIE="sys-kernel"
31    
32     DESCRIPTION="DEV Kernel ${PVER}-${BRANCH}-${PBUILD} kernel sources."
33     HOMEPAGE="http://magellan-linux.net"
34    
35     DEPEND=""
36    
37     PROVIDE="virtual/kernel-sources"
38    
39     SRCFILE="linux-${PVER/${PSUBVER}/}.tar.bz2"
40     SRCDIR="${BUILDDIR}/linux-${PVER}-${BRANCH}-${PBUILD}"
41    
42     # include global kernel26 functions
43     REMOVE_DEPRECATED_MAGE_TARGETS=1
44     sminclude kernel26 alx
45    
46     # --- extra drivers included in this kernel: ---
47     # we do not bundle ati-drivers and nvidia-glx drivers anymore
48     # use our new module builders!
49     # --- eot extra drivers ---
50    
51     # no need to waste time here
52     NOSTRIP=true
53    
54     SRC_URI=(
55     http://www.kernel.org/pub/linux/kernel/v${PVER:0:3}/${SRCFILE}
56     mirror://kernel26-${BRANCH}/${SRCFILE}
57     mirror://kernel26-${BRANCH}/config-${PVER}-${BRANCH}-${PBUILD}-i486
58     "mirror://kernel26-${BRANCH}/patches-${PVER}/0100-2.6.37.1-all-fixes.patch patches-${PVER}"
59     "mirror://kernel26-${BRANCH}/patches-${PVER}/0101-2.6.37.2-all-fixes.patch patches-${PVER}"
60     "mirror://kernel26-${BRANCH}/patches-${PVER}/0102-2.6.37.3-all-fixes.patch patches-${PVER}"
61     "mirror://kernel26-${BRANCH}/patches-${PVER}/0103-2.6.37.4-all-fixes.patch patches-${PVER}"
62     "mirror://kernel26-${BRANCH}/patches-${PVER}/0104-2.6.37.5-all-fixes.patch patches-${PVER}"
63     "mirror://kernel26-${BRANCH}/patches-${PVER}/0105-2.6.37.6-all-fixes.patch patches-${PVER}"
64     "mirror://kernel26-${BRANCH}/patches-${PVER}/0150-2.6.37-fbcondecor-0.9.6.patch patches-${PVER}"
65     "mirror://kernel26-${BRANCH}/patches-${PVER}/0153-2.6.37-unionfs-2.5.7.patch patches-${PVER}"
66     )
67    
68     UP2PVER="${PVER}.6"
69     UP2DATE="updatecmd http://www.kernel.org/ | grep -A3 -i 'latest stable' | sed -n 's/.*\([0-9].[0-9].[0-9].*\).*/\1/;$ p'"
70    
71     src_prepare()
72     {
73     kernel26_src_prepare || die
74    
75     # 001-100 - ck patches (deprecated atm)
76     # 100-150 - official updates
77     mpatch patches-${PVER}/0100-2.6.37.1-all-fixes.patch || die
78     mpatch patches-${PVER}/0101-2.6.37.2-all-fixes.patch || die
79     mpatch patches-${PVER}/0102-2.6.37.3-all-fixes.patch || die
80     mpatch patches-${PVER}/0103-2.6.37.4-all-fixes.patch || die
81     mpatch patches-${PVER}/0104-2.6.37.5-all-fixes.patch || die
82     mpatch patches-${PVER}/0105-2.6.37.6-all-fixes.patch || die
83     # 150-300 - magellan patches, driver updates etc
84     mpatch patches-${PVER}/0150-2.6.37-fbcondecor-0.9.6.patch || die
85     mpatch patches-${PVER}/0153-2.6.37-unionfs-2.5.7.patch || die
86     # 300-400 - compilations fixes and other
87     }
88    
89     postinstall()
90     {
91     kernel26_sources_postinstall
92     alx_postinstall
93     }