diff --git a/src/libsys/eb/Makefile b/src/libsys/eb/Makefile deleted file mode 100644 index 1d0a614..0000000 --- a/src/libsys/eb/Makefile +++ /dev/null @@ -1,50 +0,0 @@ -# environment vaiables read: -# BOARD - -ENDIAN_FLAGS=-EB -CFLAGS=$(ENDIAN_FLAGS) -msoft-float -O2 -march=r3000 -I../ -I../boards/$(BOARD) -Wl,-M - -ifeq ($(TLB),yes) - CFLAGS+=-DSYS_IO_BASE=0xAC000000 -DSDRAM_BASE=0x80000000 -DFLASH_BASE_IO=0xA4000000 -DFLASH_BASE_MEM=0x88000000 -else - CFLAGS+=-DSYS_IO_BASE=0xA0000000 -DSDRAM_BASE=0x40000000 -DFLASH_BASE_IO=0xA4000000 -DFLASH_BASE_MEM=0x00000000 -endif - -AS=mipsel-elf-as -AR=mipsel-elf-ar -CC=mipsel-elf-gcc -LD=mipsel-elf-ld -OBJDUMP=mipsel-elf-objdump -OBJCOPY=mipsel-elf-objcopy -FLASHGEN=flashgen - -SRCS=../libsys.c ../xcpt.c ../syscalls.c ../irq.c ../mips_dbg.c ../mips_dis.c ../mips_gfx.c ../mips_ps2.c ../gpio.c -OBJS=libsys.o xcpt.o syscalls.o irq.o mips_dbg.o mips_dis.o mips_gfx.o mips_ps2.o gpio.o - -OBJS_SIM=xcpt.o syscalls.o irq.o gpio.o - -.PHONY : libsys.a - -all: libsys.a - -$(OBJS): $(SRCS) - $(CC) $(CFLAGS) -G 0 -c $(SRCS) - -libsys.a: $(OBJS) $(SRCS) - $(AR) -r libsys.a $(OBJS) - $(CC) $(CFLAGS) -G 0 -c ../startup.S - $(CC) $(CFLAGS) -G 0 -c ../kernel.S - -libsys_sim.o: ../libsys_sim.c - $(CC) $(CFLAGS) -G 0 -c ../libsys_sim.c - -%.o: ../%.c - $(CC) $(CFLAGS) -G 0 -c ../*.c - -libsys_sim.a: libsys_sim.o xcpt.o syscalls.o irq.o gpio.o - $(AR) -r libsys_sim.a libsys_sim.o xcpt.o syscalls.o irq.o gpio.o - $(CC) $(CFLAGS) -G 0 -c ../startup.S - $(CC) $(CFLAGS) -G 0 -c ../kernel.S - -clean: - rm -rf *.a *.o *.map *.dis *.elf > /dev/null