[linux-tools] 02/06: Adjust VPATH to work for check-hyperv (and simplify the modpost wrapper)
debian-kernel at lists.debian.org
debian-kernel at lists.debian.org
Sun Feb 21 16:52:46 UTC 2016
This is an automated email from the git hooks/post-receive script.
benh pushed a commit to branch master
in repository linux-tools.
commit 7d90293de344205a24969b291f5c0615f2303071
Author: Ben Hutchings <ben at decadent.org.uk>
Date: Sun Feb 21 16:32:09 2016 +0000
Adjust VPATH to work for check-hyperv (and simplify the modpost wrapper)
---
debian/rules.d/Makefile.inc | 2 +-
debian/rules.d/scripts/mod/Makefile | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/debian/rules.d/Makefile.inc b/debian/rules.d/Makefile.inc
index acdcf71..a79e85b 100644
--- a/debian/rules.d/Makefile.inc
+++ b/debian/rules.d/Makefile.inc
@@ -1,7 +1,7 @@
# Normalise OUTDIR to avoid triggering rebuilds
override OUTDIR := $(patsubst ./%,%,$(OUTDIR))
-VPATH = $(top_srcdir)/$(OUTDIR)
+VPATH = $(top_rulesdir)/$(OUTDIR) $(top_srcdir)/$(OUTDIR)
SHELL = /bin/sh -e
diff --git a/debian/rules.d/scripts/mod/Makefile b/debian/rules.d/scripts/mod/Makefile
index 728afaa..e57e262 100644
--- a/debian/rules.d/scripts/mod/Makefile
+++ b/debian/rules.d/scripts/mod/Makefile
@@ -18,5 +18,5 @@ modpost.real-%:
modpost-opts.h: $(top_srcdir)/scripts/mod/modpost.c
python $(wrapperdir)/gendef.py $< > $@
-modpost.o: $(wrapperdir)/modpost.c modpost-opts.h
+modpost.o: modpost.c modpost-opts.h
$(CC) $(CFLAGS) -I $(CURDIR) -c -o $@ $<
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/kernel/linux-tools.git
More information about the Kernel-svn-changes
mailing list