Skip to content

Commit 5d5c65b

Browse files
committed
ext4_utils: Add NO_SECURE_DISCARD boardconfig option
* In N CFLAGS in device tress are prohibited Change-Id: Iea6a4145d1e460d61115b7d6f5a754996c7c9b28
1 parent 304dfc4 commit 5d5c65b

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

ext4_utils/Android.mk

+8
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,10 @@ ifeq ($(BOARD_SUPPRESS_EMMC_WIPE),true)
8585
LOCAL_CFLAGS += -DSUPPRESS_EMMC_WIPE
8686
endif
8787

88+
ifeq ($(BOARD_NO_SECURE_DISCARD),true)
89+
LOCAL_CFLAGS += -DNO_SECURE_DISCARD
90+
endif
91+
8892
include $(BUILD_SHARED_LIBRARY)
8993

9094

@@ -105,6 +109,10 @@ ifeq ($(BOARD_SUPPRESS_EMMC_WIPE),true)
105109
LOCAL_CFLAGS += -DSUPPRESS_EMMC_WIPE
106110
endif
107111

112+
ifeq ($(BOARD_NO_SECURE_DISCARD),true)
113+
LOCAL_CFLAGS += -DNO_SECURE_DISCARD
114+
endif
115+
108116
include $(BUILD_STATIC_LIBRARY)
109117

110118

0 commit comments

Comments
 (0)