bigbiff bigbiff | 9c75405 | 2013-01-09 09:09:08 -0500 | [diff] [blame] | 1 | ifneq ($(TARGET_SIMULATOR),true) |
| 2 | LOCAL_PATH:= $(call my-dir) |
| 3 | |
| 4 | include $(CLEAR_VARS) |
Matt Mower | 18794c8 | 2015-11-11 16:22:45 -0600 | [diff] [blame] | 5 | LOCAL_SRC_FILES := \ |
| 6 | src/boot.c \ |
| 7 | src/check.c \ |
| 8 | src/common.c \ |
| 9 | src/fat.c \ |
| 10 | src/file.c \ |
| 11 | src/io.c \ |
| 12 | src/lfn.c \ |
| 13 | src/fsck.fat.c |
| 14 | |
bigbiff bigbiff | 9c75405 | 2013-01-09 09:09:08 -0500 | [diff] [blame] | 15 | LOCAL_SHARED_LIBRARIES := libc |
| 16 | LOCAL_CFLAGS += -D_USING_BIONIC_ |
| 17 | LOCAL_CFLAGS += -DUSE_ANDROID_RETVALS |
Matt Mower | 18794c8 | 2015-11-11 16:22:45 -0600 | [diff] [blame] | 18 | LOCAL_MODULE = fsck.fat |
bigbiff bigbiff | 9c75405 | 2013-01-09 09:09:08 -0500 | [diff] [blame] | 19 | LOCAL_MODULE_TAGS := optional |
| 20 | LOCAL_MODULE_CLASS := RECOVERY_EXECUTABLES |
| 21 | LOCAL_MODULE_PATH := $(TARGET_RECOVERY_ROOT_OUT)/sbin |
| 22 | include $(BUILD_EXECUTABLE) |
| 23 | |
Matt Mower | 031163b | 2014-11-01 15:13:03 -0500 | [diff] [blame] | 24 | include $(CLEAR_VARS) |
Matt Mower | 18794c8 | 2015-11-11 16:22:45 -0600 | [diff] [blame] | 25 | LOCAL_SRC_FILES := \ |
| 26 | src/boot.c \ |
| 27 | src/check.c \ |
| 28 | src/common.c \ |
| 29 | src/fat.c \ |
| 30 | src/file.c \ |
| 31 | src/io.c \ |
| 32 | src/lfn.c \ |
| 33 | src/fatlabel.c |
bigbiff bigbiff | 9c75405 | 2013-01-09 09:09:08 -0500 | [diff] [blame] | 34 | |
Ethan Yonker | 2d11d49 | 2014-12-12 11:43:21 -0600 | [diff] [blame] | 35 | LOCAL_C_INCLUDES += bionic/libc/kernel/common |
bigbiff bigbiff | 9c75405 | 2013-01-09 09:09:08 -0500 | [diff] [blame] | 36 | LOCAL_SHARED_LIBRARIES := libc |
| 37 | LOCAL_CFLAGS += -D_USING_BIONIC_ |
Matt Mower | 18794c8 | 2015-11-11 16:22:45 -0600 | [diff] [blame] | 38 | LOCAL_MODULE = fatlabel |
bigbiff bigbiff | 9c75405 | 2013-01-09 09:09:08 -0500 | [diff] [blame] | 39 | LOCAL_MODULE_TAGS := optional |
| 40 | LOCAL_MODULE_CLASS := RECOVERY_EXECUTABLES |
| 41 | LOCAL_MODULE_PATH := $(TARGET_RECOVERY_ROOT_OUT)/sbin |
| 42 | include $(BUILD_EXECUTABLE) |
| 43 | |
| 44 | include $(CLEAR_VARS) |
Matt Mower | 18794c8 | 2015-11-11 16:22:45 -0600 | [diff] [blame] | 45 | LOCAL_SRC_FILES := src/mkfs.fat.c |
| 46 | |
bigbiff bigbiff | 9c75405 | 2013-01-09 09:09:08 -0500 | [diff] [blame] | 47 | LOCAL_SHARED_LIBRARIES := libc |
| 48 | LOCAL_CFLAGS += -D_USING_BIONIC_ |
Matt Mower | 18794c8 | 2015-11-11 16:22:45 -0600 | [diff] [blame] | 49 | LOCAL_MODULE = mkfs.fat |
bigbiff bigbiff | 9c75405 | 2013-01-09 09:09:08 -0500 | [diff] [blame] | 50 | LOCAL_MODULE_TAGS := optional |
| 51 | LOCAL_MODULE_CLASS := RECOVERY_EXECUTABLES |
| 52 | LOCAL_MODULE_PATH := $(TARGET_RECOVERY_ROOT_OUT)/sbin |
| 53 | include $(BUILD_EXECUTABLE) |
| 54 | |
| 55 | endif |