-
Notifications
You must be signed in to change notification settings - Fork 60
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
f9d8ec8
commit cf78c8b
Showing
3 changed files
with
67 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,29 +1,29 @@ | ||
# --- Copy this to local-config.mk and tailor to your needs. | ||
# local-config.mk must not be checked in to svn, it's yours. | ||
# Directory where to put executables - supposed to be in PATH | ||
#INST_BIN=$(realpath /usr/bin) | ||
# --- Where to put kernel to run it on real hardware | ||
HW_BOOT_DEST=/mnt/nfs/phantom-test-machine/boot | ||
# --- TODO what command to exec to start hw test | ||
#HW_BOOT_CMD=ssh ... | ||
# --- Architecture to build for. ia32 is default if nothing is choosen. And the only working. | ||
# Arm port is in progress and amd64 supposed to be the next target. | ||
#ARCH=ia32 | ||
#ARCH=arm | ||
#ARCH=mips | ||
#ARCH=amd64 | ||
#ARCH=e2k | ||
# --- TODO what hardware configuration we build for. | ||
# Usual Intel PC | ||
#BOARD=pc_pci | ||
# Arm Integrator/CP | ||
#BOARD=arm_icp | ||
#If you use Java, place java lib source path here | ||
#PHANTOM_JDK_SRC=C:/tmp/open_jdk/openjdk/jdk/src/share/classes/ | ||
# --- Copy this to local-config.mk and tailor to your needs. | ||
# local-config.mk must not be checked in to svn, it's yours. | ||
|
||
# Directory where to put executables - supposed to be in PATH | ||
#INST_BIN=$(realpath /usr/bin) | ||
|
||
# --- Where to put kernel to run it on real hardware | ||
HW_BOOT_DEST=/mnt/nfs/phantom-test-machine/boot | ||
|
||
# --- TODO what command to exec to start hw test | ||
#HW_BOOT_CMD=ssh ... | ||
|
||
# --- Architecture to build for. ia32 is default if nothing is choosen. And the only working. | ||
# Arm port is in progress and amd64 supposed to be the next target. | ||
#ARCH=ia32 | ||
#ARCH=arm | ||
#ARCH=mips | ||
#ARCH=amd64 | ||
#ARCH=e2k | ||
|
||
# --- TODO what hardware configuration we build for. | ||
# Usual Intel PC | ||
#BOARD=pc_pci | ||
# Arm Integrator/CP | ||
#BOARD=arm_icp | ||
|
||
#If you use Java, place java lib source path here | ||
#PHANTOM_JDK_SRC=C:/tmp/open_jdk/openjdk/jdk/src/share/classes/ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
include ../../phantom/Makeconf-e2k |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
#ARCH_FLAGS = -EL -march=mips32r2 -G 0 -mno-abicalls -fno-pic -mno-gpopt | ||
#ARCH_FLAGS = -EB -march=mips32r2 -G 0 -mno-abicalls -fno-pic -mno-gpopt | ||
#-msoft-float | ||
#-mpoke-function-name | ||
|
||
#TARGET_OBJECT_FORMAT=elf32-littlemips | ||
TARGET_OBJECT_FORMAT=elf64-e2k | ||
|
||
|
||
BIN_PREFIX=e2k-linux- | ||
|
||
export AS = $(BIN_PREFIX)as | ||
export CC = $(BIN_PREFIX)gcc | ||
export LD = $(BIN_PREFIX)ld | ||
export STRIP = $(BIN_PREFIX)strip | ||
export AR = $(BIN_PREFIX)ar | ||
export RANLIB = $(BIN_PREFIX)ranlib | ||
export OBJCOPY = $(BIN_PREFIX)objcopy | ||
export NM = $(BIN_PREFIX)nm | ||
|
||
AWK = gawk | ||
YACC = bison -y | ||
M4 = m4 | ||
|
||
#USR_LD_ADDR=-Wl,-Ttext-segment,0 -Wl,-Ttext,0 | ||
|
||
ifeq ($(OSTYPE),cygwin) | ||
USR_LD_ADDR=-Wl,-Ttext,0 | ||
else | ||
USR_LD_ADDR=-Wl,-Ttext-segment,0 | ||
endif | ||
|
||
|
||
|
||
|
||
# Use local overrides, if any | ||
-include $(realpath $(PHANTOM_HOME))/local-config.$(ARCH).mk |