URL
https://opencores.org/ocsvn/or1k/or1k/trunk
Only display areas with differences |
Details |
Blame |
View Log
Rev 1628 |
Rev 1765 |
#
|
#
|
# Makefile for the linux autofs-filesystem routines.
|
# Makefile for the linux autofs-filesystem routines.
|
#
|
#
|
# We can build this either out of the kernel tree or the autofs tools tree.
|
# We can build this either out of the kernel tree or the autofs tools tree.
|
#
|
#
|
|
|
O_TARGET := autofs.o
|
O_TARGET := autofs.o
|
O_OBJS := dir.o dirhash.o init.o inode.o root.o symlink.o waitq.o
|
O_OBJS := dir.o dirhash.o init.o inode.o root.o symlink.o waitq.o
|
|
|
M_OBJS := $(O_TARGET)
|
M_OBJS := $(O_TARGET)
|
|
|
ifdef TOPDIR
|
ifdef TOPDIR
|
#
|
#
|
# Part of the kernel code
|
# Part of the kernel code
|
#
|
#
|
include $(TOPDIR)/Rules.make
|
include $(TOPDIR)/Rules.make
|
else
|
else
|
#
|
#
|
# Standalone (handy for development)
|
# Standalone (handy for development)
|
#
|
#
|
include ../Makefile.rules
|
include ../Makefile.rules
|
|
|
CFLAGS += -D__KERNEL__ -DMODULE $(KFLAGS) -I../include -I$(KINCLUDE) $(MODFLAGS)
|
CFLAGS += -D__KERNEL__ -DMODULE $(KFLAGS) -I../include -I$(KINCLUDE) $(MODFLAGS)
|
|
|
all: $(O_TARGET)
|
all: $(O_TARGET)
|
|
|
$(O_TARGET): $(O_OBJS)
|
$(O_TARGET): $(O_OBJS)
|
$(LD) -r -o $(O_TARGET) $(O_OBJS)
|
$(LD) -r -o $(O_TARGET) $(O_OBJS)
|
|
|
install: $(O_TARGET)
|
install: $(O_TARGET)
|
install -c $(O_TARGET) /lib/modules/`uname -r`/fs
|
install -c $(O_TARGET) /lib/modules/`uname -r`/fs
|
|
|
clean:
|
clean:
|
rm -f *.o *.s
|
rm -f *.o *.s
|
endif
|
endif
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.