OpenCores
URL https://opencores.org/ocsvn/or1k/or1k/trunk

Subversion Repositories or1k

[/] [or1k/] [trunk/] [rc203soc/] [sw/] [uClinux/] [arch/] [or32/] [board/] [Makefile] - Rev 1624

Go to most recent revision | Compare with Previous | Blame | View Log

#
# Makefile for the linux kernel.
#
# Note! Dependencies are done automagically by 'make dep', which also
# removes any old dependencies. DON'T put your own dependencies here
# unless it's something special (ie not a .c file).
#
.S.o:
        $(CC) -D__ASSEMBLY__ $(AFLAGS) -c $< -o $*.o

all: board.o

O_TARGET := board.o
O_OBJS := config.o initrd.o 

initrd.o: initrd ../tools/bintoc ../tools/piggyback ../tools/comp reset.o uncomp.o
        ../tools/bintoc < initrd |$(AS) -o initrd.o

../tools/bintoc: ../tools/bintoc.c
        $(HOSTCC) $(HOSTCFLAGS) -o ../tools/bintoc ../tools/bintoc.c

../tools/piggyback: ../tools/piggyback.c
        $(HOSTCC) $(HOSTCFLAGS) -o ../tools/piggyback ../tools/piggyback.c

../tools/comp: ../tools/comp.c
        $(HOSTCC) $(HOSTCFLAGS) -o ../tools/comp ../tools/comp.c

include $(TOPDIR)/Rules.make

Go to most recent revision | Compare with Previous | Blame | View Log

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.