summaryrefslogtreecommitdiff
path: root/packages/linux/linux-omap1.inc
diff options
context:
space:
mode:
authorPhilip Balister <philip@balister.org>2006-10-28 13:40:57 +0000
committerPhilip Balister <philip@balister.org>2006-10-28 13:40:57 +0000
commit297f5769adaef3a01175b509883d689888935140 (patch)
tree65eb777703e776e7c0cc5bf9d9609d8b7f8f7e92 /packages/linux/linux-omap1.inc
parent44a1eb8b2afb70b554fd48bbd20685c66e9bd33c (diff)
linux-omap1-2.6.18-omap1 : Add support for building EABI kernel.
Diffstat (limited to 'packages/linux/linux-omap1.inc')
-rw-r--r--packages/linux/linux-omap1.inc8
1 files changed, 7 insertions, 1 deletions
diff --git a/packages/linux/linux-omap1.inc b/packages/linux/linux-omap1.inc
index 2cf4e4d04d..8e64156d4c 100644
--- a/packages/linux/linux-omap1.inc
+++ b/packages/linux/linux-omap1.inc
@@ -11,7 +11,13 @@ KERNEL_IMAGETYPE = "vmlinux"
KERNEL_OUTPUT = "${KERNEL_IMAGETYPE}"
do_configure_prepend() {
- install -m 0644 ${WORKDIR}/defconfig ${S}/.config
+
+ if [ "${TARGET_OS}" == "linux-gnueabi" -o "${TARGET_OS}" == "linux-uclibcgnueabi" ]; then
+ install -m 0644 ${WORKDIR}/defconfig.eabi ${S}/.config
+ else
+ install -m 0644 ${WORKDIR}/defconfig ${S}/.config
+ fi
+
oe_runmake oldconfig
}