Contents of /smage/branches/alx-0_6_0/core/kernel26-sources-alx/kernel26-sources-alx-2.6.37-r2.smage2
Parent Directory | Revision Log
Revision 3370 -
(show annotations)
(download)
Wed Mar 28 09:12:31 2012 UTC (12 years, 1 month ago) by niro
File size: 2971 byte(s)
Wed Mar 28 09:12:31 2012 UTC (12 years, 1 month ago) by niro
File size: 2971 byte(s)
auto added: ver bump to 2.6.37-r2
1 | # $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 | |
10 | # what type are we building (sources or image) ? |
11 | KERNEL_TYPE="sources" |
12 | |
13 | # which branch we're using |
14 | BRANCH="alx" |
15 | |
16 | PNAME="kernel26-sources-${BRANCH}" |
17 | |
18 | # 2.6.x.x subver style |
19 | PSUBVER="" |
20 | |
21 | PVER="2.6.37${PSUBVER}" |
22 | PBUILD="r2" |
23 | |
24 | PCATEGORIE="sys-kernel" |
25 | |
26 | DESCRIPTION="DEV Kernel ${PVER}-${BRANCH}-${PBUILD} kernel sources." |
27 | HOMEPAGE="http://magellan-linux.net" |
28 | |
29 | DEPEND="" |
30 | |
31 | PROVIDE="virtual/kernel-sources" |
32 | |
33 | SRCFILE="linux-${PVER/${PSUBVER}/}.tar.bz2" |
34 | SRCDIR="${BUILDDIR}/linux-${PVER}-${BRANCH}-${PBUILD}" |
35 | |
36 | # include global kernel26 functions |
37 | REMOVE_DEPRECATED_MAGE_TARGETS=1 |
38 | sminclude kernel26 alx |
39 | |
40 | # --- extra drivers included in this kernel: --- |
41 | # we do not bundle ati-drivers and nvidia-glx drivers anymore |
42 | # use our new module builders! |
43 | # --- eot extra drivers --- |
44 | |
45 | # no need to waste time here |
46 | NOSTRIP=true |
47 | |
48 | SRC_URI=( |
49 | http://www.kernel.org/pub/linux/kernel/v${PVER:0:3}/${SRCFILE} |
50 | mirror://kernel26-${BRANCH}/${SRCFILE} |
51 | mirror://kernel26-${BRANCH}/config-${PVER}-${BRANCH}-${PBUILD}-i486 |
52 | "mirror://kernel26-${BRANCH}/patches-${PVER}/0100-2.6.37.1-all-fixes.patch patches-${PVER}" |
53 | "mirror://kernel26-${BRANCH}/patches-${PVER}/0101-2.6.37.2-all-fixes.patch patches-${PVER}" |
54 | "mirror://kernel26-${BRANCH}/patches-${PVER}/0102-2.6.37.3-all-fixes.patch patches-${PVER}" |
55 | "mirror://kernel26-${BRANCH}/patches-${PVER}/0103-2.6.37.4-all-fixes.patch patches-${PVER}" |
56 | "mirror://kernel26-${BRANCH}/patches-${PVER}/0104-2.6.37.5-all-fixes.patch patches-${PVER}" |
57 | "mirror://kernel26-${BRANCH}/patches-${PVER}/0105-2.6.37.6-all-fixes.patch patches-${PVER}" |
58 | "mirror://kernel26-${BRANCH}/patches-${PVER}/0150-2.6.37-fbcondecor-0.9.6.patch patches-${PVER}" |
59 | "mirror://kernel26-${BRANCH}/patches-${PVER}/0153-2.6.37-unionfs-2.5.7.patch patches-${PVER}" |
60 | ) |
61 | |
62 | UP2PVER="${PVER}.6" |
63 | UP2DATE="updatecmd http://www.kernel.org/ | grep -A3 -i 'latest stable' | sed -n 's/.*\([0-9].[0-9].[0-9].*\).*/\1/;$ p'" |
64 | |
65 | src_prepare() |
66 | { |
67 | kernel26_src_prepare || die |
68 | |
69 | # 001-100 - ck patches (deprecated atm) |
70 | # 100-150 - official updates |
71 | mpatch patches-${PVER}/0100-2.6.37.1-all-fixes.patch || die |
72 | mpatch patches-${PVER}/0101-2.6.37.2-all-fixes.patch || die |
73 | mpatch patches-${PVER}/0102-2.6.37.3-all-fixes.patch || die |
74 | mpatch patches-${PVER}/0103-2.6.37.4-all-fixes.patch || die |
75 | mpatch patches-${PVER}/0104-2.6.37.5-all-fixes.patch || die |
76 | mpatch patches-${PVER}/0105-2.6.37.6-all-fixes.patch || die |
77 | # 150-300 - magellan patches, driver updates etc |
78 | mpatch patches-${PVER}/0150-2.6.37-fbcondecor-0.9.6.patch || die |
79 | mpatch patches-${PVER}/0153-2.6.37-unionfs-2.5.7.patch || die |
80 | # 300-400 - compilations fixes and other |
81 | } |
82 | |
83 | postinstall() |
84 | { |
85 | kernel26_sources_postinstall |
86 | alx_postinstall |
87 | } |