aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlin Jerpelea <alin.jerpelea@sony.com>2018-08-15 23:01:23 +0200
committerGitHub <noreply@github.com>2018-08-15 23:01:23 +0200
commit3ed2c245a67d09879cb209c12fc18c2a7f33e63b (patch)
treefe80c79a3296bb2c96e799e17948038a4199bbfe
parent7a559e2565a6e8711d5e9d281a1b3d31dfecc7af (diff)
parente1c2fc2b0819d8b4d069e205895fc34f7056b036 (diff)
Merge pull request #15 from jzoran/api-version-guard
Don't use shell in make file
-rw-r--r--Android.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/Android.mk b/Android.mk
index 0d91924..27d07d6 100644
--- a/Android.mk
+++ b/Android.mk
@@ -5,7 +5,7 @@ LOCAL_SRC_FILES := timekeep.c
LOCAL_MODULE := timekeep
LOCAL_SHARED_LIBRARIES := libcutils liblog
LOCAL_MODULE_TAGS := optional
-ifeq (1,$(filter 1,$(shell echo "$$(( $(PLATFORM_SDK_VERSION) >= 25 ))" )))
+ifneq ($(call math_gt_or_eq, $(PLATFORM_SDK_VERSION), 25),)
LOCAL_MODULE_OWNER := sony
LOCAL_INIT_RC_64 := vendor/etc/init/timekeep.rc
LOCAL_PROPRIETARY_MODULE := true