summaryrefslogtreecommitdiffstats
path: root/scripts/hdrcheck.sh
diff options
context:
space:
mode:
authorDavid Woodhouse <dwmw2@infradead.org>2006-09-24 22:15:14 +0100
committerDavid Woodhouse <dwmw2@infradead.org>2006-09-24 22:15:14 +0100
commitde78912582bc1f95733d53e0d40779c0cd7b0686 (patch)
treecf7c7872e8e7fb80f4212ff0212a0208fdf43417 /scripts/hdrcheck.sh
parentb4daf69722c49670d355d66439abda5ab5d4c5db (diff)
downloadop-kernel-dev-de78912582bc1f95733d53e0d40779c0cd7b0686.zip
op-kernel-dev-de78912582bc1f95733d53e0d40779c0cd7b0686.tar.gz
Use dependencies for 'make headers_install'.
Re-export header files only if either they or their controlling Kbuild file has actually changed. Also allow for similar dependencies with 'headers_check', once we properly create the dependencies for those. Signed-off-by: David Woodhouse <dwmw2@infradead.org>
Diffstat (limited to 'scripts/hdrcheck.sh')
-rwxr-xr-xscripts/hdrcheck.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/hdrcheck.sh b/scripts/hdrcheck.sh
index b5ca35a..3159858 100755
--- a/scripts/hdrcheck.sh
+++ b/scripts/hdrcheck.sh
@@ -6,3 +6,5 @@ for FILE in `grep '^[ \t]*#[ \t]*include[ \t]*<' $2 | cut -f2 -d\< | cut -f1 -d\
exit 1
fi
done
+# FIXME: List dependencies into $3
+touch $3
OpenPOWER on IntegriCloud