Commit MetaInfo

Revisión19aad22e3c70a8e15fc652c3f15cc27958847e04 (tree)
Tiempo2015-02-14 22:24:03
AutorYoshinori Sato <ysato@sa76...>
CommiterYoshinori Sato

Log Message

Update files

Cambiar Resumen

Diferencia incremental

--- a/libc/sysdeps/linux/h8300/Makefile
+++ b/libc/sysdeps/linux/h8300/Makefile
@@ -1,65 +1,13 @@
11 # Makefile for uClibc
22 #
3-# Copyright (C) 2000-2006 Erik Andersen <andersen@uclibc.org>
3+# Copyright (C) 2015 Yoshinori Sato
44 #
55 # Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
6+#
67
7-TOPDIR=../../../../
8-include $(TOPDIR)Rules.mak
9-ifeq ($(DOPIC),y)
10-# is this not provided by gcc ?
11-ASFLAGS+=-D__PIC__
12-endif
13-
14-#FIXME -- this arch should include its own crti.S and crtn.S
15-UCLIBC_CTOR_DTOR=n
16-
17-CRT_SRC := crt1.S
18-CRT_OBJ := crt1.o
19-CTOR_TARGETS := $(TOPDIR)lib/crti.o $(TOPDIR)lib/crtn.o
20-
21-SSRC := __longjmp.S bsd-_setjmp.S bsd-setjmp.S clone.S setjmp.S vfork.S
22-SOBJ := $(patsubst %.S,%.o, $(SSRC))
23-
24-CSRC := ptrace.c brk.c
25-COBJ := $(patsubst %.c,%.o, $(CSRC))
26-
27-OBJS := $(SOBJ) $(COBJ)
28-
29-OBJ_LIST := ../../../obj.sysdeps.$(TARGET_ARCH)
30-
31-all: $(OBJ_LIST) $(CTOR_TARGETS)
32-
33-$(OBJ_LIST): $(OBJS) $(CRT_OBJ)
34- $(STRIPTOOL) -x -R .note -R .comment $^
35- $(INSTALL) -d $(TOPDIR)lib/
36- cp $(CRT_OBJ) $(TOPDIR)lib/
37- echo $(patsubst %, sysdeps/linux/$(TARGET_ARCH)/%, $(OBJS)) > $@
38-
39-$(CRT_OBJ): $(CRT_SRC)
40- $(CC) $(ASFLAGS) -DL_$* $< -c -o $*.o
41-
42-$(SOBJ): %.o : %.S
43- $(CC) $(ASFLAGS) -c $< -o $@
44-
45-$(COBJ): %.o : %.c
46- $(CC) $(CFLAGS) -c $< -o $@
47-
48-ifeq ($(UCLIBC_CTOR_DTOR),y)
49-$(TOPDIR)lib/crti.o: crti.S
50- $(INSTALL) -d $(TOPDIR)lib/
51- $(CC) $(ASFLAGS) $(SSP_DISABLE_FLAGS) -c $< -o $@
52-
53-$(TOPDIR)lib/crtn.o: crtn.S
54- $(INSTALL) -d $(TOPDIR)lib/
55- $(CC) $(ASFLAGS) $(SSP_DISABLE_FLAGS) -c $< -o $@
56-else
57-$(CTOR_TARGETS):
58- $(INSTALL) -d $(TOPDIR)lib/
59- $(AR) $(ARFLAGS) $@
60-endif
61-
62-headers:
63-
64-clean:
65- $(RM) *.o *~ core
8+top_srcdir=../../../../
9+top_builddir=../../../../
10+all: objs
11+include $(top_builddir)Rules.mak
12+include Makefile.arch
13+include $(top_srcdir)Makerules
--- /dev/null
+++ b/libc/sysdeps/linux/h8300/Makefile.arch
@@ -0,0 +1,10 @@
1+# Makefile for uClibc
2+#
3+# Copyright (C) 2015 Yoshinori Sato
4+#
5+# Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
6+#
7+
8+CSRC-y := brk.c
9+
10+SSRC-y := __longjmp.S bsd-_setjmp.S bsd-setjmp.S clone.S setjmp.S vfork.S
Show on old repository browser