Usermode/libc - Fix strchr and strrchr behavior
[tpg/acess2.git] / Externals / config.mk
index 26b9efb..9db8f0d 100644 (file)
@@ -4,21 +4,26 @@
 -include ../../Makefile.cfg
 
 ifeq ($(ARCH),x86)
- BFD := i586
+ BFD := i686
 else ifeq ($(ARCH),x86_64)
  BFD := x86_64
+else ifeq ($(ARCH),armv7)
+ BFD := arm
 else
  $(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)-pc-acess2
-PATH:=$(PREFIX)-BUILD/bin:$(PATH)
+
+PATH:=$(BUILD_OUTDIR)/bin:$(PATH)
 INCLUDE_DIR=$(SYSROOT)/usr/include
 
+# Runtime Options
+PREFIX=/Acess/usr/
+EPREFIX=$(PREFIX)
+HOST=$(BFD)-pc-acess2
+
 PARLEVEL ?= 1
 

UCC git Repository :: git.ucc.asn.au