From 3ccd0e83163aa64af911078144c6d27752dea36c Mon Sep 17 00:00:00 2001 From: Michael Lauer Date: Mon, 12 Apr 2004 13:54:09 +0000 Subject: make sure that kernel 2.4.18-embedix is compiled with gcc 2.95.3 and binutils 2.11.2 unless someone stands up and ports/rewrites the old cruft to a modern kernel. patch courtesy pb_ BKrev: 407a9f81Qxdk9OQkalsxSMQfXmuFLg --- linux/openzaurus-pxa_2.4.18-rmk7-pxa3-embedix20031107.oe | 10 +++++++--- linux/openzaurus-sa_2.4.18-rmk7-pxa3-embedix20030509.oe | 10 +++++++--- 2 files changed, 14 insertions(+), 6 deletions(-) (limited to 'linux') 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 60a4a8f10d..2f2f56dad3 100644 --- a/linux/openzaurus-pxa_2.4.18-rmk7-pxa3-embedix20031107.oe +++ b/linux/openzaurus-pxa_2.4.18-rmk7-pxa3-embedix20031107.oe @@ -50,12 +50,16 @@ do_configure_prepend() { oe_runmake oldconfig } -do_compile_prepend() { +do_compile() { cd ${S} test -f ${S}/.hdepend || touch ${S}/include/linux/version.h - oe_runmake dep-files + oe_runmake dep-files CC=${HOST_PREFIX}gcc-2.95 LD=${HOST_PREFIX}ld-2.11.2 cd ${S}/arch/arm/tools - ${MAKE} dep + ${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 } diff --git a/linux/openzaurus-sa_2.4.18-rmk7-pxa3-embedix20030509.oe b/linux/openzaurus-sa_2.4.18-rmk7-pxa3-embedix20030509.oe index 52dcff00c6..015a4b5d88 100644 --- a/linux/openzaurus-sa_2.4.18-rmk7-pxa3-embedix20030509.oe +++ b/linux/openzaurus-sa_2.4.18-rmk7-pxa3-embedix20030509.oe @@ -60,12 +60,16 @@ do_configure_prepend() { oe_runmake oldconfig } -do_compile_prepend() { +do_compile() { cd ${S} test -f ${S}/.hdepend || touch ${S}/include/linux/version.h - oe_runmake dep-files + oe_runmake dep-files CC=${HOST_PREFIX}gcc-2.95 LD=${HOST_PREFIX}ld-2.11.2 cd ${S}/arch/arm/tools - ${MAKE} dep + ${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 } -- cgit v1.2.3