blob: e14cc23f9091dba6c1b88d6a50d0bdccd858ebf4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
|
DESCRIPTION = "Linux Kernel for smdk2443 compatible machines"
SECTION = "kernel"
LICENSE = "GPL"
DEPENDS += "u-boot-mkimage-openmoko-native"
FILE_PR = "r1"
GGSRC = "http://www.xora.org.uk/oe/patches/"
SRC_URI = "git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git;protocol=git;tag=v2.6.21-rc5 \
file://0020-Add-ASoC-S3C24xx-platform-support.patch;patch=1 \
file://0021-Add-Neo1973-ASoC-support.patch;patch=1 \
file://0022-Add-initial-ASoC-SMDK2440-support.patch;patch=1 \
file://0023-Add-ASoC-SMDK2440-support-for-WM8956-codec.patch;patch=1 \
file://0034-Export-ac97_dai.patch;patch=1 \
file://0036-Move-s3c24xx_i2s_dai-and-add-dma_size.patch;patch=1 \
file://0037-Use-dma_size-parameter-and-fix-buffdone-oops.patch;patch=1 \
file://0038-Add-smdk2443-s3c2443-ac97-and-wm9710-support.patch;patch=1 \
file://asoc-mainline.patch;patch=1 \
file://defconfig-smdk2443"
S = "${WORKDIR}/git"
inherit kernel
COMPATIBLE_HOST = "arm.*-linux"
COMPATIBLE_MACHINE = "smdk2443"
do_configure() {
install ${WORKDIR}/defconfig-smdk2443 ${S}/.config
oe_runmake oldconfig
}
do_deploy_append() {
${OBJCOPY} -O binary -R .note -R .comment -S vmlinux linux.bin
rm -f linux.bin.gz
gzip -9 linux.bin
uboot-mkimage -A arm -O linux -T kernel -C gzip -a 30008000 -e 30008000 -n "smdk2443 kernel" -d linux.bin.gz ${DEPLOY_DIR_IMAGE}/uImage-${PV}-${MACHINE}-${DATETIME}.bin
rm -f linux.bin.gz
}
KERNEL_RELEASE = "2.6.21-rc5"
|