Skip to content
Snippets Groups Projects
Commit 4c846dc6 authored by John Hodge's avatar John Hodge
Browse files

Added Filesystem generation and required $(x*) variables

parent 5c46f86c
No related merge requests found
BUILD_NUM = 1073 BUILD_NUM = 1074
...@@ -9,6 +9,7 @@ USRLIBS = ld-acess.so libacess.so libgcc.so libc.so ...@@ -9,6 +9,7 @@ USRLIBS = ld-acess.so libacess.so libgcc.so libc.so
USRAPPS = init login CLIShell cat ls mount ifconfig USRAPPS = init login CLIShell cat ls mount ifconfig
all: all:
@echo === Filesystem && $(MAKE) all --no-print-directory -C Usermode/Filesystem
@for mod in $(MODULES); do \ @for mod in $(MODULES); do \
(echo === Module: $$mod && $(MAKE) all --no-print-directory -C Modules/$$mod) \ (echo === Module: $$mod && $(MAKE) all --no-print-directory -C Modules/$$mod) \
done done
...@@ -25,6 +26,7 @@ all: ...@@ -25,6 +26,7 @@ all:
done done
clean: clean:
# @$(MAKE) clean --no-print-directory -C Usermode/Filesystem
@for mod in $(MODULES); do \ @for mod in $(MODULES); do \
($(MAKE) clean --no-print-directory -C Modules/$$mod) \ ($(MAKE) clean --no-print-directory -C Modules/$$mod) \
done done
......
...@@ -12,6 +12,9 @@ MKDIR = mkdir ...@@ -12,6 +12,9 @@ MKDIR = mkdir
RMDIR = rm -rf RMDIR = rm -rf
lCP = cp lCP = cp
xCP = mcopy -D o xCP = mcopy -D o
xMKDIR = mmd
xRMDIR = mdeltree
xRM = mdel
ARCH = i386 ARCH = i386
ARCHDIR = x86 ARCHDIR = x86
......
module /Acess/Modules/bochsvbe.kmd
#module /Acess/Modules/ps2mouse
#edimod /Acess/Modules/serial.edi
#module /Acess/Modules/ne2000.akm
spawn /Acess/SBin/init
# Acess 2
# - Usermode Filesystem Structure Generator
-include ../../Makefile.cfg
DIRS = Bin SBin Libs Modules Applications
DIRS += Conf Conf/Auth
FILES = Conf/BootConf.cfg Conf/Auth/Users Conf/Auth/Passwords Conf/Auth/Groups
#DIRS := $(addprefix $(DISTROOT)/,$(DIRS))
#FILES := $(addprefix $(DISTROOT)/,$(FILES))
.PHONY: all clean
all: $(DIRS) $(FILES)
clean:
$(xRMDIR) $(DIRS)
$(xRM) $(FILES)
$(DIRS):
$(xMKDIR) $(DISTROOT)/$@
$(FILES):
$(xCP) $< $(DISTROOT)/$@
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment