Rename kernel pkg to linux3.8 and update it to 3.8.10.
This commit is contained in:
parent
de70da34d1
commit
071abd6766
|
@ -1 +0,0 @@
|
|||
kernel
|
|
@ -1,26 +0,0 @@
|
|||
Signed-off-by: Zhao Yakui <yakui.zhao@intel.com>
|
||||
Tested-by: Santi <santi@agolina.net>
|
||||
---
|
||||
drivers/gpu/drm/i915/intel_tv.c | 9 +++++++++
|
||||
1 files changed, 9 insertions(+), 0 deletions(-)
|
||||
|
||||
diff --git a/drivers/gpu/drm/i915/intel_tv.c b/drivers/gpu/drm/i915/intel_tv.c
|
||||
index dc83b7a..c8f67bf 100644
|
||||
--- drivers/gpu/drm/i915/intel_tv.c
|
||||
+++ drivers/gpu/drm/i915/intel_tv.c
|
||||
@@ -1267,6 +1267,15 @@
|
||||
DAC_B_0_7_V |
|
||||
DAC_C_0_7_V);
|
||||
|
||||
+ /*
|
||||
+ * The TV sense state should be cleared to zero on cantiga platform. Otherwise
|
||||
+ * the TV is misdetected. This is hardware requirement.
|
||||
+ */
|
||||
+ if (IS_GM45(dev))
|
||||
+ tv_dac &= ~(TVDAC_STATE_CHG_EN | TVDAC_A_SENSE_CTL |
|
||||
+ TVDAC_B_SENSE_CTL | TVDAC_C_SENSE_CTL);
|
||||
+
|
||||
+
|
||||
I915_WRITE(TV_CTL, tv_ctl);
|
||||
I915_WRITE(TV_DAC, tv_dac);
|
||||
POSTING_READ(TV_DAC);
|
|
@ -0,0 +1 @@
|
|||
linux3.8
|
|
@ -1,15 +1,15 @@
|
|||
# Template file for 'kernel'
|
||||
# Template file for 'linux3.8'
|
||||
#
|
||||
pkgname=kernel
|
||||
version=3.8.9
|
||||
pkgname=linux3.8
|
||||
version=3.8.10
|
||||
revision=1
|
||||
wrksrc="linux-${version}"
|
||||
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||
homepage="http://www.kernel.org"
|
||||
license="GPL-2"
|
||||
short_desc="The Linux kernel and modules"
|
||||
short_desc="The Linux kernel and modules (3.8 series)"
|
||||
distfiles="http://www.kernel.org/pub/linux//kernel/v3.x/linux-${version}.tar.xz"
|
||||
checksum=8f1b38e24a1b5805b01218928436e531b47c383a41ac052bf040fd74de730e64
|
||||
checksum=b748dcdda0448dea1970b95a8cd76d718723816ead77e9b74b6b6e1f72be125a
|
||||
|
||||
makedepends="perl kmod>=11_2 openssl which elfutils"
|
||||
_kernver="${version}_${revision}"
|
||||
|
@ -61,18 +61,16 @@ do_install() {
|
|||
hdrdest=${DESTDIR}/usr/src/kernel-headers-${_kernver}
|
||||
|
||||
install -Dm644 .config ${DESTDIR}/boot/config-${_kernver}
|
||||
install -Dm644 arch/x86/boot/bzImage \
|
||||
${DESTDIR}/boot/vmlinuz-${_kernver}
|
||||
install -Dm644 System.map \
|
||||
${DESTDIR}/boot/System.map-${_kernver}
|
||||
install -Dm644 arch/x86/boot/bzImage ${DESTDIR}/boot/vmlinuz-${_kernver}
|
||||
install -Dm644 System.map ${DESTDIR}/boot/System.map-${_kernver}
|
||||
|
||||
# Switch to /usr.
|
||||
vmkdir usr
|
||||
mv ${DESTDIR}/lib ${DESTDIR}/usr
|
||||
|
||||
cd ${DESTDIR}/usr/lib/modules/${_kernver} && \
|
||||
rm -f source build && \
|
||||
ln -sf ../../../src/kernel-headers-${_kernver} build
|
||||
cd ${DESTDIR}/usr/lib/modules/${_kernver}
|
||||
rm -f source build
|
||||
ln -sf ../../../src/kernel-headers-${_kernver} build
|
||||
|
||||
cd ${wrksrc}
|
||||
# Install required headers to build external modules
|
||||
|
@ -85,7 +83,9 @@ do_install() {
|
|||
|
||||
for i in acpi asm-generic config crypto drm generated linux math-emu \
|
||||
media net pcmcia scsi sound trace uapi video xen; do
|
||||
[ -d include/$i ] && cp -a include/$i ${hdrdest}/include
|
||||
if [ -d include/$i ]; then
|
||||
cp -a include/$i ${hdrdest}/include
|
||||
fi
|
||||
done
|
||||
|
||||
cd ${wrksrc}
|
||||
|
@ -183,7 +183,7 @@ do_install() {
|
|||
depmod -b ${DESTDIR}/usr -F System.map ${_kernver}
|
||||
}
|
||||
|
||||
kernel-headers_package() {
|
||||
linux3.8-headers_package() {
|
||||
preserve=yes
|
||||
nostrip=yes
|
||||
noverifyrdeps=yes
|
||||
|
@ -194,7 +194,7 @@ kernel-headers_package() {
|
|||
}
|
||||
}
|
||||
|
||||
kernel_package() {
|
||||
linux3.8_package() {
|
||||
nostrip=yes
|
||||
noverifyrdeps=yes
|
||||
preserve=yes
|
Loading…
Reference in New Issue