mirror of
https://github.com/team-infusion-developers/android_hardware_samsung.git
synced 2024-11-06 21:55:41 +00:00
de5e3c618d
This is a power HAL for non-qcom Samsung devices. It currently supports standard multi-core systems as well as big.LITTLE configurations. This HAL auto-detects your touchscreen and touchkey input switches and handles the interactive state requests. I also implemented a check to make sure your touchkeys won't turn on when they're not supposed to (for example when a CMHW class disables the capacitive buttons and activates a software navigation solution). This previously needed a kernel hack to make sure the touchkeys wouldn't be activated when resuming from suspend. Change-Id: I22888c5ac490c85c417c5457ea4f457f78ed3521
42 lines
1.2 KiB
Makefile
42 lines
1.2 KiB
Makefile
# Copyright (C) 2012 The Android Open Source Project
|
|
#
|
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
# you may not use this file except in compliance with the License.
|
|
# You may obtain a copy of the License at
|
|
#
|
|
# http://www.apache.org/licenses/LICENSE-2.0
|
|
#
|
|
# Unless required by applicable law or agreed to in writing, software
|
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
# See the License for the specific language governing permissions and
|
|
# limitations under the License.
|
|
|
|
SAM_ROOT := $(call my-dir)
|
|
|
|
# Exynos 4
|
|
ifeq ($(TARGET_BOARD_PLATFORM),exynos4)
|
|
ifeq ($(TARGET_SOC),exynos4210)
|
|
include $(SAM_ROOT)/exynos4210.mk
|
|
endif
|
|
ifeq ($(TARGET_SOC),exynos4x12)
|
|
include $(SAM_ROOT)/exynos4x12.mk
|
|
endif
|
|
endif
|
|
|
|
# Exynos 3
|
|
ifeq ($(TARGET_BOARD_PLATFORM),s5pc110)
|
|
include $(SAM_ROOT)/s5pc110.mk
|
|
endif
|
|
|
|
# Wifi
|
|
ifeq ($(BOARD_HAVE_SAMSUNG_WIFI),true)
|
|
include $(SAM_ROOT)/macloader/Android.mk
|
|
include $(SAM_ROOT)/wifiloader/Android.mk
|
|
endif
|
|
|
|
ifeq ($(BOARD_VENDOR),samsung)
|
|
include $(SAM_ROOT)/modemloader/Android.mk
|
|
include $(SAM_ROOT)/power/Android.mk
|
|
include $(SAM_ROOT)/ril/Android.mk
|
|
endif
|