summaryrefslogtreecommitdiff
path: root/generate/unix/Makefile.config
diff options
context:
space:
mode:
Diffstat (limited to 'generate/unix/Makefile.config')
-rw-r--r--generate/unix/Makefile.config26
1 files changed, 13 insertions, 13 deletions
diff --git a/generate/unix/Makefile.config b/generate/unix/Makefile.config
index c28e8a9b1963..742874566f10 100644
--- a/generate/unix/Makefile.config
+++ b/generate/unix/Makefile.config
@@ -26,15 +26,15 @@
# Notes:
# gcc should be version 4 or greater, otherwise some of the options
# used will not be recognized.
-# Optional: Set HOST to an appropriate value (_LINUX, _FreeBSD, _APPLE, _CYGWIN, etc.)
+# Optional: Set ACPI_HOST to an appropriate value (_LINUX, _FreeBSD, _APPLE, _CYGWIN, etc.)
# See include/platform/acenv.h for supported values.
-# Note: HOST is not nearly as important for applications as it
+# Note: ACPI_HOST is not nearly as important for applications as it
# is for the kernel-resident version of ACPICA, and it may
# not be necessary to change it.
#
.SUFFIXES :
PROGS = acpibin acpidump acpiexamples acpiexec acpihelp acpinames acpisrc acpixtract iasl
-HOST ?= _CYGWIN
+ACPI_HOST ?= _CYGWIN
CC ?= gcc
#
@@ -52,26 +52,26 @@ UNAME_S := $(shell uname -s)
# Host detection and configuration
#
ifeq ($(UNAME_S), Darwin) # Mac OS X
-HOST = _APPLE
+ACPI_HOST = _APPLE
endif
ifeq ($(UNAME_S), DragonFly)
-HOST = _DragonFly
+ACPI_HOST = _DragonFly
endif
ifeq ($(UNAME_S), FreeBSD)
-HOST = _FreeBSD
+ACPI_HOST = _FreeBSD
endif
ifeq ($(UNAME_S), NetBSD)
-HOST = _NetBSD
+ACPI_HOST = _NetBSD
endif
ifeq ($(UNAME_S), QNX)
-HOST = _QNX
+ACPI_HOST = _QNX
endif
-ifeq ($(HOST), _APPLE)
+ifeq ($(ACPI_HOST), _APPLE)
INSTALL = cp
INSTALLFLAGS ?= -f
else
@@ -183,7 +183,7 @@ OPT_CFLAGS += -D_FORTIFY_SOURCE=2
endif
CFLAGS += \
- -D$(HOST)\
+ -D$(ACPI_HOST)\
-D_GNU_SOURCE\
-I$(ACPICA_INCLUDE)
@@ -191,7 +191,7 @@ CFLAGS += \
# QNX requires __EXT to enable most functions in its C library, analogous
# to _GNU_SOURCE.
#
-ifeq ($(HOST), _QNX)
+ifeq ($(ACPI_HOST), _QNX)
CFLAGS+=-D__EXT
endif
@@ -231,11 +231,11 @@ CWARNINGFLAGS += \
#
# Per-host flags and exclusions
#
-ifneq ($(HOST), _FreeBSD)
+ifneq ($(ACPI_HOST), _FreeBSD)
CWARNINGFLAGS += \
-Wempty-body
- ifneq ($(HOST), _APPLE)
+ ifneq ($(ACPI_HOST), _APPLE)
CWARNINGFLAGS += \
-Woverride-init\
-Wlogical-op\