OSDN Git Service

Fix for X86 target
authorKenny Root <kroot@google.com>
Tue, 8 Feb 2011 01:18:53 +0000 (17:18 -0800)
committerKenny Root <kroot@google.com>
Tue, 8 Feb 2011 01:18:53 +0000 (17:18 -0800)
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

fatblock/fat.c
fatblock/fs.c
tests/Android.mk
tests/icachetest/Android.mk
tests/memtest/Android.mk

index 02e3292..c549bc1 100644 (file)
@@ -16,7 +16,7 @@
 
 #include <assert.h>
 #include <string.h>
-#include <sys/endian.h>
+#include <endian.h>
 
 #include "fat.h"
 
index 5ab33d7..fb19a70 100644 (file)
@@ -16,7 +16,7 @@
 
 #include <assert.h>
 #include <string.h>
-#include <sys/endian.h>
+#include <endian.h>
 
 #include "fatblock.h"
 #include "fat.h"
index 582ddc9..5053e7d 100644 (file)
@@ -1,3 +1 @@
-ifeq ($(TARGET_ARCH),arm)
 include $(call all-subdir-makefiles)
-endif
index 39d0016..f50f790 100644 (file)
@@ -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
index 7fc6c0a..3b893f6 100644 (file)
@@ -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