1 LOCAL_PATH := $(call my-dir)
5 tools/intel_reg_write.c \
7 lib/intel_gpu_tools.h \
9 lib/intel_batchbuffer.h \
10 lib/intel_batchbuffer.c \
18 $(TOPDIR)hardware/intel/libdrm/include/drm \
19 $(TOPDIR)hardware/intel/libdrm/intel \
20 $(LOCAL_PATH)/../libpciaccess/include/
22 LOCAL_CFLAGS += -DHAVE_LIBDRM_ATOMIC_PRIMITIVES=1
23 LOCAL_CFLAGS += -DANDROID
25 LOCAL_MODULE := intel_reg_write
26 LOCAL_MODULE_TAGS := optional
28 LOCAL_SHARED_LIBRARIES := libpciaccess \
32 include $(BUILD_EXECUTABLE)
38 tools/intel_reg_read.c \
40 lib/intel_gpu_tools.h \
42 lib/intel_batchbuffer.h \
43 lib/intel_batchbuffer.c \
51 $(TOPDIR)hardware/intel/libdrm/include/drm \
52 $(TOPDIR)hardware/intel/libdrm/intel \
53 $(LOCAL_PATH)/../libpciaccess/include/
55 LOCAL_CFLAGS += -DHAVE_LIBDRM_ATOMIC_PRIMITIVES=1
56 LOCAL_CFLAGS += -DANDROID
59 LOCAL_MODULE := intel_reg_read
60 LOCAL_MODULE_TAGS := optional
62 LOCAL_SHARED_LIBRARIES := libpciaccess \
66 include $(BUILD_EXECUTABLE)
72 tools/intel_disable_clock_gating.c \
74 lib/intel_gpu_tools.h \
76 lib/intel_batchbuffer.h \
77 lib/intel_batchbuffer.c \
84 $(TOPDIR)hardware/intel/libdrm/include/drm \
85 $(TOPDIR)hardware/intel/libdrm/intel \
86 $(LOCAL_PATH)/../libpciaccess/include/
88 LOCAL_CFLAGS += -DHAVE_LIBDRM_ATOMIC_PRIMITIVES=1
89 LOCAL_CFLAGS += -DANDROID
92 LOCAL_MODULE := intel_disable_clock_gating
93 LOCAL_MODULE_TAGS := optional
95 LOCAL_SHARED_LIBRARIES := libpciaccess \
99 include $(BUILD_EXECUTABLE)
102 include $(CLEAR_VARS)
105 tools/intel_audio_dump.c \
107 lib/intel_gpu_tools.h \
109 lib/intel_batchbuffer.h \
110 lib/intel_batchbuffer.c \
112 tools/intel_chipset.h
115 LOCAL_C_INCLUDES += \
117 $(TOPDIR)hardware/intel/libdrm/include/drm \
118 $(TOPDIR)hardware/intel/libdrm/intel \
119 $(LOCAL_PATH)/../libpciaccess/include/
121 LOCAL_CFLAGS += -DHAVE_LIBDRM_ATOMIC_PRIMITIVES=1
122 LOCAL_CFLAGS += -DANDROID
125 LOCAL_MODULE := intel_audio_dump
126 LOCAL_MODULE_TAGS := optional
128 LOCAL_SHARED_LIBRARIES := libpciaccess \
132 include $(BUILD_EXECUTABLE)
135 include $(CLEAR_VARS)
138 tools/intel_backlight.c \
140 lib/intel_gpu_tools.h \
142 lib/intel_batchbuffer.h \
143 lib/intel_batchbuffer.c \
145 tools/intel_chipset.h
148 LOCAL_C_INCLUDES += \
150 $(TOPDIR)hardware/intel/libdrm/include/drm \
151 $(TOPDIR)hardware/intel/libdrm/intel \
152 $(LOCAL_PATH)/../libpciaccess/include/
154 LOCAL_CFLAGS += -DHAVE_LIBDRM_ATOMIC_PRIMITIVES=1
155 LOCAL_CFLAGS += -DANDROID
158 LOCAL_MODULE := intel_backlight
159 LOCAL_MODULE_TAGS := optional
161 LOCAL_SHARED_LIBRARIES := libpciaccess \
165 include $(BUILD_EXECUTABLE)
168 include $(CLEAR_VARS)
171 tools/intel_bios_dumper.c \
173 lib/intel_gpu_tools.h \
175 lib/intel_batchbuffer.h \
176 lib/intel_batchbuffer.c \
178 tools/intel_chipset.h
181 LOCAL_C_INCLUDES += \
183 $(TOPDIR)hardware/intel/libdrm/include/drm \
184 $(TOPDIR)hardware/intel/libdrm/intel \
185 $(LOCAL_PATH)/../libpciaccess/include/
187 LOCAL_CFLAGS += -DHAVE_LIBDRM_ATOMIC_PRIMITIVES=1
188 LOCAL_CFLAGS += -DANDROID
191 LOCAL_MODULE := intel_bios_dumper
192 LOCAL_MODULE_TAGS := optional
194 LOCAL_SHARED_LIBRARIES := libpciaccess \
198 include $(BUILD_EXECUTABLE)
201 include $(CLEAR_VARS)
204 tools/intel_bios_reader.c \
206 lib/intel_gpu_tools.h \
208 lib/intel_batchbuffer.h \
209 lib/intel_batchbuffer.c \
211 tools/intel_chipset.h
214 LOCAL_C_INCLUDES += \
216 $(TOPDIR)hardware/intel/libdrm/include/drm \
217 $(TOPDIR)hardware/intel/libdrm/intel \
218 $(LOCAL_PATH)/../libpciaccess/include/
220 LOCAL_CFLAGS += -DHAVE_LIBDRM_ATOMIC_PRIMITIVES=1
221 LOCAL_CFLAGS += -DANDROID
224 LOCAL_MODULE := intel_bios_reader
225 LOCAL_MODULE_TAGS := optional
227 LOCAL_SHARED_LIBRARIES := libpciaccess \
231 include $(BUILD_EXECUTABLE)
234 # Disabling intel_error_decode tool, since Android still does not have libdrm2.4.30
236 #include $(CLEAR_VARS)
238 #LOCAL_SRC_FILES := \
239 # tools/intel_error_decode.c \
241 # lib/intel_gpu_tools.h \
242 # tools/intel_reg.h \
243 # lib/intel_batchbuffer.h \
244 # lib/intel_batchbuffer.c \
246 # tools/intel_chipset.h \
249 # tools/intel_decode.h \
253 #LOCAL_C_INCLUDES += \
254 # $(LOCAL_PATH)/lib \
255 # $(TOPDIR)hardware/intel/libdrm/include/drm \
256 # $(TOPDIR)hardware/intel/libdrm/intel \
257 # $(LOCAL_PATH)/../libpciaccess/include/
259 #LOCAL_CFLAGS += -DHAVE_LIBDRM_ATOMIC_PRIMITIVES=1
260 #LOCAL_CFLAGS += -DANDROID
261 #LOCAL_CFLAGS += -std=c99
264 #LOCAL_MODULE := intel_error_decode
265 #LOCAL_MODULE_TAGS := optional
267 #LOCAL_SHARED_LIBRARIES := libpciaccess \
271 #include $(BUILD_EXECUTABLE)
274 include $(CLEAR_VARS)
277 tools/intel_gpu_top.c \
279 lib/intel_gpu_tools.h \
281 lib/intel_batchbuffer.h \
282 lib/intel_batchbuffer.c \
284 tools/intel_chipset.h \
290 LOCAL_C_INCLUDES += \
292 $(TOPDIR)hardware/intel/libdrm/include/drm \
293 $(TOPDIR)hardware/intel/libdrm/intel \
294 $(LOCAL_PATH)/../libpciaccess/include/
296 LOCAL_CFLAGS += -DHAVE_LIBDRM_ATOMIC_PRIMITIVES=1
297 LOCAL_CFLAGS += -DANDROID
300 LOCAL_MODULE := intel_gpu_top
301 LOCAL_MODULE_TAGS := optional
303 LOCAL_SHARED_LIBRARIES := libpciaccess \
307 include $(BUILD_EXECUTABLE)
310 include $(CLEAR_VARS)
313 tools/intel_gpu_time.c \
315 lib/intel_gpu_tools.h \
317 lib/intel_batchbuffer.h \
318 lib/intel_batchbuffer.c \
320 tools/intel_chipset.h
323 LOCAL_C_INCLUDES += \
325 $(TOPDIR)hardware/intel/libdrm/include/drm \
326 $(TOPDIR)hardware/intel/libdrm/intel \
327 $(LOCAL_PATH)/../libpciaccess/include/
329 LOCAL_CFLAGS += -DHAVE_LIBDRM_ATOMIC_PRIMITIVES=1
330 LOCAL_CFLAGS += -DANDROID
333 LOCAL_MODULE := intel_gpu_time
334 LOCAL_MODULE_TAGS := optional
336 LOCAL_SHARED_LIBRARIES := libpciaccess \
340 include $(BUILD_EXECUTABLE)
343 include $(CLEAR_VARS)
348 lib/intel_gpu_tools.h \
350 lib/intel_batchbuffer.h \
351 lib/intel_batchbuffer.c \
353 tools/intel_chipset.h
356 LOCAL_C_INCLUDES += \
358 $(TOPDIR)hardware/intel/libdrm/include/drm \
359 $(TOPDIR)hardware/intel/libdrm/intel \
360 $(LOCAL_PATH)/../libpciaccess/include/
362 LOCAL_CFLAGS += -DHAVE_LIBDRM_ATOMIC_PRIMITIVES=1
364 LOCAL_MODULE := intel_gtt
365 LOCAL_MODULE_TAGS := optional
367 LOCAL_SHARED_LIBRARIES := libpciaccess \
371 include $(BUILD_EXECUTABLE)
374 include $(CLEAR_VARS)
377 tools/intel_stepping.c \
379 lib/intel_gpu_tools.h \
381 lib/intel_batchbuffer.h \
382 lib/intel_batchbuffer.c \
384 tools/intel_chipset.h
387 LOCAL_C_INCLUDES += \
389 $(TOPDIR)hardware/intel/libdrm/include/drm \
390 $(TOPDIR)hardware/intel/libdrm/intel \
391 $(LOCAL_PATH)/../libpciaccess/include/
393 LOCAL_CFLAGS += -DHAVE_LIBDRM_ATOMIC_PRIMITIVES=1
394 LOCAL_CFLAGS += -DANDROID
397 LOCAL_MODULE := intel_stepping
398 LOCAL_MODULE_TAGS := optional
400 LOCAL_SHARED_LIBRARIES := libpciaccess \
404 include $(BUILD_EXECUTABLE)
407 include $(CLEAR_VARS)
410 tools/intel_reg_dumper.c \
412 lib/intel_gpu_tools.h \
414 lib/intel_batchbuffer.h \
415 lib/intel_batchbuffer.c \
417 tools/intel_chipset.h
420 LOCAL_C_INCLUDES += \
422 $(TOPDIR)hardware/intel/libdrm/include/drm \
423 $(TOPDIR)hardware/intel/libdrm/intel \
424 $(LOCAL_PATH)/../libpciaccess/include/
426 LOCAL_CFLAGS += -DHAVE_LIBDRM_ATOMIC_PRIMITIVES=1
427 LOCAL_CFLAGS += -DANDROID
430 LOCAL_MODULE := intel_reg_dumper
431 LOCAL_MODULE_TAGS := optional
433 LOCAL_SHARED_LIBRARIES := libpciaccess \
437 include $(BUILD_EXECUTABLE)
440 include $(CLEAR_VARS)
443 tools/intel_reg_snapshot.c \
445 lib/intel_gpu_tools.h \
447 lib/intel_batchbuffer.h \
448 lib/intel_batchbuffer.c \
450 tools/intel_chipset.h
453 LOCAL_C_INCLUDES += \
455 $(TOPDIR)hardware/intel/libdrm/include/drm \
456 $(TOPDIR)hardware/intel/libdrm/intel \
457 $(LOCAL_PATH)/../libpciaccess/include/
459 LOCAL_CFLAGS += -DHAVE_LIBDRM_ATOMIC_PRIMITIVES=1
461 LOCAL_MODULE := intel_reg_snapshot
462 LOCAL_MODULE_TAGS := optional
464 LOCAL_SHARED_LIBRARIES := libpciaccess \
468 include $(BUILD_EXECUTABLE)
471 include $(CLEAR_VARS)
476 lib/intel_gpu_tools.h \
478 lib/intel_batchbuffer.h \
479 lib/intel_batchbuffer.c \
481 tools/intel_chipset.h \
482 lib/intel_reg_map.c \
486 LOCAL_C_INCLUDES += \
488 $(TOPDIR)hardware/intel/libdrm/include/drm \
489 $(TOPDIR)hardware/intel/libdrm/intel \
490 $(LOCAL_PATH)/../libpciaccess/include/
492 LOCAL_CFLAGS += -DHAVE_LIBDRM_ATOMIC_PRIMITIVES=1
493 LOCAL_CFLAGS += -DANDROID
496 LOCAL_MODULE := forcewaked
497 LOCAL_MODULE_TAGS := optional
499 LOCAL_SHARED_LIBRARIES := libpciaccess \
503 include $(BUILD_EXECUTABLE)
506 include $(CLEAR_VARS)
509 lib/intel_gpu_tools.h \
510 tools/intel_reg_checker.c \
515 LOCAL_C_INCLUDES += \
517 $(TOPDIR)hardware/intel/libdrm/include/drm \
518 $(TOPDIR)hardware/intel/libdrm/intel \
519 $(LOCAL_PATH)/../libpciaccess/include/
521 LOCAL_CFLAGS += -DHAVE_LIBDRM_ATOMIC_PRIMITIVES=1
522 LOCAL_CFLAGS += -DANDROID
525 LOCAL_MODULE := intel_reg_checker
526 LOCAL_MODULE_TAGS := optional
528 LOCAL_SHARED_LIBRARIES := libpciaccess
530 include $(BUILD_EXECUTABLE)