aboutsummaryrefslogtreecommitdiffstats
path: root/builtins/Android.mk
diff options
context:
space:
mode:
Diffstat (limited to 'builtins/Android.mk')
-rw-r--r--builtins/Android.mk72
1 files changed, 72 insertions, 0 deletions
diff --git a/builtins/Android.mk b/builtins/Android.mk
new file mode 100644
index 0000000..ad04399
--- /dev/null
+++ b/builtins/Android.mk
@@ -0,0 +1,72 @@
+LOCAL_PATH:= $(call my-dir)
+
+# ========================================================
+# libbuiltins.a
+# ========================================================
+include $(CLEAR_VARS)
+
+LOCAL_SRC_FILES:= \
+ alias.c \
+ bashgetopt.c \
+ bind.c \
+ break.c \
+ builtin.c \
+ builtins.c \
+ caller.c \
+ cd.c \
+ colon.c \
+ command.c \
+ common.c \
+ complete.c \
+ declare.c \
+ echo.c \
+ enable.c \
+ eval.c \
+ evalfile.c \
+ evalstring.c \
+ exec.c \
+ exit.c \
+ fc.c \
+ fg_bg.c \
+ getopt.c \
+ getopts.c \
+ hash.c \
+ help.c \
+ history.c \
+ jobs.c \
+ kill.c \
+ let.c \
+ mapfile.c \
+ printf.c \
+ pushd.c \
+ read.c \
+ return.c \
+ setattr.c \
+ set.c \
+ shift.c \
+ shopt.c \
+ source.c \
+ suspend.c \
+ test.c \
+ times.c \
+ trap.c \
+ type.c \
+ ulimit.c \
+ umask.c \
+ wait.c
+LOCAL_C_INCLUDES += \
+ $(LOCAL_PATH)/../ \
+ $(LOCAL_PATH)/../include \
+ $(LOCAL_PATH)/../lib
+LOCAL_CFLAGS += \
+ -DHAVE_CONFIG_H \
+ -DPROGRAM=\"bash\" \
+ -DCONF_HOSTTYPE=\"arm\" \
+ -DCONF_OSTYPE=\"android-eabi\" \
+ -DCONF_MACHTYPE=\"arm-android-eabi\" \
+ -DCONF_VENDOR=\"unknown\"
+LOCAL_MODULE := libbuiltins
+include $(BUILD_STATIC_LIBRARY)
+
+# ========================================================
+include $(call all-makefiles-under,$(LOCAL_PATH))