summaryrefslogtreecommitdiff
path: root/examples/Makefile
diff options
context:
space:
mode:
authorwdenk <wdenk>2003-03-31 16:34:49 +0000
committerwdenk <wdenk>2003-03-31 16:34:49 +0000
commit85ec0bcc1bc40a67368461fee0435d79305168b1 (patch)
tree084062015af4a61080c48c1796dcffbc90ab02f1 /examples/Makefile
parent506f044131515a80c7c8479a84df028be880b34e (diff)
downloadu-boot-imx-85ec0bcc1bc40a67368461fee0435d79305168b1.zip
u-boot-imx-85ec0bcc1bc40a67368461fee0435d79305168b1.tar.gz
u-boot-imx-85ec0bcc1bc40a67368461fee0435d79305168b1.tar.bz2
* Patch by Arun Dharankar, 24 Mar 2003:
- add threads / scheduler example code * Add patches by Robert Schwebel, 31 Mar 2003: - add ctrl-c support for kermit download - align bdinfo output on ARM * Add CPU ID, version, and clock speed for INCA-IP
Diffstat (limited to 'examples/Makefile')
-rw-r--r--examples/Makefile11
1 files changed, 10 insertions, 1 deletions
diff --git a/examples/Makefile b/examples/Makefile
index b9056dd..163b404 100644
--- a/examples/Makefile
+++ b/examples/Makefile
@@ -28,6 +28,11 @@ include $(TOPDIR)/config.mk
SREC = hello_world.srec
BIN = hello_world.bin
+ifeq ($(ARCH),ppc)
+SREC += sched.srec
+BIN += sched.bin
+endif
+
ifeq ($(CPU),mips)
SREC =
BIN =
@@ -36,6 +41,7 @@ endif
# The following example is pretty 8xx specific...
ifeq ($(CPU),mpc8xx)
SREC += timer.srec
+BIN += timer.bin
endif
# Utility for resetting i82559 EEPROM
@@ -45,8 +51,11 @@ endif
OBJS = $(SREC:.srec=.o)
-LIB = libsyscall.a
+LIB = libsyscall.a
LIBAOBJS= syscall.o
+ifeq ($(ARCH),ppc)
+LIBAOBJS+= $(ARCH)_longjmp.o $(ARCH)_setjmp.o
+endif
LIBCOBJS=
LIBOBJS = $(LIBAOBJS) $(LIBCOBJS)