blob: d4b85a09751b3e62f8ed3e71fda079cbbaaa17db [file] [log] [blame]
bigbiff bigbiff9c754052013-01-09 09:09:08 -05001ifneq ($(TARGET_SIMULATOR),true)
2LOCAL_PATH:= $(call my-dir)
3
4include $(CLEAR_VARS)
Matt Mower18794c82015-11-11 16:22:45 -06005LOCAL_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 bigbiff9c754052013-01-09 09:09:08 -050015LOCAL_SHARED_LIBRARIES := libc
16LOCAL_CFLAGS += -D_USING_BIONIC_
17LOCAL_CFLAGS += -DUSE_ANDROID_RETVALS
Ethan Yonker58f21322018-08-24 11:17:36 -050018LOCAL_CFLAGS += -Wno-sign-compare
Matt Mower18794c82015-11-11 16:22:45 -060019LOCAL_MODULE = fsck.fat
bigbiff bigbiff9c754052013-01-09 09:09:08 -050020LOCAL_MODULE_TAGS := optional
21LOCAL_MODULE_CLASS := RECOVERY_EXECUTABLES
bigbiffad58e1b2020-07-06 20:24:34 -040022LOCAL_MODULE_PATH := $(TARGET_RECOVERY_ROOT_OUT)/system/bin
bigbiff bigbiff9c754052013-01-09 09:09:08 -050023include $(BUILD_EXECUTABLE)
24
Matt Mower031163b2014-11-01 15:13:03 -050025include $(CLEAR_VARS)
Matt Mower18794c82015-11-11 16:22:45 -060026LOCAL_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 bigbiff9c754052013-01-09 09:09:08 -050035
Ethan Yonker2d11d492014-12-12 11:43:21 -060036LOCAL_C_INCLUDES += bionic/libc/kernel/common
bigbiff bigbiff9c754052013-01-09 09:09:08 -050037LOCAL_SHARED_LIBRARIES := libc
38LOCAL_CFLAGS += -D_USING_BIONIC_
Ethan Yonker58f21322018-08-24 11:17:36 -050039LOCAL_CFLAGS += -Wno-sign-compare
Matt Mower18794c82015-11-11 16:22:45 -060040LOCAL_MODULE = fatlabel
bigbiff bigbiff9c754052013-01-09 09:09:08 -050041LOCAL_MODULE_TAGS := optional
42LOCAL_MODULE_CLASS := RECOVERY_EXECUTABLES
bigbiffad58e1b2020-07-06 20:24:34 -040043LOCAL_MODULE_PATH := $(TARGET_RECOVERY_ROOT_OUT)/system/bin
bigbiff bigbiff9c754052013-01-09 09:09:08 -050044include $(BUILD_EXECUTABLE)
45
46include $(CLEAR_VARS)
Matt Mower18794c82015-11-11 16:22:45 -060047LOCAL_SRC_FILES := src/mkfs.fat.c
48
bigbiff bigbiff9c754052013-01-09 09:09:08 -050049LOCAL_SHARED_LIBRARIES := libc
50LOCAL_CFLAGS += -D_USING_BIONIC_
Ethan Yonker58f21322018-08-24 11:17:36 -050051LOCAL_CFLAGS += -Wno-sign-compare
Matt Mower18794c82015-11-11 16:22:45 -060052LOCAL_MODULE = mkfs.fat
bigbiff bigbiff9c754052013-01-09 09:09:08 -050053LOCAL_MODULE_TAGS := optional
54LOCAL_MODULE_CLASS := RECOVERY_EXECUTABLES
bigbiffad58e1b2020-07-06 20:24:34 -040055LOCAL_MODULE_PATH := $(TARGET_RECOVERY_ROOT_OUT)/system/bin
bigbiff bigbiff9c754052013-01-09 09:09:08 -050056include $(BUILD_EXECUTABLE)
57
58endif