Rev 3556 | Rev 3558 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 3556 | Rev 3557 | ||
---|---|---|---|
Line 24... | Line 24... | ||
24 | # THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
24 | # THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
25 | # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF |
25 | # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF |
26 | # THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
26 | # THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
27 | # |
27 | # |
28 | 28 | ||
29 | include ../../../version |
29 | include ../../../../version |
30 | include ../../Makefile.config |
30 | include ../../../Makefile.config |
31 | 31 | ||
32 | ## Setup toolchain |
32 | ## Setup toolchain |
33 | # |
33 | # |
34 | 34 | ||
35 | LIBC_PREFIX = ../../lib/libc |
35 | LIBC_PREFIX = ../../../lib/libc |
- | 36 | APP_LIBC_PREFIX = ../../lib/libc |
|
36 | SOFTINT_PREFIX = ../../lib/softint |
37 | SOFTINT_PREFIX = ../../../lib/softint |
37 | RTLD_PREFIX = ../../lib/rtld |
38 | RTLD_PREFIX = ../../../lib/rtld |
38 | include $(LIBC_PREFIX)/Makefile.toolchain |
39 | include $(LIBC_PREFIX)/Makefile.toolchain |
39 | #include arch/$(ARCH)/Makefile.inc |
40 | #include arch/$(ARCH)/Makefile.inc |
40 | ARCH_SOURCES := |
41 | ARCH_SOURCES := |
41 | 42 | ||
42 | LFLAGS = -shared -soname libc.so.0 --whole-archive |
43 | LFLAGS = -shared -soname libc.so.0 --whole-archive |
Line 76... | Line 77... | ||
76 | 77 | ||
77 | arch/$(ARCH)/_lib.ld: arch/$(ARCH)/_lib.ld.in |
78 | arch/$(ARCH)/_lib.ld: arch/$(ARCH)/_lib.ld.in |
78 | $(CC) $(DEFS) $(CFLAGS) -DLIBC_PREFIX=$(LIBC_PREFIX) -E -x c $< | grep -v "^\#" > $@ |
79 | $(CC) $(DEFS) $(CFLAGS) -DLIBC_PREFIX=$(LIBC_PREFIX) -E -x c $< | grep -v "^\#" > $@ |
79 | 80 | ||
80 | arch/$(ARCH)/_link.ld: arch/$(ARCH)/_link.ld.in |
81 | arch/$(ARCH)/_link.ld: arch/$(ARCH)/_link.ld.in |
81 | $(CC) $(DEFS) $(CFLAGS) -DLIBC_PREFIX=$(LIBC_PREFIX) -E -x c $< | grep -v "^\#" > $@ |
82 | $(CC) $(DEFS) $(CFLAGS) -DLIBC_PREFIX=$(APP_LIBC_PREFIX) -E -x c $< | grep -v "^\#" > $@ |