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

Subversion Repositories or1k

[/] [or1k/] [trunk/] [linux/] [linux-2.4/] [arch/] [parisc/] [tools/] [Makefile] - Rev 1781

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

# Makefile for MIPS kernel build tools.
#
# Copyright (C) 1996 David S. Miller (dm@engr.sgi.com)
# Copyright (C) 1997 Ralf Baechle (ralf@gnu.ai.mit.edu)
#
# $Id: Makefile,v 1.1.1.1 2004-04-15 01:35:25 phoenix Exp $
#
TARGET  := $(TOPDIR)/include/asm-$(ARCH)/offset.h

.S.s:
        $(CPP) $(CFLAGS) $< -o $*.s
.S.o:
        $(CC) $(CFLAGS) -c $< -o $*.o

all: $(TARGET)

$(TARGET): offset.h
        cmp -s $^ $@ || (cp $^ $(TARGET).new && mv $(TARGET).new $(TARGET))

offset.h: offset.s
        sed -n '/^@@@/s///p' $^ >$@

offset.s: offset.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.