blob: 03c634afc1e359b14a655786323b1163b256a93b [file] [log] [blame]
R. Andrew Ohana3e03dba2012-05-21 01:47:01 -07001# Copyright (C) 2012 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
R. Andrew Ohana81c2e052012-10-03 19:52:52 -070015SAM_ROOT := $(call my-dir)
16
Daniel Hillenbrand601dc852013-07-07 10:06:59 +020017# Exynos 4
R. Andrew Ohana3e03dba2012-05-21 01:47:01 -070018ifeq ($(TARGET_BOARD_PLATFORM),exynos4)
19ifeq ($(TARGET_SOC),exynos4210)
R. Andrew Ohana81c2e052012-10-03 19:52:52 -070020include $(SAM_ROOT)/exynos4210.mk
R. Andrew Ohana3e03dba2012-05-21 01:47:01 -070021endif
22ifeq ($(TARGET_SOC),exynos4x12)
R. Andrew Ohana81c2e052012-10-03 19:52:52 -070023include $(SAM_ROOT)/exynos4x12.mk
R. Andrew Ohana3e03dba2012-05-21 01:47:01 -070024endif
25endif
Chirayu Desai0a336cc2012-07-12 14:37:05 +053026
Daniel Hillenbrand601dc852013-07-07 10:06:59 +020027# Exynos 3
Chirayu Desai0a336cc2012-07-12 14:37:05 +053028ifeq ($(TARGET_BOARD_PLATFORM),s5pc110)
29ifneq ($(TARGET_BOOTLOADER_BOARD_NAME),herring)
R. Andrew Ohana81c2e052012-10-03 19:52:52 -070030include $(SAM_ROOT)/s5pc110.mk
Chirayu Desai0a336cc2012-07-12 14:37:05 +053031endif
32endif
R. Andrew Ohana81c2e052012-10-03 19:52:52 -070033
Daniel Hillenbrand601dc852013-07-07 10:06:59 +020034# Wifi
R. Andrew Ohana81c2e052012-10-03 19:52:52 -070035ifeq ($(BOARD_HAVE_SAMSUNG_WIFI),true)
36include $(SAM_ROOT)/macloader/Android.mk
37endif
Daniel Hillenbrand601dc852013-07-07 10:06:59 +020038
Daniel Hillenbrand601dc852013-07-07 10:06:59 +020039ifeq ($(BOARD_VENDOR),samsung)
40include $(SAM_ROOT)/ril/Android.mk
41endif