summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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