From 63a51e8a6c238254119482d74b6fda179c4db91e Mon Sep 17 00:00:00 2001 From: Alessandro Astone Date: Sun, 29 Mar 2020 19:59:08 +0200 Subject: [PATCH] mksh: don't use /data/local for TMPDIR in recovery * Leaving MKSH_DEFAULT_TMPDIR undefined will make it use /tmp Change-Id: If084b5e1699031fb093148035365093305faf96b --- Android.bp | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Android.bp b/Android.bp index 35438f9..d9e7481 100644 --- a/Android.bp +++ b/Android.bp @@ -147,6 +147,13 @@ cc_binary { defaults: ["sh-defaults"], recovery_available: true, vendor_ramdisk_available: true, + target: { + recovery: { + cflags: [ + "-UMKSH_DEFAULT_TMPDIR", + ], + }, + }, } cc_binary {