summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--linux/openzaurus-pxa_2.4.18-rmk7-pxa3-embedix20031107.oe10
-rw-r--r--linux/openzaurus-sa_2.4.18-rmk7-pxa3-embedix20030509.oe10
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
}