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.
This commit is contained in:
parent
5b5ea76039
commit
88f635b021
|
@ -57,7 +57,7 @@ SRC_C += $(addprefix scsi/,scsi.c constants.c)
|
||||||
# Determine the header files included by the contrib code. For each
|
# Determine the header files included by the contrib code. For each
|
||||||
# of these header files we create a symlink to 'lx_emul.h'.
|
# 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)
|
sed "s/^\#include *[<\"]\(.*\)[>\"].*/\1/" | sort | uniq)
|
||||||
|
|
||||||
#
|
#
|
||||||
|
|
Loading…
Reference in New Issue