aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSteve Kondik <shade@chemlab.org>2010-12-21 01:29:40 -0500
committerSteve Kondik <shade@chemlab.org>2010-12-21 01:29:40 -0500
commit95f12f0ed14962f8568befa616f8c1cfa4d14b84 (patch)
tree7e2d40d30ca8fb807c369584aa980d1fb780302e
parent7bd059bed4786e907beea8049e8eec24e86b4d86 (diff)
downloadexternal_bash-95f12f0ed14962f8568befa616f8c1cfa4d14b84.zip
external_bash-95f12f0ed14962f8568befa616f8c1cfa4d14b84.tar.gz
external_bash-95f12f0ed14962f8568befa616f8c1cfa4d14b84.tar.bz2
Add LOCAL_MODULE_TAGS and fix printfs
Change-Id: I7f64112c5449c27b1216c0ddf6a7416b1b011ad6
-rw-r--r--Android.mk3
-rw-r--r--builtins/Android.mk1
-rw-r--r--lib/glob/Android.mk2
-rw-r--r--lib/readline/Android.mk4
-rw-r--r--lib/sh/Android.mk2
-rw-r--r--lib/tilde/Android.mk2
-rw-r--r--print_cmd.c2
7 files changed, 15 insertions, 1 deletions
diff --git a/Android.mk b/Android.mk
index 59f3131..97c085c 100644
--- a/Android.mk
+++ b/Android.mk
@@ -39,6 +39,9 @@ LOCAL_STATIC_LIBRARIES += \
libclearsilverregex
LOCAL_MODULE := bash
LOCAL_MODULE_PATH := $(TARGET_OUT_OPTIONAL_EXECUTABLES)
+
+LOCAL_MODULE_TAGS := eng
+
include $(BUILD_EXECUTABLE)
# ========================================================
diff --git a/builtins/Android.mk b/builtins/Android.mk
index ad04399..b13e9f5 100644
--- a/builtins/Android.mk
+++ b/builtins/Android.mk
@@ -65,6 +65,7 @@ LOCAL_CFLAGS += \
-DCONF_OSTYPE=\"android-eabi\" \
-DCONF_MACHTYPE=\"arm-android-eabi\" \
-DCONF_VENDOR=\"unknown\"
+LOCAL_MODULE_TAGS := eng
LOCAL_MODULE := libbuiltins
include $(BUILD_STATIC_LIBRARY)
diff --git a/lib/glob/Android.mk b/lib/glob/Android.mk
index 8f67c5a..b7d31bf 100644
--- a/lib/glob/Android.mk
+++ b/lib/glob/Android.mk
@@ -19,6 +19,8 @@ LOCAL_C_INCLUDES += \
LOCAL_CFLAGS += \
-DHAVE_CONFIG_H
+LOCAL_MODULE_TAGS := eng
+
LOCAL_MODULE := libglob
include $(BUILD_STATIC_LIBRARY)
diff --git a/lib/readline/Android.mk b/lib/readline/Android.mk
index 853ee21..be5eceb 100644
--- a/lib/readline/Android.mk
+++ b/lib/readline/Android.mk
@@ -25,6 +25,8 @@ LOCAL_CFLAGS += \
LOCAL_MODULE := libhistory
+LOCAL_MODULE_TAGS := eng
+
include $(BUILD_STATIC_LIBRARY)
# ========================================================
@@ -76,6 +78,8 @@ LOCAL_CFLAGS += \
LOCAL_MODULE := libreadline
+LOCAL_MODULE_TAGS := eng
+
include $(BUILD_STATIC_LIBRARY)
# ========================================================
diff --git a/lib/sh/Android.mk b/lib/sh/Android.mk
index 2088a7e..78344df 100644
--- a/lib/sh/Android.mk
+++ b/lib/sh/Android.mk
@@ -27,6 +27,8 @@ LOCAL_CFLAGS += \
LOCAL_MODULE := libsh
+LOCAL_MODULE_TAGS := eng
+
include $(BUILD_STATIC_LIBRARY)
# ========================================================
diff --git a/lib/tilde/Android.mk b/lib/tilde/Android.mk
index ba03d8b..34ddf75 100644
--- a/lib/tilde/Android.mk
+++ b/lib/tilde/Android.mk
@@ -18,6 +18,8 @@ LOCAL_CFLAGS += \
LOCAL_MODULE := libtilde
+LOCAL_MODULE_TAGS := eng
+
include $(BUILD_STATIC_LIBRARY)
# ========================================================
diff --git a/print_cmd.c b/print_cmd.c
index b8fb0a2..e9e8038 100644
--- a/print_cmd.c
+++ b/print_cmd.c
@@ -1382,7 +1382,7 @@ indent (amount)
for (i = 0; amount > 0; amount--)
indentation_string[i++] = ' ';
indentation_string[i] = '\0';
- cprintf (indentation_string);
+ cprintf ("%s", indentation_string);
}
static void