5081f16b3d
To make sure sym links (if any) gets detected during search, switch to xtype. Change-Id: Idc0584b134f2ca4b395e53696e079337ff377f82 Signed-off-by: Satya Durga Srinivasu Prabhala <satyap@codeaurora.org>
8 lines
449 B
Makefile
8 lines
449 B
Makefile
# SPDX-License-Identifier: GPL-2.0-only
|
|
TECHPACK?=y
|
|
|
|
techpack-dirs := $(shell find $(srctree)/$(src) -maxdepth 1 -mindepth 1 -xtype d -not -name ".*")
|
|
obj-${TECHPACK} += stub/ $(addsuffix /,$(subst $(srctree)/$(src)/,,$(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)))
|