Subversion Repositories HelenOS

Rev

Rev 422 | Go to most recent revision | Only display areas with differences | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 422 Rev 430
1
#
1
#
2
# Open Firmware
2
# Open Firmware
3
#
3
#
4
OFW=no
4
OFW=no
5
 
5
 
6
ifeq ($(ARCH),ppc32)
6
ifeq ($(ARCH),ppc32)
7
OFW=yes
7
OFW=yes
8
endif
8
endif
9
 
9
 
10
ifeq ($(ARCH),sparc64)
10
ifeq ($(ARCH),sparc64)
11
OFW=yes
11
OFW=yes
12
endif
12
endif
13
 
13
 
14
#
14
#
15
# Advanced Configuration and Power Interface (ACPI)
15
# Advanced Configuration and Power Interface (ACPI)
16
#
16
#
17
ACPI=no
17
ACPI=no
18
 
18
 
19
ifeq ($(ARCH),ia32)
19
ifeq ($(ARCH),ia32)
20
ACPI=yes
20
ACPI=yes
21
endif
21
endif
22
 
22
 
23
ifeq ($(ARCH),amd64)
23
ifeq ($(ARCH),amd64)
24
ACPI=yes
24
ACPI=yes
25
endif
25
endif
26
 
26
 
27
ifeq ($(ARCH),ia64)
27
ifeq ($(ARCH),ia64)
28
#ACPI=yes
28
#ACPI=yes
29
endif
29
endif
30
 
30
 
31
 
31
 
32
ifeq ($(OFW),yes)
32
ifeq ($(OFW),yes)
33
genarch_sources+=src/genarch/firmware/ofw/ofw.c
33
genarch_sources+=generic/src/genarch/firmware/ofw/ofw.c
34
endif
34
endif
35
 
35
 
36
ifeq ($(ACPI),yes)
36
ifeq ($(ACPI),yes)
37
genarch_sources+=src/genarch/firmware/acpi/acpi.c \
37
genarch_sources+=generic/src/genarch/firmware/acpi/acpi.c \
38
		 src/genarch/firmware/acpi/madt.c
38
		 generic/src/genarch/firmware/acpi/madt.c
39
endif
39
endif
40
 
40