summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKenny Root <kroot@google.com>2011-02-07 17:18:53 -0800
committerKenny Root <kroot@google.com>2011-02-07 17:18:53 -0800
commit957010bef327f255cdb6909109a1f31b5ee8f443 (patch)
tree53344c54d9f486d7583a01d42d56a5a0a3124029
parent7f101d6dd0e9da88ffed3aef0686758950285b3d (diff)
downloadextras-957010bef327f255cdb6909109a1f31b5ee8f443.tar.gz
Fix for X86 target
The X86 target couldn't compile some tests that use assembly, but it can compile other things that now depend on some projects in the test subdir (namely libtestUtil for OpenGL tests) Also fatblock was including <sys/endian.h> directly instead of <endian.h> which broke some stuff on X86 Change-Id: Ib71a6e548189ca2eacfd0caa7dbd17d200efd0ea
-rw-r--r--fatblock/fat.c2
-rw-r--r--fatblock/fs.c2
-rw-r--r--tests/Android.mk2
-rw-r--r--tests/icachetest/Android.mk3
-rw-r--r--tests/memtest/Android.mk3
5 files changed, 6 insertions, 6 deletions
diff --git a/fatblock/fat.c b/fatblock/fat.c
index 02e32922..c549bc1b 100644
--- a/fatblock/fat.c
+++ b/fatblock/fat.c
@@ -16,7 +16,7 @@
#include <assert.h>
#include <string.h>
-#include <sys/endian.h>
+#include <endian.h>
#include "fat.h"
diff --git a/fatblock/fs.c b/fatblock/fs.c
index 5ab33d7b..fb19a705 100644
--- a/fatblock/fs.c
+++ b/fatblock/fs.c
@@ -16,7 +16,7 @@
#include <assert.h>
#include <string.h>
-#include <sys/endian.h>
+#include <endian.h>
#include "fatblock.h"
#include "fat.h"
diff --git a/tests/Android.mk b/tests/Android.mk
index 582ddc90..5053e7d6 100644
--- a/tests/Android.mk
+++ b/tests/Android.mk
@@ -1,3 +1 @@
-ifeq ($(TARGET_ARCH),arm)
include $(call all-subdir-makefiles)
-endif
diff --git a/tests/icachetest/Android.mk b/tests/icachetest/Android.mk
index 39d0016f..f50f7909 100644
--- a/tests/icachetest/Android.mk
+++ b/tests/icachetest/Android.mk
@@ -1,5 +1,5 @@
# Copyright 2006 The Android Open Source Project
-
+ifeq ($(TARGET_ARCH),arm)
LOCAL_PATH:= $(call my-dir)
include $(CLEAR_VARS)
@@ -12,3 +12,4 @@ LOCAL_MODULE:= icache
LOCAL_MODULE_TAGS := optional
include $(BUILD_EXECUTABLE)
+endif
diff --git a/tests/memtest/Android.mk b/tests/memtest/Android.mk
index 7fc6c0a9..3b893f60 100644
--- a/tests/memtest/Android.mk
+++ b/tests/memtest/Android.mk
@@ -1,5 +1,5 @@
# Copyright 2006 The Android Open Source Project
-
+ifeq ($(TARGET_ARCH),arm)
LOCAL_PATH:= $(call my-dir)
include $(CLEAR_VARS)
@@ -18,3 +18,4 @@ LOCAL_MODULE_TAGS := optional
LOCAL_CFLAGS += -fomit-frame-pointer
include $(BUILD_EXECUTABLE)
+endif