diff options
author | Eric Engestrom <[email protected]> | 2019-08-01 21:45:25 +0100 |
---|---|---|
committer | Eric Engestrom <[email protected]> | 2019-08-02 18:38:52 +0100 |
commit | e740e7a6f018738b02ce97db172d6749feeadce1 (patch) | |
tree | 0cbb265e0d843997e3f886eec9c1cfc3c109e0d0 /src | |
parent | 8c63348c946822da3fda26afbd441adc063e091a (diff) |
scons: rename PIPE_SUBSYSTEM_EMBEDDED to EMBEDDED_DEVICE
It has nothing to do with the PIPE_SUBSYSTEM_* stuff from gallium.
Signed-off-by: Eric Engestrom <[email protected]>
Reviewed-by: Matt Turner <[email protected]>
Diffstat (limited to 'src')
-rw-r--r-- | src/gallium/auxiliary/translate/translate_sse.c | 2 | ||||
-rw-r--r-- | src/gallium/drivers/llvmpipe/lp_context.c | 2 | ||||
-rw-r--r-- | src/gallium/drivers/llvmpipe/lp_screen.c | 2 | ||||
-rw-r--r-- | src/util/os_memory.h | 2 | ||||
-rw-r--r-- | src/util/os_misc.c | 4 | ||||
-rw-r--r-- | src/util/u_debug.c | 2 |
6 files changed, 7 insertions, 7 deletions
diff --git a/src/gallium/auxiliary/translate/translate_sse.c b/src/gallium/auxiliary/translate/translate_sse.c index 298192f2875..35d29f6db40 100644 --- a/src/gallium/auxiliary/translate/translate_sse.c +++ b/src/gallium/auxiliary/translate/translate_sse.c @@ -35,7 +35,7 @@ #include "translate.h" -#if (defined(PIPE_ARCH_X86) || defined(PIPE_ARCH_X86_64)) && !defined(PIPE_SUBSYSTEM_EMBEDDED) +#if (defined(PIPE_ARCH_X86) || defined(PIPE_ARCH_X86_64)) && !defined(EMBEDDED_DEVICE) #include "rtasm/rtasm_cpu.h" #include "rtasm/rtasm_x86sse.h" diff --git a/src/gallium/drivers/llvmpipe/lp_context.c b/src/gallium/drivers/llvmpipe/lp_context.c index d310d2a9b0a..016416e0116 100644 --- a/src/gallium/drivers/llvmpipe/lp_context.c +++ b/src/gallium/drivers/llvmpipe/lp_context.c @@ -48,7 +48,7 @@ #include "lp_setup.h" /* This is only safe if there's just one concurrent context */ -#ifdef PIPE_SUBSYSTEM_EMBEDDED +#ifdef EMBEDDED_DEVICE #define USE_GLOBAL_LLVM_CONTEXT #endif diff --git a/src/gallium/drivers/llvmpipe/lp_screen.c b/src/gallium/drivers/llvmpipe/lp_screen.c index 4bbedf9215e..d03c0450433 100644 --- a/src/gallium/drivers/llvmpipe/lp_screen.c +++ b/src/gallium/drivers/llvmpipe/lp_screen.c @@ -703,7 +703,7 @@ llvmpipe_create_screen(struct sw_winsys *winsys) llvmpipe_init_screen_resource_funcs(&screen->base); screen->num_threads = util_cpu_caps.nr_cpus > 1 ? util_cpu_caps.nr_cpus : 0; -#ifdef PIPE_SUBSYSTEM_EMBEDDED +#ifdef EMBEDDED_DEVICE screen->num_threads = 0; #endif screen->num_threads = debug_get_num_option("LP_NUM_THREADS", screen->num_threads); diff --git a/src/util/os_memory.h b/src/util/os_memory.h index 46a6b6e4572..7a40ba9e608 100644 --- a/src/util/os_memory.h +++ b/src/util/os_memory.h @@ -39,7 +39,7 @@ #include "pipe/p_compiler.h" -#if defined(PIPE_SUBSYSTEM_EMBEDDED) +#if defined(EMBEDDED_DEVICE) #ifdef __cplusplus extern "C" { diff --git a/src/util/os_misc.c b/src/util/os_misc.c index e9a727c54d6..3a1e7eaddab 100644 --- a/src/util/os_misc.c +++ b/src/util/os_misc.c @@ -107,13 +107,13 @@ os_log_message(const char *message) } -#if !defined(PIPE_SUBSYSTEM_EMBEDDED) +#if !defined(EMBEDDED_DEVICE) const char * os_get_option(const char *name) { return getenv(name); } -#endif /* !PIPE_SUBSYSTEM_EMBEDDED */ +#endif /* !EMBEDDED_DEVICE */ /** diff --git a/src/util/u_debug.c b/src/util/u_debug.c index 421ae95227b..b27bf7c5480 100644 --- a/src/util/u_debug.c +++ b/src/util/u_debug.c @@ -51,7 +51,7 @@ void _debug_vprintf(const char *format, va_list ap) { static char buf[4096] = {'\0'}; -#if defined(PIPE_OS_WINDOWS) || defined(PIPE_SUBSYSTEM_EMBEDDED) +#if defined(PIPE_OS_WINDOWS) || defined(EMBEDDED_DEVICE) /* We buffer until we find a newline. */ size_t len = strlen(buf); int ret = vsnprintf(buf + len, sizeof(buf) - len, format, ap); |