diff options
author | Michael Lauer <mickey@vanille-media.de> | 2004-04-12 13:54:09 +0000 |
---|---|---|
committer | Michael Lauer <mickey@vanille-media.de> | 2004-04-12 13:54:09 +0000 |
commit | 3ccd0e83163aa64af911078144c6d27752dea36c (patch) | |
tree | 869c642eee06cdcc1be7e97c07039f307c7cf78f /linux | |
parent | 618932d4c598887b220c77150f991a33021f8554 (diff) |
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
Diffstat (limited to 'linux')
-rw-r--r-- | linux/openzaurus-pxa_2.4.18-rmk7-pxa3-embedix20031107.oe | 10 | ||||
-rw-r--r-- | linux/openzaurus-sa_2.4.18-rmk7-pxa3-embedix20030509.oe | 10 |
2 files changed, 14 insertions, 6 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 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 } |