Magellan Linux

Contents of /trunk/core/kernel-magellan/kernel-magellan-3.7.9-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 16668 - (show annotations) (download)
Mon Feb 18 12:36:05 2013 UTC (11 years, 7 months ago) by niro
File size: 3554 byte(s)
auto added: ver bump to 3.7.9-r1
1 # $Id$
2
3 # standard magellan kernel:
4 # using linux-3.7.9
5 # enabled CORE_DUMP_DEFAULT_ELF_HEADERS
6 # enabled PACKET_DIAG
7 # enabled IPV6_GRE
8 # enabled NF_NAT_IPV4
9 # enabled NF_NAT_IPV6
10 # enabled IP6_NF_TARGET_MASQUERADE
11 # enabled IP6_NF_TARGET_NPT
12 # enabled OMAP_OCP2SCP
13 # enabled SATA_HIGHBANK
14 # enabled VXLAN
15 # enabled AT803X_PHY
16 # enabled MDIO_BUS_MUX_GPIO
17 # enabled MDIO_BUS_MUX_MMIOREG
18 # enabled IEEE802154_FAKELB
19 # enabled IEEE802154_AT86RF230
20 # enabled IEEE802154_MRF24J40
21 # enabled KEYBOARD_STMPE
22 # enabled TOUCHSCREEN_STMPE
23 # enabled SERIAL_SCCNXP
24 # enabled SPI_SC18IS602
25 # enabled GPIO_DA9052
26 # enabled GPIO_ARIZONA
27 # enabled GPIO_ADNP
28 # enabled GPIO_BT8XX
29 # enabled HDQ_MASTER_OMAP
30 # enabled BATTERY_DA9052
31 # enabled SENSORS_ADT7410
32 # enabled SENSORS_MAX197
33 # enabled CPU_THERMAL
34 # enabled REGULATOR_FAN53555
35 # enabled IR_TTUSBIR
36 # enabled DRM_VMWGFX
37 # enabled DRM_VMWGFX_FBCON
38 # enabled SND_CMI8328
39 # enabled HID_PS3REMOTE
40 # enabled HID_SENSOR_HUB
41 # enabled OMAP_USB2
42 # enabled USB_SERIAL_ZTE
43 # enabled LEDS_LM355x
44 # enabled LEDS_LM3642
45 # enabled RTC_DRV_DS2404
46 # enabled RTC_DRV_SNVS
47 # enabled VME_BUS
48 # enabled PWM
49 # disabled NETFILTER_XT_TARGET_NOTRACK
50
51 # what type are we building (sources, image or headers) ?
52 KERNEL_TYPE="image"
53 COMPRESS_MODULES="gzip"
54 LINUX_FIRMWARE="20121119"
55
56 BRANCH="magellan"
57
58 PNAME="kernel-${BRANCH}"
59
60 # 2.6.x.x subver style
61 PSUBVER=""
62
63 PVER="3.7.9${PSUBVER}"
64 PBUILD="r1"
65
66 # set the right tarball version
67 # set the right tarball version
68 TARBALLPVER="${PVER%.*}"
69
70 DEPEND=">= virtual/module-tools
71 >= sys-fs/udev-196
72 >= virtual/initramfs-tools
73 >= virtual/initscripts"
74 # kernel.sminc adds linux-firmware if required!
75
76 PROVIDE="virtual/kernel
77 virtual/alsa-drivers"
78
79 # include global kernel functions
80 sminclude kernel mtools
81
82 # --- extra drivers included in this kernel: ---
83 # we do not bundle ati-drivers and nvidia-glx drivers anymore
84 # use our new module builders!
85 # --- eot extra drivers ---
86
87 SRC_URI=(
88 http://www.kernel.org/pub/linux/kernel/v$(echo ${PVER} | cut -d. -f1).x/${SRCFILE}
89 mirror://kernel-${BRANCH}/${SRCFILE}
90 mirror://kernel-${BRANCH}/config-${PVER}-${BRANCH}-${PBUILD}-i686
91 mirror://kernel-${BRANCH}/config-${PVER}-${BRANCH}-${PBUILD}-x86_64
92 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0100-3.7.1-all-fixes.patch
93 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0101-3.7.2-all-fixes.patch
94 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0102-3.7.3-all-fixes.patch
95 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0103-3.7.4-all-fixes.patch
96 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0104-3.7.5-all-fixes.patch
97 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0105-3.7.6-all-fixes.patch
98 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0106-3.7.7-all-fixes.patch
99 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0107-3.7.8-all-fixes.patch
100 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0108-3.7.9-all-fixes.patch
101 )
102
103 UP2DATE="updatecmd http://www.kernel.org/ | grep -A3 -i 'latest stable' | sed -n 's/.*\([0-9].[0-9].[0-9].*\).*/\1/;$ p'"
104
105 src_prepare()
106 {
107 kernel_src_prepare || die
108
109 # 001-100 - ck patches
110 # 100-150 - official updates
111 mpatch 0100-3.7.1-all-fixes.patch || die
112 mpatch 0101-3.7.2-all-fixes.patch || die
113 mpatch 0102-3.7.3-all-fixes.patch || die
114 mpatch 0103-3.7.4-all-fixes.patch || die
115 mpatch 0104-3.7.5-all-fixes.patch || die
116 mpatch 0105-3.7.6-all-fixes.patch || die
117 mpatch 0106-3.7.7-all-fixes.patch || die
118 mpatch 0107-3.7.8-all-fixes.patch || die
119 mpatch 0108-3.7.9-all-fixes.patch || die
120 # 150-300 - magellan patches, driver updates etc
121 # 300-400 - compilations fixes and other
122 }