bigbiff bigbiff | e60683a | 2013-02-22 20:55:50 -0500 | [diff] [blame] | 1 | LOCAL_PATH := $(call my-dir) |
| 2 | |
| 3 | include $(CLEAR_VARS) |
| 4 | |
bigbiff | 7b4c7a6 | 2015-01-01 19:44:14 -0500 | [diff] [blame] | 5 | LOCAL_MODULE := libutil-linux |
| 6 | LOCAL_MODULE_TAGS := optional |
| 7 | #LOCAL_MODULE_PATH := $(TARGET_RECOVERY_ROOT_OUT)/sbin |
Ethan Yonker | 58f2132 | 2018-08-24 11:17:36 -0500 | [diff] [blame^] | 8 | LOCAL_CFLAGS := -D_FILE_OFFSET_BITS=64 -DHAVE_LOFF_T -DHAVE_ERR_H -DHAVE_MEMPCPY -DHAVE_FSYNC |
| 9 | LOCAL_CFLAGS += -Wno-missing-field-initializers -Wno-sign-compare -Wno-unused-parameter -Wno-format -Wno-pointer-arith |
bigbiff | 7b4c7a6 | 2015-01-01 19:44:14 -0500 | [diff] [blame] | 10 | LOCAL_SRC_FILES = lib/at.c \ |
| 11 | lib/blkdev.c \ |
| 12 | lib/canonicalize.c \ |
| 13 | lib/colors.c \ |
| 14 | lib/crc32.c \ |
| 15 | lib/crc64.c \ |
| 16 | lib/env.c \ |
| 17 | lib/exec_shell.c \ |
| 18 | lib/fileutils.c \ |
| 19 | lib/ismounted.c \ |
| 20 | lib/langinfo.c \ |
| 21 | lib/linux_version.c \ |
| 22 | lib/loopdev.c \ |
| 23 | lib/mangle.c \ |
| 24 | lib/match.c \ |
| 25 | lib/mbsalign.c \ |
| 26 | lib/md5.c \ |
| 27 | lib/pager.c \ |
| 28 | lib/path.c \ |
| 29 | lib/procutils.c \ |
| 30 | lib/randutils.c \ |
| 31 | lib/setproctitle.c \ |
| 32 | lib/strutils.c \ |
| 33 | lib/sysfs.c \ |
| 34 | |
Ethan Yonker | d6786b8 | 2015-01-05 09:01:29 -0600 | [diff] [blame] | 35 | LOCAL_C_INCLUDES += \ |
bigbiff | 7b4c7a6 | 2015-01-01 19:44:14 -0500 | [diff] [blame] | 36 | $(LOCAL_PATH)/include \ |
Ethan Yonker | d6786b8 | 2015-01-05 09:01:29 -0600 | [diff] [blame] | 37 | $(LOCAL_PATH)/src |
bigbiff | 7b4c7a6 | 2015-01-01 19:44:14 -0500 | [diff] [blame] | 38 | |
| 39 | LOCAL_SHARED_LIBRARIES += libc |
| 40 | include $(BUILD_SHARED_LIBRARY) |
| 41 | |
| 42 | include $(CLEAR_VARS) |
| 43 | |
| 44 | LOCAL_MODULE := libuuid |
| 45 | LOCAL_MODULE_TAGS := optional |
| 46 | #LOCAL_MODULE_PATH := $(TARGET_RECOVERY_ROOT_OUT)/sbin |
Ethan Yonker | 58f2132 | 2018-08-24 11:17:36 -0500 | [diff] [blame^] | 47 | LOCAL_CFLAGS := -D_FILE_OFFSET_BITS=64 -DHAVE_LOFF_T -DHAVE_ERR_H -DHAVE_MEMPCPY -DHAVE_FSYNC |
| 48 | LOCAL_CFLAGS += -Wno-missing-field-initializers -Wno-sign-compare -Wno-unused-parameter -Wno-format -Wno-pointer-arith |
bigbiff | 7b4c7a6 | 2015-01-01 19:44:14 -0500 | [diff] [blame] | 49 | LOCAL_SRC_FILES = libuuid/src/clear.c \ |
| 50 | libuuid/src/copy.c \ |
| 51 | libuuid/src/isnull.c \ |
| 52 | libuuid/src/parse.c \ |
| 53 | libuuid/src/unpack.c \ |
| 54 | libuuid/src/uuid_time.c \ |
| 55 | libuuid/src/compare.c \ |
| 56 | libuuid/src/gen_uuid.c \ |
| 57 | libuuid/src/pack.c \ |
| 58 | libuuid/src/test_uuid.c \ |
| 59 | libuuid/src/unparse.c |
| 60 | |
| 61 | LOCAL_C_INCLUDES += $(LOCAL_PATH)/libuuid/src \ |
| 62 | $(LOCAL_PATH)/include \ |
Ethan Yonker | d6786b8 | 2015-01-05 09:01:29 -0600 | [diff] [blame] | 63 | $(LOCAL_PATH)/src |
bigbiff | 7b4c7a6 | 2015-01-01 19:44:14 -0500 | [diff] [blame] | 64 | |
| 65 | LOCAL_SHARED_LIBRARIES += libc libutil-linux |
| 66 | |
| 67 | include $(BUILD_SHARED_LIBRARY) |
| 68 | |
| 69 | include $(CLEAR_VARS) |
| 70 | |
| 71 | LOCAL_MODULE := libfdisk |
| 72 | LOCAL_MODULE_TAGS := optional |
| 73 | #LOCAL_MODULE_PATH := $(TARGET_RECOVERY_ROOT_OUT)/sbin |
Ethan Yonker | 58f2132 | 2018-08-24 11:17:36 -0500 | [diff] [blame^] | 74 | LOCAL_CFLAGS := -D_FILE_OFFSET_BITS=64 -DHAVE_LOFF_T -DHAVE_ERR_H -DHAVE_MEMPCPY -DHAVE_FSYNC |
| 75 | LOCAL_CFLAGS += -Wno-missing-field-initializers -Wno-sign-compare -Wno-unused-parameter -Wno-format -Wno-pointer-arith |
bigbiff | 7b4c7a6 | 2015-01-01 19:44:14 -0500 | [diff] [blame] | 76 | LOCAL_SRC_FILES = libfdisk/src/alignment.c \ |
| 77 | libfdisk/src/context.c \ |
| 78 | libfdisk/src/init.c \ |
| 79 | libfdisk/src/partition.c \ |
| 80 | libfdisk/src/sgi.c \ |
| 81 | libfdisk/src/test.c \ |
| 82 | libfdisk/src/ask.c \ |
| 83 | libfdisk/src/dos.c \ |
| 84 | libfdisk/src/iter.c \ |
| 85 | libfdisk/src/parttype.c \ |
| 86 | libfdisk/src/sun.c \ |
| 87 | libfdisk/src/utils.c \ |
| 88 | libfdisk/src/bsd.c \ |
| 89 | libfdisk/src/gpt.c \ |
| 90 | libfdisk/src/label.c \ |
| 91 | libfdisk/src/script.c \ |
| 92 | libfdisk/src/table.c |
| 93 | |
| 94 | LOCAL_C_INCLUDES += $(LOCAL_PATH)/libfdisk/src \ |
| 95 | $(LOCAL_PATH)/include \ |
| 96 | $(LOCAL_PATH)/libuuid/src \ |
Ethan Yonker | d6786b8 | 2015-01-05 09:01:29 -0600 | [diff] [blame] | 97 | $(LOCAL_PATH)/src |
bigbiff | 7b4c7a6 | 2015-01-01 19:44:14 -0500 | [diff] [blame] | 98 | |
| 99 | LOCAL_SHARED_LIBRARIES += libc libutil-linux libuuid |
| 100 | include $(BUILD_SHARED_LIBRARY) |
| 101 | |
| 102 | include $(CLEAR_VARS) |
| 103 | |
bigbiff bigbiff | e60683a | 2013-02-22 20:55:50 -0500 | [diff] [blame] | 104 | LOCAL_MODULE := libblkid |
| 105 | LOCAL_MODULE_TAGS := optional |
Vojtech Bocek | 7cc278b | 2013-02-24 01:40:19 +0100 | [diff] [blame] | 106 | #LOCAL_MODULE_PATH := $(TARGET_RECOVERY_ROOT_OUT)/sbin |
Ethan Yonker | 58f2132 | 2018-08-24 11:17:36 -0500 | [diff] [blame^] | 107 | LOCAL_CFLAGS := -D_FILE_OFFSET_BITS=64 -DHAVE_LOFF_T -DHAVE_ERR_H -DHAVE_MEMPCPY -DHAVE_FSYNC |
| 108 | LOCAL_CFLAGS += -Wno-missing-field-initializers -Wno-sign-compare -Wno-unused-parameter -Wno-format -Wno-pointer-arith |
bigbiff | 7b4c7a6 | 2015-01-01 19:44:14 -0500 | [diff] [blame] | 109 | LOCAL_SRC_FILES = src/cache.c \ |
| 110 | src/config.c \ |
| 111 | src/dev.c \ |
| 112 | src/devname.c \ |
| 113 | src/devno.c \ |
| 114 | src/encode.c \ |
| 115 | src/evaluate.c \ |
| 116 | src/getsize.c \ |
| 117 | src/init.c \ |
| 118 | src/llseek.c \ |
| 119 | src/probe.c \ |
| 120 | src/read.c \ |
| 121 | src/resolve.c \ |
| 122 | src/save.c \ |
| 123 | src/tag.c \ |
| 124 | src/verify.c \ |
| 125 | src/version.c \ |
| 126 | src/partitions/aix.c \ |
| 127 | src/partitions/bsd.c \ |
| 128 | src/partitions/dos.c \ |
| 129 | src/partitions/gpt.c \ |
| 130 | src/partitions/mac.c \ |
| 131 | src/partitions/minix.c \ |
| 132 | src/partitions/partitions.c \ |
| 133 | src/partitions/sgi.c \ |
| 134 | src/partitions/solaris_x86.c \ |
| 135 | src/partitions/sun.c \ |
| 136 | src/partitions/ultrix.c \ |
| 137 | src/partitions/unixware.c \ |
| 138 | src/superblocks/adaptec_raid.c \ |
| 139 | src/superblocks/bcache.c \ |
| 140 | src/superblocks/befs.c \ |
| 141 | src/superblocks/bfs.c \ |
| 142 | src/superblocks/btrfs.c \ |
| 143 | src/superblocks/cramfs.c \ |
| 144 | src/superblocks/ddf_raid.c \ |
| 145 | src/superblocks/drbd.c \ |
| 146 | src/superblocks/drbdproxy_datalog.c \ |
| 147 | src/superblocks/exfat.c \ |
| 148 | src/superblocks/ext.c \ |
| 149 | src/superblocks/f2fs.c \ |
| 150 | src/superblocks/gfs.c \ |
| 151 | src/superblocks/hfs.c \ |
| 152 | src/superblocks/highpoint_raid.c \ |
| 153 | src/superblocks/hpfs.c \ |
| 154 | src/superblocks/iso9660.c \ |
| 155 | src/superblocks/isw_raid.c \ |
| 156 | src/superblocks/jfs.c \ |
| 157 | src/superblocks/jmicron_raid.c \ |
| 158 | src/superblocks/linux_raid.c \ |
| 159 | src/superblocks/lsi_raid.c \ |
| 160 | src/superblocks/luks.c \ |
| 161 | src/superblocks/lvm.c \ |
| 162 | src/superblocks/minix.c \ |
| 163 | src/superblocks/netware.c \ |
| 164 | src/superblocks/nilfs.c \ |
| 165 | src/superblocks/ntfs.c \ |
| 166 | src/superblocks/nvidia_raid.c \ |
| 167 | src/superblocks/ocfs.c \ |
| 168 | src/superblocks/promise_raid.c \ |
| 169 | src/superblocks/refs.c \ |
| 170 | src/superblocks/reiserfs.c \ |
| 171 | src/superblocks/romfs.c \ |
| 172 | src/superblocks/silicon_raid.c \ |
| 173 | src/superblocks/squashfs.c \ |
| 174 | src/superblocks/superblocks.c \ |
| 175 | src/superblocks/swap.c \ |
| 176 | src/superblocks/sysv.c \ |
| 177 | src/superblocks/ubifs.c \ |
| 178 | src/superblocks/udf.c \ |
| 179 | src/superblocks/ufs.c \ |
| 180 | src/superblocks/vfat.c \ |
| 181 | src/superblocks/via_raid.c \ |
| 182 | src/superblocks/vmfs.c \ |
| 183 | src/superblocks/vxfs.c \ |
| 184 | src/superblocks/xfs.c \ |
| 185 | src/superblocks/zfs.c \ |
| 186 | src/topology/dm.c \ |
| 187 | src/topology/evms.c \ |
| 188 | src/topology/ioctl.c \ |
| 189 | src/topology/lvm.c \ |
| 190 | src/topology/md.c \ |
| 191 | src/topology/sysfs.c \ |
| 192 | src/topology/topology.c \ |
bigbiff bigbiff | e60683a | 2013-02-22 20:55:50 -0500 | [diff] [blame] | 193 | |
bigbiff | 7b4c7a6 | 2015-01-01 19:44:14 -0500 | [diff] [blame] | 194 | LOCAL_C_INCLUDES += $(LOCAL_PATH)/include \ |
Ethan Yonker | d6786b8 | 2015-01-05 09:01:29 -0600 | [diff] [blame] | 195 | $(LOCAL_PATH)/src |
bigbiff | 7b4c7a6 | 2015-01-01 19:44:14 -0500 | [diff] [blame] | 196 | |
Ethan Yonker | d6786b8 | 2015-01-05 09:01:29 -0600 | [diff] [blame] | 197 | LOCAL_SHARED_LIBRARIES += libc libutil-linux |
bigbiff bigbiff | e60683a | 2013-02-22 20:55:50 -0500 | [diff] [blame] | 198 | include $(BUILD_SHARED_LIBRARY) |