Files
device_samsung_gts4lv/Android.mk
Bruno Martins 1867852447 gts4lv: Add support for other models
Change-Id: Ia5f6eefc37bdf1b6127a526c7df98abd7eca4bde
2021-01-17 15:04:32 +00:00

36 lines
1.3 KiB
Makefile

#
# Copyright (C) 2020-2021 The LineageOS 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.
# WARNING: Everything listed here will be built on ALL platforms,
# including x86, the emulator, and the SDK. Modules must be uniquely
# named (liblights.tuna), and must build everywhere, or limit themselves
# to only building on ARM if they include assembly. Individual makefiles
# are responsible for having their own logic, for fine-grained control.
LOCAL_PATH := $(call my-dir)
ifeq ($(TARGET_DEVICE),gts4lv)
include $(call all-makefiles-under,$(LOCAL_PATH))
WLANMDSP_DUMMY_FILE := $(TARGET_OUT_VENDOR)/firmware/wlanmdsp.mbn
$(WLANMDSP_DUMMY_FILE): $(LOCAL_INSTALLED_MODULE)
@echo "Dummy WLAN firmware file: $@"
@mkdir -p $(dir $@)
@echo -n > $@
ALL_DEFAULT_INSTALLED_MODULES += $(WLANMDSP_DUMMY_FILE)
endif