OSDN Git Service

util: move u_cpu_detect to util
authorDylan Baker <dylan@pnwbakers.com>
Mon, 1 Oct 2018 18:59:21 +0000 (11:59 -0700)
committerDylan Baker <dylan@pnwbakers.com>
Tue, 30 Oct 2018 21:32:52 +0000 (14:32 -0700)
CC: vlee@freedesktop.org
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=107870
Fixes: 80825abb5d1a7491035880253ffd531c55acae6b
       ("move u_math to src/util")
Tested-by: Brian Paul <brianp@vmware.com>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
src/gallium/auxiliary/Makefile.sources
src/gallium/auxiliary/meson.build
src/util/Makefile.sources
src/util/meson.build
src/util/u_cpu_detect.c [moved from src/gallium/auxiliary/util/u_cpu_detect.c with 100% similarity]
src/util/u_cpu_detect.h [moved from src/gallium/auxiliary/util/u_cpu_detect.h with 100% similarity]

index 72cf2ec..b60b25a 100644 (file)
@@ -222,8 +222,6 @@ C_SOURCES := \
        util/u_box.h \
        util/u_cache.c \
        util/u_cache.h \
-       util/u_cpu_detect.c \
-       util/u_cpu_detect.h \
        util/u_debug_gallium.h \
        util/u_debug_gallium.c \
        util/u_debug_describe.c \
index 1b5eb4d..e149799 100644 (file)
@@ -242,8 +242,6 @@ files_libgallium = files(
   'util/u_box.h',
   'util/u_cache.c',
   'util/u_cache.h',
-  'util/u_cpu_detect.c',
-  'util/u_cpu_detect.h',
   'util/u_debug_gallium.h',
   'util/u_debug_gallium.c',
   'util/u_debug_describe.c',
index af2ad85..b4d2394 100644 (file)
@@ -70,6 +70,8 @@ MESA_UTIL_FILES := \
        u_vector.h \
        u_debug.c \
        u_debug.h \
+       u_cpu_detect.c \
+       u_cpu_detect.h \
        vma.c \
        vma.h
 
index 3b84f41..7caea27 100644 (file)
@@ -94,6 +94,8 @@ files_mesa_util = files(
   'u_math.h',
   'u_debug.c',
   'u_debug.h',
+  'u_cpu_detect.c',
+  'u_cpu_detect.h',
   'vma.c',
   'vma.h',
 )