blob: 1a9c10e6c6884dc19eace19575768320f25c8a7d [file] [log] [blame]
codeworkx62f02ba2012-05-20 12:00:36 +02001#
2# Copyright (C) 2012 The Android Open Source Project
3#
4# Licensed under the Apache License, Version 2.0 (the "License");
5# you may not use this file except in compliance with the License.
6# You may obtain a copy of the License at
7#
8# http://www.apache.org/licenses/LICENSE-2.0
9#
10# Unless required by applicable law or agreed to in writing, software
11# distributed under the License is distributed on an "AS IS" BASIS,
12# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13# See the License for the specific language governing permissions and
14# limitations under the License.
15#
16
17ifeq ($(TARGET_BOARD_PLATFORM),exynos4)
codeworkx62f02ba2012-05-20 12:00:36 +020018
angelslee21f4b2013-02-18 18:48:53 +080019common_exynos4_dirs := libgralloc_ump libhdmi libhwcomposer libhwconverter libsecion
Daniel Hillenbrand1784cec2012-07-22 17:32:42 +020020
21ifneq ($(BOARD_USES_PROPRIETARY_LIBCAMERA),true)
22common_exynos4_dirs += libcamera
23endif
24
25ifneq ($(BOARD_USES_PROPRIETARY_LIBFIMC),true)
26common_exynos4_dirs += libfimc
27endif
28
29exynos4210_dirs := $(common_exynos4_dirs) libs5pjpeg libfimg3x
codeworkx62f02ba2012-05-20 12:00:36 +020030exynos4x12_dirs := $(common_exynos4_dirs) libhwjpeg libfimg4x
31
32ifeq ($(TARGET_SOC),exynos4210)
33 include $(call all-named-subdir-makefiles,$(exynos4210_dirs))
34else
35 include $(call all-named-subdir-makefiles,$(exynos4x12_dirs))
36endif
37endif