summaryrefslogtreecommitdiff
path: root/packages/linux/linux-openmoko-devel_git.bb
diff options
context:
space:
mode:
authorMichael Lauer <mickey@vanille-media.de>2008-07-14 11:18:15 +0000
committerMichael Lauer <mickey@vanille-media.de>2008-07-14 11:18:15 +0000
commit4afec386e30fba9df25eaa0457c1e3c20f5ca974 (patch)
tree9f0e6f034e6292e8085633540fc1e3163bb73869 /packages/linux/linux-openmoko-devel_git.bb
parentb10fac7870b1dab03d26422790893186bcb3ee19 (diff)
linux-openmoko-devel: clean up a bit, compute defconfig for om-gta01 and om-gta02 out of one defconfig,
enable IKCONFIG in defconfig, disable APM_POWER in defconfig.
Diffstat (limited to 'packages/linux/linux-openmoko-devel_git.bb')
-rw-r--r--packages/linux/linux-openmoko-devel_git.bb18
1 files changed, 11 insertions, 7 deletions
diff --git a/packages/linux/linux-openmoko-devel_git.bb b/packages/linux/linux-openmoko-devel_git.bb
index 9c14ebfa66..f8a315f558 100644
--- a/packages/linux/linux-openmoko-devel_git.bb
+++ b/packages/linux/linux-openmoko-devel_git.bb
@@ -14,14 +14,13 @@ PR = "r2"
KERNEL_IMAGETYPE = "uImage"
UBOOT_ENTRYPOINT = "30008000"
-SRC_URI = "git://git.openmoko.org/git/kernel.git;protocol=git;branch=andy"
+SRC_URI = "\
+ git://git.openmoko.org/git/kernel.git;protocol=git;branch=andy \
+ file://defconfig-oe"
S = "${WORKDIR}/git"
-SRC_URI_append-om-gta02 = " file://del-hardcoded-led-behaviour.patch;patch=1"
-SRC_URI += "file://defconfig-${MACHINE}"
-
##############################################################
-# kernel image resides on a seperate flash partition (for now)
+# kernel image resides on a seperate flash partition
#
FILES_kernel-image = ""
ALLOW_EMPTY = "1"
@@ -45,6 +44,11 @@ module_autoload_snd-soc-neo1973-wm8753 = "snd-soc-neo1973-wm8753"
module_autoload_s3cmci = "s3cmci"
do_configure_prepend() {
- cp ${WORKDIR}/defconfig-${MACHINE} ${WORKDIR}/defconfig
+ install -m 0644 ${WORKDIR}/defconfig-oe ${WORKDIR}/defconfig
+ if [ ${MACHINE} == "om-gta01" ]; then
+ echo -n "fixing up configuration for Openmoko GTA01..."
+ sed -i -e s,CONFIG_S3C_LOWLEVEL_UART_PORT=2,CONFIG_S3C_LOWLEVEL_UART_PORT=0, ${WORKDIR}/defconfig
+ sed -i -e s,CONFIG_DEBUG_S3C_UART=2,CONFIG_DEBUG_S3C_UART=0, ${WORKDIR}/defconfig
+ echo "done"
+ fi
}
-