android_kernel_xiaomi_sm8350/techpack/Kbuild
Bruce Levy 836f7ba9cc techpack: Replace xtype with type while searching for sub-dirs
Some build environments do not support -xtype. Therefore
use -type instead.

Change-Id: I459bdd9e16dc31ea0b91d5f0cb86d4dabb1e3352
Signed-off-by: Bruce Levy <blevy@codeaurora.org>
2019-11-19 11:52:49 -08:00

6 lines
240 B
Makefile

# SPDX-License-Identifier: GPL-2.0-only
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)))