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

Subversion Repositories or1k

[/] [or1k/] [trunk/] [linux/] [linux-2.4/] [arch/] [x86_64/] [tools/] [Makefile] - Blame information for rev 1275

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

Line No. Rev Author Line
1 1275 phoenix
 
2
TARGET = $(TOPDIR)/include/asm-x86_64/offset.h
3
 
4
all:
5
 
6
mrproper:
7
 
8
fastdep: $(TARGET)
9
 
10
.PHONY: all
11
 
12
$(TARGET): offset.h
13
        cmp -s $^ $@ || (cp $^ $(TARGET).new && mv $(TARGET).new $(TARGET))
14
 
15
.PHONY : offset.h all modules modules_install
16
 
17
offset.h: offset.sed offset.c FORCE_RECOMPILE
18
        $(CC) $(CFLAGS) -S -o offset.tmp offset.c
19
        sed -n -f offset.sed < offset.tmp > offset.h
20
 
21
FORCE_RECOMPILE:
22
 
23
clean:
24
        rm -f offset.[hs] $(TARGET).new offset.tmp
25
 
26
mrproper:
27
        rm -f offset.[hs] $(TARGET)
28
        rm -f $(TARGET)
29
 
30
include $(TOPDIR)/Rules.make
31
 

powered by: WebSVN 2.1.0

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