From 88f635b021e36dc2f137960d8e390302020cd7da Mon Sep 17 00:00:00 2001 From: Norman Feske Date: Thu, 12 Sep 2013 21:02:54 +0200 Subject: [PATCH] dde_linux: Follow symlinks while grepping includes This patch principally allows to install symlinks to out-of-Linux tree drivers into the contrib directory. Those files are then considered for the 'lx_emul.h' symlink procedure. Is useful as a temporary mechanism while developing the rpi USB driver. --- dde_linux/lib/mk/usb.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dde_linux/lib/mk/usb.inc b/dde_linux/lib/mk/usb.inc index f83e206f2..36fdbaceb 100644 --- a/dde_linux/lib/mk/usb.inc +++ b/dde_linux/lib/mk/usb.inc @@ -57,7 +57,7 @@ SRC_C += $(addprefix scsi/,scsi.c constants.c) # Determine the header files included by the contrib code. For each # of these header files we create a symlink to 'lx_emul.h'. # -GEN_INCLUDES := $(shell grep -rh "^\#include .*\/" $(CONTRIB_DIR) |\ +GEN_INCLUDES := $(shell grep -Rh "^\#include .*\/" $(CONTRIB_DIR) |\ sed "s/^\#include *[<\"]\(.*\)[>\"].*/\1/" | sort | uniq) #