Revert "techpack: replace type with xtype while searching for sub-dirs"

Support build environments where find -xtype is not supported.

This reverts commit 5081f16b3d.

Change-Id: Ibb4a9f2429bad5e0bae690f60605887f01623a16
Signed-off-by: Adam Bickett <abickett@codeaurora.org>
This commit is contained in:
Adam Bickett 2019-11-18 17:03:28 -08:00 committed by Gerrit - the friendly Code Review server
parent 776ec744ee
commit 27009ef53b

View File

@ -1,7 +1,7 @@
# 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)))
techpack-header-dirs := $(shell find $(srctree)/techpack -maxdepth 1 -mindepth 1 -type d -not -name ".*")