summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBruce Beare2010-06-28 17:16:22 -0500
committerBruce Beare2010-07-12 16:05:59 -0500
commit07b3d09e841ea8544f72c3b2bf268f07df6357f7 (patch)
tree8de500fffbd40fc9f6ade686de9f78bf19c43860 /libdiskconfig
parente94df975ff0d5ff23df5fb7b9102b5cfdd78641b (diff)
downloadplatform-system-core-07b3d09e841ea8544f72c3b2bf268f07df6357f7.tar.gz
platform-system-core-07b3d09e841ea8544f72c3b2bf268f07df6357f7.tar.xz
platform-system-core-07b3d09e841ea8544f72c3b2bf268f07df6357f7.zip
Build the host version of libdiskconfig
Change-Id: I5541d02676b12b728492321ec1344bd826ee560a Signed-off-by: Bruce Beare <brucex.j.beare@intel.com>
Diffstat (limited to 'libdiskconfig')
-rw-r--r--libdiskconfig/Android.mk15
1 files changed, 12 insertions, 3 deletions
diff --git a/libdiskconfig/Android.mk b/libdiskconfig/Android.mk
index 1d0ecb4da..ef08bec19 100644
--- a/libdiskconfig/Android.mk
+++ b/libdiskconfig/Android.mk
@@ -3,17 +3,26 @@ include $(CLEAR_VARS)
3 3
4ifneq ($(TARGET_SIMULATOR),true) 4ifneq ($(TARGET_SIMULATOR),true)
5 5
6include $(CLEAR_VARS)
7 6
8LOCAL_SRC_FILES := \ 7commonSources := \
9 diskconfig.c \ 8 diskconfig.c \
10 diskutils.c \ 9 diskutils.c \
11 write_lst.c \ 10 write_lst.c \
12 config_mbr.c 11 config_mbr.c
13 12
13include $(CLEAR_VARS)
14LOCAL_SRC_FILES := $(commonSources)
14LOCAL_MODULE := libdiskconfig 15LOCAL_MODULE := libdiskconfig
15LOCAL_SYSTEM_SHARED_LIBRARIES := libcutils liblog libc 16LOCAL_SYSTEM_SHARED_LIBRARIES := libcutils liblog libc
16
17include $(BUILD_SHARED_LIBRARY) 17include $(BUILD_SHARED_LIBRARY)
18 18
19include $(CLEAR_VARS)
20LOCAL_SRC_FILES := $(commonSources)
21LOCAL_MODULE := libdiskconfig_host
22LOCAL_SYSTEM_SHARED_LIBRARIES := libcutils
23LOCAL_CFLAGS := -O2 -g -W -Wall -Werror -D_LARGEFILE64_SOURCE
24include $(BUILD_HOST_STATIC_LIBRARY)
25
26
27
19endif # ! TARGET_SIMULATOR 28endif # ! TARGET_SIMULATOR