aboutsummaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorDmitry Vyukov <dvyukov@google.com>2018-07-05 13:10:43 +0200
committerDmitry Vyukov <dvyukov@google.com>2018-07-05 13:10:43 +0200
commitc219f89ca47a2bb27a22a2514536af61878c4275 (patch)
treefd70911d5f744f87cf4eca3a75d4f3412915ffea /sys
parent7e2e7aa3e40ebafe283823e7fb849130a2dce4c9 (diff)
sys/targets: fix akaros path handling
make extract needs path to whole kernel, not just toolchains, so assume that toolchains are in toolchains subdir in kernel.
Diffstat (limited to 'sys')
-rw-r--r--sys/targets/targets.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/targets/targets.go b/sys/targets/targets.go
index 59b66bd9e..854167873 100644
--- a/sys/targets/targets.go
+++ b/sys/targets/targets.go
@@ -191,8 +191,9 @@ var List = map[string]map[string]*Target{
PtrSize: 8,
PageSize: 4 << 10,
CArch: []string{"__x86_64__"},
+ KernelHeaderArch: "x86",
NeedSyscallDefine: dontNeedSyscallDefine,
- CCompiler: os.ExpandEnv("${SOURCEDIR}/x86_64-ucb-akaros-gcc/bin/x86_64-ucb-akaros-g++"),
+ CCompiler: os.ExpandEnv("${SOURCEDIR}/toolchain/x86_64-ucb-akaros-gcc/bin/x86_64-ucb-akaros-g++"),
CrossCFlags: []string{
"-static",
},