[klibc] [PATCH] klibc/kbuild: fix ppc64 for new list based kbuild build
sam at ravnborg.org
sam at ravnborg.org
Mon Jul 10 10:37:06 PDT 2006
From: Sam Ravnborg <sam at mars.ravnborg.org>
There was some left-overs in Makefile.inc that was nolonger used.
So conversion was straight forward.
Signed-off-by: Sam Ravnborg <sam at ravnborg.org>
---
usr/klibc/arch/ppc64/Kbuild | 8 ++++++++
usr/klibc/arch/ppc64/Makefile.inc | 17 -----------------
2 files changed, 8 insertions(+), 17 deletions(-)
diff --git a/usr/klibc/arch/ppc64/Kbuild b/usr/klibc/arch/ppc64/Kbuild
new file mode 100644
index 0000000..a39e91f
--- /dev/null
+++ b/usr/klibc/arch/ppc64/Kbuild
@@ -0,0 +1,8 @@
+#
+# klibc files for ppc64
+#
+
+klib-y := setjmp.o syscall.o
+
+always := crt0.o
+targets := crt0.o
diff --git a/usr/klibc/arch/ppc64/Makefile.inc b/usr/klibc/arch/ppc64/Makefile.inc
index 80f6be5..403eb01 100644
--- a/usr/klibc/arch/ppc64/Makefile.inc
+++ b/usr/klibc/arch/ppc64/Makefile.inc
@@ -6,20 +6,3 @@ # Special rules for this architecture.
# included from the main Makefile, and that pathnames should be
# accordingly.
#
-
-KLIBCARCHOBJS = \
- arch/$(KLIBCARCH)/setjmp.o \
- arch/$(KLIBCARCH)/syscall.o
-
-KLIBCARCHSOOBJS = $(patsubst %.o,%.lo,$(KLIBCARCHOBJS))
-
-INTERP_O = interp1.o
-
-interp.o: interp1.o klibc.got
- $(LD) $(KLIBCLDFLAGS) -r -o $@ interp1.o klibc.got
-
-klibc.got: $(SOHASH)
- $(OBJCOPY) -j .got $< $@
-
-archclean:
- rm -f klibc.got
--
1.4.1.rc2.gfc04
More information about the klibc
mailing list