summaryrefslogtreecommitdiff
path: root/linux
diff options
context:
space:
mode:
authorMichael Lauer <mickey@vanille-media.de>2004-05-02 15:34:14 +0000
committerMichael Lauer <mickey@vanille-media.de>2004-05-02 15:34:14 +0000
commit3cfa260191de880bee1c7c0b78cb0095f7390193 (patch)
tree44d33d5502819723f7e7b70a4cc2805e31d0dd4b /linux
parent460af5c0665b8a55889d77bb86cc66fcfee3426d (diff)
bring openzaurus-pxa up to modern kernel.oeclass standards - patch courtesy pb_.
BKrev: 409514f6Ed5gKVjjs7nOnTK3ElOUHQ
Diffstat (limited to 'linux')
-rw-r--r--linux/openzaurus-pxa_2.4.18-rmk7-pxa3-embedix20031107.oe18
1 files changed, 3 insertions, 15 deletions
diff --git a/linux/openzaurus-pxa_2.4.18-rmk7-pxa3-embedix20031107.oe b/linux/openzaurus-pxa_2.4.18-rmk7-pxa3-embedix20031107.oe
index 238e4fbeba..48e384befd 100644
--- a/linux/openzaurus-pxa_2.4.18-rmk7-pxa3-embedix20031107.oe
+++ b/linux/openzaurus-pxa_2.4.18-rmk7-pxa3-embedix20031107.oe
@@ -43,22 +43,10 @@ S = "${WORKDIR}/linux"
inherit kernel
EXTRA_OEMAKE = ""
+KERNEL_CCSUFFIX = "-2.95"
+KERNEL_LDSUFFIX = "-2.11.2"
+COMPATIBLE_HOST = "arm.*-linux"
do_configure_prepend() {
install -m 0644 ${FILESDIR}/defconfig-${MACHINE} ${S}/.config || die "No default configuration for ${MACHINE} available."
- oe_runmake oldconfig
-}
-
-do_compile() {
- cd ${S}
- test -f ${S}/.hdepend || touch ${S}/include/linux/version.h
- oe_runmake dep-files CC=${HOST_PREFIX}gcc-2.95 LD=${HOST_PREFIX}ld-2.11.2
- cd ${S}/arch/arm/tools
- ${MAKE} dep CC=${HOST_PREFIX}gcc-2.95 LD=${HOST_PREFIX}ld-2.11.2
- rm -f ${S}/include/linux/version.h
- cd ${S}
- unset CFLAGS CPPFLAGS CXXFLAGS LDFLAGS
- oe_runmake dep CC=${HOST_PREFIX}gcc-2.95 LD=${HOST_PREFIX}ld-2.11.2
- oe_runmake ${KERNEL_IMAGETYPE} CC=${HOST_PREFIX}gcc-2.95 LD=${HOST_PREFIX}ld-2.11.2
- oe_runmake modules CC=${HOST_PREFIX}gcc-2.95 LD=${HOST_PREFIX}ld-2.11.2
}