From 3f7ed16d1ce0b7f9ade058793d4feb2eec22fe93 Mon Sep 17 00:00:00 2001 From: Satya Durga Srinivasu Prabhala Date: Tue, 9 Jul 2019 17:43:13 -0700 Subject: [PATCH] techpack: replace type with xtype while searching for sub-dirs To make sure sym links (if any) gets detected during search, switch to xtype. Change-Id: Idc0584b134f2ca4b395e53696e079337ff377f82 Signed-off-by: Satya Durga Srinivasu Prabhala --- techpack/Kbuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/techpack/Kbuild b/techpack/Kbuild index aef74e688e2a..1d4274d9508d 100644 --- a/techpack/Kbuild +++ b/techpack/Kbuild @@ -1,7 +1,7 @@ # SPDX-License-Identifier: GPL-2.0-only TECHPACK?=y -techpack-dirs := $(shell find $(srctree)/$(src) -maxdepth 1 -mindepth 1 -type d -not -name ".*") +techpack-dirs := $(shell find $(srctree)/$(src) -maxdepth 1 -mindepth 1 -xtype d -not -name ".*") obj-${TECHPACK} += stub/ $(addsuffix /,$(subst $(srctree)/$(src)/,,$(techpack-dirs))) techpack-header-dirs := $(shell find $(srctree)/techpack -maxdepth 1 -mindepth 1 -type d -not -name ".*")