aboutsummaryrefslogtreecommitdiff
path: root/recipes/linux/linux-smdk2443_2.6.20+git.bb
blob: da65c3702e52bbde8ea980a7f17841d109598e1e (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 = "GPLv2"
DEPENDS += "u-boot-mkimage-native"

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 \
           file://0021-Add-Neo1973-ASoC-support.patch \
           file://0022-Add-initial-ASoC-SMDK2440-support.patch \
           file://0023-Add-ASoC-SMDK2440-support-for-WM8956-codec.patch \
           file://0034-Export-ac97_dai.patch \
           file://0036-Move-s3c24xx_i2s_dai-and-add-dma_size.patch \
           file://0037-Use-dma_size-parameter-and-fix-buffdone-oops.patch \
           file://0038-Add-smdk2443-s3c2443-ac97-and-wm9710-support.patch \
           file://asoc-mainline.patch \
           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"