23 lines
724 B
Makefile
23 lines
724 B
Makefile
|
#
|
||
|
# Copyright (C) 2018,2020 The LineageOS Project
|
||
|
#
|
||
|
# SPDX-License-Identifier: Apache-2.0
|
||
|
#
|
||
|
|
||
|
# This contains the module build definitions for the hardware-specific
|
||
|
# components for this device.
|
||
|
#
|
||
|
# As much as possible, those components should be built unconditionally,
|
||
|
# with device-specific names to avoid collisions, to avoid device-specific
|
||
|
# bitrot and build breakages. Building a component unconditionally does
|
||
|
# *not* include it on all devices, so it is safe even with hardware-specific
|
||
|
# components.
|
||
|
|
||
|
LOCAL_PATH := $(call my-dir)
|
||
|
|
||
|
ifeq ($(TARGET_DEVICE),jd2019)
|
||
|
subdir_makefiles=$(call first-makefiles-under,$(LOCAL_PATH))
|
||
|
$(foreach mk,$(subdir_makefiles),$(info including $(mk) ...)$(eval include $(mk)))
|
||
|
|
||
|
endif
|