diff options
author | wdenk <wdenk> | 2003-07-24 23:38:38 +0000 |
---|---|---|
committer | wdenk <wdenk> | 2003-07-24 23:38:38 +0000 |
commit | 27b207fd0a0941b03f27e2a82c0468b1a090c745 (patch) | |
tree | 4d339d7a2a00889f09a876425ce430be57de56e9 /examples/Makefile | |
parent | 2535d60277cc295adf75cd5721dcecd840c69a63 (diff) | |
download | u-boot-imx-27b207fd0a0941b03f27e2a82c0468b1a090c745.zip u-boot-imx-27b207fd0a0941b03f27e2a82c0468b1a090c745.tar.gz u-boot-imx-27b207fd0a0941b03f27e2a82c0468b1a090c745.tar.bz2 |
* Implement new mechanism to export U-Boot's functions to standalone
applications: instead of using (PPC-specific) system calls we now
use a jump table; please see doc/README.standalone for details
* Patch by Dave Westwood, 24 Jul 2003:
added support for Unity OS (a proprietary OS)
Diffstat (limited to 'examples/Makefile')
-rw-r--r-- | examples/Makefile | 25 |
1 files changed, 17 insertions, 8 deletions
diff --git a/examples/Makefile b/examples/Makefile index 9abff63..7975df5 100644 --- a/examples/Makefile +++ b/examples/Makefile @@ -21,7 +21,21 @@ # MA 02111-1307 USA # +ifeq ($(ARCH),ppc) LOAD_ADDR = 0x40000 +endif + +ifeq ($(ARCH),i386) +LOAD_ADDR = 0x40000 +endif + +ifeq ($(ARCH),arm) +LOAD_ADDR = 0xc100000 +endif + +ifeq ($(ARCH),mips) +LOAD_ADDR = 0x80200000 -T mips.lds +endif include $(TOPDIR)/config.mk @@ -38,11 +52,6 @@ SREC += sched.srec BIN += sched.bin endif -ifeq ($(ARCH),mips) -SREC = -BIN = -endif - # The following example is pretty 8xx specific... ifeq ($(CPU),mpc8xx) SREC += timer.srec @@ -62,12 +71,12 @@ endif OBJS = $(SREC:.srec=.o) -LIB = libsyscall.a -LIBAOBJS= syscall.o +LIB = libstubs.a +LIBAOBJS= ifeq ($(ARCH),ppc) LIBAOBJS+= $(ARCH)_longjmp.o $(ARCH)_setjmp.o endif -LIBCOBJS= +LIBCOBJS= stubs.o LIBOBJS = $(LIBAOBJS) $(LIBCOBJS) CPPFLAGS += -I.. |