summaryrefslogtreecommitdiffstats
path: root/src/kernel
diff options
context:
space:
mode:
Diffstat (limited to 'src/kernel')
-rw-r--r--src/kernel/makefile7
-rw-r--r--src/kernel/start.S4
2 files changed, 5 insertions, 6 deletions
diff --git a/src/kernel/makefile b/src/kernel/makefile
index 7d33a056e..397df1618 100644
--- a/src/kernel/makefile
+++ b/src/kernel/makefile
@@ -1,5 +1,5 @@
-OBJDIR = ../../obj
-include ../../config.mk
+ROOTPATH = ../..
+OBJDIR = ${ROOTPATH}/obj/hbicore
OBJS = start.o kernel.o console.o pagemgr.o heapmgr.o taskmgr.o cpumgr.o
OBJS += syscall.o scheduler.o spinlock.o exception.o vmmmgr.o
@@ -9,3 +9,6 @@ all: ${OBJECTS}
clean:
(rm -f ${OBJECTS} )
+
+include ../../config.mk
+
diff --git a/src/kernel/start.S b/src/kernel/start.S
index 3f7c2a5f8..538c5dbb5 100644
--- a/src/kernel/start.S
+++ b/src/kernel/start.S
@@ -309,7 +309,3 @@ kernel_stack:
.global kernel_other_thread_spinlock
kernel_other_thread_spinlock:
.space 8
-
-.section .text.hreset
-hreset:
- b _start
OpenPOWER on IntegriCloud