blob: b241a738cf4dcd722df1afe055964914e32a16fd [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
Matt Mower18794c82015-11-11 16:22:45 -060018LOCAL_MODULE = fsck.fat
bigbiff bigbiff9c754052013-01-09 09:09:08 -050019LOCAL_MODULE_TAGS := optional
20LOCAL_MODULE_CLASS := RECOVERY_EXECUTABLES
21LOCAL_MODULE_PATH := $(TARGET_RECOVERY_ROOT_OUT)/sbin
22include $(BUILD_EXECUTABLE)
23
Matt Mower031163b2014-11-01 15:13:03 -050024include $(CLEAR_VARS)
Matt Mower18794c82015-11-11 16:22:45 -060025LOCAL_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 bigbiff9c754052013-01-09 09:09:08 -050034
Ethan Yonker2d11d492014-12-12 11:43:21 -060035LOCAL_C_INCLUDES += bionic/libc/kernel/common
bigbiff bigbiff9c754052013-01-09 09:09:08 -050036LOCAL_SHARED_LIBRARIES := libc
37LOCAL_CFLAGS += -D_USING_BIONIC_
Matt Mower18794c82015-11-11 16:22:45 -060038LOCAL_MODULE = fatlabel
bigbiff bigbiff9c754052013-01-09 09:09:08 -050039LOCAL_MODULE_TAGS := optional
40LOCAL_MODULE_CLASS := RECOVERY_EXECUTABLES
41LOCAL_MODULE_PATH := $(TARGET_RECOVERY_ROOT_OUT)/sbin
42include $(BUILD_EXECUTABLE)
43
44include $(CLEAR_VARS)
Matt Mower18794c82015-11-11 16:22:45 -060045LOCAL_SRC_FILES := src/mkfs.fat.c
46
bigbiff bigbiff9c754052013-01-09 09:09:08 -050047LOCAL_SHARED_LIBRARIES := libc
48LOCAL_CFLAGS += -D_USING_BIONIC_
Matt Mower18794c82015-11-11 16:22:45 -060049LOCAL_MODULE = mkfs.fat
bigbiff bigbiff9c754052013-01-09 09:09:08 -050050LOCAL_MODULE_TAGS := optional
51LOCAL_MODULE_CLASS := RECOVERY_EXECUTABLES
52LOCAL_MODULE_PATH := $(TARGET_RECOVERY_ROOT_OUT)/sbin
53include $(BUILD_EXECUTABLE)
54
55endif