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

Subversion Repositories or1k

[/] [or1k/] [trunk/] [rc203soc/] [sw/] [uClinux/] [fs/] [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 filesystem.
3
#
4
# Note! Dependencies are done automagically by 'make dep', which also
5
# removes any old dependencies. DON'T put your own dependencies here
6
# unless it's something special (ie not a .c file).
7
#
8
# Note 2! The CFLAGS definitions are now in the main makefile...
9
 
10
L_TARGET := filesystems.a
11
L_OBJS    = $(join $(SUB_DIRS),$(SUB_DIRS:%=/%.o))
12
O_TARGET := fs.o
13
O_OBJS    = open.o read_write.o inode.o devices.o file_table.o buffer.o \
14
                super.o  block_dev.o stat.o exec.o pipe.o namei.o fcntl.o \
15
                ioctl.o readdir.o select.o fifo.o locks.o filesystems.o \
16
                dcache.o bad_inode.o $(BINFMTS)
17
OX_OBJS   = $(NLS)
18
 
19
MOD_LIST_NAME := FS_MODULES
20
ALL_SUB_DIRS = minix ext ext2 fat msdos vfat proc isofs nfs xiafs umsdos \
21
                hpfs sysv smbfs ncpfs ufs affs autofs romfs jffs
22
 
23
ifeq ($(CONFIG_QUOTA),y)
24
O_OBJS += dquot.o
25
else
26
O_OBJS += noquot.o
27
endif
28
 
29
ifeq ($(CONFIG_MINIX_FS),y)
30
SUB_DIRS += minix
31
else
32
  ifeq ($(CONFIG_MINIX_FS),m)
33
  MOD_SUB_DIRS += minix
34
  endif
35
endif
36
 
37
ifeq ($(CONFIG_EXT_FS),y)
38
SUB_DIRS += ext
39
else
40
  ifeq ($(CONFIG_EXT_FS),m)
41
  MOD_SUB_DIRS += ext
42
  endif
43
endif
44
 
45
ifeq ($(CONFIG_EXT2_FS),y)
46
SUB_DIRS += ext2
47
else
48
  ifeq ($(CONFIG_EXT2_FS),m)
49
  MOD_SUB_DIRS += ext2
50
  endif
51
endif
52
 
53
ifeq ($(CONFIG_FAT_FS),y)
54
SUB_DIRS += fat
55
else
56
  ifeq ($(CONFIG_FAT_FS),m)
57
  MOD_SUB_DIRS += fat
58
  endif
59
endif
60
 
61
ifeq ($(CONFIG_MSDOS_FS),y)
62
SUB_DIRS += msdos
63
else
64
  ifeq ($(CONFIG_MSDOS_FS),m)
65
  MOD_SUB_DIRS += msdos
66
  endif
67
endif
68
 
69
ifeq ($(CONFIG_VFAT_FS),y)
70
SUB_DIRS += vfat
71
else
72
  ifeq ($(CONFIG_VFAT_FS),m)
73
  MOD_SUB_DIRS += vfat
74
  endif
75
endif
76
 
77
ifdef CONFIG_PROC_FS
78
SUB_DIRS += proc
79
endif
80
 
81
ifeq ($(CONFIG_ISO9660_FS),y)
82
SUB_DIRS += isofs
83
else
84
  ifeq ($(CONFIG_ISO9660_FS),m)
85
  MOD_SUB_DIRS += isofs
86
  endif
87
endif
88
 
89
ifeq ($(CONFIG_NFS_FS),y)
90
SUB_DIRS += nfs
91
else
92
  ifeq ($(CONFIG_NFS_FS),m)
93
  MOD_SUB_DIRS += nfs
94
  endif
95
endif
96
 
97
ifeq ($(CONFIG_XIA_FS),y)
98
SUB_DIRS += xiafs
99
else
100
  ifeq ($(CONFIG_XIA_FS),m)
101
  MOD_SUB_DIRS += xiafs
102
  endif
103
endif
104
 
105
ifeq ($(CONFIG_UMSDOS_FS),y)
106
SUB_DIRS += umsdos
107
else
108
  ifeq ($(CONFIG_UMSDOS_FS),m)
109
  MOD_SUB_DIRS += umsdos
110
  endif
111
endif
112
 
113
ifeq ($(CONFIG_SYSV_FS),y)
114
SUB_DIRS += sysv
115
else
116
  ifeq ($(CONFIG_SYSV_FS),m)
117
  MOD_SUB_DIRS += sysv
118
  endif
119
endif
120
 
121
ifeq ($(CONFIG_SMB_FS),y)
122
SUB_DIRS += smbfs
123
else
124
  ifeq ($(CONFIG_SMB_FS),m)
125
  MOD_SUB_DIRS += smbfs
126
  endif
127
endif
128
 
129
ifeq ($(CONFIG_NCP_FS),y)
130
SUB_DIRS += ncpfs
131
else
132
  ifeq ($(CONFIG_NCP_FS),m)
133
  MOD_SUB_DIRS += ncpfs
134
  endif
135
endif
136
 
137
ifeq ($(CONFIG_HPFS_FS),y)
138
SUB_DIRS += hpfs
139
else
140
  ifeq ($(CONFIG_HPFS_FS),m)
141
  MOD_SUB_DIRS += hpfs
142
  endif
143
endif
144
 
145
ifeq ($(CONFIG_UFS_FS),y)
146
SUB_DIRS += ufs
147
else
148
  ifeq ($(CONFIG_UFS_FS),m)
149
  MOD_SUB_DIRS += ufs
150
  endif
151
endif
152
 
153
ifeq ($(CONFIG_AFFS_FS),y)
154
SUB_DIRS += affs
155
else
156
  ifeq ($(CONFIG_AFFS_FS),m)
157
  MOD_SUB_DIRS += affs
158
  endif
159
endif
160
 
161
ifeq ($(CONFIG_AUTOFS_FS),y)
162
SUB_DIRS += autofs
163
else
164
  ifeq ($(CONFIG_AUTOFS_FS),m)
165
  MOD_SUB_DIRS += autofs
166
  endif
167
endif
168
 
169
ifeq ($(CONFIG_ROMFS_FS),y)
170
SUB_DIRS += romfs
171
else
172
  ifeq ($(CONFIG_ROMFS_FS),m)
173
  MOD_SUB_DIRS += romfs
174
  endif
175
endif
176
 
177
ifeq ($(CONFIG_JFFS_FS),y)
178
SUB_DIRS += jffs
179
else
180
  ifeq ($(CONFIG_JFFS_FS),m)
181
  MOD_SUB_DIRS += jffs
182
  endif
183
endif
184
 
185
ifeq ($(CONFIG_BINFMT_FLAT),y)
186
BINFMTS += binfmt_flat.o
187
else
188
  ifeq ($(CONFIG_BINFMT_FLAT),m)
189
  M_OBJS += binfmt_flat.o
190
  endif
191
endif
192
 
193
ifeq ($(CONFIG_BINFMT_ELF),y)
194
BINFMTS += binfmt_elf.o
195
else
196
  ifeq ($(CONFIG_BINFMT_ELF),m)
197
  M_OBJS += binfmt_elf.o
198
  endif
199
endif
200
 
201
ifeq ($(CONFIG_BINFMT_AOUT),y)
202
BINFMTS += binfmt_aout.o
203
else
204
  ifeq ($(CONFIG_BINFMT_AOUT),m)
205
  M_OBJS += binfmt_aout.o
206
  endif
207
endif
208
 
209
ifeq ($(CONFIG_BINFMT_JAVA),y)
210
BINFMTS += binfmt_java.o
211
else
212
  ifeq ($(CONFIG_BINFMT_JAVA),m)
213
  M_OBJS += binfmt_java.o
214
  endif
215
endif
216
 
217
ifeq ($(CONFIG_BINFMT_EM86),y)
218
BINFMTS += binfmt_em86.o
219
else
220
  ifeq ($(CONFIG_BINFMT_EM86),m)
221
  M_OBJS += binfmt_em86.o
222
  endif
223
endif
224
 
225
# binfmt_script is always there
226
BINFMTS += binfmt_script.o
227
 
228
ifeq ($(CONFIG_NLS),y)
229
NLS += nls.o
230
else
231
  ifeq ($(CONFIG_NLS),m)
232
  MX_OBJS += nls.o
233
  endif
234
endif
235
 
236
ifeq ($(CONFIG_NLS_CODEPAGE_437),y)
237
NLS += nls_cp437.o
238
else
239
  ifeq ($(CONFIG_NLS_CODEPAGE_437),m)
240
  M_OBJS += nls_cp437.o
241
  endif
242
endif
243
 
244
ifeq ($(CONFIG_NLS_CODEPAGE_737),y)
245
NLS += nls_cp737.o
246
else
247
  ifeq ($(CONFIG_NLS_CODEPAGE_737),m)
248
  M_OBJS += nls_cp737.o
249
  endif
250
endif
251
 
252
ifeq ($(CONFIG_NLS_CODEPAGE_775),y)
253
NLS += nls_cp775.o
254
else
255
  ifeq ($(CONFIG_NLS_CODEPAGE_775),m)
256
  M_OBJS += nls_cp775.o
257
  endif
258
endif
259
 
260
ifeq ($(CONFIG_NLS_CODEPAGE_850),y)
261
NLS += nls_cp850.o
262
else
263
  ifeq ($(CONFIG_NLS_CODEPAGE_850),m)
264
  M_OBJS += nls_cp850.o
265
  endif
266
endif
267
 
268
ifeq ($(CONFIG_NLS_CODEPAGE_852),y)
269
NLS += nls_cp852.o
270
else
271
  ifeq ($(CONFIG_NLS_CODEPAGE_852),m)
272
  M_OBJS += nls_cp852.o
273
  endif
274
endif
275
 
276
ifeq ($(CONFIG_NLS_CODEPAGE_855),y)
277
NLS += nls_cp855.o
278
else
279
  ifeq ($(CONFIG_NLS_CODEPAGE_855),m)
280
  M_OBJS += nls_cp855.o
281
  endif
282
endif
283
 
284
ifeq ($(CONFIG_NLS_CODEPAGE_857),y)
285
NLS += nls_cp857.o
286
else
287
  ifeq ($(CONFIG_NLS_CODEPAGE_857),m)
288
  M_OBJS += nls_cp857.o
289
  endif
290
endif
291
 
292
ifeq ($(CONFIG_NLS_CODEPAGE_860),y)
293
NLS += nls_cp860.o
294
else
295
  ifeq ($(CONFIG_NLS_CODEPAGE_860),m)
296
  M_OBJS += nls_cp860.o
297
  endif
298
endif
299
 
300
ifeq ($(CONFIG_NLS_CODEPAGE_861),y)
301
NLS += nls_cp861.o
302
else
303
  ifeq ($(CONFIG_NLS_CODEPAGE_861),m)
304
  M_OBJS += nls_cp861.o
305
  endif
306
endif
307
 
308
ifeq ($(CONFIG_NLS_CODEPAGE_862),y)
309
NLS += nls_cp862.o
310
else
311
  ifeq ($(CONFIG_NLS_CODEPAGE_862),m)
312
  M_OBJS += nls_cp862.o
313
  endif
314
endif
315
 
316
ifeq ($(CONFIG_NLS_CODEPAGE_863),y)
317
NLS += nls_cp863.o
318
else
319
  ifeq ($(CONFIG_NLS_CODEPAGE_863),m)
320
  M_OBJS += nls_cp863.o
321
  endif
322
endif
323
 
324
ifeq ($(CONFIG_NLS_CODEPAGE_864),y)
325
NLS += nls_cp864.o
326
else
327
  ifeq ($(CONFIG_NLS_CODEPAGE_864),m)
328
  M_OBJS += nls_cp864.o
329
  endif
330
endif
331
 
332
ifeq ($(CONFIG_NLS_CODEPAGE_865),y)
333
NLS += nls_cp865.o
334
else
335
  ifeq ($(CONFIG_NLS_CODEPAGE_865),m)
336
  M_OBJS += nls_cp865.o
337
  endif
338
endif
339
 
340
ifeq ($(CONFIG_NLS_CODEPAGE_866),y)
341
NLS += nls_cp866.o
342
else
343
  ifeq ($(CONFIG_NLS_CODEPAGE_866),m)
344
  M_OBJS += nls_cp866.o
345
  endif
346
endif
347
 
348
ifeq ($(CONFIG_NLS_CODEPAGE_869),y)
349
NLS += nls_cp869.o
350
else
351
  ifeq ($(CONFIG_NLS_CODEPAGE_869),m)
352
  M_OBJS += nls_cp869.o
353
  endif
354
endif
355
 
356
ifeq ($(CONFIG_NLS_CODEPAGE_874),y)
357
NLS += nls_cp874.o
358
else
359
  ifeq ($(CONFIG_NLS_CODEPAGE_874),m)
360
  M_OBJS += nls_cp874.o
361
  endif
362
endif
363
 
364
ifeq ($(CONFIG_NLS_CODEPAGE_1250),y)
365
NLS += nls_cp1250.o
366
else
367
  ifeq ($(CONFIG_NLS_CODEPAGE_1250),m)
368
  M_OBJS += nls_cp1250.o
369
  endif
370
endif
371
 
372
ifeq ($(CONFIG_NLS_CODEPAGE_1251),y)
373
NLS += nls_cp1251.o
374
else
375
  ifeq ($(CONFIG_NLS_CODEPAGE_1251),m)
376
  M_OBJS += nls_cp1251.o
377
  endif
378
endif
379
 
380
ifeq ($(CONFIG_NLS_CODEPAGE_1252),y)
381
NLS += nls_cp1252.o
382
else
383
  ifeq ($(CONFIG_NLS_CODEPAGE_1252),m)
384
  M_OBJS += nls_cp1252.o
385
  endif
386
endif
387
 
388
ifeq ($(CONFIG_NLS_CODEPAGE_1253),y)
389
NLS += nls_cp1253.o
390
else
391
  ifeq ($(CONFIG_NLS_CODEPAGE_1253),m)
392
  M_OBJS += nls_cp1253.o
393
  endif
394
endif
395
 
396
ifeq ($(CONFIG_NLS_CODEPAGE_1254),y)
397
NLS += nls_cp1254.o
398
else
399
  ifeq ($(CONFIG_NLS_CODEPAGE_1254),m)
400
  M_OBJS += nls_cp1254.o
401
  endif
402
endif
403
 
404
ifeq ($(CONFIG_NLS_CODEPAGE_1255),y)
405
NLS += nls_cp1255.o
406
else
407
  ifeq ($(CONFIG_NLS_CODEPAGE_1255),m)
408
  M_OBJS += nls_cp1255.o
409
  endif
410
endif
411
 
412
ifeq ($(CONFIG_NLS_CODEPAGE_1256),y)
413
NLS += nls_cp1256.o
414
else
415
  ifeq ($(CONFIG_NLS_CODEPAGE_1256),m)
416
  M_OBJS += nls_cp1256.o
417
  endif
418
endif
419
 
420
ifeq ($(CONFIG_NLS_CODEPAGE_1257),y)
421
NLS += nls_cp1257.o
422
else
423
  ifeq ($(CONFIG_NLS_CODEPAGE_1257),m)
424
  M_OBJS += nls_cp1257.o
425
  endif
426
endif
427
 
428
ifeq ($(CONFIG_NLS_CODEPAGE_1258),y)
429
NLS += nls_cp1258.o
430
else
431
  ifeq ($(CONFIG_NLS_CODEPAGE_1258),m)
432
  M_OBJS += nls_cp1258.o
433
  endif
434
endif
435
 
436
ifeq ($(CONFIG_NLS_ISO8859_1),y)
437
NLS += nls_iso8859_1.o
438
else
439
  ifeq ($(CONFIG_NLS_ISO8859_1),m)
440
  M_OBJS += nls_iso8859_1.o
441
  endif
442
endif
443
 
444
ifeq ($(CONFIG_NLS_ISO8859_2),y)
445
NLS += nls_iso8859_2.o
446
else
447
  ifeq ($(CONFIG_NLS_ISO8859_2),m)
448
  M_OBJS += nls_iso8859_2.o
449
  endif
450
endif
451
 
452
ifeq ($(CONFIG_NLS_ISO8859_3),y)
453
NLS += nls_iso8859_3.o
454
else
455
  ifeq ($(CONFIG_NLS_ISO8859_3),m)
456
  M_OBJS += nls_iso8859_3.o
457
  endif
458
endif
459
 
460
ifeq ($(CONFIG_NLS_ISO8859_4),y)
461
NLS += nls_iso8859_4.o
462
else
463
  ifeq ($(CONFIG_NLS_ISO8859_4),m)
464
  M_OBJS += nls_iso8859_4.o
465
  endif
466
endif
467
 
468
ifeq ($(CONFIG_NLS_ISO8859_5),y)
469
NLS += nls_iso8859_5.o
470
else
471
  ifeq ($(CONFIG_NLS_ISO8859_5),m)
472
  M_OBJS += nls_iso8859_5.o
473
  endif
474
endif
475
 
476
ifeq ($(CONFIG_NLS_ISO8859_6),y)
477
NLS += nls_iso8859_6.o
478
else
479
  ifeq ($(CONFIG_NLS_ISO8859_6),m)
480
  M_OBJS += nls_iso8859_6.o
481
  endif
482
endif
483
 
484
ifeq ($(CONFIG_NLS_ISO8859_7),y)
485
NLS += nls_iso8859_7.o
486
else
487
  ifeq ($(CONFIG_NLS_ISO8859_7),m)
488
  M_OBJS += nls_iso8859_7.o
489
  endif
490
endif
491
 
492
ifeq ($(CONFIG_NLS_ISO8859_8),y)
493
NLS += nls_iso8859_8.o
494
else
495
  ifeq ($(CONFIG_NLS_ISO8859_8),m)
496
  M_OBJS += nls_iso8859_8.o
497
  endif
498
endif
499
 
500
ifeq ($(CONFIG_NLS_ISO8859_9),y)
501
NLS += nls_iso8859_9.o
502
else
503
  ifeq ($(CONFIG_NLS_ISO8859_9),m)
504
  M_OBJS += nls_iso8859_9.o
505
  endif
506
endif
507
 
508
ifeq ($(CONFIG_NLS_ISO8859_15),y)
509
NLS += nls_iso8859_15.o
510
else
511
  ifeq ($(CONFIG_NLS_ISO8859_15),m)
512
  M_OBJS += nls_iso8859_15.o
513
  endif
514
endif
515
 
516
ifeq ($(CONFIG_NLS_KOI8_R),y)
517
NLS += nls_koi8_r.o
518
else
519
  ifeq ($(CONFIG_NLS_KOI8_R),m)
520
  M_OBJS += nls_koi8_r.o
521
  endif
522
endif
523
 
524
include $(TOPDIR)/Rules.make

powered by: WebSVN 2.1.0

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