URL
https://opencores.org/ocsvn/or1k/or1k/trunk
Subversion Repositories or1k
[/] [or1k/] [trunk/] [rc203soc/] [sw/] [uClinux/] [arch/] [sparc/] [boot/] [Makefile] - Rev 1765
Compare with Previous | Blame | View Log
# $Id: Makefile,v 1.1 2005-12-20 09:50:39 jcastillo Exp $
# Makefile for the Sparc low level /boot module.
#
# Copyright (C) 1995 David S. Miller (davem@caip.rutgers.edu)
OBJS =bare.o init_me.o ../kernel/promops.o ../lib/lib.a
BOOTLINKFLAGS = -N -Ttext 0x200000 -e _first_adr_in_text
.S.s:
$(CC) -D__ASSEMBLY__ -D__KERNEL__ -ansi -E -o $*.o $<
.S.o:
$(CC) -D__ASSEMBLY__ -D__KERNEL__ -ansi -c -o $*.o $<
all: boot
boot: $(OBJS)
$(LD) $(BOOTLINKFLAGS) $(OBJS) -o boot
dep:
$(CPP) -M *.c > .depend
$(CPP) -M -D__ASSEMBLY__ -ansi *.S >>.depend