BIN := ../bin-$(ARCH)/libacpica.a
_VERS := $(patsubst acpica-unix-%.tar.gz,%,$(wildcard acpica-unix-*.tar.gz))
BIN := ../bin-$(ARCH)/libacpica.a
_VERS := $(patsubst acpica-unix-%.tar.gz,%,$(wildcard acpica-unix-*.tar.gz))
CPPFLAGS += -I $(ACPICAROOT)source/include -D _ACESS -D __KERNEL__
CPPFLAGS += -D ARCH=$(ARCH) -D ARCHDIR=$(ARCHDIR) -D PLATFORM=\"$(PLATFORM)\" -D ARCHDIR_IS_$(ARCHDIR)=1 -D PLATFORM_is_$(PLATFORM)=1
CPPFLAGS += -D KERNEL_VERSION=$(KERNEL_VERSION) -ffreestanding
CPPFLAGS += -I $(ACPICAROOT)source/include -D _ACESS -D __KERNEL__
CPPFLAGS += -D ARCH=$(ARCH) -D ARCHDIR=$(ARCHDIR) -D PLATFORM=\"$(PLATFORM)\" -D ARCHDIR_IS_$(ARCHDIR)=1 -D PLATFORM_is_$(PLATFORM)=1
CPPFLAGS += -D KERNEL_VERSION=$(KERNEL_VERSION) -ffreestanding
CFLAGS += -Wall -fno-stack-protector -Wstrict-prototypes -std=gnu99 -g
SRCS := $(wildcard $(COMPDIR)*/*.c)
CFLAGS += -Wall -fno-stack-protector -Wstrict-prototypes -std=gnu99 -g
SRCS := $(wildcard $(COMPDIR)*/*.c)