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:
Ingo Weinhold
2005-10-31 00:15:17 +00:00
parent cc38261bf4
commit b79a08b537
2 changed files with 18 additions and 0 deletions
@@ -1,7 +1,17 @@
SubDir HAIKU_TOP src add-ons kernel bus_managers acpi ;
SetSubDirSupportedPlatformsBeOSCompatible ;
SubDirHdrs [ FDirName $(SUBDIR) include ] ;
SubDirHdrs [ FDirName $(SUBDIR) include platform ] ;
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 =
evevent.c
evgpe.c
@@ -1,5 +1,13 @@
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 :
acpi_button.c
;