From: Bastian Blank <bastian@waldi.eu.org>
To: xen-devel@lists.xensource.com
Subject: [PATCH 4/5] tools/include - Use real source files for xen/foreign build
Date: Sat, 26 Jan 2008 15:04:01 +0100 [thread overview]
Message-ID: <20080126140401.GD14527@wavehammer.waldi.eu.org> (raw)
# HG changeset patch
# User Bastian Blank <waldi@debian.org>
# Date 1201355693 -3600
# Node ID 79162b6b2682aac42b145e20428ebf382db14579
# Parent ead4852e6fa0c8899bde9235d3329c1772072cd3
Use real source files for xen/foreign build.
Signed-off-by: Bastian Blank <waldi@debian.org>
diff -r ead4852e6fa0 -r 79162b6b2682 tools/include/xen-foreign/Makefile
--- a/tools/include/xen-foreign/Makefile Sat Jan 26 14:54:53 2008 +0100
+++ b/tools/include/xen-foreign/Makefile Sat Jan 26 14:54:53 2008 +0100
@@ -1,14 +1,14 @@ XEN_ROOT=../../..
XEN_ROOT=../../..
include $(XEN_ROOT)/Config.mk
-ROOT = $(XEN_ROOT)/xen/include/public/foreign
-HOSTCFLAGS += -I$(ROOT)
+ROOT = $(XEN_ROOT)/xen/include/public
+HOSTCFLAGS += -I$(ROOT)/foreign
-MKHEADER_PY = $(ROOT)/mkheader.py
+MKCHECKER_PY = $(ROOT)/foreign/mkchecker.py
+MKHEADER_PY = $(ROOT)/foreign/mkheader.py
architectures := x86_32 x86_64 ia64
headers := $(patsubst %, %.h, $(architectures))
-scripts := $(wildcard *.py)
.PHONY: all clean check-headers
all: $(headers) check-headers
@@ -24,21 +24,21 @@ checker: checker.c $(headers)
check-headers: checker
./checker > tmp.size
- diff -u $(ROOT)/reference.size tmp.size
+ diff -u $(ROOT)/foreign/reference.size tmp.size
rm tmp.size
else
check-headers:
@echo "cross build: skipping check"
endif
-x86_32.h: $(ROOT)/mkheader.py ../xen/arch-x86/xen-x86_32.h ../xen/arch-x86/xen.h ../xen/xen.h
+x86_32.h: $(MKHEADER_PY) $(ROOT)/arch-x86/xen-x86_32.h $(ROOT)/arch-x86/xen.h $(ROOT)/xen.h
python $< $* $@ $(filter %.h,$^)
-x86_64.h: $(ROOT)/mkheader.py ../xen/arch-x86/xen-x86_64.h ../xen/arch-x86/xen.h ../xen/xen.h
+x86_64.h: $(MKHEADER_PY) $(ROOT)/arch-x86/xen-x86_64.h $(ROOT)/arch-x86/xen.h $(ROOT)/xen.h
python $< $* $@ $(filter %.h,$^)
-ia64.h: $(ROOT)/mkheader.py ../xen/arch-ia64.h ../xen/xen.h
+ia64.h: $(MKHEADER_PY) $(ROOT)/arch-ia64.h $(ROOT)/xen.h
python $< $* $@ $(filter %.h,$^)
-checker.c: $(ROOT)/mkchecker.py
+checker.c: $(MKCHECKER_PY)
python $< $(XEN_TARGET_ARCH) $@ $(architectures)
next reply other threads:[~2008-01-26 14:04 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-01-26 14:04 Bastian Blank [this message]
2008-01-26 14:11 ` [PATCH 4/5] tools/include - Use real source files for xen/foreign build Keir Fraser
2008-01-26 14:14 ` Keir Fraser
2008-01-26 15:33 ` Bastian Blank
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20080126140401.GD14527@wavehammer.waldi.eu.org \
--to=bastian@waldi.eu.org \
--cc=xen-devel@lists.xensource.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.