tool: CB2 media modules tool cannot be compiled [1/1]
PD#SWPL-195458
Problem:
media modules tool cannot be compiled
Solution:
Modify compilation conditions
Verify:
adt4
Change-Id: I883e04262a59a64654691d8479cf56b8cb456aef
Signed-off-by: xing.xu <xing.xu@amlogic.com>
diff --git a/Android.mk b/Android.mk
index cd8aaf8..c89e690 100644
--- a/Android.mk
+++ b/Android.mk
@@ -1,3 +1,3 @@
-ifeq ($(TARGET_BUILD_KERNEL_VERSION),5.15)
+ifeq ($(shell echo $(TARGET_BUILD_KERNEL_VERSION) | awk '{if ($$1 >= 5.15) print "true"}'),true)
include $(call all-subdir-makefiles)
-endif
+endif
\ No newline at end of file