mirror of
https://github.com/rd-stuffs/msm-4.14.git
synced 2025-02-20 11:45:48 +08:00
Add a snapshot of tech package support from msm-4.19 to msm-4.14 from commits as of: 'commit <50327f3450f1> (techpack: add tech package support)' 'commit <8082260ee599> (techpack: set configuration default to yes)' 'commit <776ec744ee23> (techpack: Kbuild: Fix to compile the techpack completely)'. Change markings to 4.14 style. Change-Id: I446e7cf0f185181caa5e62cf42a2ff972f99be35 Signed-off-by: Xiaowen Wu <wxiaowen@codeaurora.org>
19 lines
932 B
Makefile
19 lines
932 B
Makefile
# Copyright (c) 2016-2018, The Linux Foundation. All rights reserved.
|
|
#
|
|
# This program is free software; you can redistribute it and/or modify
|
|
# it under the terms of the GNU General Public License version 2 and
|
|
# only version 2 as published by the Free Software Foundation.
|
|
#
|
|
# This program is distributed in the hope that it will be useful,
|
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
# GNU General Public License for more details.
|
|
|
|
TECHPACK?=y
|
|
|
|
techpack-dirs := $(shell find $(srctree)/techpack -maxdepth 1 -mindepth 1 -type d -not -name ".*")
|
|
obj-${TECHPACK} += stub/ $(addsuffix /,$(subst $(srctree)/techpack/,,$(techpack-dirs)))
|
|
|
|
techpack-header-dirs := $(shell find $(srctree)/techpack -maxdepth 1 -mindepth 1 -type d -not -name ".*")
|
|
header-${TECHPACK} += $(addsuffix /include/uapi/,$(subst $(srctree)/techpack/,,$(techpack-header-dirs)))
|