Changes in / [6ef2c11:4da7d79] in mainline
- Files:
-
- 123 added
- 137 deleted
- 137 edited
Legend:
- Unmodified
- Added
- Removed
-
Makefile
r6ef2c11 r4da7d79 31 31 32 32 CSCOPE = cscope 33 CONFIG = tools/config.py 33 STANSE = stanse 34 34 35 .PHONY: all config config_default distclean clean cscope precheck35 .PHONY: all config config_default distclean clean cscope stanse 36 36 37 37 all: Makefile.config config.h config.defs 38 $(MAKE) -C kernel PRECHECK=$(PRECHECK)39 $(MAKE) -C uspace PRECHECK=$(PRECHECK)40 $(MAKE) -C boot PRECHECK=$(PRECHECK)38 $(MAKE) -C kernel 39 $(MAKE) -C uspace 40 $(MAKE) -C boot 41 41 42 precheck: clean 43 $(MAKE) all PRECHECK=y 42 stanse: Makefile.config config.h config.defs 43 $(MAKE) -C kernel clean 44 $(MAKE) -C kernel EXTRA_TOOL=stanse 45 $(STANSE) --checker ReachabilityChecker --jobfile kernel/kernel.job 44 46 45 47 cscope: … … 53 55 54 56 config_default: HelenOS.config 55 $(CONFIG)HelenOS.config default57 tools/config.py HelenOS.config default 56 58 57 59 config: HelenOS.config 58 $(CONFIG)HelenOS.config60 tools/config.py HelenOS.config 59 61 60 62 distclean: clean -
boot/Makefile.common
r6ef2c11 r4da7d79 45 45 46 46 RD_SRVS = \ 47 $(USPACEDIR)/srv/bd/file_bd/file_bd \ 48 $(USPACEDIR)/srv/bd/part/mbr_part/mbr_part \ 47 $(USPACEDIR)/srv/fb/fb \ 48 $(USPACEDIR)/srv/kbd/kbd \ 49 $(USPACEDIR)/srv/console/console \ 49 50 $(USPACEDIR)/srv/clip/clip \ 50 $(USPACEDIR)/srv/hid/fb/fb \51 $(USPACEDIR)/srv/hid/kbd/kbd \52 $(USPACEDIR)/srv/hid/console/console \53 51 $(USPACEDIR)/srv/fs/devfs/devfs \ 54 52 $(USPACEDIR)/srv/fs/tmpfs/tmpfs \ 55 $(USPACEDIR)/srv/fs/fat/fat 53 $(USPACEDIR)/srv/fs/fat/fat \ 54 $(USPACEDIR)/srv/bd/file_bd/file_bd \ 55 $(USPACEDIR)/srv/part/mbr_part/mbr_part 56 56 57 57 RD_APPS = \ 58 $(USPACEDIR)/app/bdsh/bdsh \59 58 $(USPACEDIR)/app/edit/edit \ 60 59 $(USPACEDIR)/app/getterm/getterm \ 60 $(USPACEDIR)/app/redir/redir \ 61 $(USPACEDIR)/app/tetris/tetris \ 62 $(USPACEDIR)/app/tester/tester \ 63 $(USPACEDIR)/app/trace/trace \ 61 64 $(USPACEDIR)/app/klog/klog \ 62 $(USPACEDIR)/app/redir/redir \ 63 $(USPACEDIR)/app/tester/tester \ 64 $(USPACEDIR)/app/tetris/tetris \ 65 $(USPACEDIR)/app/trace/trace 65 $(USPACEDIR)/app/bdsh/bdsh 66 66 67 67 COMPONENTS = \ 68 68 $(KERNELDIR)/kernel.bin \ 69 69 $(USPACEDIR)/srv/ns/ns \ 70 $(USPACEDIR)/app/init/init \ 70 71 $(USPACEDIR)/srv/loader/loader \ 71 $(USPACEDIR)/app/init/init \72 72 $(USPACEDIR)/srv/devmap/devmap \ 73 73 $(USPACEDIR)/srv/bd/rd/rd \ -
boot/arch/amd64/Makefile.inc
r6ef2c11 r4da7d79 30 30 31 31 RD_SRVS += \ 32 $(USPACEDIR)/srv/pci/pci \ 32 33 $(USPACEDIR)/srv/bd/ata_bd/ata_bd \ 33 $(USPACEDIR)/srv/hw/char/i8042/i8042 \ 34 $(USPACEDIR)/srv/hw/bus/pci/pci \ 35 $(USPACEDIR)/srv/hid/c_mouse/c_mouse 34 $(USPACEDIR)/srv/char/i8042/i8042 \ 35 $(USPACEDIR)/srv/mouse/c_mouse/c_mouse 36 36 37 37 MODULES := $(notdir $(COMPONENTS)) -
boot/arch/arm32/Makefile.inc
r6ef2c11 r4da7d79 30 30 31 31 $(BASE)/image.boot: 32 $(MAKE) -C arch/$(BARCH)/loader PRECHECK=$(PRECHECK)32 $(MAKE) -C arch/$(BARCH)/loader 33 33 cp arch/$(BARCH)/loader/image.boot $@ 34 34 -
boot/arch/arm32/loader/Makefile
r6ef2c11 r4da7d79 34 34 all: ../../../../version ../../../../Makefile.config ../../../../config.h ../../../../config.defs 35 35 -[ -f $(DEPEND) ] && mv -f $(DEPEND) $(DEPEND_PREV) 36 $(MAKE) -f Makefile.build PRECHECK=$(PRECHECK)36 $(MAKE) -f Makefile.build 37 37 38 38 clean: … … 43 43 rm -f $(USPACEDIR)/dist/app/`basename $$file` ; \ 44 44 done 45 rm -f $(DEPEND) $(DEPEND_PREV) $( JOB) $(OUTPUT) $(COMPS).h $(COMPS).c $(LINK) $(INITRD).img $(INITRD).fs45 rm -f $(DEPEND) $(DEPEND_PREV) $(OUTPUT) $(COMPS).h $(COMPS).c $(LINK) $(INITRD).img $(INITRD).fs 46 46 find . -name '*.o' -follow -exec rm \{\} \; 47 47 find . -name '*.co' -follow -exec rm \{\} \; -
boot/arch/arm32/loader/Makefile.build
r6ef2c11 r4da7d79 65 65 %.o: %.S $(DEPEND) 66 66 $(CC) $(DEFS) $(CFLAGS) -D__ASM__ -c $< -o $@ 67 ifeq ($(PRECHECK),y)68 $(JOBFILE) $(JOB) $< $@ as asm/preproc $(DEFS) $(CFLAGS) -D__ASM__69 endif70 67 71 68 %.o: %.c $(DEPEND) 72 69 $(CC) $(DEFS) $(CFLAGS) -c $< -o $@ 73 ifeq ($(PRECHECK),y)74 $(JOBFILE) $(JOB) $< $@ cc core $(DEFS) $(CFLAGS)75 endif76 70 77 71 $(DEPEND): -
boot/arch/arm32/loader/Makefile.common
r6ef2c11 r4da7d79 35 35 DEPEND = Makefile.depend 36 36 DEPEND_PREV = $(DEPEND).prev 37 JOB = image.job38 37 OUTPUT = image.boot 39 38 -
boot/arch/arm32/loader/Makefile.toolchain
r6ef2c11 r4da7d79 39 39 TOOLCHAIN_DIR = $(CROSS_PREFIX)/arm32/bin 40 40 41 JOBFILE = ../../../../tools/jobfile.py42 43 41 ifeq ($(COMPILER),gcc_native) 44 42 CC = gcc -
boot/arch/ia64/Makefile.inc
r6ef2c11 r4da7d79 30 30 31 31 $(BASE)/image.boot: 32 $(MAKE) -C arch/$(BARCH)/loader PRECHECK=$(PRECHECK)32 $(MAKE) -C arch/$(BARCH)/loader 33 33 cp arch/$(BARCH)/loader/image.boot $@ 34 34 -
boot/arch/ia64/loader/Makefile
r6ef2c11 r4da7d79 34 34 all: ../../../../version ../../../../Makefile.config ../../../../config.h ../../../../config.defs 35 35 -[ -f $(DEPEND) ] && mv -f $(DEPEND) $(DEPEND_PREV) 36 $(MAKE) -f Makefile.build PRECHECK=$(PRECHECK)36 $(MAKE) -f Makefile.build 37 37 38 38 clean: … … 45 45 rm -f $(USPACEDIR)/dist/app/`basename $$file` ; \ 46 46 done 47 rm -f $(DEPEND) $(DEPEND_PREV) $( JOB) $(OUTPUT) $(HELLO) $(COMPS).h $(COMPS).c $(LINK) $(INITRD).img $(INITRD).fs47 rm -f $(DEPEND) $(DEPEND_PREV) $(OUTPUT) $(HELLO) $(COMPS).h $(COMPS).c $(LINK) $(INITRD).img $(INITRD).fs 48 48 find . -name '*.o' -follow -exec rm \{\} \; 49 49 find . -name '*.co' -follow -exec rm \{\} \; -
boot/arch/ia64/loader/Makefile.build
r6ef2c11 r4da7d79 66 66 %.o: %.S $(DEPEND) 67 67 $(CC) $(DEFS) $(CFLAGS) -D__ASM__ -c $< -o $@ 68 ifeq ($(PRECHECK),y)69 $(JOBFILE) $(JOB) $< $@ as asm/preproc $(DEFS) $(CFLAGS) -D__ASM__70 endif71 68 72 69 %.o: %.c $(DEPEND) 73 70 $(CC) $(DEFS) $(CFLAGS) -c $< -o $@ 74 ifeq ($(PRECHECK),y)75 $(JOBFILE) $(JOB) $< $@ cc core $(DEFS) $(CFLAGS)76 endif77 71 78 72 $(DEPEND): -
boot/arch/ia64/loader/Makefile.common
r6ef2c11 r4da7d79 35 35 DEPEND = Makefile.depend 36 36 DEPEND_PREV = $(DEPEND).prev 37 JOB = image.job38 37 OUTPUT = image.boot 39 38 HELLO = hello.efi -
boot/arch/ia64/loader/Makefile.toolchain
r6ef2c11 r4da7d79 39 39 TOOLCHAIN_DIR = $(CROSS_PREFIX)/ia64/bin 40 40 41 JOBFILE = ../../../../tools/jobfile.py42 43 41 ifeq ($(COMPILER),gcc_native) 44 42 CC = gcc -
boot/arch/mips32/Makefile.inc
r6ef2c11 r4da7d79 30 30 31 31 $(BASE)/image.boot: 32 $(MAKE) -C arch/$(BARCH)/loader PRECHECK=$(PRECHECK)32 $(MAKE) -C arch/$(BARCH)/loader 33 33 cp arch/$(BARCH)/loader/image.boot $@ 34 34 -
boot/arch/mips32/loader/Makefile
r6ef2c11 r4da7d79 34 34 all: ../../../../version ../../../../Makefile.config ../../../../config.h ../../../../config.defs 35 35 -[ -f $(DEPEND) ] && mv -f $(DEPEND) $(DEPEND_PREV) 36 $(MAKE) -f Makefile.build PRECHECK=$(PRECHECK)36 $(MAKE) -f Makefile.build 37 37 38 38 clean: … … 43 43 rm -f $(USPACEDIR)/dist/app/`basename $$file` ; \ 44 44 done 45 rm -f $(DEPEND) $(DEPEND_PREV) $( JOB) $(OUTPUT) $(RAW) $(COMPS).h $(COMPS).c $(LINK) $(INITRD).img $(INITRD).fs45 rm -f $(DEPEND) $(DEPEND_PREV) $(OUTPUT) $(RAW) $(COMPS).h $(COMPS).c $(LINK) $(INITRD).img $(INITRD).fs 46 46 find . -name '*.o' -follow -exec rm \{\} \; 47 47 find . -name '*.co' -follow -exec rm \{\} \; -
boot/arch/mips32/loader/Makefile.build
r6ef2c11 r4da7d79 66 66 %.o: %.S $(DEPEND) 67 67 $(CC) $(DEFS) $(CFLAGS) -D__ASM__ -c $< -o $@ 68 ifeq ($(PRECHECK),y)69 $(JOBFILE) $(JOB) $< $@ as asm/preproc $(DEFS) $(CFLAGS) -D__ASM__70 endif71 68 72 69 %.o: %.c $(DEPEND) 73 70 $(CC) $(DEFS) $(CFLAGS) -c $< -o $@ 74 ifeq ($(PRECHECK),y)75 $(JOBFILE) $(JOB) $< $@ cc core $(DEFS) $(CFLAGS)76 endif77 71 78 72 $(DEPEND): -
boot/arch/mips32/loader/Makefile.common
r6ef2c11 r4da7d79 36 36 DEPEND_PREV = $(DEPEND).prev 37 37 RAW = image.raw 38 JOB = image.job39 38 OUTPUT = image.boot 40 39 -
boot/arch/mips32/loader/Makefile.toolchain
r6ef2c11 r4da7d79 37 37 TARGET = mipsel-linux-gnu 38 38 TOOLCHAIN_DIR = $(CROSS_PREFIX)/mips32/bin 39 40 JOBFILE = ../../../../tools/jobfile.py41 39 42 40 ifeq ($(MACHINE),lgxemul) -
boot/arch/ppc32/Makefile.inc
r6ef2c11 r4da7d79 42 42 43 43 arch/$(BARCH)/loader/image.boot: 44 $(MAKE) -C arch/$(BARCH)/loader PRECHECK=$(PRECHECK)44 $(MAKE) -C arch/$(BARCH)/loader 45 45 46 46 clean: generic_clean -
boot/arch/ppc32/loader/Makefile
r6ef2c11 r4da7d79 34 34 all: ../../../../version ../../../../Makefile.config ../../../../config.h ../../../../config.defs 35 35 -[ -f $(DEPEND) ] && mv -f $(DEPEND) $(DEPEND_PREV) 36 $(MAKE) -f Makefile.build PRECHECK=$(PRECHECK)36 $(MAKE) -f Makefile.build 37 37 38 38 clean: … … 43 43 rm -f $(USPACEDIR)/dist/app/`basename $$file` ; \ 44 44 done 45 rm -f $(DEPEND) $(DEPEND_PREV) $( JOB) $(OUTPUT) $(COMPS).h $(COMPS).c $(LINK) $(INITRD).img $(INITRD).fs45 rm -f $(DEPEND) $(DEPEND_PREV) $(OUTPUT) $(COMPS).h $(COMPS).c $(LINK) $(INITRD).img $(INITRD).fs 46 46 find . -name '*.o' -follow -exec rm \{\} \; 47 47 find . -name '*.co' -follow -exec rm \{\} \; -
boot/arch/ppc32/loader/Makefile.build
r6ef2c11 r4da7d79 66 66 %.o: %.S $(DEPEND) 67 67 $(CC) $(DEFS) $(CFLAGS) -D__ASM__ -c $< -o $@ 68 ifeq ($(PRECHECK),y)69 $(JOBFILE) $(JOB) $< $@ as asm/preproc $(DEFS) $(CFLAGS) -D__ASM__70 endif71 68 72 69 %.o: %.c $(DEPEND) 73 70 $(CC) $(DEFS) $(CFLAGS) -c $< -o $@ 74 ifeq ($(PRECHECK),y)75 $(JOBFILE) $(JOB) $< $@ cc core $(DEFS) $(CFLAGS)76 endif77 71 78 72 $(DEPEND): -
boot/arch/ppc32/loader/Makefile.common
r6ef2c11 r4da7d79 35 35 DEPEND = Makefile.depend 36 36 DEPEND_PREV = $(DEPEND).prev 37 JOB = image.job38 37 OUTPUT = image.boot 39 38 -
boot/arch/ppc32/loader/Makefile.toolchain
r6ef2c11 r4da7d79 39 39 TOOLCHAIN_DIR = $(CROSS_PREFIX)/ppc32/bin 40 40 41 JOBFILE = ../../../../tools/jobfile.py42 43 41 ifeq ($(COMPILER),gcc_native) 44 42 CC = gcc -
boot/arch/sparc64/Makefile.inc
r6ef2c11 r4da7d79 55 55 56 56 arch/$(BARCH)/loader/image.boot: 57 $(MAKE) -C arch/$(BARCH)/loader PRECHECK=$(PRECHECK)57 $(MAKE) -C arch/$(BARCH)/loader 58 58 59 59 clean: generic_clean -
boot/arch/sparc64/loader/Makefile
r6ef2c11 r4da7d79 34 34 all: ../../../../version ../../../../Makefile.config ../../../../config.h ../../../../config.defs 35 35 -[ -f $(DEPEND) ] && mv -f $(DEPEND) $(DEPEND_PREV) 36 $(MAKE) -f Makefile.build PRECHECK=$(PRECHECK)36 $(MAKE) -f Makefile.build 37 37 38 38 clean: … … 43 43 rm -f $(USPACEDIR)/dist/app/`basename $$file` ; \ 44 44 done 45 rm -f $(DEPEND) $(DEPEND_PREV) $( JOB) $(OUTPUT) $(COMPS).h $(COMPS).c $(LINK) $(INITRD).img $(INITRD).fs45 rm -f $(DEPEND) $(DEPEND_PREV) $(OUTPUT) $(COMPS).h $(COMPS).c $(LINK) $(INITRD).img $(INITRD).fs 46 46 find . -name '*.o' -follow -exec rm \{\} \; 47 47 find . -name '*.co' -follow -exec rm \{\} \; -
boot/arch/sparc64/loader/Makefile.build
r6ef2c11 r4da7d79 77 77 %.o: %.S $(DEPEND) 78 78 $(CC) $(DEFS) $(CFLAGS) -D__ASM__ -c $< -o $@ 79 ifeq ($(PRECHECK),y)80 $(JOBFILE) $(JOB) $< $@ as asm/preproc $(DEFS) $(CFLAGS) -D__ASM__81 endif82 79 83 80 %.o: %.c $(DEPEND) 84 81 $(CC) $(DEFS) $(CFLAGS) -c $< -o $@ 85 ifeq ($(PRECHECK),y)86 $(JOBFILE) $(JOB) $< $@ cc core $(DEFS) $(CFLAGS)87 endif88 82 89 83 $(DEPEND): -
boot/arch/sparc64/loader/Makefile.common
r6ef2c11 r4da7d79 35 35 DEPEND = Makefile.depend 36 36 DEPEND_PREV = $(DEPEND).prev 37 JOB = image.job38 37 OUTPUT = image.boot 39 38 … … 46 45 RD_SRVS_GENERIC = \ 47 46 $(USPACEDIR)/srv/fs/fat/fat \ 48 $(USPACEDIR)/srv/ hw/cir/fhc/fhc \49 $(USPACEDIR)/srv/ hw/cir/obio/obio47 $(USPACEDIR)/srv/cir/fhc/fhc \ 48 $(USPACEDIR)/srv/cir/obio/obio 50 49 51 50 RD_APPS_GENERIC = \ -
boot/arch/sparc64/loader/Makefile.toolchain
r6ef2c11 r4da7d79 39 39 TOOLCHAIN_DIR = $(CROSS_PREFIX)/sparc64/bin 40 40 41 JOBFILE = ../../../../tools/jobfile.py42 43 41 ifeq ($(COMPILER),gcc_native) 44 42 CC = gcc -
kernel/Makefile
r6ef2c11 r4da7d79 33 33 all: ../version ../Makefile.config ../config.h ../config.defs 34 34 -[ -f $(DEPEND) ] && mv -f $(DEPEND) $(DEPEND_PREV) 35 $(MAKE) -f Makefile.build PRECHECK=$(PRECHECK)35 $(MAKE) -f Makefile.build EXTRA_TOOL=$(EXTRA_TOOL) 36 36 37 37 clean: 38 38 rm -f $(DEPEND) $(DEPEND_PREV) $(RAW) $(BIN) $(MAP) $(JOB) $(MAP_PREV) $(DISASM) $(DUMP) $(REAL_MAP).* $(ARCH_INCLUDE) $(GENARCH_INCLUDE) arch/*/_link.ld 39 39 find generic/src/ arch/*/src/ genarch/src/ test/ -name '*.o' -follow -exec rm \{\} \; 40 find generic/src/ arch/*/src/ genarch/src/ test/ -name '*.o.preproc' -follow -exec rm \{\} \; -
kernel/Makefile.build
r6ef2c11 r4da7d79 375 375 %.o: %.S $(DEPEND) 376 376 $(GCC) $(DEFS) $(GCC_CFLAGS) -D__ASM__ -c $< -o $@ 377 ifeq ($(PRECHECK),y)378 $(JOBFILE) $(JOB) $< $@ as asm/preproc $(DEFS) $(GCC_CFLAGS) -D__ASM__379 endif380 377 381 378 %.o: %.s $(DEPEND) 382 379 $(AS) $(AFLAGS) $< -o $@ 383 ifeq ($(PRECHECK),y)384 $(JOBFILE) $(JOB) $< $@ as asm $(DEFS) $(CFLAGS) $(EXTRA_FLAGS)385 endif386 380 387 381 # … … 391 385 test/fpu/%.o: test/fpu/%.c $(DEPEND) 392 386 $(CC) $(DEFS) $(CFLAGS) $(EXTRA_FLAGS) -c $< -o $@ 393 ifeq ($( PRECHECK),y)394 $(JOBFILE) $(JOB) $< $@ cc test$(DEFS) $(CFLAGS) $(EXTRA_FLAGS)387 ifeq ($(EXTRA_TOOL),stanse) 388 ../tools/jobfile.py $(JOB) $< $@ $(DEFS) $(CFLAGS) $(EXTRA_FLAGS) 395 389 endif 396 390 … … 400 394 %.o: %.c $(DEPEND) 401 395 $(CC) $(DEFS) $(CFLAGS) $(EXTRA_FLAGS) $(FPU_NO_CFLAGS) -c $< -o $@ 402 ifeq ($( PRECHECK),y)403 $(JOBFILE) $(JOB) $< $@ cc core$(DEFS) $(CFLAGS) $(EXTRA_FLAGS) $(FPU_NO_CFLAGS)396 ifeq ($(EXTRA_TOOL),stanse) 397 ../tools/jobfile.py $(JOB) $< $@ $(DEFS) $(CFLAGS) $(EXTRA_FLAGS) $(FPU_NO_CFLAGS) 404 398 endif 405 399 … … 411 405 $(LD) -T $(LINK) $(LFLAGS) $(ARCH_OBJECTS) $(GENARCH_OBJECTS) $(GENERIC_OBJECTS) $(EXTRA_OBJECTS) $(EMPTY_MAP) -o $@ -Map $(MAP_PREV) 412 406 $(OBJDUMP) -t $(ARCH_OBJECTS) $(GENARCH_OBJECTS) $(GENERIC_OBJECTS) > $(DUMP) 413 $(GENMAP)$(MAP_PREV) $(DUMP) $@407 tools/genmap.py $(MAP_PREV) $(DUMP) $@ 414 408 415 409 # Do it once again, this time to get correct even the symbols … … 419 413 $(LD) -T $(LINK) $(LFLAGS) $(ARCH_OBJECTS) $(GENARCH_OBJECTS) $(GENERIC_OBJECTS) $(EXTRA_OBJECTS) $(SIZEOK_MAP) -o $@ -Map $(MAP_PREV) 420 414 $(OBJDUMP) -t $(ARCH_OBJECTS) $(GENARCH_OBJECTS) $(GENERIC_OBJECTS) > $(DUMP) 421 $(GENMAP)$(MAP_PREV) $(DUMP) $@415 tools/genmap.py $(MAP_PREV) $(DUMP) $@ 422 416 423 417 $(DEPEND): $(ARCH_INCLUDE) $(GENARCH_INCLUDE) -
kernel/Makefile.common
r6ef2c11 r4da7d79 44 44 ARCH_INCLUDE = generic/include/arch 45 45 GENARCH_INCLUDE = generic/include/genarch 46 47 GENMAP = tools/genmap.py48 JOBFILE = ../tools/jobfile.py -
tools/jobfile.py
r6ef2c11 r4da7d79 28 28 # 29 29 """ 30 Add a source/object file pair to a checkerjobfile30 Add a source/object file pair to a Stanse jobfile 31 31 """ 32 32 … … 37 37 def usage(prname): 38 38 "Print usage syntax" 39 print prname + " <JOBFILE> <SOURCE> < TARGET> <TOOL> <CATEGORY> [OPTIONS ...]"39 print prname + " <JOBFILE> <SOURCE> <OBJECT> [OPTIONS ...]" 40 40 41 41 def main(): 42 if (len(sys.argv) < 6):42 if (len(sys.argv) < 4): 43 43 usage(sys.argv[0]) 44 44 return … … 46 46 jobfname = sys.argv[1] 47 47 srcfname = sys.argv[2] 48 tgtfname = sys.argv[3] 49 toolname = sys.argv[4] 50 category = sys.argv[5] 48 objfname = sys.argv[3] 51 49 cwd = os.getcwd() 52 options = " ".join(sys.argv[ 6:])50 options = " ".join(sys.argv[4:]) 53 51 54 52 jobfile = file(jobfname, "a") 55 53 fcntl.lockf(jobfile, fcntl.LOCK_EX) 56 jobfile.write("{%s},{%s},{%s},{%s} ,{%s},{%s}\n" % (srcfname, tgtfname, toolname, category, cwd, options))54 jobfile.write("{%s},{%s},{%s},{%s}\n" % (srcfname, objfname, cwd, options)) 57 55 fcntl.lockf(jobfile, fcntl.LOCK_UN) 58 56 jobfile.close() -
tools/xtui.py
r6ef2c11 r4da7d79 213 213 sys.stdout.write("Selection[%s]: " % str(position + 1)) 214 214 else: 215 if (cnt > 0): 216 sys.stdout.write("Selection[1]: ") 217 else: 218 sys.stdout.write("Selection[0]: ") 215 sys.stdout.write("Selection: ") 219 216 inp = sys.stdin.readline() 220 217 … … 225 222 if (position != None): 226 223 return (None, position) 227 else: 228 if (cnt > 0): 229 inp = '1' 230 else: 231 inp = '0' 224 continue 232 225 233 226 if (inp.strip() == 'q'): -
uspace/Makefile
r6ef2c11 r4da7d79 33 33 34 34 DIRS = \ 35 app/bdsh \36 app/edit \37 app/getterm \38 app/init \39 app/klog \40 app/redir \41 app/tester \42 app/tetris \43 app/trace \44 srv/clip \45 srv/devmap \46 srv/loader \47 srv/ns \48 srv/vfs \49 35 srv/bd/ata_bd \ 50 36 srv/bd/file_bd \ 51 37 srv/bd/gxe_bd \ 52 38 srv/bd/rd \ 53 srv/bd/part/mbr_part \ 39 srv/ns \ 40 srv/loader \ 41 srv/fb \ 42 srv/kbd \ 43 srv/char/i8042 \ 44 srv/console \ 54 45 srv/fs/fat \ 55 46 srv/fs/tmpfs \ 56 47 srv/fs/devfs \ 57 srv/hid/console \ 58 srv/hid/c_mouse \ 59 srv/hid/fb \ 60 srv/hid/kbd \ 61 srv/hw/char/i8042 48 srv/mouse/c_mouse \ 49 srv/vfs \ 50 srv/devmap \ 51 srv/part/mbr_part \ 52 srv/clip \ 53 app/edit \ 54 app/tetris \ 55 app/tester \ 56 app/trace \ 57 app/klog \ 58 app/init \ 59 app/getterm \ 60 app/redir \ 61 app/bdsh 62 62 63 63 ifeq ($(UARCH),amd64) 64 DIRS += srv/ hw/bus/pci64 DIRS += srv/pci 65 65 endif 66 66 67 67 ifeq ($(UARCH),ia32) 68 DIRS += srv/ hw/bus/pci68 DIRS += srv/pci 69 69 endif 70 70 71 71 ifeq ($(UARCH),sparc64) 72 72 DIRS += \ 73 srv/ hw/cir/fhc \74 srv/ hw/cir/obio73 srv/cir/fhc \ 74 srv/cir/obio 75 75 endif 76 76 … … 98 98 99 99 $(BUILDS): $(LIBC_BUILD) $(LIBS_BUILD) 100 $(MAKE) -C $(basename $@) all PRECHECK=$(PRECHECK)100 $(MAKE) -C $(basename $@) all 101 101 102 102 $(LIBS_BUILD): $(LIBC_BUILD) 103 $(MAKE) -C $(basename $@) all PRECHECK=$(PRECHECK)103 $(MAKE) -C $(basename $@) all 104 104 105 105 $(LIBC_BUILD): 106 $(MAKE) -C $(basename $@) all PRECHECK=$(PRECHECK)106 $(MAKE) -C $(basename $@) all -
uspace/app/bdsh/Makefile
r6ef2c11 r4da7d79 34 34 all: $(LIBC_PREFIX)/../../../Makefile.config $(LIBC_PREFIX)/../../../config.h $(LIBC_PREFIX)/../../../config.defs $(LIBS) 35 35 -[ -f $(DEPEND) ] && mv -f $(DEPEND) $(DEPEND_PREV) 36 $(MAKE) -f Makefile.build PRECHECK=$(PRECHECK)36 $(MAKE) -f Makefile.build 37 37 38 38 clean: 39 rm -f $(DEPEND) $(DEPEND_PREV) $( JOB) $(OUTPUT) $(OUTPUT).map $(OUTPUT).disasm39 rm -f $(DEPEND) $(DEPEND_PREV) $(OUTPUT) $(OUTPUT).map $(OUTPUT).disasm 40 40 find . -name '*.o' -follow -exec rm \{\} \; -
uspace/app/bdsh/Makefile.build
r6ef2c11 r4da7d79 79 79 %.o: %.c $(DEPEND) 80 80 $(CC) $(DEFS) $(CFLAGS) -c $< -o $@ 81 ifeq ($(PRECHECK),y)82 $(JOBFILE) $(JOB) $< $@ cc core $(DEFS) $(CFLAGS)83 endif84 81 85 82 $(DEPEND): -
uspace/app/bdsh/Makefile.common
r6ef2c11 r4da7d79 38 38 DEPEND = Makefile.depend 39 39 DEPEND_PREV = $(DEPEND).prev 40 JOB = bdsh.job41 40 OUTPUT = bdsh -
uspace/app/edit/Makefile
r6ef2c11 r4da7d79 34 34 all: $(LIBC_PREFIX)/../../../Makefile.config $(LIBC_PREFIX)/../../../config.h $(LIBC_PREFIX)/../../../config.defs $(LIBS) 35 35 -[ -f $(DEPEND) ] && mv -f $(DEPEND) $(DEPEND_PREV) 36 $(MAKE) -f Makefile.build PRECHECK=$(PRECHECK)36 $(MAKE) -f Makefile.build 37 37 38 38 clean: 39 rm -f $(DEPEND) $(DEPEND_PREV) $( JOB) $(OUTPUT) $(OUTPUT).map $(OUTPUT).disasm39 rm -f $(DEPEND) $(DEPEND_PREV) $(OUTPUT) $(OUTPUT).map $(OUTPUT).disasm 40 40 find . -name '*.o' -follow -exec rm \{\} \; -
uspace/app/edit/Makefile.build
r6ef2c11 r4da7d79 57 57 %.o: %.c $(DEPEND) 58 58 $(CC) $(DEFS) $(CFLAGS) -c $< -o $@ 59 ifeq ($(PRECHECK),y)60 $(JOBFILE) $(JOB) $< $@ cc core $(DEFS) $(CFLAGS)61 endif62 59 63 60 $(DEPEND): -
uspace/app/edit/Makefile.common
r6ef2c11 r4da7d79 37 37 DEPEND = Makefile.depend 38 38 DEPEND_PREV = $(DEPEND).prev 39 JOB = edit.job40 39 OUTPUT = edit -
uspace/app/getterm/Makefile
r6ef2c11 r4da7d79 34 34 all: $(LIBC_PREFIX)/../../../version $(LIBC_PREFIX)/../../../Makefile.config $(LIBC_PREFIX)/../../../config.h $(LIBC_PREFIX)/../../../config.defs $(LIBS) 35 35 -[ -f $(DEPEND) ] && mv -f $(DEPEND) $(DEPEND_PREV) 36 $(MAKE) -f Makefile.build PRECHECK=$(PRECHECK)36 $(MAKE) -f Makefile.build 37 37 38 38 clean: 39 rm -f $(DEPEND) $(DEPEND_PREV) $( JOB) $(OUTPUT) $(OUTPUT).map $(OUTPUT).disasm39 rm -f $(DEPEND) $(DEPEND_PREV) $(OUTPUT) $(OUTPUT).map $(OUTPUT).disasm 40 40 find . -name '*.o' -follow -exec rm \{\} \; -
uspace/app/getterm/Makefile.build
r6ef2c11 r4da7d79 60 60 %.o: %.c $(DEPEND) 61 61 $(CC) $(DEFS) $(CFLAGS) -c $< -o $@ 62 ifeq ($(PRECHECK),y)63 $(JOBFILE) $(JOB) $< $@ cc core $(DEFS) $(CFLAGS)64 endif65 62 66 63 $(DEPEND): -
uspace/app/getterm/Makefile.common
r6ef2c11 r4da7d79 37 37 DEPEND = Makefile.depend 38 38 DEPEND_PREV = $(DEPEND).prev 39 JOB = getterm.job40 39 OUTPUT = getterm -
uspace/app/init/Makefile
r6ef2c11 r4da7d79 34 34 all: $(LIBC_PREFIX)/../../../Makefile.config $(LIBC_PREFIX)/../../../config.h $(LIBC_PREFIX)/../../../config.defs $(LIBS) 35 35 -[ -f $(DEPEND) ] && mv -f $(DEPEND) $(DEPEND_PREV) 36 $(MAKE) -f Makefile.build PRECHECK=$(PRECHECK)36 $(MAKE) -f Makefile.build 37 37 38 38 clean: 39 rm -f $(DEPEND) $(DEPEND_PREV) $( JOB) $(OUTPUT) $(OUTPUT).map $(OUTPUT).disasm39 rm -f $(DEPEND) $(DEPEND_PREV) $(OUTPUT) $(OUTPUT).map $(OUTPUT).disasm 40 40 find . -name '*.o' -follow -exec rm \{\} \; -
uspace/app/init/Makefile.build
r6ef2c11 r4da7d79 56 56 %.o: %.c $(DEPEND) 57 57 $(CC) $(DEFS) $(CFLAGS) -c $< -o $@ 58 ifeq ($(PRECHECK),y)59 $(JOBFILE) $(JOB) $< $@ cc core $(DEFS) $(CFLAGS)60 endif61 58 62 59 $(DEPEND): -
uspace/app/init/Makefile.common
r6ef2c11 r4da7d79 37 37 DEPEND = Makefile.depend 38 38 DEPEND_PREV = $(DEPEND).prev 39 JOB = init.job40 39 OUTPUT = init -
uspace/app/klog/Makefile
r6ef2c11 r4da7d79 34 34 all: $(LIBC_PREFIX)/../../../Makefile.config $(LIBC_PREFIX)/../../../config.h $(LIBC_PREFIX)/../../../config.defs $(LIBS) 35 35 -[ -f $(DEPEND) ] && mv -f $(DEPEND) $(DEPEND_PREV) 36 $(MAKE) -f Makefile.build PRECHECK=$(PRECHECK)36 $(MAKE) -f Makefile.build 37 37 38 38 clean: 39 rm -f $(DEPEND) $(DEPEND_PREV) $( JOB) $(OUTPUT) $(OUTPUT).map $(OUTPUT).disasm39 rm -f $(DEPEND) $(DEPEND_PREV) $(OUTPUT) $(OUTPUT).map $(OUTPUT).disasm 40 40 find . -name '*.o' -follow -exec rm \{\} \; -
uspace/app/klog/Makefile.build
r6ef2c11 r4da7d79 56 56 %.o: %.c $(DEPEND) 57 57 $(CC) $(DEFS) $(CFLAGS) -c $< -o $@ 58 ifeq ($(PRECHECK),y)59 $(JOBFILE) $(JOB) $< $@ cc core $(DEFS) $(CFLAGS)60 endif61 58 62 59 $(DEPEND): -
uspace/app/klog/Makefile.common
r6ef2c11 r4da7d79 37 37 DEPEND = Makefile.depend 38 38 DEPEND_PREV = $(DEPEND).prev 39 JOB = klog.job40 39 OUTPUT = klog -
uspace/app/redir/Makefile
r6ef2c11 r4da7d79 34 34 all: $(LIBC_PREFIX)/../../../version $(LIBC_PREFIX)/../../../Makefile.config $(LIBC_PREFIX)/../../../config.h $(LIBC_PREFIX)/../../../config.defs $(LIBS) 35 35 -[ -f $(DEPEND) ] && mv -f $(DEPEND) $(DEPEND_PREV) 36 $(MAKE) -f Makefile.build PRECHECK=$(PRECHECK)36 $(MAKE) -f Makefile.build 37 37 38 38 clean: 39 rm -f $(DEPEND) $(DEPEND_PREV) $( JOB) $(OUTPUT) $(OUTPUT).map $(OUTPUT).disasm39 rm -f $(DEPEND) $(DEPEND_PREV) $(OUTPUT) $(OUTPUT).map $(OUTPUT).disasm 40 40 find . -name '*.o' -follow -exec rm \{\} \; -
uspace/app/redir/Makefile.build
r6ef2c11 r4da7d79 56 56 %.o: %.c $(DEPEND) 57 57 $(CC) $(DEFS) $(CFLAGS) -c $< -o $@ 58 ifeq ($(PRECHECK),y)59 $(JOBFILE) $(JOB) $< $@ cc core $(DEFS) $(CFLAGS)60 endif61 58 62 59 $(DEPEND): -
uspace/app/redir/Makefile.common
r6ef2c11 r4da7d79 37 37 DEPEND = Makefile.depend 38 38 DEPEND_PREV = $(DEPEND).prev 39 JOB = redir.job40 39 OUTPUT = redir -
uspace/app/tester/Makefile
r6ef2c11 r4da7d79 34 34 all: $(LIBC_PREFIX)/../../../Makefile.config $(LIBC_PREFIX)/../../../config.h $(LIBC_PREFIX)/../../../config.defs $(LIBS) 35 35 -[ -f $(DEPEND) ] && mv -f $(DEPEND) $(DEPEND_PREV) 36 $(MAKE) -f Makefile.build PRECHECK=$(PRECHECK)36 $(MAKE) -f Makefile.build 37 37 38 38 clean: 39 rm -f $(DEPEND) $(DEPEND_PREV) $( JOB) $(OUTPUT) $(OUTPUT).map $(OUTPUT).disasm39 rm -f $(DEPEND) $(DEPEND_PREV) $(OUTPUT) $(OUTPUT).map $(OUTPUT).disasm 40 40 find . -name '*.o' -follow -exec rm \{\} \; -
uspace/app/tester/Makefile.build
r6ef2c11 r4da7d79 49 49 fault/fault1.c \ 50 50 fault/fault2.c \ 51 fault/fault3.c \52 51 vfs/vfs1.c \ 53 52 ipc/ping_pong.c \ … … 73 72 %.o: %.c $(DEPEND) 74 73 $(CC) $(DEFS) $(CFLAGS) -c $< -o $@ 75 ifeq ($(PRECHECK),y)76 $(JOBFILE) $(JOB) $< $@ cc core $(DEFS) $(CFLAGS)77 endif78 74 79 75 $(DEPEND): -
uspace/app/tester/Makefile.common
r6ef2c11 r4da7d79 37 37 DEPEND = Makefile.depend 38 38 DEPEND_PREV = $(DEPEND).prev 39 JOB = tester.job40 39 OUTPUT = tester -
uspace/app/tester/tester.c
r6ef2c11 r4da7d79 56 56 #include "fault/fault1.def" 57 57 #include "fault/fault2.def" 58 #include "fault/fault3.def"59 58 #include "vfs/vfs1.def" 60 59 #include "ipc/ping_pong.def" -
uspace/app/tester/tester.h
r6ef2c11 r4da7d79 73 73 extern char *test_fault1(void); 74 74 extern char *test_fault2(void); 75 extern char *test_fault3(void);76 75 extern char *test_vfs1(void); 77 76 extern char *test_ping_pong(void); -
uspace/app/tetris/Makefile
r6ef2c11 r4da7d79 34 34 all: $(LIBC_PREFIX)/../../../Makefile.config $(LIBC_PREFIX)/../../../config.h $(LIBC_PREFIX)/../../../config.defs $(LIBS) 35 35 -[ -f $(DEPEND) ] && mv -f $(DEPEND) $(DEPEND_PREV) 36 $(MAKE) -f Makefile.build PRECHECK=$(PRECHECK)36 $(MAKE) -f Makefile.build 37 37 38 38 clean: 39 rm -f $(DEPEND) $(DEPEND_PREV) $( JOB) $(OUTPUT) $(OUTPUT).map $(OUTPUT).disasm39 rm -f $(DEPEND) $(DEPEND_PREV) $(OUTPUT) $(OUTPUT).map $(OUTPUT).disasm 40 40 find . -name '*.o' -follow -exec rm \{\} \; -
uspace/app/tetris/Makefile.build
r6ef2c11 r4da7d79 60 60 %.o: %.c $(DEPEND) 61 61 $(CC) $(DEFS) $(CFLAGS) -c $< -o $@ 62 ifeq ($(PRECHECK),y)63 $(JOBFILE) $(JOB) $< $@ cc core $(DEFS) $(CFLAGS)64 endif65 62 66 63 $(DEPEND): -
uspace/app/tetris/Makefile.common
r6ef2c11 r4da7d79 37 37 DEPEND = Makefile.depend 38 38 DEPEND_PREV = $(DEPEND).prev 39 JOB = tetris.job40 39 OUTPUT = tetris -
uspace/app/trace/Makefile
r6ef2c11 r4da7d79 34 34 all: $(LIBC_PREFIX)/../../../Makefile.config $(LIBC_PREFIX)/../../../config.h $(LIBC_PREFIX)/../../../config.defs $(LIBS) 35 35 -[ -f $(DEPEND) ] && mv -f $(DEPEND) $(DEPEND_PREV) 36 $(MAKE) -f Makefile.build PRECHECK=$(PRECHECK)36 $(MAKE) -f Makefile.build 37 37 38 38 clean: 39 rm -f $(DEPEND) $(DEPEND_PREV) $( JOB) $(OUTPUT) $(OUTPUT).map $(OUTPUT).disasm39 rm -f $(DEPEND) $(DEPEND_PREV) $(OUTPUT) $(OUTPUT).map $(OUTPUT).disasm 40 40 find . -name '*.o' -follow -exec rm \{\} \; -
uspace/app/trace/Makefile.build
r6ef2c11 r4da7d79 61 61 %.o: %.c $(DEPEND) 62 62 $(CC) $(DEFS) $(CFLAGS) -c $< -o $@ 63 ifeq ($(PRECHECK),y)64 $(JOBFILE) $(JOB) $< $@ cc core $(DEFS) $(CFLAGS)65 endif66 63 67 64 $(DEPEND): -
uspace/app/trace/Makefile.common
r6ef2c11 r4da7d79 37 37 DEPEND = Makefile.depend 38 38 DEPEND_PREV = $(DEPEND).prev 39 JOB = trace.job40 39 OUTPUT = trace -
uspace/lib/libblock/Makefile
r6ef2c11 r4da7d79 34 34 all: $(LIBC_PREFIX)/../../../Makefile.config $(LIBC_PREFIX)/../../../config.h $(LIBC_PREFIX)/../../../config.defs $(LIBC_PREFIX)/libc.a 35 35 -[ -f $(DEPEND) ] && mv -f $(DEPEND) $(DEPEND_PREV) 36 $(MAKE) -f Makefile.build PRECHECK=$(PRECHECK)36 $(MAKE) -f Makefile.build 37 37 38 38 clean: 39 rm -f $(DEPEND) $(DEPEND_PREV) $( JOB) $(LIBBLOCK)39 rm -f $(DEPEND) $(DEPEND_PREV) $(LIBBLOCK) 40 40 find . -name '*.o' -follow -exec rm \{\} \; -
uspace/lib/libblock/Makefile.build
r6ef2c11 r4da7d79 53 53 %.o: %.c $(DEPEND) 54 54 $(CC) $(DEFS) $(CFLAGS) -c $< -o $@ 55 ifeq ($(PRECHECK),y)56 $(JOBFILE) $(JOB) $< $@ cc core $(DEFS) $(CFLAGS)57 endif58 55 59 56 $(DEPEND): -
uspace/lib/libblock/Makefile.common
r6ef2c11 r4da7d79 34 34 DEPEND = Makefile.depend 35 35 DEPEND_PREV = $(DEPEND).prev 36 JOB = libblock.job37 36 LIBBLOCK = libblock.a -
uspace/lib/libc/Makefile
r6ef2c11 r4da7d79 33 33 all: ../../../Makefile.config ../../../config.h ../../../config.defs 34 34 -[ -f $(DEPEND) ] && mv -f $(DEPEND) $(DEPEND_PREV) 35 $(MAKE) -f Makefile.build PRECHECK=$(PRECHECK)35 $(MAKE) -f Makefile.build 36 36 37 37 clean: 38 rm -f $(DEPEND) $(DEPEND_PREV) $( JOB) $(INCLUDE_KERNEL) $(INCLUDE_ARCH) $(INCLUDE_LIBARCH) $(LIBC) arch/*/_link.ld38 rm -f $(DEPEND) $(DEPEND_PREV) $(INCLUDE_KERNEL) $(INCLUDE_ARCH) $(INCLUDE_LIBARCH) $(LIBC) arch/*/_link.ld 39 39 find generic/ arch/*/ -name '*.o' -follow -exec rm \{\} \; -
uspace/lib/libc/Makefile.build
r6ef2c11 r4da7d79 87 87 generic/udebug.c \ 88 88 generic/vfs/vfs.c \ 89 generic/vfs/canonify.c \ 90 generic/stacktrace.c 89 generic/vfs/canonify.c 91 90 92 91 ARCH_SOURCES += \ … … 112 111 %.o: %.S $(DEPEND) 113 112 $(CC) $(DEFS) $(AFLAGS) $(CFLAGS) -D__ASM__ -c $< -o $@ 114 ifeq ($(PRECHECK),y)115 $(JOBFILE) $(JOB) $< $@ as asm/preproc $(DEFS) $(AFLAGS) $(CFLAGS) -D__ASM__116 endif117 113 118 114 %.o: %.s $(DEPEND) 119 115 $(AS) $(AFLAGS) $< -o $@ 120 ifeq ($(PRECHECK),y)121 $(JOBFILE) $(JOB) $< $@ as asm $(AFLAGS)122 endif123 116 124 117 %.o: %.c $(DEPEND) 125 118 $(CC) $(DEFS) $(CFLAGS) -c $< -o $@ 126 ifeq ($(PRECHECK),y)127 $(JOBFILE) $(JOB) $< $@ cc core $(DEFS) $(CFLAGS)128 endif129 119 130 120 $(DEPEND): $(INCLUDE_KERNEL) $(INCLUDE_ARCH) $(INCLUDE_LIBARCH) -
uspace/lib/libc/Makefile.common
r6ef2c11 r4da7d79 33 33 DEPEND = Makefile.depend 34 34 DEPEND_PREV = $(DEPEND).prev 35 JOB = libc.job36 35 LIBC = libc.a 37 36 INCLUDE_KERNEL = include/kernel -
uspace/lib/libc/Makefile.toolchain
r6ef2c11 r4da7d79 78 78 # 79 79 80 JOBFILE = $(LIBC_PREFIX)/../../../tools/jobfile.py81 82 80 ifeq ($(COMPILER),gcc_cross) 83 81 CC = $(TOOLCHAIN_DIR)/$(TARGET)-gcc -
uspace/lib/libc/arch/amd64/Makefile.inc
r6ef2c11 r4da7d79 36 36 ARCH_SOURCES += arch/$(UARCH)/src/syscall.S \ 37 37 arch/$(UARCH)/src/fibril.S \ 38 arch/$(UARCH)/src/tls.c \ 39 arch/$(UARCH)/src/stacktrace.S 38 arch/$(UARCH)/src/tls.c 40 39 41 GCC_CFLAGS += -fno-omit-frame-pointer42 40 LFLAGS += -N 43 41 -
uspace/lib/libc/arch/amd64/include/fibril.h
r6ef2c11 r4da7d79 44 44 #define SP_DELTA 16 45 45 46 #define context_set(c, _pc, stack, size, ptls) \47 do { \48 (c)->pc = (sysarg_t) (_pc); \49 (c)->sp = ((sysarg_t) (stack)) + (size) - SP_DELTA; \50 (c)->tls = (sysarg_t) (ptls); \51 (c)->rbp = 0; \52 } while (0)53 54 46 /* We include only registers that must be preserved 55 47 * during function call -
uspace/lib/libc/arch/amd64/src/entry.s
r6ef2c11 r4da7d79 38 38 # 39 39 __entry: 40 #41 # Create the first stack frame.42 #43 pushq $044 mov %rsp, %rbp45 46 40 # %rdi was deliberately chosen as the first argument is also in %rdi 47 41 # Pass PCB pointer to __main (no operation) -
uspace/lib/libc/arch/amd64/src/thread_entry.s
r6ef2c11 r4da7d79 36 36 __thread_entry: 37 37 # 38 # Create the first stack frame.39 #40 pushq $041 movq %rsp, %rbp42 43 #44 38 # RAX contains address of uarg 45 39 # -
uspace/lib/libc/arch/arm32/Makefile.inc
r6ef2c11 r4da7d79 37 37 arch/$(UARCH)/src/fibril.S \ 38 38 arch/$(UARCH)/src/tls.c \ 39 arch/$(UARCH)/src/eabi.S \ 40 arch/$(UARCH)/src/stacktrace.S 39 arch/$(UARCH)/src/eabi.S 41 40 42 GCC_CFLAGS += -ffixed-r9 -mtp=soft -mapcs-frame -fno-omit-frame-pointer41 GCC_CFLAGS += -ffixed-r9 -mtp=soft 43 42 LFLAGS += -N $(SOFTINT_PREFIX)/libsoftint.a 44 43 -
uspace/lib/libc/arch/arm32/include/fibril.h
r6ef2c11 r4da7d79 58 58 * @param ptls Pointer to the TCB. 59 59 */ 60 #define context_set(c, _pc, stack, size, ptls) \ 61 do { \ 62 (c)->pc = (sysarg_t) (_pc); \ 63 (c)->sp = ((sysarg_t) (stack)) + (size) - SP_DELTA; \ 64 (c)->tls = ((sysarg_t)(ptls)) + sizeof(tcb_t) + ARM_TP_OFFSET; \ 65 (c)->fp = 0; \ 66 } while (0) 60 #define context_set(c, _pc, stack, size, ptls) \ 61 (c)->pc = (sysarg_t) (_pc); \ 62 (c)->sp = ((sysarg_t) (stack)) + (size) - SP_DELTA; \ 63 (c)->tls = ((sysarg_t)(ptls)) + sizeof(tcb_t) + ARM_TP_OFFSET; 64 67 65 68 66 /** Fibril context. … … 81 79 uint32_t r7; 82 80 uint32_t r8; 83 uint32_t tls; /* r9 */81 uint32_t tls; 84 82 uint32_t r10; 85 uint32_t fp; /* r11 */83 uint32_t r11; 86 84 } context_t; 87 85 -
uspace/lib/libc/arch/arm32/src/entry.s
r6ef2c11 r4da7d79 43 43 str r2, [r0] 44 44 45 #46 # Create the first stack frame.47 #48 mov fp, #049 mov ip, sp50 push {fp, ip, lr, pc}51 sub fp, ip, #452 53 45 # Pass pcb_ptr to __main as the first argument (in r0) 54 46 mov r0, r1 -
uspace/lib/libc/arch/arm32/src/thread_entry.s
r6ef2c11 r4da7d79 35 35 # 36 36 __thread_entry: 37 #38 # Create the first stack frame.39 #40 mov fp, #041 mov ip, sp42 push {fp, ip, lr, pc}43 sub fp, ip, #444 45 37 b __thread_main -
uspace/lib/libc/arch/ia32/Makefile.inc
r6ef2c11 r4da7d79 37 37 arch/$(UARCH)/src/fibril.S \ 38 38 arch/$(UARCH)/src/tls.c \ 39 arch/$(UARCH)/src/setjmp.S \ 40 arch/$(UARCH)/src/stacktrace.S 39 arch/$(UARCH)/src/setjmp.S 41 40 42 41 GCC_CFLAGS += -march=pentium -
uspace/lib/libc/arch/ia32/include/fibril.h
r6ef2c11 r4da7d79 44 44 #define SP_DELTA (12) 45 45 46 #define context_set(c, _pc, stack, size, ptls) \47 do { \48 (c)->pc = (sysarg_t) (_pc); \49 (c)->sp = ((sysarg_t) (stack)) + (size) - SP_DELTA; \50 (c)->tls = (sysarg_t) (ptls); \51 (c)->ebp = 0; \52 } while (0)53 54 46 /* We include only registers that must be preserved 55 47 * during function call -
uspace/lib/libc/arch/ia32/src/entry.s
r6ef2c11 r4da7d79 55 55 movl $__syscall_fast, (%eax) 56 56 0: 57 #58 # Create the first stack frame.59 #60 pushl $061 movl %esp, %ebp62 57 63 58 # Pass the PCB pointer to __main as the first argument -
uspace/lib/libc/arch/ia32/src/thread_entry.s
r6ef2c11 r4da7d79 42 42 43 43 # 44 # Create the first stack frame.45 #46 pushl $047 mov %esp, %ebp48 49 #50 44 # EAX contains address of uarg. 51 45 # -
uspace/lib/libc/arch/ia64/Makefile.inc
r6ef2c11 r4da7d79 36 36 arch/$(UARCH)/src/fibril.S \ 37 37 arch/$(UARCH)/src/tls.c \ 38 arch/$(UARCH)/src/ddi.c \ 39 arch/$(UARCH)/src/stacktrace.S 38 arch/$(UARCH)/src/ddi.c 40 39 41 40 GCC_CFLAGS += -fno-unwind-tables -
uspace/lib/libc/arch/mips32/Makefile.inc
r6ef2c11 r4da7d79 35 35 ARCH_SOURCES += arch/$(UARCH)/src/syscall.c \ 36 36 arch/$(UARCH)/src/fibril.S \ 37 arch/$(UARCH)/src/tls.c \ 38 arch/$(UARCH)/src/stacktrace.S 37 arch/$(UARCH)/src/tls.c 39 38 40 39 GCC_CFLAGS += -mips3 -
uspace/lib/libc/arch/ppc32/Makefile.inc
r6ef2c11 r4da7d79 35 35 ARCH_SOURCES += arch/$(UARCH)/src/syscall.c \ 36 36 arch/$(UARCH)/src/fibril.S \ 37 arch/$(UARCH)/src/tls.c \ 38 arch/$(UARCH)/src/stacktrace.S 37 arch/$(UARCH)/src/tls.c 39 38 40 39 GCC_CFLAGS += -mcpu=powerpc -msoft-float -m32 -
uspace/lib/libc/arch/ppc32/src/entry.s
r6ef2c11 r4da7d79 38 38 # 39 39 __entry: 40 #41 # Create the first stack frame.42 #43 li %r3, 044 stw %r3, 0(%r1)45 stwu %r1, -16(%r1)46 47 40 # Pass the PCB pointer to __main() as the first argument. 48 41 # The first argument is passed in r3. -
uspace/lib/libc/arch/ppc32/src/thread_entry.s
r6ef2c11 r4da7d79 35 35 # 36 36 __thread_entry: 37 #38 # Create the first stack frame.39 #40 li %r4, 041 stw %r4, 0(%r1)42 stwu %r1, -16(%r1)43 44 37 b __thread_main 45 38 -
uspace/lib/libc/arch/sparc64/Makefile.inc
r6ef2c11 r4da7d79 34 34 35 35 ARCH_SOURCES += arch/$(UARCH)/src/fibril.S \ 36 arch/$(UARCH)/src/tls.c \ 37 arch/$(UARCH)/src/stacktrace.S 36 arch/$(UARCH)/src/tls.c 38 37 39 38 GCC_CFLAGS += -mcpu=ultrasparc -m64 -
uspace/lib/libc/arch/sparc64/include/fibril.h
r6ef2c11 r4da7d79 46 46 #endif 47 47 48 #define context_set(c, _pc, stack, size, ptls) \ 49 do { \ 50 (c)->pc = ((uintptr_t) _pc) - 8; \ 51 (c)->sp = ((uintptr_t) stack) + ALIGN_UP((size), \ 52 STACK_ALIGNMENT) - (STACK_BIAS + SP_DELTA); \ 53 (c)->fp = -STACK_BIAS; \ 54 (c)->tp = ptls; \ 55 } while (0) 48 #define context_set(c, _pc, stack, size, ptls) \ 49 (c)->pc = ((uintptr_t) _pc) - 8; \ 50 (c)->sp = ((uintptr_t) stack) + ALIGN_UP((size), \ 51 STACK_ALIGNMENT) - (STACK_BIAS + SP_DELTA); \ 52 (c)->fp = -STACK_BIAS; \ 53 (c)->tp = ptls 56 54 57 55 /* -
uspace/lib/libc/arch/sparc64/src/entry.s
r6ef2c11 r4da7d79 39 39 # 40 40 __entry: 41 #42 # Create the first stack frame.43 #44 save %sp, -176, %sp45 flushw46 add %g0, -0x7ff, %fp47 48 41 # Pass pcb_ptr as the first argument to __main() 49 mov % i1, %o042 mov %o1, %o0 50 43 sethi %hi(_gp), %l7 51 44 call __main -
uspace/lib/libc/arch/sparc64/src/thread_entry.s
r6ef2c11 r4da7d79 35 35 # 36 36 __thread_entry: 37 #38 # Create the first stack frame.39 #40 save %sp, -176, %sp41 flushw42 add %g0, -0x7ff, %fp43 44 37 sethi %hi(_gp), %l7 45 38 call __thread_main ! %o0 contains address of uarg -
uspace/lib/libc/include/stdlib.h
r6ef2c11 r4da7d79 38 38 #include <unistd.h> 39 39 #include <malloc.h> 40 #include <stacktrace.h>41 40 42 #define abort() \ 43 do { \ 44 stack_trace(); \ 45 _exit(1); \ 46 } while (0) 47 41 #define abort() _exit(1) 48 42 #define exit(status) _exit((status)) 49 43 -
uspace/lib/libfs/Makefile
r6ef2c11 r4da7d79 34 34 all: $(LIBC_PREFIX)/../../../Makefile.config $(LIBC_PREFIX)/../../../config.h $(LIBC_PREFIX)/../../../config.defs $(LIBC_PREFIX)/libc.a 35 35 -[ -f $(DEPEND) ] && mv -f $(DEPEND) $(DEPEND_PREV) 36 $(MAKE) -f Makefile.build PRECHECK=$(PRECHECK)36 $(MAKE) -f Makefile.build 37 37 38 38 clean: 39 rm -f $(DEPEND) $(DEPEND_PREV) $( JOB) $(LIBFS)39 rm -f $(DEPEND) $(DEPEND_PREV) $(LIBFS) 40 40 find . -name '*.o' -follow -exec rm \{\} \; -
uspace/lib/libfs/Makefile.build
r6ef2c11 r4da7d79 53 53 %.o: %.c $(DEPEND) 54 54 $(CC) $(DEFS) $(CFLAGS) -c $< -o $@ 55 ifeq ($(PRECHECK),y)56 $(JOBFILE) $(JOB) $< $@ cc core $(DEFS) $(CFLAGS)57 endif58 55 59 56 $(DEPEND): -
uspace/lib/libfs/Makefile.common
r6ef2c11 r4da7d79 34 34 DEPEND = Makefile.depend 35 35 DEPEND_PREV = $(DEPEND).prev 36 JOB = libfs.job37 36 LIBFS = libfs.a -
uspace/lib/softfloat/Makefile
r6ef2c11 r4da7d79 34 34 all: $(LIBC_PREFIX)/../../../Makefile.config $(LIBC_PREFIX)/../../../config.h $(LIBC_PREFIX)/../../../config.defs $(LIBC_PREFIX)/libc.a 35 35 -[ -f $(DEPEND) ] && mv -f $(DEPEND) $(DEPEND_PREV) 36 $(MAKE) -f Makefile.build PRECHECK=$(PRECHECK)36 $(MAKE) -f Makefile.build 37 37 38 38 clean: 39 rm -f $(DEPEND) $(DEPEND_PREV) $( JOB) $(LIBSOFTFLOAT)39 rm -f $(DEPEND) $(DEPEND_PREV) $(LIBSOFTFLOAT) 40 40 find . -name '*.o' -follow -exec rm \{\} \; -
uspace/lib/softfloat/Makefile.build
r6ef2c11 r4da7d79 63 63 %.o: %.c $(DEPEND) 64 64 $(CC) $(DEFS) $(CFLAGS) -c $< -o $@ 65 ifeq ($(PRECHECK),y)66 $(JOBFILE) $(JOB) $< $@ cc core $(DEFS) $(CFLAGS)67 endif68 65 69 66 $(DEPEND): -
uspace/lib/softfloat/Makefile.common
r6ef2c11 r4da7d79 34 34 DEPEND = Makefile.depend 35 35 DEPEND_PREV = $(DEPEND).prev 36 JOB = softfloat.job37 36 LIBSOFTFLOAT = libsoftfloat.a -
uspace/lib/softint/Makefile
r6ef2c11 r4da7d79 34 34 all: $(LIBC_PREFIX)/../../../Makefile.config $(LIBC_PREFIX)/../../../config.h $(LIBC_PREFIX)/../../../config.defs $(LIBC_PREFIX)/libc.a 35 35 -[ -f $(DEPEND) ] && mv -f $(DEPEND) $(DEPEND_PREV) 36 $(MAKE) -f Makefile.build PRECHECK=$(PRECHECK)36 $(MAKE) -f Makefile.build 37 37 38 38 clean: 39 rm -f $(DEPEND) $(DEPEND_PREV) $( JOB) $(LIBSOFTINT)39 rm -f $(DEPEND) $(DEPEND_PREV) $(LIBSOFTINT) 40 40 find . -name '*.o' -follow -exec rm \{\} \; -
uspace/lib/softint/Makefile.build
r6ef2c11 r4da7d79 56 56 %.o: %.c $(DEPEND) 57 57 $(CC) $(DEFS) $(CFLAGS) -c $< -o $@ 58 ifeq ($(PRECHECK),y)59 $(JOBFILE) $(JOB) $< $@ cc core $(DEFS) $(CFLAGS)60 endif61 58 62 59 $(DEPEND): -
uspace/lib/softint/Makefile.common
r6ef2c11 r4da7d79 34 34 DEPEND = Makefile.depend 35 35 DEPEND_PREV = $(DEPEND).prev 36 JOB = softint.job37 36 LIBSOFTINT = libsoftint.a -
uspace/srv/bd/ata_bd/Makefile
r6ef2c11 r4da7d79 34 34 all: $(LIBC_PREFIX)/../../../Makefile.config $(LIBC_PREFIX)/../../../config.h $(LIBC_PREFIX)/../../../config.defs $(LIBS) 35 35 -[ -f $(DEPEND) ] && mv -f $(DEPEND) $(DEPEND_PREV) 36 $(MAKE) -f Makefile.build PRECHECK=$(PRECHECK)36 $(MAKE) -f Makefile.build 37 37 38 38 clean: 39 rm -f $(DEPEND) $(DEPEND_PREV) $( JOB) $(OUTPUT) $(OUTPUT).map $(OUTPUT).disasm39 rm -f $(DEPEND) $(DEPEND_PREV) $(OUTPUT) $(OUTPUT).map $(OUTPUT).disasm 40 40 find . -name '*.o' -follow -exec rm \{\} \; -
uspace/srv/bd/ata_bd/Makefile.build
r6ef2c11 r4da7d79 56 56 %.o: %.c $(DEPEND) 57 57 $(CC) $(DEFS) $(CFLAGS) -c $< -o $@ 58 ifeq ($(PRECHECK),y)59 $(JOBFILE) $(JOB) $< $@ cc core $(DEFS) $(CFLAGS)60 endif61 58 62 59 $(DEPEND): -
uspace/srv/bd/ata_bd/Makefile.common
r6ef2c11 r4da7d79 37 37 DEPEND = Makefile.depend 38 38 DEPEND_PREV = $(DEPEND).prev 39 JOB = ata_bd.job40 39 OUTPUT = ata_bd -
uspace/srv/bd/file_bd/Makefile
r6ef2c11 r4da7d79 34 34 all: $(LIBC_PREFIX)/../../../Makefile.config $(LIBC_PREFIX)/../../../config.h $(LIBC_PREFIX)/../../../config.defs $(LIBS) 35 35 -[ -f $(DEPEND) ] && mv -f $(DEPEND) $(DEPEND_PREV) 36 $(MAKE) -f Makefile.build PRECHECK=$(PRECHECK)36 $(MAKE) -f Makefile.build 37 37 38 38 clean: 39 rm -f $(DEPEND) $(DEPEND_PREV) $( JOB) $(OUTPUT) $(OUTPUT).map $(OUTPUT).disasm39 rm -f $(DEPEND) $(DEPEND_PREV) $(OUTPUT) $(OUTPUT).map $(OUTPUT).disasm 40 40 find . -name '*.o' -follow -exec rm \{\} \; -
uspace/srv/bd/file_bd/Makefile.build
r6ef2c11 r4da7d79 56 56 %.o: %.c $(DEPEND) 57 57 $(CC) $(DEFS) $(CFLAGS) -c $< -o $@ 58 ifeq ($(PRECHECK),y)59 $(JOBFILE) $(JOB) $< $@ cc core $(DEFS) $(CFLAGS)60 endif61 58 62 59 $(DEPEND): -
uspace/srv/bd/file_bd/Makefile.common
r6ef2c11 r4da7d79 37 37 DEPEND = Makefile.depend 38 38 DEPEND_PREV = $(DEPEND).prev 39 JOB = file_bd.job40 39 OUTPUT = file_bd -
uspace/srv/bd/gxe_bd/Makefile
r6ef2c11 r4da7d79 34 34 all: $(LIBC_PREFIX)/../../../Makefile.config $(LIBC_PREFIX)/../../../config.h $(LIBC_PREFIX)/../../../config.defs $(LIBS) 35 35 -[ -f $(DEPEND) ] && mv -f $(DEPEND) $(DEPEND_PREV) 36 $(MAKE) -f Makefile.build PRECHECK=$(PRECHECK)36 $(MAKE) -f Makefile.build 37 37 38 38 clean: 39 rm -f $(DEPEND) $(DEPEND_PREV) $( JOB) $(OUTPUT) $(OUTPUT).map $(OUTPUT).disasm39 rm -f $(DEPEND) $(DEPEND_PREV) $(OUTPUT) $(OUTPUT).map $(OUTPUT).disasm 40 40 find . -name '*.o' -follow -exec rm \{\} \; -
uspace/srv/bd/gxe_bd/Makefile.build
r6ef2c11 r4da7d79 56 56 %.o: %.c $(DEPEND) 57 57 $(CC) $(DEFS) $(CFLAGS) -c $< -o $@ 58 ifeq ($(PRECHECK),y)59 $(JOBFILE) $(JOB) $< $@ cc core $(DEFS) $(CFLAGS)60 endif61 58 62 59 $(DEPEND): -
uspace/srv/bd/gxe_bd/Makefile.common
r6ef2c11 r4da7d79 37 37 DEPEND = Makefile.depend 38 38 DEPEND_PREV = $(DEPEND).prev 39 JOB = gxe_bd.job40 39 OUTPUT = gxe_bd -
uspace/srv/bd/rd/Makefile
r6ef2c11 r4da7d79 34 34 all: $(LIBC_PREFIX)/../../../Makefile.config $(LIBC_PREFIX)/../../../config.h $(LIBC_PREFIX)/../../../config.defs $(LIBS) 35 35 -[ -f $(DEPEND) ] && mv -f $(DEPEND) $(DEPEND_PREV) 36 $(MAKE) -f Makefile.build PRECHECK=$(PRECHECK)36 $(MAKE) -f Makefile.build 37 37 38 38 clean: 39 rm -f $(DEPEND) $(DEPEND_PREV) $( JOB) $(OUTPUT) $(OUTPUT).map $(OUTPUT).disasm39 rm -f $(DEPEND) $(DEPEND_PREV) $(OUTPUT) $(OUTPUT).map $(OUTPUT).disasm 40 40 find . -name '*.o' -follow -exec rm \{\} \; -
uspace/srv/bd/rd/Makefile.build
r6ef2c11 r4da7d79 56 56 %.o: %.c $(DEPEND) 57 57 $(CC) $(DEFS) $(CFLAGS) -c $< -o $@ 58 ifeq ($(PRECHECK),y)59 $(JOBFILE) $(JOB) $< $@ cc core $(DEFS) $(CFLAGS)60 endif61 58 62 59 $(DEPEND): -
uspace/srv/bd/rd/Makefile.common
r6ef2c11 r4da7d79 37 37 DEPEND = Makefile.depend 38 38 DEPEND_PREV = $(DEPEND).prev 39 JOB = rd.job40 39 OUTPUT = rd -
uspace/srv/clip/Makefile
r6ef2c11 r4da7d79 33 33 all: $(LIBC_PREFIX)/../../../Makefile.config $(LIBC_PREFIX)/../../../config.h $(LIBC_PREFIX)/../../../config.defs $(LIBS) 34 34 -[ -f $(DEPEND) ] && mv -f $(DEPEND) $(DEPEND_PREV) 35 $(MAKE) -f Makefile.build PRECHECK=$(PRECHECK)35 $(MAKE) -f Makefile.build 36 36 37 37 clean: 38 rm -f $(DEPEND) $(DEPEND_PREV) $( JOB) $(OUTPUT) $(OUTPUT).map $(OUTPUT).disasm38 rm -f $(DEPEND) $(DEPEND_PREV) $(OUTPUT) $(OUTPUT).map $(OUTPUT).disasm 39 39 find . -name '*.o' -follow -exec rm \{\} \; -
uspace/srv/clip/Makefile.build
r6ef2c11 r4da7d79 57 57 %.o: %.c $(DEPEND) 58 58 $(CC) $(DEFS) $(CFLAGS) -c $< -o $@ 59 ifeq ($(PRECHECK),y)60 $(JOBFILE) $(JOB) $< $@ cc core $(DEFS) $(CFLAGS)61 endif62 59 63 60 $(DEPEND): -
uspace/srv/clip/Makefile.common
r6ef2c11 r4da7d79 37 37 DEPEND = Makefile.depend 38 38 DEPEND_PREV = $(DEPEND).prev 39 JOB = clip.job40 39 OUTPUT = clip -
uspace/srv/devmap/Makefile
r6ef2c11 r4da7d79 34 34 all: $(LIBC_PREFIX)/../../../Makefile.config $(LIBC_PREFIX)/../../../config.h $(LIBC_PREFIX)/../../../config.defs $(LIBS) 35 35 -[ -f $(DEPEND) ] && mv -f $(DEPEND) $(DEPEND_PREV) 36 $(MAKE) -f Makefile.build PRECHECK=$(PRECHECK)36 $(MAKE) -f Makefile.build 37 37 38 38 clean: 39 rm -f $(DEPEND) $(DEPEND_PREV) $( JOB) $(OUTPUT) $(OUTPUT).map $(OUTPUT).disasm39 rm -f $(DEPEND) $(DEPEND_PREV) $(OUTPUT) $(OUTPUT).map $(OUTPUT).disasm 40 40 find . -name '*.o' -follow -exec rm \{\} \; -
uspace/srv/devmap/Makefile.build
r6ef2c11 r4da7d79 56 56 %.o: %.c $(DEPEND) 57 57 $(CC) $(DEFS) $(CFLAGS) -c $< -o $@ 58 ifeq ($(PRECHECK),y)59 $(JOBFILE) $(JOB) $< $@ cc core $(DEFS) $(CFLAGS)60 endif61 58 62 59 $(DEPEND): -
uspace/srv/devmap/Makefile.common
r6ef2c11 r4da7d79 37 37 DEPEND = Makefile.depend 38 38 DEPEND_PREV = $(DEPEND).prev 39 JOB = devmap.job40 39 OUTPUT = devmap -
uspace/srv/fs/devfs/Makefile
r6ef2c11 r4da7d79 34 34 all: $(LIBC_PREFIX)/../../../Makefile.config $(LIBC_PREFIX)/../../../config.h $(LIBC_PREFIX)/../../../config.defs $(LIBS) 35 35 -[ -f $(DEPEND) ] && mv -f $(DEPEND) $(DEPEND_PREV) 36 $(MAKE) -f Makefile.build PRECHECK=$(PRECHECK)36 $(MAKE) -f Makefile.build 37 37 38 38 clean: 39 rm -f $(DEPEND) $(DEPEND_PREV) $( JOB) $(OUTPUT) $(OUTPUT).map $(OUTPUT).disasm39 rm -f $(DEPEND) $(DEPEND_PREV) $(OUTPUT) $(OUTPUT).map $(OUTPUT).disasm 40 40 find . -name '*.o' -follow -exec rm \{\} \; -
uspace/srv/fs/devfs/Makefile.build
r6ef2c11 r4da7d79 59 59 %.o: %.c $(DEPEND) 60 60 $(CC) $(DEFS) $(CFLAGS) -c $< -o $@ 61 ifeq ($(PRECHECK),y)62 $(JOBFILE) $(JOB) $< $@ cc core $(DEFS) $(CFLAGS)63 endif64 61 65 62 $(DEPEND): -
uspace/srv/fs/devfs/Makefile.common
r6ef2c11 r4da7d79 38 38 DEPEND = Makefile.depend 39 39 DEPEND_PREV = $(DEPEND).prev 40 JOB = devfs.job41 40 OUTPUT = devfs -
uspace/srv/fs/fat/Makefile
r6ef2c11 r4da7d79 34 34 all: $(LIBC_PREFIX)/../../../Makefile.config $(LIBC_PREFIX)/../../../config.h $(LIBC_PREFIX)/../../../config.defs $(LIBS) 35 35 -[ -f $(DEPEND) ] && mv -f $(DEPEND) $(DEPEND_PREV) 36 $(MAKE) -f Makefile.build PRECHECK=$(PRECHECK)36 $(MAKE) -f Makefile.build 37 37 38 38 clean: 39 rm -f $(DEPEND) $(DEPEND_PREV) $( JOB) $(OUTPUT) $(OUTPUT).map $(OUTPUT).disasm39 rm -f $(DEPEND) $(DEPEND_PREV) $(OUTPUT) $(OUTPUT).map $(OUTPUT).disasm 40 40 find . -name '*.o' -follow -exec rm \{\} \; -
uspace/srv/fs/fat/Makefile.build
r6ef2c11 r4da7d79 62 62 %.o: %.c $(DEPEND) 63 63 $(CC) $(DEFS) $(CFLAGS) -c $< -o $@ 64 ifeq ($(PRECHECK),y)65 $(JOBFILE) $(JOB) $< $@ cc core $(DEFS) $(CFLAGS)66 endif67 64 68 65 $(DEPEND): -
uspace/srv/fs/fat/Makefile.common
r6ef2c11 r4da7d79 39 39 DEPEND = Makefile.depend 40 40 DEPEND_PREV = $(DEPEND).prev 41 JOB = fat.job42 41 OUTPUT = fat -
uspace/srv/fs/tmpfs/Makefile
r6ef2c11 r4da7d79 34 34 all: $(LIBC_PREFIX)/../../../Makefile.config $(LIBC_PREFIX)/../../../config.h $(LIBC_PREFIX)/../../../config.defs $(LIBS) 35 35 -[ -f $(DEPEND) ] && mv -f $(DEPEND) $(DEPEND_PREV) 36 $(MAKE) -f Makefile.build PRECHECK=$(PRECHECK)36 $(MAKE) -f Makefile.build 37 37 38 38 clean: 39 rm -f $(DEPEND) $(DEPEND_PREV) $( JOB) $(OUTPUT) $(OUTPUT).map $(OUTPUT).disasm39 rm -f $(DEPEND) $(DEPEND_PREV) $(OUTPUT) $(OUTPUT).map $(OUTPUT).disasm 40 40 find . -name '*.o' -follow -exec rm \{\} \; -
uspace/srv/fs/tmpfs/Makefile.build
r6ef2c11 r4da7d79 60 60 %.o: %.c $(DEPEND) 61 61 $(CC) $(DEFS) $(CFLAGS) -c $< -o $@ 62 ifeq ($(PRECHECK),y)63 $(JOBFILE) $(JOB) $< $@ cc core $(DEFS) $(CFLAGS)64 endif65 62 66 63 $(DEPEND): -
uspace/srv/fs/tmpfs/Makefile.common
r6ef2c11 r4da7d79 39 39 DEPEND = Makefile.depend 40 40 DEPEND_PREV = $(DEPEND).prev 41 JOB = tmpfs.job42 41 OUTPUT = tmpfs -
uspace/srv/loader/Makefile
r6ef2c11 r4da7d79 34 34 all: $(LIBC_PREFIX)/../../../Makefile.config $(LIBC_PREFIX)/../../../config.h $(LIBC_PREFIX)/../../../config.defs $(LIBS) 35 35 -[ -f $(DEPEND) ] && mv -f $(DEPEND) $(DEPEND_PREV) 36 $(MAKE) -f Makefile.build PRECHECK=$(PRECHECK)36 $(MAKE) -f Makefile.build 37 37 38 38 clean: 39 rm -f $(DEPEND) $(DEPEND_PREV) $( JOB) $(OUTPUT) $(OUTPUT).map $(OUTPUT).disasm arch/*/_link.ld39 rm -f $(DEPEND) $(DEPEND_PREV) $(OUTPUT) $(OUTPUT).map $(OUTPUT).disasm arch/*/_link.ld 40 40 find . -name '*.o' -follow -exec rm \{\} \; -
uspace/srv/loader/Makefile.build
r6ef2c11 r4da7d79 66 66 %.o: %.c $(DEPEND) 67 67 $(CC) $(DEFS) $(CFLAGS) -c $< -o $@ 68 ifeq ($(PRECHECK),y)69 $(JOBFILE) $(JOB) $< $@ cc core $(DEFS) $(CFLAGS)70 endif71 68 72 69 %.o: %.s $(DEPEND) 73 70 $(AS) $(AFLAGS) $< -o $@ 74 ifeq ($(PRECHECK),y)75 $(JOBFILE) $(JOB) $< $@ as asm $(DEFS) $(CFLAGS)76 endif77 71 78 72 $(DEPEND): -
uspace/srv/loader/Makefile.common
r6ef2c11 r4da7d79 37 37 DEPEND = Makefile.depend 38 38 DEPEND_PREV = $(DEPEND).prev 39 JOB = loader.job40 39 OUTPUT = loader -
uspace/srv/ns/Makefile
r6ef2c11 r4da7d79 34 34 all: $(LIBC_PREFIX)/../../../Makefile.config $(LIBC_PREFIX)/../../../config.h $(LIBC_PREFIX)/../../../config.defs $(LIBS) 35 35 -[ -f $(DEPEND) ] && mv -f $(DEPEND) $(DEPEND_PREV) 36 $(MAKE) -f Makefile.build PRECHECK=$(PRECHECK)36 $(MAKE) -f Makefile.build 37 37 38 38 clean: 39 rm -f $(DEPEND) $(DEPEND_PREV) $( JOB) $(OUTPUT) $(OUTPUT).map $(OUTPUT).disasm39 rm -f $(DEPEND) $(DEPEND_PREV) $(OUTPUT) $(OUTPUT).map $(OUTPUT).disasm 40 40 find . -name '*.o' -follow -exec rm \{\} \; -
uspace/srv/ns/Makefile.build
r6ef2c11 r4da7d79 59 59 %.o: %.c $(DEPEND) 60 60 $(CC) $(DEFS) $(CFLAGS) -c $< -o $@ 61 ifeq ($(PRECHECK),y)62 $(JOBFILE) $(JOB) $< $@ cc core $(DEFS) $(CFLAGS)63 endif64 61 65 62 $(DEPEND): -
uspace/srv/ns/Makefile.common
r6ef2c11 r4da7d79 37 37 DEPEND = Makefile.depend 38 38 DEPEND_PREV = $(DEPEND).prev 39 JOB = ns.job40 39 OUTPUT = ns -
uspace/srv/vfs/Makefile
r6ef2c11 r4da7d79 34 34 all: $(LIBC_PREFIX)/../../../Makefile.config $(LIBC_PREFIX)/../../../config.h $(LIBC_PREFIX)/../../../config.defs $(LIBS) 35 35 -[ -f $(DEPEND) ] && mv -f $(DEPEND) $(DEPEND_PREV) 36 $(MAKE) -f Makefile.build PRECHECK=$(PRECHECK)36 $(MAKE) -f Makefile.build 37 37 38 38 clean: 39 rm -f $(DEPEND) $(DEPEND_PREV) $( JOB) $(OUTPUT) $(OUTPUT).map $(OUTPUT).disasm39 rm -f $(DEPEND) $(DEPEND_PREV) $(OUTPUT) $(OUTPUT).map $(OUTPUT).disasm 40 40 find . -name '*.o' -follow -exec rm \{\} \; -
uspace/srv/vfs/Makefile.build
r6ef2c11 r4da7d79 61 61 %.o: %.c $(DEPEND) 62 62 $(CC) $(DEFS) $(CFLAGS) -c $< -o $@ 63 ifeq ($(PRECHECK),y)64 $(JOBFILE) $(JOB) $< $@ cc core $(DEFS) $(CFLAGS)65 endif66 63 67 64 $(DEPEND): -
uspace/srv/vfs/Makefile.common
r6ef2c11 r4da7d79 37 37 DEPEND = Makefile.depend 38 38 DEPEND_PREV = $(DEPEND).prev 39 JOB = vfs.job40 39 OUTPUT = vfs
Note:
See TracChangeset
for help on using the changeset viewer.