]>
Commit | Line | Data |
---|---|---|
321f3446 TT |
1 | LOCAL_PATH := $(call my-dir) |
2 | ||
3 | resize2fs_src_files := \ | |
4 | extent.c \ | |
5 | resize2fs.c \ | |
6 | main.c \ | |
7 | online.c \ | |
8 | sim_progress.c \ | |
9 | resource_track.c | |
10 | ||
11 | resize2fs_c_includes := external/e2fsprogs/lib | |
12 | ||
4fb758aa | 13 | resize2fs_cflags := -O2 -g -W -Wall |
321f3446 TT |
14 | |
15 | resize2fs_shared_libraries := \ | |
16 | libext2fs \ | |
17 | libext2_com_err \ | |
18 | libext2_e2p \ | |
19 | libext2_uuid \ | |
20 | libext2_blkid | |
21 | ||
22 | resize2fs_system_shared_libraries := libc | |
23 | ||
24 | include $(CLEAR_VARS) | |
25 | ||
26 | LOCAL_SRC_FILES := $(resize2fs_src_files) | |
27 | LOCAL_C_INCLUDES := $(resize2fs_c_includes) | |
28 | LOCAL_CFLAGS := $(resize2fs_cflags) | |
29 | LOCAL_SHARED_LIBRARIES := $(resize2fs_shared_libraries) | |
30 | LOCAL_SYSTEM_SHARED_LIBRARIES := $(resize2fs_system_shared_libraries) | |
31 | LOCAL_MODULE := resize2fs | |
32 | LOCAL_MODULE_TAGS := optional | |
33 | include $(BUILD_EXECUTABLE) | |
34 | ||
35 | include $(CLEAR_VARS) | |
36 | ||
37 | LOCAL_SRC_FILES := $(resize2fs_src_files) | |
38 | LOCAL_C_INCLUDES := $(resize2fs_c_includes) | |
39 | LOCAL_CFLAGS := $(resize2fs_cflags) | |
205593f6 | 40 | LOCAL_SHARED_LIBRARIES := $(addsuffix -host, $(resize2fs_shared_libraries)) |
321f3446 TT |
41 | LOCAL_MODULE := resize2fs_host |
42 | LOCAL_MODULE_STEM := resize2fs | |
43 | LOCAL_MODULE_TAGS := optional | |
44 | ||
45 | include $(BUILD_HOST_EXECUTABLE) |