blob: 7b6d6234962769178c468d845b7ba43db0963f59 [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
22LOCAL_MODULE_PATH := $(TARGET_RECOVERY_ROOT_OUT)/sbin
23include $(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
43LOCAL_MODULE_PATH := $(TARGET_RECOVERY_ROOT_OUT)/sbin
44include $(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
55LOCAL_MODULE_PATH := $(TARGET_RECOVERY_ROOT_OUT)/sbin
56include $(BUILD_EXECUTABLE)
57
58endif