diff options
Diffstat (limited to 'src/sys')
-rw-r--r-- | src/sys/init/makefile | 6 | ||||
-rw-r--r-- | src/sys/makefile | 9 | ||||
-rw-r--r-- | src/sys/vfs/makefile | 6 |
3 files changed, 13 insertions, 8 deletions
diff --git a/src/sys/init/makefile b/src/sys/init/makefile index 4a1ecf48b..ba07a8647 100644 --- a/src/sys/init/makefile +++ b/src/sys/init/makefile @@ -1,5 +1,5 @@ -OBJDIR = ../../../obj -include ../../../config.mk +ROOTPATH = ../../.. +OBJDIR = ${ROOTPATH}/obj/hbicore OBJS = init_main.o OBJECTS = $(addprefix ${OBJDIR}/, ${OBJS}) @@ -8,3 +8,5 @@ all: ${OBJECTS} clean: (rm -f ${OBJECTS} ) + +include ../../../config.mk diff --git a/src/sys/makefile b/src/sys/makefile index 0eb552a44..9fd0b8d5c 100644 --- a/src/sys/makefile +++ b/src/sys/makefile @@ -1,10 +1,11 @@ -IMGDIR = ../../img -OBJDIR = ../../obj -include ../../config.mk +ROOTPATH = ../.. +IMGDIR = ${ROOTPATH}/img +OBJDIR = ${ROOTPATH}/obj/hbicore SUBDIRS = init.d vfs.d all: ${SUBDIRS} clean: $(patsubst %.d,%.clean, ${SUBDIRS}) - (rm -f ${IMAGES} ) + +include ../../config.mk diff --git a/src/sys/vfs/makefile b/src/sys/vfs/makefile index 94ca71bbf..616c8bf43 100644 --- a/src/sys/vfs/makefile +++ b/src/sys/vfs/makefile @@ -1,5 +1,5 @@ -OBJDIR = ../../../obj -include ../../../config.mk +ROOTPATH = ../../.. +OBJDIR = ${ROOTPATH}/obj/hbicore OBJS = vfs_main.o OBJECTS = $(addprefix ${OBJDIR}/, ${OBJS}) @@ -8,3 +8,5 @@ all: ${OBJECTS} clean: (rm -f ${OBJECTS} ) + +include ../../../config.mk |