Fixed ACPI build for target R5. Doesn't build for Haiku: we don't have a
<posix/va_list.h> header. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14588 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -1,7 +1,17 @@
|
|||||||
SubDir HAIKU_TOP src add-ons kernel bus_managers acpi ;
|
SubDir HAIKU_TOP src add-ons kernel bus_managers acpi ;
|
||||||
|
|
||||||
|
SetSubDirSupportedPlatformsBeOSCompatible ;
|
||||||
|
|
||||||
SubDirHdrs [ FDirName $(SUBDIR) include ] ;
|
SubDirHdrs [ FDirName $(SUBDIR) include ] ;
|
||||||
|
SubDirHdrs [ FDirName $(SUBDIR) include platform ] ;
|
||||||
SubDirCcFlags -fno-pic -D_KERNEL_MODE ;
|
SubDirCcFlags -fno-pic -D_KERNEL_MODE ;
|
||||||
|
|
||||||
|
if $(TARGET_PLATFORM) != haiku {
|
||||||
|
# Needed for <ACPI.h>. Unfortunately we also get the other headers there,
|
||||||
|
# that we don't really want.
|
||||||
|
UsePublicHeaders drivers ;
|
||||||
|
}
|
||||||
|
|
||||||
local events_src =
|
local events_src =
|
||||||
evevent.c
|
evevent.c
|
||||||
evgpe.c
|
evgpe.c
|
||||||
|
|||||||
@@ -1,5 +1,13 @@
|
|||||||
SubDir HAIKU_TOP src add-ons kernel drivers power acpi_button ;
|
SubDir HAIKU_TOP src add-ons kernel drivers power acpi_button ;
|
||||||
|
|
||||||
|
SetSubDirSupportedPlatformsBeOSCompatible ;
|
||||||
|
|
||||||
|
if $(TARGET_PLATFORM) != haiku {
|
||||||
|
# Needed for <ACPI.h>. Unfortunately we also get the other headers there,
|
||||||
|
# that we don't really want.
|
||||||
|
UsePublicHeaders drivers ;
|
||||||
|
}
|
||||||
|
|
||||||
KernelAddon acpi_button : kernel drivers bin :
|
KernelAddon acpi_button : kernel drivers bin :
|
||||||
acpi_button.c
|
acpi_button.c
|
||||||
;
|
;
|
||||||
|
|||||||
Reference in New Issue
Block a user