Changes in / [6ef2c11:4da7d79] in mainline


Ignore:
Files:
123 added
137 deleted
137 edited

Legend:

Unmodified
Added
Removed
  • Makefile

    r6ef2c11 r4da7d79  
    3131
    3232CSCOPE = cscope
    33 CONFIG = tools/config.py
     33STANSE = stanse
    3434
    35 .PHONY: all config config_default distclean clean cscope precheck
     35.PHONY: all config config_default distclean clean cscope stanse
    3636
    3737all: 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
    4141
    42 precheck: clean
    43         $(MAKE) all PRECHECK=y
     42stanse: 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
    4446
    4547cscope:
     
    5355
    5456config_default: HelenOS.config
    55         $(CONFIG) HelenOS.config default
     57        tools/config.py HelenOS.config default
    5658
    5759config: HelenOS.config
    58         $(CONFIG) HelenOS.config
     60        tools/config.py HelenOS.config
    5961
    6062distclean: clean
  • boot/Makefile.common

    r6ef2c11 r4da7d79  
    4545
    4646RD_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 \
    4950        $(USPACEDIR)/srv/clip/clip \
    50         $(USPACEDIR)/srv/hid/fb/fb \
    51         $(USPACEDIR)/srv/hid/kbd/kbd \
    52         $(USPACEDIR)/srv/hid/console/console \
    5351        $(USPACEDIR)/srv/fs/devfs/devfs \
    5452        $(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
    5656
    5757RD_APPS = \
    58         $(USPACEDIR)/app/bdsh/bdsh \
    5958        $(USPACEDIR)/app/edit/edit \
    6059        $(USPACEDIR)/app/getterm/getterm \
     60        $(USPACEDIR)/app/redir/redir \
     61        $(USPACEDIR)/app/tetris/tetris \
     62        $(USPACEDIR)/app/tester/tester \
     63        $(USPACEDIR)/app/trace/trace \
    6164        $(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
    6666
    6767COMPONENTS = \
    6868        $(KERNELDIR)/kernel.bin \
    6969        $(USPACEDIR)/srv/ns/ns \
     70        $(USPACEDIR)/app/init/init \
    7071        $(USPACEDIR)/srv/loader/loader \
    71         $(USPACEDIR)/app/init/init \
    7272        $(USPACEDIR)/srv/devmap/devmap \
    7373        $(USPACEDIR)/srv/bd/rd/rd \
  • boot/arch/amd64/Makefile.inc

    r6ef2c11 r4da7d79  
    3030
    3131RD_SRVS += \
     32        $(USPACEDIR)/srv/pci/pci \
    3233        $(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
    3636
    3737MODULES := $(notdir $(COMPONENTS))
  • boot/arch/arm32/Makefile.inc

    r6ef2c11 r4da7d79  
    3030
    3131$(BASE)/image.boot:
    32         $(MAKE) -C arch/$(BARCH)/loader PRECHECK=$(PRECHECK)
     32        $(MAKE) -C arch/$(BARCH)/loader
    3333        cp arch/$(BARCH)/loader/image.boot $@
    3434
  • boot/arch/arm32/loader/Makefile

    r6ef2c11 r4da7d79  
    3434all: ../../../../version ../../../../Makefile.config ../../../../config.h ../../../../config.defs
    3535        -[ -f $(DEPEND) ] && mv -f $(DEPEND) $(DEPEND_PREV)
    36         $(MAKE) -f Makefile.build PRECHECK=$(PRECHECK)
     36        $(MAKE) -f Makefile.build
    3737
    3838clean:
     
    4343                rm -f $(USPACEDIR)/dist/app/`basename $$file` ; \
    4444        done
    45         rm -f $(DEPEND) $(DEPEND_PREV) $(JOB) $(OUTPUT) $(COMPS).h $(COMPS).c $(LINK) $(INITRD).img $(INITRD).fs
     45        rm -f $(DEPEND) $(DEPEND_PREV) $(OUTPUT) $(COMPS).h $(COMPS).c $(LINK) $(INITRD).img $(INITRD).fs
    4646        find . -name '*.o' -follow -exec rm \{\} \;
    4747        find . -name '*.co' -follow -exec rm \{\} \;
  • boot/arch/arm32/loader/Makefile.build

    r6ef2c11 r4da7d79  
    6565%.o: %.S $(DEPEND)
    6666        $(CC) $(DEFS) $(CFLAGS) -D__ASM__ -c $< -o $@
    67 ifeq ($(PRECHECK),y)
    68         $(JOBFILE) $(JOB) $< $@ as asm/preproc $(DEFS) $(CFLAGS) -D__ASM__
    69 endif
    7067
    7168%.o: %.c $(DEPEND)
    7269        $(CC) $(DEFS) $(CFLAGS) -c $< -o $@
    73 ifeq ($(PRECHECK),y)
    74         $(JOBFILE) $(JOB) $< $@ cc core $(DEFS) $(CFLAGS)
    75 endif
    7670
    7771$(DEPEND):
  • boot/arch/arm32/loader/Makefile.common

    r6ef2c11 r4da7d79  
    3535DEPEND = Makefile.depend
    3636DEPEND_PREV = $(DEPEND).prev
    37 JOB = image.job
    3837OUTPUT = image.boot
    3938
  • boot/arch/arm32/loader/Makefile.toolchain

    r6ef2c11 r4da7d79  
    3939TOOLCHAIN_DIR = $(CROSS_PREFIX)/arm32/bin
    4040
    41 JOBFILE = ../../../../tools/jobfile.py
    42 
    4341ifeq ($(COMPILER),gcc_native)
    4442        CC = gcc
  • boot/arch/ia64/Makefile.inc

    r6ef2c11 r4da7d79  
    3030
    3131$(BASE)/image.boot:
    32         $(MAKE) -C arch/$(BARCH)/loader PRECHECK=$(PRECHECK)
     32        $(MAKE) -C arch/$(BARCH)/loader
    3333        cp arch/$(BARCH)/loader/image.boot $@
    3434
  • boot/arch/ia64/loader/Makefile

    r6ef2c11 r4da7d79  
    3434all: ../../../../version ../../../../Makefile.config ../../../../config.h ../../../../config.defs
    3535        -[ -f $(DEPEND) ] && mv -f $(DEPEND) $(DEPEND_PREV)
    36         $(MAKE) -f Makefile.build PRECHECK=$(PRECHECK)
     36        $(MAKE) -f Makefile.build
    3737
    3838clean:
     
    4545                rm -f $(USPACEDIR)/dist/app/`basename $$file` ; \
    4646        done
    47         rm -f $(DEPEND) $(DEPEND_PREV) $(JOB) $(OUTPUT) $(HELLO) $(COMPS).h $(COMPS).c $(LINK) $(INITRD).img $(INITRD).fs
     47        rm -f $(DEPEND) $(DEPEND_PREV) $(OUTPUT) $(HELLO) $(COMPS).h $(COMPS).c $(LINK) $(INITRD).img $(INITRD).fs
    4848        find . -name '*.o' -follow -exec rm \{\} \;
    4949        find . -name '*.co' -follow -exec rm \{\} \;
  • boot/arch/ia64/loader/Makefile.build

    r6ef2c11 r4da7d79  
    6666%.o: %.S $(DEPEND)
    6767        $(CC) $(DEFS) $(CFLAGS) -D__ASM__ -c $< -o $@
    68 ifeq ($(PRECHECK),y)
    69         $(JOBFILE) $(JOB) $< $@ as asm/preproc $(DEFS) $(CFLAGS) -D__ASM__
    70 endif
    7168
    7269%.o: %.c $(DEPEND)
    7370        $(CC) $(DEFS) $(CFLAGS) -c $< -o $@
    74 ifeq ($(PRECHECK),y)
    75         $(JOBFILE) $(JOB) $< $@ cc core $(DEFS) $(CFLAGS)
    76 endif
    7771
    7872$(DEPEND):
  • boot/arch/ia64/loader/Makefile.common

    r6ef2c11 r4da7d79  
    3535DEPEND = Makefile.depend
    3636DEPEND_PREV = $(DEPEND).prev
    37 JOB = image.job
    3837OUTPUT = image.boot
    3938HELLO = hello.efi
  • boot/arch/ia64/loader/Makefile.toolchain

    r6ef2c11 r4da7d79  
    3939TOOLCHAIN_DIR = $(CROSS_PREFIX)/ia64/bin
    4040
    41 JOBFILE = ../../../../tools/jobfile.py
    42 
    4341ifeq ($(COMPILER),gcc_native)
    4442        CC = gcc
  • boot/arch/mips32/Makefile.inc

    r6ef2c11 r4da7d79  
    3030
    3131$(BASE)/image.boot:
    32         $(MAKE) -C arch/$(BARCH)/loader PRECHECK=$(PRECHECK)
     32        $(MAKE) -C arch/$(BARCH)/loader
    3333        cp arch/$(BARCH)/loader/image.boot $@
    3434
  • boot/arch/mips32/loader/Makefile

    r6ef2c11 r4da7d79  
    3434all: ../../../../version ../../../../Makefile.config ../../../../config.h ../../../../config.defs
    3535        -[ -f $(DEPEND) ] && mv -f $(DEPEND) $(DEPEND_PREV)
    36         $(MAKE) -f Makefile.build PRECHECK=$(PRECHECK)
     36        $(MAKE) -f Makefile.build
    3737
    3838clean:
     
    4343                rm -f $(USPACEDIR)/dist/app/`basename $$file` ; \
    4444        done
    45         rm -f $(DEPEND) $(DEPEND_PREV) $(JOB) $(OUTPUT) $(RAW) $(COMPS).h $(COMPS).c $(LINK) $(INITRD).img $(INITRD).fs
     45        rm -f $(DEPEND) $(DEPEND_PREV) $(OUTPUT) $(RAW) $(COMPS).h $(COMPS).c $(LINK) $(INITRD).img $(INITRD).fs
    4646        find . -name '*.o' -follow -exec rm \{\} \;
    4747        find . -name '*.co' -follow -exec rm \{\} \;
  • boot/arch/mips32/loader/Makefile.build

    r6ef2c11 r4da7d79  
    6666%.o: %.S $(DEPEND)
    6767        $(CC) $(DEFS) $(CFLAGS) -D__ASM__ -c $< -o $@
    68 ifeq ($(PRECHECK),y)
    69         $(JOBFILE) $(JOB) $< $@ as asm/preproc $(DEFS) $(CFLAGS) -D__ASM__
    70 endif
    7168
    7269%.o: %.c $(DEPEND)
    7370        $(CC) $(DEFS) $(CFLAGS) -c $< -o $@
    74 ifeq ($(PRECHECK),y)
    75         $(JOBFILE) $(JOB) $< $@ cc core $(DEFS) $(CFLAGS)
    76 endif
    7771
    7872$(DEPEND):
  • boot/arch/mips32/loader/Makefile.common

    r6ef2c11 r4da7d79  
    3636DEPEND_PREV = $(DEPEND).prev
    3737RAW = image.raw
    38 JOB = image.job
    3938OUTPUT = image.boot
    4039
  • boot/arch/mips32/loader/Makefile.toolchain

    r6ef2c11 r4da7d79  
    3737TARGET = mipsel-linux-gnu
    3838TOOLCHAIN_DIR = $(CROSS_PREFIX)/mips32/bin
    39 
    40 JOBFILE = ../../../../tools/jobfile.py
    4139
    4240ifeq ($(MACHINE),lgxemul)
  • boot/arch/ppc32/Makefile.inc

    r6ef2c11 r4da7d79  
    4242
    4343arch/$(BARCH)/loader/image.boot:
    44         $(MAKE) -C arch/$(BARCH)/loader PRECHECK=$(PRECHECK)
     44        $(MAKE) -C arch/$(BARCH)/loader
    4545
    4646clean: generic_clean
  • boot/arch/ppc32/loader/Makefile

    r6ef2c11 r4da7d79  
    3434all: ../../../../version ../../../../Makefile.config ../../../../config.h ../../../../config.defs
    3535        -[ -f $(DEPEND) ] && mv -f $(DEPEND) $(DEPEND_PREV)
    36         $(MAKE) -f Makefile.build PRECHECK=$(PRECHECK)
     36        $(MAKE) -f Makefile.build
    3737
    3838clean:
     
    4343                rm -f $(USPACEDIR)/dist/app/`basename $$file` ; \
    4444        done
    45         rm -f $(DEPEND) $(DEPEND_PREV) $(JOB) $(OUTPUT) $(COMPS).h $(COMPS).c $(LINK) $(INITRD).img $(INITRD).fs
     45        rm -f $(DEPEND) $(DEPEND_PREV) $(OUTPUT) $(COMPS).h $(COMPS).c $(LINK) $(INITRD).img $(INITRD).fs
    4646        find . -name '*.o' -follow -exec rm \{\} \;
    4747        find . -name '*.co' -follow -exec rm \{\} \;
  • boot/arch/ppc32/loader/Makefile.build

    r6ef2c11 r4da7d79  
    6666%.o: %.S $(DEPEND)
    6767        $(CC) $(DEFS) $(CFLAGS) -D__ASM__ -c $< -o $@
    68 ifeq ($(PRECHECK),y)
    69         $(JOBFILE) $(JOB) $< $@ as asm/preproc $(DEFS) $(CFLAGS) -D__ASM__
    70 endif
    7168
    7269%.o: %.c $(DEPEND)
    7370        $(CC) $(DEFS) $(CFLAGS) -c $< -o $@
    74 ifeq ($(PRECHECK),y)
    75         $(JOBFILE) $(JOB) $< $@ cc core $(DEFS) $(CFLAGS)
    76 endif
    7771
    7872$(DEPEND):
  • boot/arch/ppc32/loader/Makefile.common

    r6ef2c11 r4da7d79  
    3535DEPEND = Makefile.depend
    3636DEPEND_PREV = $(DEPEND).prev
    37 JOB = image.job
    3837OUTPUT = image.boot
    3938
  • boot/arch/ppc32/loader/Makefile.toolchain

    r6ef2c11 r4da7d79  
    3939TOOLCHAIN_DIR = $(CROSS_PREFIX)/ppc32/bin
    4040
    41 JOBFILE = ../../../../tools/jobfile.py
    42 
    4341ifeq ($(COMPILER),gcc_native)
    4442        CC = gcc
  • boot/arch/sparc64/Makefile.inc

    r6ef2c11 r4da7d79  
    5555
    5656arch/$(BARCH)/loader/image.boot:
    57         $(MAKE) -C arch/$(BARCH)/loader PRECHECK=$(PRECHECK)
     57        $(MAKE) -C arch/$(BARCH)/loader
    5858
    5959clean: generic_clean
  • boot/arch/sparc64/loader/Makefile

    r6ef2c11 r4da7d79  
    3434all: ../../../../version ../../../../Makefile.config ../../../../config.h ../../../../config.defs
    3535        -[ -f $(DEPEND) ] && mv -f $(DEPEND) $(DEPEND_PREV)
    36         $(MAKE) -f Makefile.build PRECHECK=$(PRECHECK)
     36        $(MAKE) -f Makefile.build
    3737
    3838clean:
     
    4343                rm -f $(USPACEDIR)/dist/app/`basename $$file` ; \
    4444        done
    45         rm -f $(DEPEND) $(DEPEND_PREV) $(JOB) $(OUTPUT) $(COMPS).h $(COMPS).c $(LINK) $(INITRD).img $(INITRD).fs
     45        rm -f $(DEPEND) $(DEPEND_PREV) $(OUTPUT) $(COMPS).h $(COMPS).c $(LINK) $(INITRD).img $(INITRD).fs
    4646        find . -name '*.o' -follow -exec rm \{\} \;
    4747        find . -name '*.co' -follow -exec rm \{\} \;
  • boot/arch/sparc64/loader/Makefile.build

    r6ef2c11 r4da7d79  
    7777%.o: %.S $(DEPEND)
    7878        $(CC) $(DEFS) $(CFLAGS) -D__ASM__ -c $< -o $@
    79 ifeq ($(PRECHECK),y)
    80         $(JOBFILE) $(JOB) $< $@ as asm/preproc $(DEFS) $(CFLAGS) -D__ASM__
    81 endif
    8279
    8380%.o: %.c $(DEPEND)
    8481        $(CC) $(DEFS) $(CFLAGS) -c $< -o $@
    85 ifeq ($(PRECHECK),y)
    86         $(JOBFILE) $(JOB) $< $@ cc core $(DEFS) $(CFLAGS)
    87 endif
    8882
    8983$(DEPEND):
  • boot/arch/sparc64/loader/Makefile.common

    r6ef2c11 r4da7d79  
    3535DEPEND = Makefile.depend
    3636DEPEND_PREV = $(DEPEND).prev
    37 JOB = image.job
    3837OUTPUT = image.boot
    3938
     
    4645RD_SRVS_GENERIC = \
    4746        $(USPACEDIR)/srv/fs/fat/fat \
    48         $(USPACEDIR)/srv/hw/cir/fhc/fhc \
    49         $(USPACEDIR)/srv/hw/cir/obio/obio
     47        $(USPACEDIR)/srv/cir/fhc/fhc \
     48        $(USPACEDIR)/srv/cir/obio/obio
    5049
    5150RD_APPS_GENERIC = \
  • boot/arch/sparc64/loader/Makefile.toolchain

    r6ef2c11 r4da7d79  
    3939TOOLCHAIN_DIR = $(CROSS_PREFIX)/sparc64/bin
    4040
    41 JOBFILE = ../../../../tools/jobfile.py
    42 
    4341ifeq ($(COMPILER),gcc_native)
    4442        CC = gcc
  • kernel/Makefile

    r6ef2c11 r4da7d79  
    3333all: ../version ../Makefile.config ../config.h ../config.defs
    3434        -[ -f $(DEPEND) ] && mv -f $(DEPEND) $(DEPEND_PREV)
    35         $(MAKE) -f Makefile.build PRECHECK=$(PRECHECK)
     35        $(MAKE) -f Makefile.build EXTRA_TOOL=$(EXTRA_TOOL)
    3636
    3737clean:
    3838        rm -f $(DEPEND) $(DEPEND_PREV) $(RAW) $(BIN) $(MAP) $(JOB) $(MAP_PREV) $(DISASM) $(DUMP) $(REAL_MAP).* $(ARCH_INCLUDE) $(GENARCH_INCLUDE) arch/*/_link.ld
    3939        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  
    375375%.o: %.S $(DEPEND)
    376376        $(GCC) $(DEFS) $(GCC_CFLAGS) -D__ASM__ -c $< -o $@
    377 ifeq ($(PRECHECK),y)
    378         $(JOBFILE) $(JOB) $< $@ as asm/preproc $(DEFS) $(GCC_CFLAGS) -D__ASM__
    379 endif
    380377
    381378%.o: %.s $(DEPEND)
    382379        $(AS) $(AFLAGS) $< -o $@
    383 ifeq ($(PRECHECK),y)
    384         $(JOBFILE) $(JOB) $< $@ as asm $(DEFS) $(CFLAGS) $(EXTRA_FLAGS)
    385 endif
    386380
    387381#
     
    391385test/fpu/%.o: test/fpu/%.c $(DEPEND)
    392386        $(CC) $(DEFS) $(CFLAGS) $(EXTRA_FLAGS) -c $< -o $@
    393 ifeq ($(PRECHECK),y)
    394         $(JOBFILE) $(JOB) $< $@ cc test $(DEFS) $(CFLAGS) $(EXTRA_FLAGS)
     387ifeq ($(EXTRA_TOOL),stanse)
     388        ../tools/jobfile.py $(JOB) $< $@ $(DEFS) $(CFLAGS) $(EXTRA_FLAGS)
    395389endif
    396390
     
    400394%.o: %.c $(DEPEND)
    401395        $(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)
     396ifeq ($(EXTRA_TOOL),stanse)
     397        ../tools/jobfile.py $(JOB) $< $@ $(DEFS) $(CFLAGS) $(EXTRA_FLAGS) $(FPU_NO_CFLAGS)
    404398endif
    405399
     
    411405        $(LD) -T $(LINK) $(LFLAGS) $(ARCH_OBJECTS) $(GENARCH_OBJECTS) $(GENERIC_OBJECTS) $(EXTRA_OBJECTS) $(EMPTY_MAP) -o $@ -Map $(MAP_PREV)
    412406        $(OBJDUMP) -t $(ARCH_OBJECTS) $(GENARCH_OBJECTS) $(GENERIC_OBJECTS) > $(DUMP)
    413         $(GENMAP) $(MAP_PREV) $(DUMP) $@
     407        tools/genmap.py $(MAP_PREV) $(DUMP) $@
    414408       
    415409        # Do it once again, this time to get correct even the symbols
     
    419413        $(LD) -T $(LINK) $(LFLAGS) $(ARCH_OBJECTS) $(GENARCH_OBJECTS) $(GENERIC_OBJECTS) $(EXTRA_OBJECTS) $(SIZEOK_MAP) -o $@ -Map $(MAP_PREV)
    420414        $(OBJDUMP) -t $(ARCH_OBJECTS) $(GENARCH_OBJECTS) $(GENERIC_OBJECTS) > $(DUMP)
    421         $(GENMAP) $(MAP_PREV) $(DUMP) $@
     415        tools/genmap.py $(MAP_PREV) $(DUMP) $@
    422416
    423417$(DEPEND): $(ARCH_INCLUDE) $(GENARCH_INCLUDE)
  • kernel/Makefile.common

    r6ef2c11 r4da7d79  
    4444ARCH_INCLUDE = generic/include/arch
    4545GENARCH_INCLUDE = generic/include/genarch
    46 
    47 GENMAP = tools/genmap.py
    48 JOBFILE = ../tools/jobfile.py
  • tools/jobfile.py

    r6ef2c11 r4da7d79  
    2828#
    2929"""
    30 Add a source/object file pair to a checker jobfile
     30Add a source/object file pair to a Stanse jobfile
    3131"""
    3232
     
    3737def usage(prname):
    3838        "Print usage syntax"
    39         print prname + " <JOBFILE> <SOURCE> <TARGET> <TOOL> <CATEGORY> [OPTIONS ...]"
     39        print prname + " <JOBFILE> <SOURCE> <OBJECT> [OPTIONS ...]"
    4040
    4141def main():
    42         if (len(sys.argv) < 6):
     42        if (len(sys.argv) < 4):
    4343                usage(sys.argv[0])
    4444                return
     
    4646        jobfname = sys.argv[1]
    4747        srcfname = sys.argv[2]
    48         tgtfname = sys.argv[3]
    49         toolname = sys.argv[4]
    50         category = sys.argv[5]
     48        objfname = sys.argv[3]
    5149        cwd = os.getcwd()
    52         options = " ".join(sys.argv[6:])
     50        options = " ".join(sys.argv[4:])
    5351       
    5452        jobfile = file(jobfname, "a")
    5553        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))
    5755        fcntl.lockf(jobfile, fcntl.LOCK_UN)
    5856        jobfile.close()
  • tools/xtui.py

    r6ef2c11 r4da7d79  
    213213                        sys.stdout.write("Selection[%s]: " % str(position + 1))
    214214                else:
    215                         if (cnt > 0):
    216                                 sys.stdout.write("Selection[1]: ")
    217                         else:
    218                                 sys.stdout.write("Selection[0]: ")
     215                        sys.stdout.write("Selection: ")
    219216                inp = sys.stdin.readline()
    220217               
     
    225222                        if (position != None):
    226223                                return (None, position)
    227                         else:
    228                                 if (cnt > 0):
    229                                         inp = '1'
    230                                 else:
    231                                         inp = '0'
     224                        continue
    232225               
    233226                if (inp.strip() == 'q'):
  • uspace/Makefile

    r6ef2c11 r4da7d79  
    3333
    3434DIRS = \
    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 \
    4935        srv/bd/ata_bd \
    5036        srv/bd/file_bd \
    5137        srv/bd/gxe_bd \
    5238        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 \
    5445        srv/fs/fat \
    5546        srv/fs/tmpfs \
    5647        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
    6262
    6363ifeq ($(UARCH),amd64)
    64         DIRS += srv/hw/bus/pci
     64        DIRS += srv/pci
    6565endif
    6666
    6767ifeq ($(UARCH),ia32)
    68         DIRS += srv/hw/bus/pci
     68        DIRS += srv/pci
    6969endif
    7070
    7171ifeq ($(UARCH),sparc64)
    7272        DIRS += \
    73                 srv/hw/cir/fhc \
    74                 srv/hw/cir/obio
     73                srv/cir/fhc \
     74                srv/cir/obio
    7575endif
    7676
     
    9898
    9999$(BUILDS): $(LIBC_BUILD) $(LIBS_BUILD)
    100         $(MAKE) -C $(basename $@) all PRECHECK=$(PRECHECK)
     100        $(MAKE) -C $(basename $@) all
    101101
    102102$(LIBS_BUILD): $(LIBC_BUILD)
    103         $(MAKE) -C $(basename $@) all PRECHECK=$(PRECHECK)
     103        $(MAKE) -C $(basename $@) all
    104104
    105105$(LIBC_BUILD):
    106         $(MAKE) -C $(basename $@) all PRECHECK=$(PRECHECK)
     106        $(MAKE) -C $(basename $@) all
  • uspace/app/bdsh/Makefile

    r6ef2c11 r4da7d79  
    3434all: $(LIBC_PREFIX)/../../../Makefile.config $(LIBC_PREFIX)/../../../config.h $(LIBC_PREFIX)/../../../config.defs $(LIBS)
    3535        -[ -f $(DEPEND) ] && mv -f $(DEPEND) $(DEPEND_PREV)
    36         $(MAKE) -f Makefile.build PRECHECK=$(PRECHECK)
     36        $(MAKE) -f Makefile.build
    3737
    3838clean:
    39         rm -f $(DEPEND) $(DEPEND_PREV) $(JOB) $(OUTPUT) $(OUTPUT).map $(OUTPUT).disasm
     39        rm -f $(DEPEND) $(DEPEND_PREV) $(OUTPUT) $(OUTPUT).map $(OUTPUT).disasm
    4040        find . -name '*.o' -follow -exec rm \{\} \;
  • uspace/app/bdsh/Makefile.build

    r6ef2c11 r4da7d79  
    7979%.o: %.c $(DEPEND)
    8080        $(CC) $(DEFS) $(CFLAGS) -c $< -o $@
    81 ifeq ($(PRECHECK),y)
    82         $(JOBFILE) $(JOB) $< $@ cc core $(DEFS) $(CFLAGS)
    83 endif
    8481
    8582$(DEPEND):
  • uspace/app/bdsh/Makefile.common

    r6ef2c11 r4da7d79  
    3838DEPEND = Makefile.depend
    3939DEPEND_PREV = $(DEPEND).prev
    40 JOB = bdsh.job
    4140OUTPUT = bdsh
  • uspace/app/edit/Makefile

    r6ef2c11 r4da7d79  
    3434all: $(LIBC_PREFIX)/../../../Makefile.config $(LIBC_PREFIX)/../../../config.h $(LIBC_PREFIX)/../../../config.defs $(LIBS)
    3535        -[ -f $(DEPEND) ] && mv -f $(DEPEND) $(DEPEND_PREV)
    36         $(MAKE) -f Makefile.build PRECHECK=$(PRECHECK)
     36        $(MAKE) -f Makefile.build
    3737
    3838clean:
    39         rm -f $(DEPEND) $(DEPEND_PREV) $(JOB) $(OUTPUT) $(OUTPUT).map $(OUTPUT).disasm
     39        rm -f $(DEPEND) $(DEPEND_PREV) $(OUTPUT) $(OUTPUT).map $(OUTPUT).disasm
    4040        find . -name '*.o' -follow -exec rm \{\} \;
  • uspace/app/edit/Makefile.build

    r6ef2c11 r4da7d79  
    5757%.o: %.c $(DEPEND)
    5858        $(CC) $(DEFS) $(CFLAGS) -c $< -o $@
    59 ifeq ($(PRECHECK),y)
    60         $(JOBFILE) $(JOB) $< $@ cc core $(DEFS) $(CFLAGS)
    61 endif
    6259
    6360$(DEPEND):
  • uspace/app/edit/Makefile.common

    r6ef2c11 r4da7d79  
    3737DEPEND = Makefile.depend
    3838DEPEND_PREV = $(DEPEND).prev
    39 JOB = edit.job
    4039OUTPUT = edit
  • uspace/app/getterm/Makefile

    r6ef2c11 r4da7d79  
    3434all: $(LIBC_PREFIX)/../../../version $(LIBC_PREFIX)/../../../Makefile.config $(LIBC_PREFIX)/../../../config.h $(LIBC_PREFIX)/../../../config.defs $(LIBS)
    3535        -[ -f $(DEPEND) ] && mv -f $(DEPEND) $(DEPEND_PREV)
    36         $(MAKE) -f Makefile.build PRECHECK=$(PRECHECK)
     36        $(MAKE) -f Makefile.build
    3737
    3838clean:
    39         rm -f $(DEPEND) $(DEPEND_PREV) $(JOB) $(OUTPUT) $(OUTPUT).map $(OUTPUT).disasm
     39        rm -f $(DEPEND) $(DEPEND_PREV) $(OUTPUT) $(OUTPUT).map $(OUTPUT).disasm
    4040        find . -name '*.o' -follow -exec rm \{\} \;
  • uspace/app/getterm/Makefile.build

    r6ef2c11 r4da7d79  
    6060%.o: %.c $(DEPEND)
    6161        $(CC) $(DEFS) $(CFLAGS) -c $< -o $@
    62 ifeq ($(PRECHECK),y)
    63         $(JOBFILE) $(JOB) $< $@ cc core $(DEFS) $(CFLAGS)
    64 endif
    6562
    6663$(DEPEND):
  • uspace/app/getterm/Makefile.common

    r6ef2c11 r4da7d79  
    3737DEPEND = Makefile.depend
    3838DEPEND_PREV = $(DEPEND).prev
    39 JOB = getterm.job
    4039OUTPUT = getterm
  • uspace/app/init/Makefile

    r6ef2c11 r4da7d79  
    3434all: $(LIBC_PREFIX)/../../../Makefile.config $(LIBC_PREFIX)/../../../config.h $(LIBC_PREFIX)/../../../config.defs $(LIBS)
    3535        -[ -f $(DEPEND) ] && mv -f $(DEPEND) $(DEPEND_PREV)
    36         $(MAKE) -f Makefile.build PRECHECK=$(PRECHECK)
     36        $(MAKE) -f Makefile.build
    3737
    3838clean:
    39         rm -f $(DEPEND) $(DEPEND_PREV) $(JOB) $(OUTPUT) $(OUTPUT).map $(OUTPUT).disasm
     39        rm -f $(DEPEND) $(DEPEND_PREV) $(OUTPUT) $(OUTPUT).map $(OUTPUT).disasm
    4040        find . -name '*.o' -follow -exec rm \{\} \;
  • uspace/app/init/Makefile.build

    r6ef2c11 r4da7d79  
    5656%.o: %.c $(DEPEND)
    5757        $(CC) $(DEFS) $(CFLAGS) -c $< -o $@
    58 ifeq ($(PRECHECK),y)
    59         $(JOBFILE) $(JOB) $< $@ cc core $(DEFS) $(CFLAGS)
    60 endif
    6158
    6259$(DEPEND):
  • uspace/app/init/Makefile.common

    r6ef2c11 r4da7d79  
    3737DEPEND = Makefile.depend
    3838DEPEND_PREV = $(DEPEND).prev
    39 JOB = init.job
    4039OUTPUT = init
  • uspace/app/klog/Makefile

    r6ef2c11 r4da7d79  
    3434all: $(LIBC_PREFIX)/../../../Makefile.config $(LIBC_PREFIX)/../../../config.h $(LIBC_PREFIX)/../../../config.defs $(LIBS)
    3535        -[ -f $(DEPEND) ] && mv -f $(DEPEND) $(DEPEND_PREV)
    36         $(MAKE) -f Makefile.build PRECHECK=$(PRECHECK)
     36        $(MAKE) -f Makefile.build
    3737
    3838clean:
    39         rm -f $(DEPEND) $(DEPEND_PREV) $(JOB) $(OUTPUT) $(OUTPUT).map $(OUTPUT).disasm
     39        rm -f $(DEPEND) $(DEPEND_PREV) $(OUTPUT) $(OUTPUT).map $(OUTPUT).disasm
    4040        find . -name '*.o' -follow -exec rm \{\} \;
  • uspace/app/klog/Makefile.build

    r6ef2c11 r4da7d79  
    5656%.o: %.c $(DEPEND)
    5757        $(CC) $(DEFS) $(CFLAGS) -c $< -o $@
    58 ifeq ($(PRECHECK),y)
    59         $(JOBFILE) $(JOB) $< $@ cc core $(DEFS) $(CFLAGS)
    60 endif
    6158
    6259$(DEPEND):
  • uspace/app/klog/Makefile.common

    r6ef2c11 r4da7d79  
    3737DEPEND = Makefile.depend
    3838DEPEND_PREV = $(DEPEND).prev
    39 JOB = klog.job
    4039OUTPUT = klog
  • uspace/app/redir/Makefile

    r6ef2c11 r4da7d79  
    3434all: $(LIBC_PREFIX)/../../../version $(LIBC_PREFIX)/../../../Makefile.config $(LIBC_PREFIX)/../../../config.h $(LIBC_PREFIX)/../../../config.defs $(LIBS)
    3535        -[ -f $(DEPEND) ] && mv -f $(DEPEND) $(DEPEND_PREV)
    36         $(MAKE) -f Makefile.build PRECHECK=$(PRECHECK)
     36        $(MAKE) -f Makefile.build
    3737
    3838clean:
    39         rm -f $(DEPEND) $(DEPEND_PREV) $(JOB) $(OUTPUT) $(OUTPUT).map $(OUTPUT).disasm
     39        rm -f $(DEPEND) $(DEPEND_PREV) $(OUTPUT) $(OUTPUT).map $(OUTPUT).disasm
    4040        find . -name '*.o' -follow -exec rm \{\} \;
  • uspace/app/redir/Makefile.build

    r6ef2c11 r4da7d79  
    5656%.o: %.c $(DEPEND)
    5757        $(CC) $(DEFS) $(CFLAGS) -c $< -o $@
    58 ifeq ($(PRECHECK),y)
    59         $(JOBFILE) $(JOB) $< $@ cc core $(DEFS) $(CFLAGS)
    60 endif
    6158
    6259$(DEPEND):
  • uspace/app/redir/Makefile.common

    r6ef2c11 r4da7d79  
    3737DEPEND = Makefile.depend
    3838DEPEND_PREV = $(DEPEND).prev
    39 JOB = redir.job
    4039OUTPUT = redir
  • uspace/app/tester/Makefile

    r6ef2c11 r4da7d79  
    3434all: $(LIBC_PREFIX)/../../../Makefile.config $(LIBC_PREFIX)/../../../config.h $(LIBC_PREFIX)/../../../config.defs $(LIBS)
    3535        -[ -f $(DEPEND) ] && mv -f $(DEPEND) $(DEPEND_PREV)
    36         $(MAKE) -f Makefile.build PRECHECK=$(PRECHECK)
     36        $(MAKE) -f Makefile.build
    3737
    3838clean:
    39         rm -f $(DEPEND) $(DEPEND_PREV) $(JOB) $(OUTPUT) $(OUTPUT).map $(OUTPUT).disasm
     39        rm -f $(DEPEND) $(DEPEND_PREV) $(OUTPUT) $(OUTPUT).map $(OUTPUT).disasm
    4040        find . -name '*.o' -follow -exec rm \{\} \;
  • uspace/app/tester/Makefile.build

    r6ef2c11 r4da7d79  
    4949        fault/fault1.c \
    5050        fault/fault2.c \
    51         fault/fault3.c \
    5251        vfs/vfs1.c \
    5352        ipc/ping_pong.c \
     
    7372%.o: %.c $(DEPEND)
    7473        $(CC) $(DEFS) $(CFLAGS) -c $< -o $@
    75 ifeq ($(PRECHECK),y)
    76         $(JOBFILE) $(JOB) $< $@ cc core $(DEFS) $(CFLAGS)
    77 endif
    7874
    7975$(DEPEND):
  • uspace/app/tester/Makefile.common

    r6ef2c11 r4da7d79  
    3737DEPEND = Makefile.depend
    3838DEPEND_PREV = $(DEPEND).prev
    39 JOB = tester.job
    4039OUTPUT = tester
  • uspace/app/tester/tester.c

    r6ef2c11 r4da7d79  
    5656#include "fault/fault1.def"
    5757#include "fault/fault2.def"
    58 #include "fault/fault3.def"
    5958#include "vfs/vfs1.def"
    6059#include "ipc/ping_pong.def"
  • uspace/app/tester/tester.h

    r6ef2c11 r4da7d79  
    7373extern char *test_fault1(void);
    7474extern char *test_fault2(void);
    75 extern char *test_fault3(void);
    7675extern char *test_vfs1(void);
    7776extern char *test_ping_pong(void);
  • uspace/app/tetris/Makefile

    r6ef2c11 r4da7d79  
    3434all: $(LIBC_PREFIX)/../../../Makefile.config $(LIBC_PREFIX)/../../../config.h $(LIBC_PREFIX)/../../../config.defs $(LIBS)
    3535        -[ -f $(DEPEND) ] && mv -f $(DEPEND) $(DEPEND_PREV)
    36         $(MAKE) -f Makefile.build PRECHECK=$(PRECHECK)
     36        $(MAKE) -f Makefile.build
    3737
    3838clean:
    39         rm -f $(DEPEND) $(DEPEND_PREV) $(JOB) $(OUTPUT) $(OUTPUT).map $(OUTPUT).disasm
     39        rm -f $(DEPEND) $(DEPEND_PREV) $(OUTPUT) $(OUTPUT).map $(OUTPUT).disasm
    4040        find . -name '*.o' -follow -exec rm \{\} \;
  • uspace/app/tetris/Makefile.build

    r6ef2c11 r4da7d79  
    6060%.o: %.c $(DEPEND)
    6161        $(CC) $(DEFS) $(CFLAGS) -c $< -o $@
    62 ifeq ($(PRECHECK),y)
    63         $(JOBFILE) $(JOB) $< $@ cc core $(DEFS) $(CFLAGS)
    64 endif
    6562
    6663$(DEPEND):
  • uspace/app/tetris/Makefile.common

    r6ef2c11 r4da7d79  
    3737DEPEND = Makefile.depend
    3838DEPEND_PREV = $(DEPEND).prev
    39 JOB = tetris.job
    4039OUTPUT = tetris
  • uspace/app/trace/Makefile

    r6ef2c11 r4da7d79  
    3434all: $(LIBC_PREFIX)/../../../Makefile.config $(LIBC_PREFIX)/../../../config.h $(LIBC_PREFIX)/../../../config.defs $(LIBS)
    3535        -[ -f $(DEPEND) ] && mv -f $(DEPEND) $(DEPEND_PREV)
    36         $(MAKE) -f Makefile.build PRECHECK=$(PRECHECK)
     36        $(MAKE) -f Makefile.build
    3737
    3838clean:
    39         rm -f $(DEPEND) $(DEPEND_PREV) $(JOB) $(OUTPUT) $(OUTPUT).map $(OUTPUT).disasm
     39        rm -f $(DEPEND) $(DEPEND_PREV) $(OUTPUT) $(OUTPUT).map $(OUTPUT).disasm
    4040        find . -name '*.o' -follow -exec rm \{\} \;
  • uspace/app/trace/Makefile.build

    r6ef2c11 r4da7d79  
    6161%.o: %.c $(DEPEND)
    6262        $(CC) $(DEFS) $(CFLAGS) -c $< -o $@
    63 ifeq ($(PRECHECK),y)
    64         $(JOBFILE) $(JOB) $< $@ cc core $(DEFS) $(CFLAGS)
    65 endif
    6663
    6764$(DEPEND):
  • uspace/app/trace/Makefile.common

    r6ef2c11 r4da7d79  
    3737DEPEND = Makefile.depend
    3838DEPEND_PREV = $(DEPEND).prev
    39 JOB = trace.job
    4039OUTPUT = trace
  • uspace/lib/libblock/Makefile

    r6ef2c11 r4da7d79  
    3434all: $(LIBC_PREFIX)/../../../Makefile.config $(LIBC_PREFIX)/../../../config.h $(LIBC_PREFIX)/../../../config.defs $(LIBC_PREFIX)/libc.a
    3535        -[ -f $(DEPEND) ] && mv -f $(DEPEND) $(DEPEND_PREV)
    36         $(MAKE) -f Makefile.build PRECHECK=$(PRECHECK)
     36        $(MAKE) -f Makefile.build
    3737
    3838clean:
    39         rm -f $(DEPEND) $(DEPEND_PREV) $(JOB) $(LIBBLOCK)
     39        rm -f $(DEPEND) $(DEPEND_PREV) $(LIBBLOCK)
    4040        find . -name '*.o' -follow -exec rm \{\} \;
  • uspace/lib/libblock/Makefile.build

    r6ef2c11 r4da7d79  
    5353%.o: %.c $(DEPEND)
    5454        $(CC) $(DEFS) $(CFLAGS) -c $< -o $@
    55 ifeq ($(PRECHECK),y)
    56         $(JOBFILE) $(JOB) $< $@ cc core $(DEFS) $(CFLAGS)
    57 endif
    5855
    5956$(DEPEND):
  • uspace/lib/libblock/Makefile.common

    r6ef2c11 r4da7d79  
    3434DEPEND = Makefile.depend
    3535DEPEND_PREV = $(DEPEND).prev
    36 JOB = libblock.job
    3736LIBBLOCK = libblock.a
  • uspace/lib/libc/Makefile

    r6ef2c11 r4da7d79  
    3333all: ../../../Makefile.config ../../../config.h ../../../config.defs
    3434        -[ -f $(DEPEND) ] && mv -f $(DEPEND) $(DEPEND_PREV)
    35         $(MAKE) -f Makefile.build PRECHECK=$(PRECHECK)
     35        $(MAKE) -f Makefile.build
    3636
    3737clean:
    38         rm -f $(DEPEND) $(DEPEND_PREV) $(JOB) $(INCLUDE_KERNEL) $(INCLUDE_ARCH) $(INCLUDE_LIBARCH) $(LIBC) arch/*/_link.ld
     38        rm -f $(DEPEND) $(DEPEND_PREV) $(INCLUDE_KERNEL) $(INCLUDE_ARCH) $(INCLUDE_LIBARCH) $(LIBC) arch/*/_link.ld
    3939        find generic/ arch/*/ -name '*.o' -follow -exec rm \{\} \;
  • uspace/lib/libc/Makefile.build

    r6ef2c11 r4da7d79  
    8787        generic/udebug.c \
    8888        generic/vfs/vfs.c \
    89         generic/vfs/canonify.c \
    90         generic/stacktrace.c
     89        generic/vfs/canonify.c
    9190
    9291ARCH_SOURCES += \
     
    112111%.o: %.S $(DEPEND)
    113112        $(CC) $(DEFS) $(AFLAGS) $(CFLAGS) -D__ASM__ -c $< -o $@
    114 ifeq ($(PRECHECK),y)
    115         $(JOBFILE) $(JOB) $< $@ as asm/preproc $(DEFS) $(AFLAGS) $(CFLAGS) -D__ASM__
    116 endif
    117113
    118114%.o: %.s $(DEPEND)
    119115        $(AS) $(AFLAGS) $< -o $@
    120 ifeq ($(PRECHECK),y)
    121         $(JOBFILE) $(JOB) $< $@ as asm $(AFLAGS)
    122 endif
    123116
    124117%.o: %.c $(DEPEND)
    125118        $(CC) $(DEFS) $(CFLAGS) -c $< -o $@
    126 ifeq ($(PRECHECK),y)
    127         $(JOBFILE) $(JOB) $< $@ cc core $(DEFS) $(CFLAGS)
    128 endif
    129119
    130120$(DEPEND): $(INCLUDE_KERNEL) $(INCLUDE_ARCH) $(INCLUDE_LIBARCH)
  • uspace/lib/libc/Makefile.common

    r6ef2c11 r4da7d79  
    3333DEPEND = Makefile.depend
    3434DEPEND_PREV = $(DEPEND).prev
    35 JOB = libc.job
    3635LIBC = libc.a
    3736INCLUDE_KERNEL = include/kernel
  • uspace/lib/libc/Makefile.toolchain

    r6ef2c11 r4da7d79  
    7878#
    7979
    80 JOBFILE = $(LIBC_PREFIX)/../../../tools/jobfile.py
    81 
    8280ifeq ($(COMPILER),gcc_cross)
    8381        CC = $(TOOLCHAIN_DIR)/$(TARGET)-gcc
  • uspace/lib/libc/arch/amd64/Makefile.inc

    r6ef2c11 r4da7d79  
    3636ARCH_SOURCES += arch/$(UARCH)/src/syscall.S \
    3737        arch/$(UARCH)/src/fibril.S \
    38         arch/$(UARCH)/src/tls.c \
    39         arch/$(UARCH)/src/stacktrace.S
     38        arch/$(UARCH)/src/tls.c
    4039
    41 GCC_CFLAGS += -fno-omit-frame-pointer
    4240LFLAGS += -N
    4341
  • uspace/lib/libc/arch/amd64/include/fibril.h

    r6ef2c11 r4da7d79  
    4444#define SP_DELTA     16
    4545
    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 
    5446/* We include only registers that must be preserved
    5547 * during function call
  • uspace/lib/libc/arch/amd64/src/entry.s

    r6ef2c11 r4da7d79  
    3838#
    3939__entry:
    40         #
    41         # Create the first stack frame.
    42         #
    43         pushq $0
    44         mov %rsp, %rbp
    45        
    4640        # %rdi was deliberately chosen as the first argument is also in %rdi
    4741        # Pass PCB pointer to __main (no operation)
  • uspace/lib/libc/arch/amd64/src/thread_entry.s

    r6ef2c11 r4da7d79  
    3636__thread_entry:
    3737        #
    38         # Create the first stack frame.
    39         #
    40         pushq $0
    41         movq %rsp, %rbp
    42 
    43         #
    4438        # RAX contains address of uarg
    4539        #
  • uspace/lib/libc/arch/arm32/Makefile.inc

    r6ef2c11 r4da7d79  
    3737        arch/$(UARCH)/src/fibril.S \
    3838        arch/$(UARCH)/src/tls.c \
    39         arch/$(UARCH)/src/eabi.S \
    40         arch/$(UARCH)/src/stacktrace.S
     39        arch/$(UARCH)/src/eabi.S
    4140
    42 GCC_CFLAGS += -ffixed-r9 -mtp=soft -mapcs-frame -fno-omit-frame-pointer
     41GCC_CFLAGS += -ffixed-r9 -mtp=soft
    4342LFLAGS += -N $(SOFTINT_PREFIX)/libsoftint.a
    4443
  • uspace/lib/libc/arch/arm32/include/fibril.h

    r6ef2c11 r4da7d79  
    5858 *  @param ptls  Pointer to the TCB.
    5959 */
    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
    6765
    6866/** Fibril context.
     
    8179        uint32_t r7;
    8280        uint32_t r8;
    83         uint32_t tls;   /* r9 */
     81        uint32_t tls;
    8482        uint32_t r10;
    85         uint32_t fp;    /* r11 */
     83        uint32_t r11;
    8684} context_t;
    8785
  • uspace/lib/libc/arch/arm32/src/entry.s

    r6ef2c11 r4da7d79  
    4343        str r2, [r0]
    4444
    45         #
    46         # Create the first stack frame.
    47         #
    48         mov fp, #0
    49         mov ip, sp
    50         push {fp, ip, lr, pc}
    51         sub fp, ip, #4
    52 
    5345        # Pass pcb_ptr to __main as the first argument (in r0)
    5446        mov r0, r1
  • uspace/lib/libc/arch/arm32/src/thread_entry.s

    r6ef2c11 r4da7d79  
    3535#
    3636__thread_entry:
    37         #
    38         # Create the first stack frame.
    39         #
    40         mov fp, #0
    41         mov ip, sp
    42         push {fp, ip, lr, pc}
    43         sub fp, ip, #4
    44 
    4537        b __thread_main
  • uspace/lib/libc/arch/ia32/Makefile.inc

    r6ef2c11 r4da7d79  
    3737        arch/$(UARCH)/src/fibril.S \
    3838        arch/$(UARCH)/src/tls.c \
    39         arch/$(UARCH)/src/setjmp.S \
    40         arch/$(UARCH)/src/stacktrace.S
     39        arch/$(UARCH)/src/setjmp.S
    4140
    4241GCC_CFLAGS += -march=pentium
  • uspace/lib/libc/arch/ia32/include/fibril.h

    r6ef2c11 r4da7d79  
    4444#define SP_DELTA     (12)
    4545
    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        
    5446/* We include only registers that must be preserved
    5547 * during function call
  • uspace/lib/libc/arch/ia32/src/entry.s

    r6ef2c11 r4da7d79  
    5555        movl $__syscall_fast, (%eax)
    56560:
    57         #
    58         # Create the first stack frame.
    59         #
    60         pushl $0
    61         movl %esp, %ebp
    6257
    6358        # Pass the PCB pointer to __main as the first argument
  • uspace/lib/libc/arch/ia32/src/thread_entry.s

    r6ef2c11 r4da7d79  
    4242
    4343        #
    44         # Create the first stack frame.
    45         #
    46         pushl $0
    47         mov %esp, %ebp
    48 
    49         #
    5044        # EAX contains address of uarg.
    5145        #
  • uspace/lib/libc/arch/ia64/Makefile.inc

    r6ef2c11 r4da7d79  
    3636        arch/$(UARCH)/src/fibril.S \
    3737        arch/$(UARCH)/src/tls.c \
    38         arch/$(UARCH)/src/ddi.c \
    39         arch/$(UARCH)/src/stacktrace.S
     38        arch/$(UARCH)/src/ddi.c
    4039
    4140GCC_CFLAGS += -fno-unwind-tables
  • uspace/lib/libc/arch/mips32/Makefile.inc

    r6ef2c11 r4da7d79  
    3535ARCH_SOURCES += arch/$(UARCH)/src/syscall.c \
    3636        arch/$(UARCH)/src/fibril.S \
    37         arch/$(UARCH)/src/tls.c \
    38         arch/$(UARCH)/src/stacktrace.S
     37        arch/$(UARCH)/src/tls.c
    3938
    4039GCC_CFLAGS += -mips3
  • uspace/lib/libc/arch/ppc32/Makefile.inc

    r6ef2c11 r4da7d79  
    3535ARCH_SOURCES += arch/$(UARCH)/src/syscall.c \
    3636        arch/$(UARCH)/src/fibril.S \
    37         arch/$(UARCH)/src/tls.c \
    38         arch/$(UARCH)/src/stacktrace.S
     37        arch/$(UARCH)/src/tls.c
    3938
    4039GCC_CFLAGS += -mcpu=powerpc -msoft-float -m32
  • uspace/lib/libc/arch/ppc32/src/entry.s

    r6ef2c11 r4da7d79  
    3838#
    3939__entry:
    40         #
    41         # Create the first stack frame.
    42         #
    43         li %r3, 0
    44         stw %r3, 0(%r1)
    45         stwu %r1, -16(%r1)
    46 
    4740        # Pass the PCB pointer to __main() as the first argument.
    4841        # The first argument is passed in r3.
  • uspace/lib/libc/arch/ppc32/src/thread_entry.s

    r6ef2c11 r4da7d79  
    3535#
    3636__thread_entry:
    37         #
    38         # Create the first stack frame.
    39         #
    40         li %r4, 0
    41         stw %r4, 0(%r1)
    42         stwu %r1, -16(%r1)
    43 
    4437        b __thread_main
    4538
  • uspace/lib/libc/arch/sparc64/Makefile.inc

    r6ef2c11 r4da7d79  
    3434
    3535ARCH_SOURCES += arch/$(UARCH)/src/fibril.S \
    36         arch/$(UARCH)/src/tls.c \
    37         arch/$(UARCH)/src/stacktrace.S
     36        arch/$(UARCH)/src/tls.c
    3837
    3938GCC_CFLAGS += -mcpu=ultrasparc -m64
  • uspace/lib/libc/arch/sparc64/include/fibril.h

    r6ef2c11 r4da7d79  
    4646#endif
    4747
    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
    5654       
    5755/*
  • uspace/lib/libc/arch/sparc64/src/entry.s

    r6ef2c11 r4da7d79  
    3939#
    4040__entry:
    41         #
    42         # Create the first stack frame.
    43         #
    44         save %sp, -176, %sp
    45         flushw
    46         add %g0, -0x7ff, %fp
    47 
    4841        # Pass pcb_ptr as the first argument to __main()
    49         mov %i1, %o0
     42        mov %o1, %o0
    5043        sethi %hi(_gp), %l7
    5144        call __main
  • uspace/lib/libc/arch/sparc64/src/thread_entry.s

    r6ef2c11 r4da7d79  
    3535#
    3636__thread_entry:
    37         #
    38         # Create the first stack frame.
    39         #
    40         save %sp, -176, %sp
    41         flushw
    42         add %g0, -0x7ff, %fp
    43 
    4437        sethi %hi(_gp), %l7
    4538        call __thread_main              ! %o0 contains address of uarg
  • uspace/lib/libc/include/stdlib.h

    r6ef2c11 r4da7d79  
    3838#include <unistd.h>
    3939#include <malloc.h>
    40 #include <stacktrace.h>
    4140
    42 #define abort() \
    43         do { \
    44                 stack_trace(); \
    45                 _exit(1); \
    46         } while (0)
    47 
     41#define abort()       _exit(1)
    4842#define exit(status)  _exit((status))
    4943
  • uspace/lib/libfs/Makefile

    r6ef2c11 r4da7d79  
    3434all: $(LIBC_PREFIX)/../../../Makefile.config $(LIBC_PREFIX)/../../../config.h $(LIBC_PREFIX)/../../../config.defs $(LIBC_PREFIX)/libc.a
    3535        -[ -f $(DEPEND) ] && mv -f $(DEPEND) $(DEPEND_PREV)
    36         $(MAKE) -f Makefile.build PRECHECK=$(PRECHECK)
     36        $(MAKE) -f Makefile.build
    3737
    3838clean:
    39         rm -f $(DEPEND) $(DEPEND_PREV) $(JOB) $(LIBFS)
     39        rm -f $(DEPEND) $(DEPEND_PREV) $(LIBFS)
    4040        find . -name '*.o' -follow -exec rm \{\} \;
  • uspace/lib/libfs/Makefile.build

    r6ef2c11 r4da7d79  
    5353%.o: %.c $(DEPEND)
    5454        $(CC) $(DEFS) $(CFLAGS) -c $< -o $@
    55 ifeq ($(PRECHECK),y)
    56         $(JOBFILE) $(JOB) $< $@ cc core $(DEFS) $(CFLAGS)
    57 endif
    5855
    5956$(DEPEND):
  • uspace/lib/libfs/Makefile.common

    r6ef2c11 r4da7d79  
    3434DEPEND = Makefile.depend
    3535DEPEND_PREV = $(DEPEND).prev
    36 JOB = libfs.job
    3736LIBFS = libfs.a
  • uspace/lib/softfloat/Makefile

    r6ef2c11 r4da7d79  
    3434all: $(LIBC_PREFIX)/../../../Makefile.config $(LIBC_PREFIX)/../../../config.h $(LIBC_PREFIX)/../../../config.defs $(LIBC_PREFIX)/libc.a
    3535        -[ -f $(DEPEND) ] && mv -f $(DEPEND) $(DEPEND_PREV)
    36         $(MAKE) -f Makefile.build PRECHECK=$(PRECHECK)
     36        $(MAKE) -f Makefile.build
    3737
    3838clean:
    39         rm -f $(DEPEND) $(DEPEND_PREV) $(JOB) $(LIBSOFTFLOAT)
     39        rm -f $(DEPEND) $(DEPEND_PREV) $(LIBSOFTFLOAT)
    4040        find . -name '*.o' -follow -exec rm \{\} \;
  • uspace/lib/softfloat/Makefile.build

    r6ef2c11 r4da7d79  
    6363%.o: %.c $(DEPEND)
    6464        $(CC) $(DEFS) $(CFLAGS) -c $< -o $@
    65 ifeq ($(PRECHECK),y)
    66         $(JOBFILE) $(JOB) $< $@ cc core $(DEFS) $(CFLAGS)
    67 endif
    6865
    6966$(DEPEND):
  • uspace/lib/softfloat/Makefile.common

    r6ef2c11 r4da7d79  
    3434DEPEND = Makefile.depend
    3535DEPEND_PREV = $(DEPEND).prev
    36 JOB = softfloat.job
    3736LIBSOFTFLOAT = libsoftfloat.a
  • uspace/lib/softint/Makefile

    r6ef2c11 r4da7d79  
    3434all: $(LIBC_PREFIX)/../../../Makefile.config $(LIBC_PREFIX)/../../../config.h $(LIBC_PREFIX)/../../../config.defs $(LIBC_PREFIX)/libc.a
    3535        -[ -f $(DEPEND) ] && mv -f $(DEPEND) $(DEPEND_PREV)
    36         $(MAKE) -f Makefile.build PRECHECK=$(PRECHECK)
     36        $(MAKE) -f Makefile.build
    3737
    3838clean:
    39         rm -f $(DEPEND) $(DEPEND_PREV) $(JOB) $(LIBSOFTINT)
     39        rm -f $(DEPEND) $(DEPEND_PREV) $(LIBSOFTINT)
    4040        find . -name '*.o' -follow -exec rm \{\} \;
  • uspace/lib/softint/Makefile.build

    r6ef2c11 r4da7d79  
    5656%.o: %.c $(DEPEND)
    5757        $(CC) $(DEFS) $(CFLAGS) -c $< -o $@
    58 ifeq ($(PRECHECK),y)
    59         $(JOBFILE) $(JOB) $< $@ cc core $(DEFS) $(CFLAGS)
    60 endif
    6158
    6259$(DEPEND):
  • uspace/lib/softint/Makefile.common

    r6ef2c11 r4da7d79  
    3434DEPEND = Makefile.depend
    3535DEPEND_PREV = $(DEPEND).prev
    36 JOB = softint.job
    3736LIBSOFTINT = libsoftint.a
  • uspace/srv/bd/ata_bd/Makefile

    r6ef2c11 r4da7d79  
    3434all: $(LIBC_PREFIX)/../../../Makefile.config $(LIBC_PREFIX)/../../../config.h $(LIBC_PREFIX)/../../../config.defs $(LIBS)
    3535        -[ -f $(DEPEND) ] && mv -f $(DEPEND) $(DEPEND_PREV)
    36         $(MAKE) -f Makefile.build PRECHECK=$(PRECHECK)
     36        $(MAKE) -f Makefile.build
    3737
    3838clean:
    39         rm -f $(DEPEND) $(DEPEND_PREV) $(JOB) $(OUTPUT) $(OUTPUT).map $(OUTPUT).disasm
     39        rm -f $(DEPEND) $(DEPEND_PREV) $(OUTPUT) $(OUTPUT).map $(OUTPUT).disasm
    4040        find . -name '*.o' -follow -exec rm \{\} \;
  • uspace/srv/bd/ata_bd/Makefile.build

    r6ef2c11 r4da7d79  
    5656%.o: %.c $(DEPEND)
    5757        $(CC) $(DEFS) $(CFLAGS) -c $< -o $@
    58 ifeq ($(PRECHECK),y)
    59         $(JOBFILE) $(JOB) $< $@ cc core $(DEFS) $(CFLAGS)
    60 endif
    6158
    6259$(DEPEND):
  • uspace/srv/bd/ata_bd/Makefile.common

    r6ef2c11 r4da7d79  
    3737DEPEND = Makefile.depend
    3838DEPEND_PREV = $(DEPEND).prev
    39 JOB = ata_bd.job
    4039OUTPUT = ata_bd
  • uspace/srv/bd/file_bd/Makefile

    r6ef2c11 r4da7d79  
    3434all: $(LIBC_PREFIX)/../../../Makefile.config $(LIBC_PREFIX)/../../../config.h $(LIBC_PREFIX)/../../../config.defs $(LIBS)
    3535        -[ -f $(DEPEND) ] && mv -f $(DEPEND) $(DEPEND_PREV)
    36         $(MAKE) -f Makefile.build PRECHECK=$(PRECHECK)
     36        $(MAKE) -f Makefile.build
    3737
    3838clean:
    39         rm -f $(DEPEND) $(DEPEND_PREV) $(JOB) $(OUTPUT) $(OUTPUT).map $(OUTPUT).disasm
     39        rm -f $(DEPEND) $(DEPEND_PREV) $(OUTPUT) $(OUTPUT).map $(OUTPUT).disasm
    4040        find . -name '*.o' -follow -exec rm \{\} \;
  • uspace/srv/bd/file_bd/Makefile.build

    r6ef2c11 r4da7d79  
    5656%.o: %.c $(DEPEND)
    5757        $(CC) $(DEFS) $(CFLAGS) -c $< -o $@
    58 ifeq ($(PRECHECK),y)
    59         $(JOBFILE) $(JOB) $< $@ cc core $(DEFS) $(CFLAGS)
    60 endif
    6158
    6259$(DEPEND):
  • uspace/srv/bd/file_bd/Makefile.common

    r6ef2c11 r4da7d79  
    3737DEPEND = Makefile.depend
    3838DEPEND_PREV = $(DEPEND).prev
    39 JOB = file_bd.job
    4039OUTPUT = file_bd
  • uspace/srv/bd/gxe_bd/Makefile

    r6ef2c11 r4da7d79  
    3434all: $(LIBC_PREFIX)/../../../Makefile.config $(LIBC_PREFIX)/../../../config.h $(LIBC_PREFIX)/../../../config.defs $(LIBS)
    3535        -[ -f $(DEPEND) ] && mv -f $(DEPEND) $(DEPEND_PREV)
    36         $(MAKE) -f Makefile.build PRECHECK=$(PRECHECK)
     36        $(MAKE) -f Makefile.build
    3737
    3838clean:
    39         rm -f $(DEPEND) $(DEPEND_PREV) $(JOB) $(OUTPUT) $(OUTPUT).map $(OUTPUT).disasm
     39        rm -f $(DEPEND) $(DEPEND_PREV) $(OUTPUT) $(OUTPUT).map $(OUTPUT).disasm
    4040        find . -name '*.o' -follow -exec rm \{\} \;
  • uspace/srv/bd/gxe_bd/Makefile.build

    r6ef2c11 r4da7d79  
    5656%.o: %.c $(DEPEND)
    5757        $(CC) $(DEFS) $(CFLAGS) -c $< -o $@
    58 ifeq ($(PRECHECK),y)
    59         $(JOBFILE) $(JOB) $< $@ cc core $(DEFS) $(CFLAGS)
    60 endif
    6158
    6259$(DEPEND):
  • uspace/srv/bd/gxe_bd/Makefile.common

    r6ef2c11 r4da7d79  
    3737DEPEND = Makefile.depend
    3838DEPEND_PREV = $(DEPEND).prev
    39 JOB = gxe_bd.job
    4039OUTPUT = gxe_bd
  • uspace/srv/bd/rd/Makefile

    r6ef2c11 r4da7d79  
    3434all: $(LIBC_PREFIX)/../../../Makefile.config $(LIBC_PREFIX)/../../../config.h $(LIBC_PREFIX)/../../../config.defs $(LIBS)
    3535        -[ -f $(DEPEND) ] && mv -f $(DEPEND) $(DEPEND_PREV)
    36         $(MAKE) -f Makefile.build PRECHECK=$(PRECHECK)
     36        $(MAKE) -f Makefile.build
    3737
    3838clean:
    39         rm -f $(DEPEND) $(DEPEND_PREV) $(JOB) $(OUTPUT) $(OUTPUT).map $(OUTPUT).disasm
     39        rm -f $(DEPEND) $(DEPEND_PREV) $(OUTPUT) $(OUTPUT).map $(OUTPUT).disasm
    4040        find . -name '*.o' -follow -exec rm \{\} \;
  • uspace/srv/bd/rd/Makefile.build

    r6ef2c11 r4da7d79  
    5656%.o: %.c $(DEPEND)
    5757        $(CC) $(DEFS) $(CFLAGS) -c $< -o $@
    58 ifeq ($(PRECHECK),y)
    59         $(JOBFILE) $(JOB) $< $@ cc core $(DEFS) $(CFLAGS)
    60 endif
    6158
    6259$(DEPEND):
  • uspace/srv/bd/rd/Makefile.common

    r6ef2c11 r4da7d79  
    3737DEPEND = Makefile.depend
    3838DEPEND_PREV = $(DEPEND).prev
    39 JOB = rd.job
    4039OUTPUT = rd
  • uspace/srv/clip/Makefile

    r6ef2c11 r4da7d79  
    3333all: $(LIBC_PREFIX)/../../../Makefile.config $(LIBC_PREFIX)/../../../config.h $(LIBC_PREFIX)/../../../config.defs $(LIBS)
    3434        -[ -f $(DEPEND) ] && mv -f $(DEPEND) $(DEPEND_PREV)
    35         $(MAKE) -f Makefile.build PRECHECK=$(PRECHECK)
     35        $(MAKE) -f Makefile.build
    3636
    3737clean:
    38         rm -f $(DEPEND) $(DEPEND_PREV) $(JOB) $(OUTPUT) $(OUTPUT).map $(OUTPUT).disasm
     38        rm -f $(DEPEND) $(DEPEND_PREV) $(OUTPUT) $(OUTPUT).map $(OUTPUT).disasm
    3939        find . -name '*.o' -follow -exec rm \{\} \;
  • uspace/srv/clip/Makefile.build

    r6ef2c11 r4da7d79  
    5757%.o: %.c $(DEPEND)
    5858        $(CC) $(DEFS) $(CFLAGS) -c $< -o $@
    59 ifeq ($(PRECHECK),y)
    60         $(JOBFILE) $(JOB) $< $@ cc core $(DEFS) $(CFLAGS)
    61 endif
    6259
    6360$(DEPEND):
  • uspace/srv/clip/Makefile.common

    r6ef2c11 r4da7d79  
    3737DEPEND = Makefile.depend
    3838DEPEND_PREV = $(DEPEND).prev
    39 JOB = clip.job
    4039OUTPUT = clip
  • uspace/srv/devmap/Makefile

    r6ef2c11 r4da7d79  
    3434all: $(LIBC_PREFIX)/../../../Makefile.config $(LIBC_PREFIX)/../../../config.h $(LIBC_PREFIX)/../../../config.defs $(LIBS)
    3535        -[ -f $(DEPEND) ] && mv -f $(DEPEND) $(DEPEND_PREV)
    36         $(MAKE) -f Makefile.build PRECHECK=$(PRECHECK)
     36        $(MAKE) -f Makefile.build
    3737
    3838clean:
    39         rm -f $(DEPEND) $(DEPEND_PREV) $(JOB) $(OUTPUT) $(OUTPUT).map $(OUTPUT).disasm
     39        rm -f $(DEPEND) $(DEPEND_PREV) $(OUTPUT) $(OUTPUT).map $(OUTPUT).disasm
    4040        find . -name '*.o' -follow -exec rm \{\} \;
  • uspace/srv/devmap/Makefile.build

    r6ef2c11 r4da7d79  
    5656%.o: %.c $(DEPEND)
    5757        $(CC) $(DEFS) $(CFLAGS) -c $< -o $@
    58 ifeq ($(PRECHECK),y)
    59         $(JOBFILE) $(JOB) $< $@ cc core $(DEFS) $(CFLAGS)
    60 endif
    6158
    6259$(DEPEND):
  • uspace/srv/devmap/Makefile.common

    r6ef2c11 r4da7d79  
    3737DEPEND = Makefile.depend
    3838DEPEND_PREV = $(DEPEND).prev
    39 JOB = devmap.job
    4039OUTPUT = devmap
  • uspace/srv/fs/devfs/Makefile

    r6ef2c11 r4da7d79  
    3434all: $(LIBC_PREFIX)/../../../Makefile.config $(LIBC_PREFIX)/../../../config.h $(LIBC_PREFIX)/../../../config.defs $(LIBS)
    3535        -[ -f $(DEPEND) ] && mv -f $(DEPEND) $(DEPEND_PREV)
    36         $(MAKE) -f Makefile.build PRECHECK=$(PRECHECK)
     36        $(MAKE) -f Makefile.build
    3737
    3838clean:
    39         rm -f $(DEPEND) $(DEPEND_PREV) $(JOB) $(OUTPUT) $(OUTPUT).map $(OUTPUT).disasm
     39        rm -f $(DEPEND) $(DEPEND_PREV) $(OUTPUT) $(OUTPUT).map $(OUTPUT).disasm
    4040        find . -name '*.o' -follow -exec rm \{\} \;
  • uspace/srv/fs/devfs/Makefile.build

    r6ef2c11 r4da7d79  
    5959%.o: %.c $(DEPEND)
    6060        $(CC) $(DEFS) $(CFLAGS) -c $< -o $@
    61 ifeq ($(PRECHECK),y)
    62         $(JOBFILE) $(JOB) $< $@ cc core $(DEFS) $(CFLAGS)
    63 endif
    6461
    6562$(DEPEND):
  • uspace/srv/fs/devfs/Makefile.common

    r6ef2c11 r4da7d79  
    3838DEPEND = Makefile.depend
    3939DEPEND_PREV = $(DEPEND).prev
    40 JOB = devfs.job
    4140OUTPUT = devfs
  • uspace/srv/fs/fat/Makefile

    r6ef2c11 r4da7d79  
    3434all: $(LIBC_PREFIX)/../../../Makefile.config $(LIBC_PREFIX)/../../../config.h $(LIBC_PREFIX)/../../../config.defs $(LIBS)
    3535        -[ -f $(DEPEND) ] && mv -f $(DEPEND) $(DEPEND_PREV)
    36         $(MAKE) -f Makefile.build PRECHECK=$(PRECHECK)
     36        $(MAKE) -f Makefile.build
    3737
    3838clean:
    39         rm -f $(DEPEND) $(DEPEND_PREV) $(JOB) $(OUTPUT) $(OUTPUT).map $(OUTPUT).disasm
     39        rm -f $(DEPEND) $(DEPEND_PREV) $(OUTPUT) $(OUTPUT).map $(OUTPUT).disasm
    4040        find . -name '*.o' -follow -exec rm \{\} \;
  • uspace/srv/fs/fat/Makefile.build

    r6ef2c11 r4da7d79  
    6262%.o: %.c $(DEPEND)
    6363        $(CC) $(DEFS) $(CFLAGS) -c $< -o $@
    64 ifeq ($(PRECHECK),y)
    65         $(JOBFILE) $(JOB) $< $@ cc core $(DEFS) $(CFLAGS)
    66 endif
    6764
    6865$(DEPEND):
  • uspace/srv/fs/fat/Makefile.common

    r6ef2c11 r4da7d79  
    3939DEPEND = Makefile.depend
    4040DEPEND_PREV = $(DEPEND).prev
    41 JOB = fat.job
    4241OUTPUT = fat
  • uspace/srv/fs/tmpfs/Makefile

    r6ef2c11 r4da7d79  
    3434all: $(LIBC_PREFIX)/../../../Makefile.config $(LIBC_PREFIX)/../../../config.h $(LIBC_PREFIX)/../../../config.defs $(LIBS)
    3535        -[ -f $(DEPEND) ] && mv -f $(DEPEND) $(DEPEND_PREV)
    36         $(MAKE) -f Makefile.build PRECHECK=$(PRECHECK)
     36        $(MAKE) -f Makefile.build
    3737
    3838clean:
    39         rm -f $(DEPEND) $(DEPEND_PREV) $(JOB) $(OUTPUT) $(OUTPUT).map $(OUTPUT).disasm
     39        rm -f $(DEPEND) $(DEPEND_PREV) $(OUTPUT) $(OUTPUT).map $(OUTPUT).disasm
    4040        find . -name '*.o' -follow -exec rm \{\} \;
  • uspace/srv/fs/tmpfs/Makefile.build

    r6ef2c11 r4da7d79  
    6060%.o: %.c $(DEPEND)
    6161        $(CC) $(DEFS) $(CFLAGS) -c $< -o $@
    62 ifeq ($(PRECHECK),y)
    63         $(JOBFILE) $(JOB) $< $@ cc core $(DEFS) $(CFLAGS)
    64 endif
    6562
    6663$(DEPEND):
  • uspace/srv/fs/tmpfs/Makefile.common

    r6ef2c11 r4da7d79  
    3939DEPEND = Makefile.depend
    4040DEPEND_PREV = $(DEPEND).prev
    41 JOB = tmpfs.job
    4241OUTPUT = tmpfs
  • uspace/srv/loader/Makefile

    r6ef2c11 r4da7d79  
    3434all: $(LIBC_PREFIX)/../../../Makefile.config $(LIBC_PREFIX)/../../../config.h $(LIBC_PREFIX)/../../../config.defs $(LIBS)
    3535        -[ -f $(DEPEND) ] && mv -f $(DEPEND) $(DEPEND_PREV)
    36         $(MAKE) -f Makefile.build PRECHECK=$(PRECHECK)
     36        $(MAKE) -f Makefile.build
    3737
    3838clean:
    39         rm -f $(DEPEND) $(DEPEND_PREV) $(JOB) $(OUTPUT) $(OUTPUT).map $(OUTPUT).disasm arch/*/_link.ld
     39        rm -f $(DEPEND) $(DEPEND_PREV) $(OUTPUT) $(OUTPUT).map $(OUTPUT).disasm arch/*/_link.ld
    4040        find . -name '*.o' -follow -exec rm \{\} \;
  • uspace/srv/loader/Makefile.build

    r6ef2c11 r4da7d79  
    6666%.o: %.c $(DEPEND)
    6767        $(CC) $(DEFS) $(CFLAGS) -c $< -o $@
    68 ifeq ($(PRECHECK),y)
    69         $(JOBFILE) $(JOB) $< $@ cc core $(DEFS) $(CFLAGS)
    70 endif
    7168
    7269%.o: %.s $(DEPEND)
    7370        $(AS) $(AFLAGS) $< -o $@
    74 ifeq ($(PRECHECK),y)
    75         $(JOBFILE) $(JOB) $< $@ as asm $(DEFS) $(CFLAGS)
    76 endif
    7771
    7872$(DEPEND):
  • uspace/srv/loader/Makefile.common

    r6ef2c11 r4da7d79  
    3737DEPEND = Makefile.depend
    3838DEPEND_PREV = $(DEPEND).prev
    39 JOB = loader.job
    4039OUTPUT = loader
  • uspace/srv/ns/Makefile

    r6ef2c11 r4da7d79  
    3434all: $(LIBC_PREFIX)/../../../Makefile.config $(LIBC_PREFIX)/../../../config.h $(LIBC_PREFIX)/../../../config.defs $(LIBS)
    3535        -[ -f $(DEPEND) ] && mv -f $(DEPEND) $(DEPEND_PREV)
    36         $(MAKE) -f Makefile.build PRECHECK=$(PRECHECK)
     36        $(MAKE) -f Makefile.build
    3737
    3838clean:
    39         rm -f $(DEPEND) $(DEPEND_PREV) $(JOB) $(OUTPUT) $(OUTPUT).map $(OUTPUT).disasm
     39        rm -f $(DEPEND) $(DEPEND_PREV) $(OUTPUT) $(OUTPUT).map $(OUTPUT).disasm
    4040        find . -name '*.o' -follow -exec rm \{\} \;
  • uspace/srv/ns/Makefile.build

    r6ef2c11 r4da7d79  
    5959%.o: %.c $(DEPEND)
    6060        $(CC) $(DEFS) $(CFLAGS) -c $< -o $@
    61 ifeq ($(PRECHECK),y)
    62         $(JOBFILE) $(JOB) $< $@ cc core $(DEFS) $(CFLAGS)
    63 endif
    6461
    6562$(DEPEND):
  • uspace/srv/ns/Makefile.common

    r6ef2c11 r4da7d79  
    3737DEPEND = Makefile.depend
    3838DEPEND_PREV = $(DEPEND).prev
    39 JOB = ns.job
    4039OUTPUT = ns
  • uspace/srv/vfs/Makefile

    r6ef2c11 r4da7d79  
    3434all: $(LIBC_PREFIX)/../../../Makefile.config $(LIBC_PREFIX)/../../../config.h $(LIBC_PREFIX)/../../../config.defs $(LIBS)
    3535        -[ -f $(DEPEND) ] && mv -f $(DEPEND) $(DEPEND_PREV)
    36         $(MAKE) -f Makefile.build PRECHECK=$(PRECHECK)
     36        $(MAKE) -f Makefile.build
    3737
    3838clean:
    39         rm -f $(DEPEND) $(DEPEND_PREV) $(JOB) $(OUTPUT) $(OUTPUT).map $(OUTPUT).disasm
     39        rm -f $(DEPEND) $(DEPEND_PREV) $(OUTPUT) $(OUTPUT).map $(OUTPUT).disasm
    4040        find . -name '*.o' -follow -exec rm \{\} \;
  • uspace/srv/vfs/Makefile.build

    r6ef2c11 r4da7d79  
    6161%.o: %.c $(DEPEND)
    6262        $(CC) $(DEFS) $(CFLAGS) -c $< -o $@
    63 ifeq ($(PRECHECK),y)
    64         $(JOBFILE) $(JOB) $< $@ cc core $(DEFS) $(CFLAGS)
    65 endif
    6663
    6764$(DEPEND):
  • uspace/srv/vfs/Makefile.common

    r6ef2c11 r4da7d79  
    3737DEPEND = Makefile.depend
    3838DEPEND_PREV = $(DEPEND).prev
    39 JOB = vfs.job
    4039OUTPUT = vfs
Note: See TracChangeset for help on using the changeset viewer.