Eliminate use of VXMICRO_HOST_TOOLS
Gets rid of code that depends on VXMICRO_HOST_TOOLS, which is never defined by the build system. Change-Id: I51fefaa6d17899454211781ae4b925560fbc9383 Signed-off-by: Allan Stephens <allan.stephens@windriver.com>
This commit is contained in:
parent
5765af636f
commit
54e746c2c0
2 changed files with 1 additions and 12 deletions
|
@ -36,12 +36,7 @@
|
|||
#ifndef _CPUTYPE_H
|
||||
#define _CPUTYPE_H
|
||||
|
||||
/*
|
||||
* If this file is part of the host tools build, default to the Intel arch.
|
||||
* This is done as a temporary workaround until the host tools build issue
|
||||
* is resolved on the host side.
|
||||
*/
|
||||
#if defined(VXMICRO_HOST_TOOLS) || defined(VXMICRO_ARCH_x86)
|
||||
#if defined(VXMICRO_ARCH_x86)
|
||||
#include <nanokernel/x86/Intelprc.h>
|
||||
#elif defined(VXMICRO_ARCH_arm)
|
||||
#include <nanokernel/arm/ARMprc.h>
|
||||
|
|
|
@ -50,10 +50,6 @@ if and shift operations in order to generate minimal code with maximum
|
|||
performance.
|
||||
*/
|
||||
|
||||
#if defined(VXMICRO_HOST_TOOLS)
|
||||
#define k_memcpy memcpy
|
||||
#define k_memset memset
|
||||
#else
|
||||
#include <toolchain.h>
|
||||
#include <sections.h>
|
||||
#include <stddef.h>
|
||||
|
@ -63,5 +59,3 @@ performance.
|
|||
#else
|
||||
#include <nanokernel/x86/k_mem-other.h>
|
||||
#endif
|
||||
|
||||
#endif /* VXMICRO_HOST_TOOLS */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue