diff options
author | Bruce Beare | 2010-06-28 17:16:22 -0500 |
---|---|---|
committer | Bruce Beare | 2010-07-12 16:05:59 -0500 |
commit | 07b3d09e841ea8544f72c3b2bf268f07df6357f7 (patch) | |
tree | 8de500fffbd40fc9f6ade686de9f78bf19c43860 /libdiskconfig | |
parent | e94df975ff0d5ff23df5fb7b9102b5cfdd78641b (diff) | |
download | platform-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.mk | 15 |
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 | ||
4 | ifneq ($(TARGET_SIMULATOR),true) | 4 | ifneq ($(TARGET_SIMULATOR),true) |
5 | 5 | ||
6 | include $(CLEAR_VARS) | ||
7 | 6 | ||
8 | LOCAL_SRC_FILES := \ | 7 | commonSources := \ |
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 | ||
13 | include $(CLEAR_VARS) | ||
14 | LOCAL_SRC_FILES := $(commonSources) | ||
14 | LOCAL_MODULE := libdiskconfig | 15 | LOCAL_MODULE := libdiskconfig |
15 | LOCAL_SYSTEM_SHARED_LIBRARIES := libcutils liblog libc | 16 | LOCAL_SYSTEM_SHARED_LIBRARIES := libcutils liblog libc |
16 | |||
17 | include $(BUILD_SHARED_LIBRARY) | 17 | include $(BUILD_SHARED_LIBRARY) |
18 | 18 | ||
19 | include $(CLEAR_VARS) | ||
20 | LOCAL_SRC_FILES := $(commonSources) | ||
21 | LOCAL_MODULE := libdiskconfig_host | ||
22 | LOCAL_SYSTEM_SHARED_LIBRARIES := libcutils | ||
23 | LOCAL_CFLAGS := -O2 -g -W -Wall -Werror -D_LARGEFILE64_SOURCE | ||
24 | include $(BUILD_HOST_STATIC_LIBRARY) | ||
25 | |||
26 | |||
27 | |||
19 | endif # ! TARGET_SIMULATOR | 28 | endif # ! TARGET_SIMULATOR |