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/ixp4xx-csr_2.1.bb | 6 ------ 1 file changed, 6 deletions(-) (limited to 'packages/ixp4xx/ixp4xx-csr_2.1.bb') diff --git a/packages/ixp4xx/ixp4xx-csr_2.1.bb b/packages/ixp4xx/ixp4xx-csr_2.1.bb index 93ac8aab6f..a91cc25cc1 100644 --- a/packages/ixp4xx/ixp4xx-csr_2.1.bb +++ b/packages/ixp4xx/ixp4xx-csr_2.1.bb @@ -44,12 +44,6 @@ COMPATIBLE_HOST = "^arm.*-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}" - IX_TARGET = "linux${ARCH_BYTE_SEX}" IX_ENSURE = "" #IX_ENSURE = "IX_OSAL_ENSURE_ON=1" -- cgit v1.2.3