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 |
Ethan Yonker | 58f2132 | 2018-08-24 11:17:36 -0500 | [diff] [blame] | 18 | LOCAL_CFLAGS += -Wno-sign-compare |
Matt Mower | 18794c8 | 2015-11-11 16:22:45 -0600 | [diff] [blame] | 19 | LOCAL_MODULE = fsck.fat |
bigbiff bigbiff | 9c75405 | 2013-01-09 09:09:08 -0500 | [diff] [blame] | 20 | LOCAL_MODULE_TAGS := optional |
| 21 | LOCAL_MODULE_CLASS := RECOVERY_EXECUTABLES |
bigbiff | ad58e1b | 2020-07-06 20:24:34 -0400 | [diff] [blame] | 22 | LOCAL_MODULE_PATH := $(TARGET_RECOVERY_ROOT_OUT)/system/bin |
bigbiff bigbiff | 9c75405 | 2013-01-09 09:09:08 -0500 | [diff] [blame] | 23 | include $(BUILD_EXECUTABLE) |
| 24 | |
Matt Mower | 031163b | 2014-11-01 15:13:03 -0500 | [diff] [blame] | 25 | include $(CLEAR_VARS) |
Matt Mower | 18794c8 | 2015-11-11 16:22:45 -0600 | [diff] [blame] | 26 | LOCAL_SRC_FILES := \ |
| 27 | src/boot.c \ |
| 28 | src/check.c \ |
| 29 | src/common.c \ |
| 30 | src/fat.c \ |
| 31 | src/file.c \ |
| 32 | src/io.c \ |
| 33 | src/lfn.c \ |
| 34 | src/fatlabel.c |
bigbiff bigbiff | 9c75405 | 2013-01-09 09:09:08 -0500 | [diff] [blame] | 35 | |
Ethan Yonker | 2d11d49 | 2014-12-12 11:43:21 -0600 | [diff] [blame] | 36 | LOCAL_C_INCLUDES += bionic/libc/kernel/common |
bigbiff bigbiff | 9c75405 | 2013-01-09 09:09:08 -0500 | [diff] [blame] | 37 | LOCAL_SHARED_LIBRARIES := libc |
| 38 | LOCAL_CFLAGS += -D_USING_BIONIC_ |
Ethan Yonker | 58f2132 | 2018-08-24 11:17:36 -0500 | [diff] [blame] | 39 | LOCAL_CFLAGS += -Wno-sign-compare |
Matt Mower | 18794c8 | 2015-11-11 16:22:45 -0600 | [diff] [blame] | 40 | LOCAL_MODULE = fatlabel |
bigbiff bigbiff | 9c75405 | 2013-01-09 09:09:08 -0500 | [diff] [blame] | 41 | LOCAL_MODULE_TAGS := optional |
| 42 | LOCAL_MODULE_CLASS := RECOVERY_EXECUTABLES |
bigbiff | ad58e1b | 2020-07-06 20:24:34 -0400 | [diff] [blame] | 43 | LOCAL_MODULE_PATH := $(TARGET_RECOVERY_ROOT_OUT)/system/bin |
bigbiff bigbiff | 9c75405 | 2013-01-09 09:09:08 -0500 | [diff] [blame] | 44 | include $(BUILD_EXECUTABLE) |
| 45 | |
| 46 | include $(CLEAR_VARS) |
Matt Mower | 18794c8 | 2015-11-11 16:22:45 -0600 | [diff] [blame] | 47 | LOCAL_SRC_FILES := src/mkfs.fat.c |
| 48 | |
bigbiff bigbiff | 9c75405 | 2013-01-09 09:09:08 -0500 | [diff] [blame] | 49 | LOCAL_SHARED_LIBRARIES := libc |
| 50 | LOCAL_CFLAGS += -D_USING_BIONIC_ |
Ethan Yonker | 58f2132 | 2018-08-24 11:17:36 -0500 | [diff] [blame] | 51 | LOCAL_CFLAGS += -Wno-sign-compare |
Matt Mower | 18794c8 | 2015-11-11 16:22:45 -0600 | [diff] [blame] | 52 | LOCAL_MODULE = mkfs.fat |
bigbiff bigbiff | 9c75405 | 2013-01-09 09:09:08 -0500 | [diff] [blame] | 53 | LOCAL_MODULE_TAGS := optional |
| 54 | LOCAL_MODULE_CLASS := RECOVERY_EXECUTABLES |
bigbiff | ad58e1b | 2020-07-06 20:24:34 -0400 | [diff] [blame] | 55 | LOCAL_MODULE_PATH := $(TARGET_RECOVERY_ROOT_OUT)/system/bin |
bigbiff bigbiff | 9c75405 | 2013-01-09 09:09:08 -0500 | [diff] [blame] | 56 | include $(BUILD_EXECUTABLE) |
| 57 | |
| 58 | endif |