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

Subversion Repositories or1k

[/] [or1k/] [trunk/] [rc203soc/] [sw/] [uClinux/] [fs/] [autofs/] [Makefile] - Blame information for rev 1777

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

Line No. Rev Author Line
1 1628 jcastillo
#
2
# Makefile for the linux autofs-filesystem routines.
3
#
4
# We can build this either out of the kernel tree or the autofs tools tree.
5
#
6
 
7
O_TARGET := autofs.o
8
O_OBJS   := dir.o dirhash.o init.o inode.o root.o symlink.o waitq.o
9
 
10
M_OBJS   := $(O_TARGET)
11
 
12
ifdef TOPDIR
13
#
14
# Part of the kernel code
15
#
16
include $(TOPDIR)/Rules.make
17
else
18
#
19
# Standalone (handy for development)
20
#
21
include ../Makefile.rules
22
 
23
CFLAGS += -D__KERNEL__ -DMODULE $(KFLAGS) -I../include -I$(KINCLUDE) $(MODFLAGS)
24
 
25
all: $(O_TARGET)
26
 
27
$(O_TARGET): $(O_OBJS)
28
        $(LD) -r -o $(O_TARGET) $(O_OBJS)
29
 
30
install: $(O_TARGET)
31
        install -c $(O_TARGET) /lib/modules/`uname -r`/fs
32
 
33
clean:
34
        rm -f *.o *.s
35
endif

powered by: WebSVN 2.1.0

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