WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-changelog

[Xen-changelog] [xen-unstable] tools: provide generic rules for compilin

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-unstable] tools: provide generic rules for compiling .S files
From: Xen patchbot-unstable <patchbot@xxxxxxx>
Date: Fri, 25 Mar 2011 04:45:13 +0000
Delivery-date: Thu, 24 Mar 2011 21:46:28 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# HG changeset patch
# User Ian Campbell <ian.campbell@xxxxxxxxxx>
# Date 1300895429 0
# Node ID 8e5a9ad6f820e6f551c94b6c0138c9b8795272ed
# Parent  3c2c593bac4b79cea1771ff58012bdcb07b6f530
tools: provide generic rules for compiling .S files

Signed-off-by: Ian Campbell <ian.campbell@xxxxxxxxxx>
Acked-by: Ian Jackson <ian.jackson@xxxxxxxxxxxxx>
Committed-by: Ian Jackson <ian.jackson@xxxxxxxxxxxxx>
---


diff -r 3c2c593bac4b -r 8e5a9ad6f820 tools/Rules.mk
--- a/tools/Rules.mk    Wed Mar 23 15:42:48 2011 +0000
+++ b/tools/Rules.mk    Wed Mar 23 15:50:29 2011 +0000
@@ -89,6 +89,11 @@
 %.o: %.cc
        $(CC) $(CPPFLAGS) $(CXXFLAGS) $(CXXFLAGS_$*.o) -c -o $@ $<
 
+%.o: %.S
+       $(CC) $(CFLAGS) $(CFLAGS_$*.o) -c $< -o $@
+%.opic: %.S
+       $(CC) $(CPPFLAGS) -DPIC $(CFLAGS) $(CFLAGS.opic) -fPIC -c -o $@ $<
+
 subdirs-all subdirs-clean subdirs-install subdirs-distclean: .phony
        @set -e; for subdir in $(SUBDIRS) $(SUBDIRS-y); do \
                $(MAKE) subdir-$(patsubst subdirs-%,%,$@)-$$subdir; \
diff -r 3c2c593bac4b -r 8e5a9ad6f820 tools/libxc/ia64/Makefile
--- a/tools/libxc/ia64/Makefile Wed Mar 23 15:42:48 2011 +0000
+++ b/tools/libxc/ia64/Makefile Wed Mar 23 15:50:29 2011 +0000
@@ -16,13 +16,7 @@
 $(DOMFW_SRCS):
        ln -sf $(XEN_ROOT)/xen/arch/ia64/xen/$(@F) $@
 
-# XXX kludge: libxc/Makefile doesn't understand .S.
 GUEST_SRCS-y += $(patsubst %.S, %.c, $(DOMFW_SRCS))
-%.o: %.S
-       $(CC) $(CFLAGS) -c $< -o $@
-%.opic: %.S
-       $(CC) $(CPPFLAGS) -DPIC $(CFLAGS) -fPIC -c -o $@ $<
-
 
 CFLAGS += -Iia64
 

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [xen-unstable] tools: provide generic rules for compiling .S files, Xen patchbot-unstable <=