From 85ec0bcc1bc40a67368461fee0435d79305168b1 Mon Sep 17 00:00:00 2001 From: wdenk Date: Mon, 31 Mar 2003 16:34:49 +0000 Subject: * 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 --- examples/Makefile | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'examples/Makefile') diff --git a/examples/Makefile b/examples/Makefile index b9056dd161..163b404e40 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) -- cgit v1.2.1