From 273ffe268a14a270550d584bbaf9c10fed90e3b9 Mon Sep 17 00:00:00 2001 From: Daniel Levin Date: Fri, 21 Dec 2012 17:15:48 +0200 Subject: OMAP5: Check TARGET_BOARD_PLATFORM in the root Android.mk The omap4xxx projects are supposed to be buildable only for OMAP4 and OMAP5 but not OMAP3. This patch adds checking for the proper TARGET_BOARD_PLATFORM to the root Android.mk and removes useless double checking from subprojects. Change-Id: Ic103304d24c2ffdbb82b3a277d0b66e0e44e4bc0 Signed-off-by: Daniel Levin Conflicts: Android.mk security/smc_pa_ctrl/Android.mk security/tee_client_api/Android.mk security/tf_daemon/Android.mk --- libstagefrighthw/Android.mk | 9 --------- 1 file changed, 9 deletions(-) (limited to 'libstagefrighthw') diff --git a/libstagefrighthw/Android.mk b/libstagefrighthw/Android.mk index 32f913b..a388808 100644 --- a/libstagefrighthw/Android.mk +++ b/libstagefrighthw/Android.mk @@ -1,9 +1,3 @@ -# Only applicable for OMAP4 and OMAP5 boards. -# First eliminate OMAP3 and then ensure that this is not used -# for customer boards -ifneq ($(TARGET_BOARD_PLATFORM),omap3) -ifeq ($(findstring omap, $(TARGET_BOARD_PLATFORM)),omap) - LOCAL_PATH := $(call my-dir) include $(CLEAR_VARS) @@ -25,6 +19,3 @@ LOCAL_SHARED_LIBRARIES := \ LOCAL_MODULE := libstagefrighthw include $(BUILD_HEAPTRACKED_SHARED_LIBRARY) - -endif -endif -- cgit v1.1