summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorMarc Kleine-Budde <mkl@pengutronix.de>2009-06-18 09:43:13 +0000
committerMarc Kleine-Budde <mkl@pengutronix.de>2009-06-18 09:43:13 +0000
commitc5e01df4bb2e3ef4cfc7c1e4466ac8c212fd9fc6 (patch)
tree979ca9d38da4f00e84fc8a6b6cb38c42a4c45047 /scripts
parent048b0e09740a243b34c92e901470c06b14680e14 (diff)
downloadptxdist-c5e01df4bb2e3ef4cfc7c1e4466ac8c212fd9fc6.tar.gz
ptxdist-c5e01df4bb2e3ef4cfc7c1e4466ac8c212fd9fc6.tar.xz
[dgen] only handle "include" to files which path start with "/"
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de> git-svn-id: https://svn.pengutronix.de/svn/ptxdist/trunks/ptxdist-trunk@10818 33e552b5-05e3-0310-8538-816dae2090ed
Diffstat (limited to 'scripts')
-rw-r--r--scripts/lib/ptxd_lib_dgen.awk2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/lib/ptxd_lib_dgen.awk b/scripts/lib/ptxd_lib_dgen.awk
index 4b6cc1e8a..f69505c77 100644
--- a/scripts/lib/ptxd_lib_dgen.awk
+++ b/scripts/lib/ptxd_lib_dgen.awk
@@ -44,7 +44,7 @@ FNR == 1 {
# add "<MAKEFILE>" to argv array after the file that includes
# "<MAKEFILE>"
#
-$0 ~ /^include[[:space:]]+.*\.make$/ {
+$0 ~ /^include[[:space:]]+\/.*\.make$/ {
move_argc++;
for (i = ARGC; i > move_argc; i--)