-include ../../Makefile.cfg
ifeq ($(ARCH),x86)
- BFD := i586
+ BFD := i686
else ifeq ($(ARCH),x86_64)
BFD := x86_64
else
- $(error No BFD translation for $(ARCH) in Externals/core.mk)
+ $(error No BFD translation for $(ARCH) in Externals/config.mk)
endif
-#PREFIX=$(ACESSDIR)/Externals/Output
-#EPREFIX=$(ACESSDIR)/Externals/Output/$(BFD)
-PREFIX=$(ACESSDIR)/Externals/Output/$(ARCH)
-EPREFIX=$(PREFIX)
+OUTDIR=$(ACESSDIR)/Externals/Output/$(ARCH)
+BUILD_OUTDIR=$(OUTDIR)-BUILD
SYSROOT=$(ACESSDIR)/Externals/Output/sysroot-$(BFD)
-HOST=$(BFD)-acess_proxy-elf
+
+PATH:=$(BUILD_OUTDIR)/bin:$(PATH)
+INCLUDE_DIR=$(SYSROOT)/usr/include
+
+# Runtime Options
+PREFIX=/Acess/usr/
+EPREFIX=$(PREFIX)
+HOST=$(BFD)-pc-acess2
+
+PARLEVEL ?= 1