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>
This commit is contained in:
parent
e22d4b67e1
commit
836f7ba9cc
@ -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)))
|
||||
|
Loading…
Reference in New Issue
Block a user