aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Android.mk13
-rw-r--r--evtest.c4
2 files changed, 13 insertions, 4 deletions
diff --git a/Android.mk b/Android.mk
new file mode 100644
index 0000000..e541221
--- /dev/null
+++ b/Android.mk
@@ -0,0 +1,13 @@
+LOCAL_PATH:= $(call my-dir)
+
+include $(CLEAR_VARS)
+
+LOCAL_C_INCLUDES := \
+ bionic/libc/include/
+
+LOCAL_SRC_FILES:= evtest.c
+LOCAL_MODULE_TAGS := optional
+LOCAL_MODULE:= evtest
+LOCAL_MODULE_PATH := $(TARGET_OUT_OPTIONAL_EXECUTABLES)
+
+include $(BUILD_EXECUTABLE)
diff --git a/evtest.c b/evtest.c
index b2c6845..d32337b 100644
--- a/evtest.c
+++ b/evtest.c
@@ -39,10 +39,6 @@
#include <stdio.h>
#include <stdint.h>
-#if HAVE_CONFIG_H
-#include <config.h>
-#endif
-
#include <linux/version.h>
#include <linux/input.h>