summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWolfgang Wiedmeyer <wolfgit@wiedmeyer.de>2017-05-12 17:51:21 +0200
committerWolfgang Wiedmeyer <wolfgit@wiedmeyer.de>2017-05-12 17:51:21 +0200
commit7ad6643de252930a3d490392841075c61b7e1dba (patch)
tree55a9bc3dff5977062472f66590bab58525f4d0fa
parentaf72b3ec275d80ad79af3191f2317a56ef5f02a1 (diff)
downloadhardware_ti_omap4-7ad6643de252930a3d490392841075c61b7e1dba.zip
hardware_ti_omap4-7ad6643de252930a3d490392841075c61b7e1dba.tar.gz
hardware_ti_omap4-7ad6643de252930a3d490392841075c61b7e1dba.tar.bz2
pvr module: set arm-none-eabi- toolchain prefix
Signed-off-by: Wolfgang Wiedmeyer <wolfgit@wiedmeyer.de>
-rw-r--r--pvr-km.mk2
-rw-r--r--pvr-source/eurasiacon/build/linux2/config/core.mk2
2 files changed, 2 insertions, 2 deletions
diff --git a/pvr-km.mk b/pvr-km.mk
index 040b2af..3626a44 100644
--- a/pvr-km.mk
+++ b/pvr-km.mk
@@ -19,7 +19,7 @@ PVR_MODULES:
TARGET_SGX=$(if $(filter-out 4470,$(TARGET_BOARD_OMAP_CPU)),540,544sc) \
KERNELDIR=$(KERNEL_OUT) BUILD=release
mv $(KERNEL_OUT)/../../target/kbuild/pvrsrvkm.ko $(KERNEL_MODULES_OUT)
- $(if $(ARM_EABI_TOOLCHAIN),$(ARM_EABI_TOOLCHAIN)/arm-eabi-strip, \
+ $(if arm-none-eabi-strip, \
$(KERNEL_TOOLCHAIN_PATH)strip) --strip-unneeded \
$(KERNEL_MODULES_OUT)/pvrsrvkm.ko
diff --git a/pvr-source/eurasiacon/build/linux2/config/core.mk b/pvr-source/eurasiacon/build/linux2/config/core.mk
index 05a468b..15fc9a4 100644
--- a/pvr-source/eurasiacon/build/linux2/config/core.mk
+++ b/pvr-source/eurasiacon/build/linux2/config/core.mk
@@ -398,7 +398,7 @@ $(eval $(call TunableKernelConfigMake,EXTRA_KBUILD_SOURCE,))
# equivalent to being unset. If it is unset, we use CROSS_COMPILE
# (which might also be unset). If it is set, use it directly.
ifneq ($(KERNEL_CROSS_COMPILE),undef)
-KERNEL_CROSS_COMPILE ?= $(CROSS_COMPILE)
+KERNEL_CROSS_COMPILE ?= arm-none-eabi-
$(eval $(call TunableBothConfigMake,KERNEL_CROSS_COMPILE,))
endif