Magellan Linux

Contents of /smage/trunk/core/kernel-sources-mcore/kernel-sources-mcore-3.0-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1850 - (show annotations) (download)
Thu Sep 29 12:07:47 2011 UTC (12 years, 7 months ago) by niro
File size: 2518 byte(s)
auto added: ver bump to 3.0-r1
1 # $Id$
2
3 # based on the standard magellan kernel (3.0-magellan-r1):
4 # using linux-3.0.4
5 # using fbcondecor-0.9.6 (http://dev.gentoo.org/~spock/projects/fbcondecor/)
6 # using unionfs-2.5.9.2 (http://www.filesystems.org/project-unionfs.html)
7
8 # what type are we building (sources or image) ?
9 KERNEL_TYPE="sources"
10
11 # which branch we're using
12 BRANCH="mcore"
13
14 PNAME="kernel-sources-${BRANCH}"
15
16 # 2.6.x.x subver style
17 PSUBVER=""
18
19 PVER="3.0${PSUBVER}"
20 PBUILD="r1"
21
22 PCATEGORIE="sys-kernel"
23
24 DESCRIPTION="DEV Kernel ${PVER}-${BRANCH}-${PBUILD} kernel sources."
25 HOMEPAGE="http://magellan-linux.net"
26
27 DEPEND=""
28 PROVIDE="virtual/kernel-sources"
29
30 SRCFILE="linux-${PVER/${PSUBVER}/}.tar.bz2"
31 SRCDIR="${BUILDDIR}/linux-${PVER}-${BRANCH}-${PBUILD}"
32
33 sminclude kernel
34
35 # no need to waste time here
36 NOSTRIP=true
37
38 SRC_URI=(
39 http://www.kernel.org/pub/linux/kernel/v$(echo ${PVER} | cut -d. -f1-2)/${SRCFILE}
40 http://ftp.uni-erlangen.de/pub/Linux/MIRROR.kernel/v$(echo ${PVER} | cut -d. -f1-2)/${SRCFILE}
41 mirror://kernel-${BRANCH}/${SRCFILE}
42 mirror://kernel-${BRANCH}/config-${PVER}-${BRANCH}-${PBUILD}-i486
43 "mirror://kernel-${BRANCH}/patches-${PVER}-${PBUILD}/0100-3.0.1-all-fixes.patch patches-${PVER}-${PBUILD}"
44 "mirror://kernel-${BRANCH}/patches-${PVER}-${PBUILD}/0101-3.0.2-all-fixes.patch patches-${PVER}-${PBUILD}"
45 "mirror://kernel-${BRANCH}/patches-${PVER}-${PBUILD}/0102-3.0.3-all-fixes.patch patches-${PVER}-${PBUILD}"
46 "mirror://kernel-${BRANCH}/patches-${PVER}-${PBUILD}/0103-3.0.4-all-fixes.patch patches-${PVER}-${PBUILD}"
47 "mirror://kernel-${BRANCH}/patches-${PVER}-${PBUILD}/0150-3.0-fbcondecor-0.9.6.patch patches-${PVER}-${PBUILD}"
48 "mirror://kernel-${BRANCH}/patches-${PVER}-${PBUILD}/0153-3.0-unionfs-2.5.9.2.patch patches-${PVER}-${PBUILD}"
49 )
50
51 UP2PVER="${PVER}.4"
52 UP2DATE="updatecmd http://www.kernel.org/ | grep -A3 -i 'latest stable' | sed -n 's/.*\([0-9].[0-9].[0-9].*\).*/\1/;$ p'"
53
54 src_prepare()
55 {
56 kernel_src_prepare || die
57
58 # 001-100 - ck patches (deprecated atm)
59 # 100-150 - official updates
60 mpatch patches-${PVER}-${PBUILD}/0100-3.0.1-all-fixes.patch || die
61 mpatch patches-${PVER}-${PBUILD}/0101-3.0.2-all-fixes.patch || die
62 mpatch patches-${PVER}-${PBUILD}/0102-3.0.3-all-fixes.patch || die
63 mpatch patches-${PVER}-${PBUILD}/0103-3.0.4-all-fixes.patch || die
64 # 150-300 - magellan patches, driver updates etc
65 mpatch patches-${PVER}-${PBUILD}/0150-3.0-fbcondecor-0.9.6.patch || die
66 mpatch patches-${PVER}-${PBUILD}/0153-3.0-unionfs-2.5.9.2.patch || die
67 # 300-400 - compilations fixes and other
68 }