summaryrefslogtreecommitdiffstats
path: root/arch/arm/lib/Makefile
blob: ee111801f2474532e967f6362f5a5ccdc85e87bb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
#
# linux/arch/arm/lib/Makefile
#
# Copyright (C) 1995-2000 Russell King
#

USE_STANDARD_AS_RULE := true

L_TARGET	:= lib.a

obj-y		:= backtrace.o changebit.o csumipv6.o csumpartial.o   \
		   csumpartialcopy.o csumpartialcopyuser.o clearbit.o \
		   copy_page.o delay.o findbit.o memchr.o memcpy.o    \
		   memset.o memzero.o setbit.o strncpy_from_user.o    \
		   strnlen_user.o strchr.o strrchr.o testchangebit.o  \
		   testclearbit.o testsetbit.o uaccess.o
obj-m		:=
obj-n		:=

export-objs	:= io.o

obj-arc		:= ecard.o io-acorn.o floppydma.o
obj-rpc		:= ecard.o io-acorn.o floppydma.o
obj-clps7500	:= io-acorn.o
obj-footbridge	:= io-pcio.o
obj-l7200     	:= io-acorn.o
obj-nexuspci	:= io-pcio.o
obj-sa1100	:= io-pcio.o
obj-shark	:= io-shark.o
obj-integrator	:= io-pcio.o
obj-clps711x	:= io-shark.o

obj-y		+= $(obj-$(MACHINE))

ifeq ($(CONFIG_CPU_32v4),y)
  v3		:= n
  v4		:= y
else
  v3		:= y
  v4		:= n
endif

obj-y		+= io-readsb.o io-writesb.o
obj-$(v3)	+= io-readsw-armv3.o io-writesw-armv3.o io-readsl-armv3.o
obj-$(v4)	+= io-readsw-armv4.o io-writesw-armv4.o io-readsl-armv4.o
obj-y		+= io-writesl.o

ifeq ($(PROCESSOR),armo)
  obj-y		+= uaccess-armo.o
endif

ifneq ($(MACHINE),ebsa110)
  obj-y		+= io.o
endif

include $(TOPDIR)/Rules.make

constants.h: getconsdata.o extractconstants.pl
	$(PERL) extractconstants.pl $(OBJDUMP) > $@

getconsdata.o: getconsdata.c
	$(CC) $(CFLAGS) -c getconsdata.c