Some build environments do not support -xtype. Therefore use -type instead. Change-Id: I459bdd9e16dc31ea0b91d5f0cb86d4dabb1e3352 Signed-off-by: Bruce Levy <[email protected]>
@@ -1,5 +1,5 @@
# SPDX-License-Identifier: GPL-2.0-only
TECHPACK?=y
-techpack-dirs := $(shell find $(srctree)/techpack -maxdepth 1 -mindepth 1 -xtype d -not -name ".*")
+techpack-dirs := $(shell find $(srctree)/techpack -maxdepth 1 -mindepth 1 -type d -not -name ".*")
obj-${TECHPACK} += stub/ $(addsuffix /,$(subst $(srctree)/techpack/,,$(techpack-dirs)))