From 9f00cacbccf02db56cb4e134a8dcecb6d13205d9 Mon Sep 17 00:00:00 2001 From: John Bowler Date: Mon, 30 Jan 2006 03:05:50 +0000 Subject: linux: fix missing HOST_CC_ARCH in module compilation in kernel/module all - define TARGET_KERNEL_CC_ARCH to define arch specific compiler options in machine.conf. The default for the kernel is "" (empty), although it should probably be TARGET_CC_ARCH in the future. The default for modules is TARGET_CC_ARCH --- packages/ixp4xx/ixp-osal_1.5.bb | 6 ------ 1 file changed, 6 deletions(-) (limited to 'packages/ixp4xx/ixp-osal_1.5.bb') diff --git a/packages/ixp4xx/ixp-osal_1.5.bb b/packages/ixp4xx/ixp-osal_1.5.bb index c0e0cb930c..66cf9e6b06 100644 --- a/packages/ixp4xx/ixp-osal_1.5.bb +++ b/packages/ixp4xx/ixp-osal_1.5.bb @@ -27,12 +27,6 @@ COMPATIBLE_HOST = "^armeb-linux.*" inherit module -# Add the architecture compiler flags to KERNEL_CC and KERNEL_LD as -# required. Notice that this has to be done for each separately built -# module as well! -KERNEL_CC += "${TARGET_CC_KERNEL_ARCH}" -KERNEL_LD += "${TARGET_LD_KERNEL_ARCH}" - EXTRA_OEMAKE = "'CC=${KERNEL_CC}' \ 'LD=${KERNEL_LD}' \ 'AR=${AR}' \ -- cgit 1.2.3-korg