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

Subversion Repositories or1k

[/] [or1k/] [trunk/] [linux/] [linux-2.4/] [arch/] [or32/] [support/] [Makefile] - Rev 1275

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: support.o

O_TARGET := support.o
obj-y    := initrd.o

initrd.o: initrd-bb-9-or32.ext2 tools/bintoc 
        tools/bintoc < initrd-bb-9-or32.ext2 |$(AS) -o initrd.o

initrd-comp.o: initrd-bb-9-or32.ext2 tools/bintoc 
        gzip -c initrd-bb-9-or32.ext2 | tools/bintoc | $(AS) -o initrd.o

tools/bintoc: tools/bintoc.c
        $(HOSTCC) $(HOSTCFLAGS) -o tools/bintoc tools/bintoc.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.