Permalink
Browse files

ncurses: add basic terminfo and copy to target

Change-Id: Ic0c917538d82f24eb4acb3eb157a459f9499f31d
  • Loading branch information...
drewis committed May 9, 2012
1 parent 13c1a56 commit fc72528a8910fba49542c9157e3c7943d3ed15ba
View
Binary file not shown.
View
Binary file not shown.
View
Binary file not shown.
View
@@ -154,7 +154,7 @@ LOCAL_SRC_FILES := \
base/keybound.c \
base/keyok.c \
base/version.c
-
+
LOCAL_C_INCLUDES += \
$(LOCAL_PATH)/../include \
$(LOCAL_PATH)
@@ -174,4 +174,13 @@ LOCAL_MODULE_TAGS := eng
include $(BUILD_SHARED_LIBRARY)
# ========================================================
-include $(call all-makefiles-under,$(LOCAL_PATH))
+
+TERMINFO_SOURCE := $(LOCAL_PATH)/../lib/terminfo/
+TERMINFO_TARGET := $(TARGET_OUT_ETC)/terminfo
+$(TERMINFO_TARGET):
+ @echo "copy terminfo to /etc/"
+ @mkdir -p $@
+ @cp -r $(TERMINFO_SOURCE)/* $@
+ALL_DEFAULT_INSTALLED_MODULES += $(TERMINFO_TARGET)
+
+# ========================================================

0 comments on commit fc72528

Please sign in to comment.