Some build environments do not support -xtype. Therefore use -type instead. Change-Id: I459bdd9e16dc31ea0b91d5f0cb86d4dabb1e3352 Signed-off-by: Bruce Levy <blevy@codeaurora.org>
6 lines
240 B
Makefile
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)))
|