blob: da2a3a66b703c04aa50fa21f4f5606e33132a7b0 [file] [log] [blame]
codeworkx62f02ba2012-05-20 12:00:36 +02001# Copyright (C) 2008 The Android Open Source Project
2#
3# Licensed under the Apache License, Version 2.0 (the "License");
4# you may not use this file except in compliance with the License.
5# You may obtain a copy of the License at
6#
7# http://www.apache.org/licenses/LICENSE-2.0
8#
9# Unless required by applicable law or agreed to in writing, software
10# distributed under the License is distributed on an "AS IS" BASIS,
11# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12# See the License for the specific language governing permissions and
13# limitations under the License.
14
15ifeq ($(filter-out exynos4,$(TARGET_BOARD_PLATFORM)),)
16
17LOCAL_PATH:= $(call my-dir)
18include $(CLEAR_VARS)
19
20LOCAL_PRELINK_MODULE := false
21LOCAL_SHARED_LIBRARIES := liblog libutils libcutils
22ifeq ($(BOARD_SUPPORT_SYSMMU),true)
23LOCAL_SHARED_LIBRARIES+= libMali
24endif
25
26ifeq ($(BOARD_SUPPORT_SYSMMU),true)
27LOCAL_CFLAGS+=-DBOARD_SUPPORT_SYSMMU
28endif
29
30ifeq ($(TARGET_SOC),exynos4210)
31LOCAL_CFLAGS += -DSAMSUNG_EXYNOS4210
32endif
33
34ifeq ($(TARGET_SOC),exynos4x12)
35LOCAL_CFLAGS += -DSAMSUNG_EXYNOS4x12
36endif
37
38ifeq ($(BOARD_USE_V4L2),true)
39LOCAL_CFLAGS += -DBOARD_USE_V4L2
40endif
41
42LOCAL_CFLAGS += \
43 -DDEFAULT_FB_NUM=$(DEFAULT_FB_NUM)
44
45LOCAL_C_INCLUDES := \
46 $(LOCAL_PATH)/../include \
47 framework/base/include
48
49LOCAL_SRC_FILES := SecFimc.cpp
50
codeworkx62f02ba2012-05-20 12:00:36 +020051LOCAL_MODULE := libfimc
52include $(BUILD_SHARED_LIBRARY)
53
54endif