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

Subversion Repositories or1k

[/] [or1k/] [trunk/] [rc203soc/] [sw/] [uClinux/] [drivers/] [Makefile] - Blame information for rev 1765

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 1626 jcastillo
#
2
# Makefile for the linux kernel device drivers.
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
SUB_DIRS     := block char net #streams
11
MOD_SUB_DIRS := $(SUB_DIRS)
12
ALL_SUB_DIRS := $(SUB_DIRS) pci sbus scsi sound cdrom isdn
13
 
14
ifdef CONFIG_PCI
15
SUB_DIRS += pci
16
endif
17
 
18
ifdef CONFIG_SBUS
19
SUB_DIRS += sbus
20
endif
21
 
22
# If CONFIG_SCSI is set, the core of scsi support will be added to the kernel,
23
# but some of the low-level things may also be modules.
24
ifeq ($(CONFIG_SCSI),y)
25
SUB_DIRS += scsi
26
MOD_SUB_DIRS += scsi
27
else
28
  ifeq ($(CONFIG_SCSI),m)
29
  MOD_SUB_DIRS += scsi
30
  endif
31
endif
32
 
33
ifeq ($(CONFIG_SOUND),y)
34
SUB_DIRS += sound
35
else
36
  ifeq ($(CONFIG_SOUND),m)
37
  MOD_SUB_DIRS += sound
38
  endif
39
endif
40
 
41
ifdef CONFIG_CD_NO_IDESCSI
42
SUB_DIRS += cdrom
43
MOD_SUB_DIRS += cdrom
44
endif
45
 
46
ifeq ($(CONFIG_ISDN),y)
47
SUB_DIRS += isdn
48
MOD_SUB_DIRS += isdn
49
else
50
  ifeq ($(CONFIG_ISDN),m)
51
  MOD_SUB_DIRS += isdn
52
  endif
53
endif
54
 
55
ifeq ($(CONFIG_AP1000),y)
56
SUB_DIRS += ap1000
57
ALL_SUB_DIRS += ap1000
58
endif
59
 
60
include $(TOPDIR)/Rules.make

powered by: WebSVN 2.1.0

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