Fork us on GitHub Follow us on Facebook Follow us on Twitter

Changes in / [6d7f9bfe:40d4c1d] in mainline


Ignore:
Files:
128 added
110 deleted
118 edited

Legend:

Unmodified
Added
Removed
  • Makefile

    r6d7f9bfe r40d4c1d  
    3131
    3232CSCOPE = cscope
    33 STANSE = stanse
     33CONFIG = tools/config.py
    3434
    35 .PHONY: all config config_default distclean clean cscope stanse
     35.PHONY: all config config_default distclean clean cscope precheck
    3636
    3737all: Makefile.config config.h config.defs
    38         $(MAKE) -C kernel
    39         $(MAKE) -C uspace
    40         $(MAKE) -C boot
     38        $(MAKE) -C kernel PRECHECK=$(PRECHECK)
     39        $(MAKE) -C uspace PRECHECK=$(PRECHECK)
     40        $(MAKE) -C boot PRECHECK=$(PRECHECK)
    4141
    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
     42precheck: clean
     43        $(MAKE) all PRECHECK=y
    4644
    4745cscope:
     
    5553
    5654config_default: HelenOS.config
    57         tools/config.py HelenOS.config default
     55        $(CONFIG) HelenOS.config default
    5856
    5957config: HelenOS.config
    60         tools/config.py HelenOS.config
     58        $(CONFIG) HelenOS.config
    6159
    6260distclean: clean
  • boot/Makefile.common

    r6d7f9bfe r40d4c1d  
    4545
    4646RD_SRVS = \
    47         $(USPACEDIR)/srv/fb/fb \
    48         $(USPACEDIR)/srv/kbd/kbd \
    49         $(USPACEDIR)/srv/console/console \
     47        $(USPACEDIR)/srv/bd/file_bd/file_bd \
     48        $(USPACEDIR)/srv/bd/part/mbr_part/mbr_part \
    5049        $(USPACEDIR)/srv/clip/clip \
     50        $(USPACEDIR)/srv/hid/fb/fb \
     51        $(USPACEDIR)/srv/hid/kbd/kbd \
     52        $(USPACEDIR)/srv/hid/console/console \
    5153        $(USPACEDIR)/srv/fs/devfs/devfs \
    5254        $(USPACEDIR)/srv/fs/tmpfs/tmpfs \
    53         $(USPACEDIR)/srv/fs/fat/fat \
    54         $(USPACEDIR)/srv/bd/file_bd/file_bd \
    55         $(USPACEDIR)/srv/part/mbr_part/mbr_part
     55        $(USPACEDIR)/srv/fs/fat/fat
    5656
    5757RD_APPS = \
     58        $(USPACEDIR)/app/bdsh/bdsh \
    5859        $(USPACEDIR)/app/edit/edit \
    5960        $(USPACEDIR)/app/getterm/getterm \
     61        $(USPACEDIR)/app/klog/klog \
    6062        $(USPACEDIR)/app/redir/redir \
     63        $(USPACEDIR)/app/tester/tester \
    6164        $(USPACEDIR)/app/tetris/tetris \
    62         $(USPACEDIR)/app/tester/tester \
    63         $(USPACEDIR)/app/trace/trace \
    64         $(USPACEDIR)/app/klog/klog \
    65         $(USPACEDIR)/app/bdsh/bdsh
     65        $(USPACEDIR)/app/trace/trace
    6666
    6767COMPONENTS = \
    6868        $(KERNELDIR)/kernel.bin \
    6969        $(USPACEDIR)/srv/ns/ns \
     70        $(USPACEDIR)/srv/loader/loader \
    7071        $(USPACEDIR)/app/init/init \
    71         $(USPACEDIR)/srv/loader/loader \
    7272        $(USPACEDIR)/srv/devmap/devmap \
    7373        $(USPACEDIR)/srv/bd/rd/rd \
  • boot/arch/amd64/Makefile.inc

    r6d7f9bfe r40d4c1d  
    3030
    3131RD_SRVS += \
    32         $(USPACEDIR)/srv/pci/pci \
    33         $(USPACEDIR)/srv/bd/ata_bd/ata_bd
     32        $(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
    3436
    3537MODULES := $(notdir $(COMPONENTS))
  • boot/arch/arm32/Makefile.inc

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

    r6d7f9bfe r40d4c1d  
    3434all: ../../../../version ../../../../Makefile.config ../../../../config.h ../../../../config.defs
    3535        -[ -f $(DEPEND) ] && mv -f $(DEPEND) $(DEPEND_PREV)
    36         $(MAKE) -f Makefile.build
     36        $(MAKE) -f Makefile.build PRECHECK=$(PRECHECK)
    3737
    3838clean:
     
    4343                rm -f $(USPACEDIR)/dist/app/`basename $$file` ; \
    4444        done
    45         rm -f $(DEPEND) $(DEPEND_PREV) $(OUTPUT) $(COMPS).h $(COMPS).c $(LINK) $(INITRD).img $(INITRD).fs
     45        rm -f $(DEPEND) $(DEPEND_PREV) $(JOB) $(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

    r6d7f9bfe r40d4c1d  
    6565%.o: %.S $(DEPEND)
    6666        $(CC) $(DEFS) $(CFLAGS) -D__ASM__ -c $< -o $@
     67ifeq ($(PRECHECK),y)
     68        $(JOBFILE) $(JOB) $< $@ as asm/preproc $(DEFS) $(CFLAGS) -D__ASM__
     69endif
    6770
    6871%.o: %.c $(DEPEND)
    6972        $(CC) $(DEFS) $(CFLAGS) -c $< -o $@
     73ifeq ($(PRECHECK),y)
     74        $(JOBFILE) $(JOB) $< $@ cc core $(DEFS) $(CFLAGS)
     75endif
    7076
    7177$(DEPEND):
  • boot/arch/arm32/loader/Makefile.common

    r6d7f9bfe r40d4c1d  
    3535DEPEND = Makefile.depend
    3636DEPEND_PREV = $(DEPEND).prev
     37JOB = image.job
    3738OUTPUT = image.boot
    3839
  • boot/arch/arm32/loader/Makefile.toolchain

    r6d7f9bfe r40d4c1d  
    3939TOOLCHAIN_DIR = $(CROSS_PREFIX)/arm32/bin
    4040
     41JOBFILE = ../../../../tools/jobfile.py
     42
    4143ifeq ($(COMPILER),gcc_native)
    4244        CC = gcc
  • boot/arch/ia64/Makefile.inc

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

    r6d7f9bfe r40d4c1d  
    3434all: ../../../../version ../../../../Makefile.config ../../../../config.h ../../../../config.defs
    3535        -[ -f $(DEPEND) ] && mv -f $(DEPEND) $(DEPEND_PREV)
    36         $(MAKE) -f Makefile.build
     36        $(MAKE) -f Makefile.build PRECHECK=$(PRECHECK)
    3737
    3838clean:
     
    4545                rm -f $(USPACEDIR)/dist/app/`basename $$file` ; \
    4646        done
    47         rm -f $(DEPEND) $(DEPEND_PREV) $(OUTPUT) $(HELLO) $(COMPS).h $(COMPS).c $(LINK) $(INITRD).img $(INITRD).fs
     47        rm -f $(DEPEND) $(DEPEND_PREV) $(JOB) $(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

    r6d7f9bfe r40d4c1d  
    6666%.o: %.S $(DEPEND)
    6767        $(CC) $(DEFS) $(CFLAGS) -D__ASM__ -c $< -o $@
     68ifeq ($(PRECHECK),y)
     69        $(JOBFILE) $(JOB) $< $@ as asm/preproc $(DEFS) $(CFLAGS) -D__ASM__
     70endif
    6871
    6972%.o: %.c $(DEPEND)
    7073        $(CC) $(DEFS) $(CFLAGS) -c $< -o $@
     74ifeq ($(PRECHECK),y)
     75        $(JOBFILE) $(JOB) $< $@ cc core $(DEFS) $(CFLAGS)
     76endif
    7177
    7278$(DEPEND):
  • boot/arch/ia64/loader/Makefile.common

    r6d7f9bfe r40d4c1d  
    3535DEPEND = Makefile.depend
    3636DEPEND_PREV = $(DEPEND).prev
     37JOB = image.job
    3738OUTPUT = image.boot
    3839HELLO = hello.efi
  • boot/arch/ia64/loader/Makefile.toolchain

    r6d7f9bfe r40d4c1d  
    3939TOOLCHAIN_DIR = $(CROSS_PREFIX)/ia64/bin
    4040
     41JOBFILE = ../../../../tools/jobfile.py
     42
    4143ifeq ($(COMPILER),gcc_native)
    4244        CC = gcc
  • boot/arch/mips32/Makefile.inc

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

    r6d7f9bfe r40d4c1d  
    3434all: ../../../../version ../../../../Makefile.config ../../../../config.h ../../../../config.defs
    3535        -[ -f $(DEPEND) ] && mv -f $(DEPEND) $(DEPEND_PREV)
    36         $(MAKE) -f Makefile.build
     36        $(MAKE) -f Makefile.build PRECHECK=$(PRECHECK)
    3737
    3838clean:
     
    4343                rm -f $(USPACEDIR)/dist/app/`basename $$file` ; \
    4444        done
    45         rm -f $(DEPEND) $(DEPEND_PREV) $(OUTPUT) $(RAW) $(COMPS).h $(COMPS).c $(LINK) $(INITRD).img $(INITRD).fs
     45        rm -f $(DEPEND) $(DEPEND_PREV) $(JOB) $(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

    r6d7f9bfe r40d4c1d  
    6666%.o: %.S $(DEPEND)
    6767        $(CC) $(DEFS) $(CFLAGS) -D__ASM__ -c $< -o $@
     68ifeq ($(PRECHECK),y)
     69        $(JOBFILE) $(JOB) $< $@ as asm/preproc $(DEFS) $(CFLAGS) -D__ASM__
     70endif
    6871
    6972%.o: %.c $(DEPEND)
    7073        $(CC) $(DEFS) $(CFLAGS) -c $< -o $@
     74ifeq ($(PRECHECK),y)
     75        $(JOBFILE) $(JOB) $< $@ cc core $(DEFS) $(CFLAGS)
     76endif
    7177
    7278$(DEPEND):
  • boot/arch/mips32/loader/Makefile.common

    r6d7f9bfe r40d4c1d  
    3636DEPEND_PREV = $(DEPEND).prev
    3737RAW = image.raw
     38JOB = image.job
    3839OUTPUT = image.boot
    3940
  • boot/arch/mips32/loader/Makefile.toolchain

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

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

    r6d7f9bfe r40d4c1d  
    3434all: ../../../../version ../../../../Makefile.config ../../../../config.h ../../../../config.defs
    3535        -[ -f $(DEPEND) ] && mv -f $(DEPEND) $(DEPEND_PREV)
    36         $(MAKE) -f Makefile.build
     36        $(MAKE) -f Makefile.build PRECHECK=$(PRECHECK)
    3737
    3838clean:
     
    4343                rm -f $(USPACEDIR)/dist/app/`basename $$file` ; \
    4444        done
    45         rm -f $(DEPEND) $(DEPEND_PREV) $(OUTPUT) $(COMPS).h $(COMPS).c $(LINK) $(INITRD).img $(INITRD).fs
     45        rm -f $(DEPEND) $(DEPEND_PREV) $(JOB) $(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

    r6d7f9bfe r40d4c1d  
    6666%.o: %.S $(DEPEND)
    6767        $(CC) $(DEFS) $(CFLAGS) -D__ASM__ -c $< -o $@
     68ifeq ($(PRECHECK),y)
     69        $(JOBFILE) $(JOB) $< $@ as asm/preproc $(DEFS) $(CFLAGS) -D__ASM__
     70endif
    6871
    6972%.o: %.c $(DEPEND)
    7073        $(CC) $(DEFS) $(CFLAGS) -c $< -o $@
     74ifeq ($(PRECHECK),y)
     75        $(JOBFILE) $(JOB) $< $@ cc core $(DEFS) $(CFLAGS)
     76endif
    7177
    7278$(DEPEND):
  • boot/arch/ppc32/loader/Makefile.common

    r6d7f9bfe r40d4c1d  
    3535DEPEND = Makefile.depend
    3636DEPEND_PREV = $(DEPEND).prev
     37JOB = image.job
    3738OUTPUT = image.boot
    3839
  • boot/arch/ppc32/loader/Makefile.toolchain

    r6d7f9bfe r40d4c1d  
    3939TOOLCHAIN_DIR = $(CROSS_PREFIX)/ppc32/bin
    4040
     41JOBFILE = ../../../../tools/jobfile.py
     42
    4143ifeq ($(COMPILER),gcc_native)
    4244        CC = gcc
  • boot/arch/sparc64/Makefile.inc

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

    r6d7f9bfe r40d4c1d  
    3434all: ../../../../version ../../../../Makefile.config ../../../../config.h ../../../../config.defs
    3535        -[ -f $(DEPEND) ] && mv -f $(DEPEND) $(DEPEND_PREV)
    36         $(MAKE) -f Makefile.build
     36        $(MAKE) -f Makefile.build PRECHECK=$(PRECHECK)
    3737
    3838clean:
     
    4343                rm -f $(USPACEDIR)/dist/app/`basename $$file` ; \
    4444        done
    45         rm -f $(DEPEND) $(DEPEND_PREV) $(OUTPUT) $(COMPS).h $(COMPS).c $(LINK) $(INITRD).img $(INITRD).fs
     45        rm -f $(DEPEND) $(DEPEND_PREV) $(JOB) $(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

    r6d7f9bfe r40d4c1d  
    7777%.o: %.S $(DEPEND)
    7878        $(CC) $(DEFS) $(CFLAGS) -D__ASM__ -c $< -o $@
     79ifeq ($(PRECHECK),y)
     80        $(JOBFILE) $(JOB) $< $@ as asm/preproc $(DEFS) $(CFLAGS) -D__ASM__
     81endif
    7982
    8083%.o: %.c $(DEPEND)
    8184        $(CC) $(DEFS) $(CFLAGS) -c $< -o $@
     85ifeq ($(PRECHECK),y)
     86        $(JOBFILE) $(JOB) $< $@ cc core $(DEFS) $(CFLAGS)
     87endif
    8288
    8389$(DEPEND):
  • boot/arch/sparc64/loader/Makefile.common

    r6d7f9bfe r40d4c1d  
    3535DEPEND = Makefile.depend
    3636DEPEND_PREV = $(DEPEND).prev
     37JOB = image.job
    3738OUTPUT = image.boot
    3839
     
    4546RD_SRVS_GENERIC = \
    4647        $(USPACEDIR)/srv/fs/fat/fat \
    47         $(USPACEDIR)/srv/cir/fhc/fhc \
    48         $(USPACEDIR)/srv/cir/obio/obio
     48        $(USPACEDIR)/srv/hw/cir/fhc/fhc \
     49        $(USPACEDIR)/srv/hw/cir/obio/obio
    4950
    5051RD_APPS_GENERIC = \
  • boot/arch/sparc64/loader/Makefile.toolchain

    r6d7f9bfe r40d4c1d  
    3939TOOLCHAIN_DIR = $(CROSS_PREFIX)/sparc64/bin
    4040
     41JOBFILE = ../../../../tools/jobfile.py
     42
    4143ifeq ($(COMPILER),gcc_native)
    4244        CC = gcc
  • kernel/Makefile

    r6d7f9bfe r40d4c1d  
    3333all: ../version ../Makefile.config ../config.h ../config.defs
    3434        -[ -f $(DEPEND) ] && mv -f $(DEPEND) $(DEPEND_PREV)
    35         $(MAKE) -f Makefile.build EXTRA_TOOL=$(EXTRA_TOOL)
     35        $(MAKE) -f Makefile.build PRECHECK=$(PRECHECK)
    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

    r6d7f9bfe r40d4c1d  
    376376%.o: %.S $(DEPEND)
    377377        $(GCC) $(DEFS) $(GCC_CFLAGS) -D__ASM__ -c $< -o $@
     378ifeq ($(PRECHECK),y)
     379        $(JOBFILE) $(JOB) $< $@ as asm/preproc $(DEFS) $(GCC_CFLAGS) -D__ASM__
     380endif
    378381
    379382%.o: %.s $(DEPEND)
    380383        $(AS) $(AFLAGS) $< -o $@
     384ifeq ($(PRECHECK),y)
     385        $(JOBFILE) $(JOB) $< $@ as asm $(DEFS) $(CFLAGS) $(EXTRA_FLAGS)
     386endif
    381387
    382388#
     
    386392test/fpu/%.o: test/fpu/%.c $(DEPEND)
    387393        $(CC) $(DEFS) $(CFLAGS) $(EXTRA_FLAGS) -c $< -o $@
    388 ifeq ($(EXTRA_TOOL),stanse)
    389         ../tools/jobfile.py $(JOB) $< $@ $(DEFS) $(CFLAGS) $(EXTRA_FLAGS)
     394ifeq ($(PRECHECK),y)
     395        $(JOBFILE) $(JOB) $< $@ cc test $(DEFS) $(CFLAGS) $(EXTRA_FLAGS)
    390396endif
    391397
     
    395401%.o: %.c $(DEPEND)
    396402        $(CC) $(DEFS) $(CFLAGS) $(EXTRA_FLAGS) $(FPU_NO_CFLAGS) -c $< -o $@
    397 ifeq ($(EXTRA_TOOL),stanse)
    398         ../tools/jobfile.py $(JOB) $< $@ $(DEFS) $(CFLAGS) $(EXTRA_FLAGS) $(FPU_NO_CFLAGS)
     403ifeq ($(PRECHECK),y)
     404        $(JOBFILE) $(JOB) $< $@ cc core $(DEFS) $(CFLAGS) $(EXTRA_FLAGS) $(FPU_NO_CFLAGS)
    399405endif
    400406
     
    406412        $(LD) -T $(LINK) $(LFLAGS) $(ARCH_OBJECTS) $(GENARCH_OBJECTS) $(GENERIC_OBJECTS) $(EXTRA_OBJECTS) $(EMPTY_MAP) -o $@ -Map $(MAP_PREV)
    407413        $(OBJDUMP) -t $(ARCH_OBJECTS) $(GENARCH_OBJECTS) $(GENERIC_OBJECTS) > $(DUMP)
    408         tools/genmap.py $(MAP_PREV) $(DUMP) $@
     414        $(GENMAP) $(MAP_PREV) $(DUMP) $@
    409415       
    410416        # Do it once again, this time to get correct even the symbols
     
    414420        $(LD) -T $(LINK) $(LFLAGS) $(ARCH_OBJECTS) $(GENARCH_OBJECTS) $(GENERIC_OBJECTS) $(EXTRA_OBJECTS) $(SIZEOK_MAP) -o $@ -Map $(MAP_PREV)
    415421        $(OBJDUMP) -t $(ARCH_OBJECTS) $(GENARCH_OBJECTS) $(GENERIC_OBJECTS) > $(DUMP)
    416         tools/genmap.py $(MAP_PREV) $(DUMP) $@
     422        $(GENMAP) $(MAP_PREV) $(DUMP) $@
    417423
    418424$(DEPEND): $(ARCH_INCLUDE) $(GENARCH_INCLUDE)
  • kernel/Makefile.common

    r6d7f9bfe r40d4c1d  
    4444ARCH_INCLUDE = generic/include/arch
    4545GENARCH_INCLUDE = generic/include/genarch
     46
     47GENMAP = tools/genmap.py
     48JOBFILE = ../tools/jobfile.py
  • kernel/arch/amd64/src/amd64.c

    r6d7f9bfe r40d4c1d  
    212212                        i8042_wire(i8042_instance, kbrd);
    213213                        trap_virtual_enable_irqs(1 << IRQ_KBD);
     214                        trap_virtual_enable_irqs(1 << IRQ_MOUSE);
    214215                }
    215216        }
     
    219220         * self-sufficient.
    220221         */
    221         sysinfo_set_item_val("kbd", NULL, true);
    222         sysinfo_set_item_val("kbd.inr", NULL, IRQ_KBD);
    223         sysinfo_set_item_val("kbd.address.physical", NULL,
     222        sysinfo_set_item_val("i8042", NULL, true);
     223        sysinfo_set_item_val("i8042.inr_a", NULL, IRQ_KBD);
     224        sysinfo_set_item_val("i8042.inr_b", NULL, IRQ_MOUSE);
     225        sysinfo_set_item_val("i8042.address.physical", NULL,
    224226            (uintptr_t) I8042_BASE);
    225         sysinfo_set_item_val("kbd.address.kernel", NULL,
     227        sysinfo_set_item_val("i8042.address.kernel", NULL,
    226228            (uintptr_t) I8042_BASE);
    227229#endif
  • kernel/arch/amd64/src/boot/boot.S

    r6d7f9bfe r40d4c1d  
    333333
    334334extended_cpuid_msg:
    335         .asciz "Extended CPUID not supported. System halted."
     335        .asciz "Error: Extended CPUID not supported -- CPU is not 64-bit. System halted."
    336336long_mode_msg:
    337         .asciz "64 bit long mode not supported. System halted."
     337        .asciz "Error: 64-bit long mode not supported. System halted."
    338338noexecute_msg:
    339         .asciz "No-execute pages not supported. System halted."
     339        .asciz "Error: No-execute pages not supported. System halted."
    340340fx_msg:
    341         .asciz "FXSAVE/FXRESTORE instructions not supported. System halted."
     341        .asciz "Error: FXSAVE/FXRESTORE instructions not supported. System halted."
    342342sse2_msg:
    343         .asciz "SSE2 instructions not supported. System halted."
     343        .asciz "Error: SSE2 instructions not supported. System halted."
  • kernel/arch/ia32/src/ia32.c

    r6d7f9bfe r40d4c1d  
    170170                        i8042_wire(i8042_instance, kbrd);
    171171                        trap_virtual_enable_irqs(1 << IRQ_KBD);
     172                        trap_virtual_enable_irqs(1 << IRQ_MOUSE);
    172173                }
    173174        }
     
    177178         * self-sufficient.
    178179         */
    179         sysinfo_set_item_val("kbd", NULL, true);
    180         sysinfo_set_item_val("kbd.inr", NULL, IRQ_KBD);
    181         sysinfo_set_item_val("kbd.address.physical", NULL,
     180        sysinfo_set_item_val("i8042", NULL, true);
     181        sysinfo_set_item_val("i8042.inr_a", NULL, IRQ_KBD);
     182        sysinfo_set_item_val("i8042.inr_b", NULL, IRQ_MOUSE);
     183        sysinfo_set_item_val("i8042.address.physical", NULL,
    182184            (uintptr_t) I8042_BASE);
    183         sysinfo_set_item_val("kbd.address.kernel", NULL,
     185        sysinfo_set_item_val("i8042.address.kernel", NULL,
    184186            (uintptr_t) I8042_BASE);
    185187#endif
  • tools/jobfile.py

    r6d7f9bfe r40d4c1d  
    2828#
    2929"""
    30 Add a source/object file pair to a Stanse jobfile
     30Add a source/object file pair to a checker jobfile
    3131"""
    3232
     
    3737def usage(prname):
    3838        "Print usage syntax"
    39         print prname + " <JOBFILE> <SOURCE> <OBJECT> [OPTIONS ...]"
     39        print prname + " <JOBFILE> <SOURCE> <TARGET> <TOOL> <CATEGORY> [OPTIONS ...]"
    4040
    4141def main():
    42         if (len(sys.argv) < 4):
     42        if (len(sys.argv) < 6):
    4343                usage(sys.argv[0])
    4444                return
     
    4646        jobfname = sys.argv[1]
    4747        srcfname = sys.argv[2]
    48         objfname = sys.argv[3]
     48        tgtfname = sys.argv[3]
     49        toolname = sys.argv[4]
     50        category = sys.argv[5]
    4951        cwd = os.getcwd()
    50         options = " ".join(sys.argv[4:])
     52        options = " ".join(sys.argv[6:])
    5153       
    5254        jobfile = file(jobfname, "a")
    5355        fcntl.lockf(jobfile, fcntl.LOCK_EX)
    54         jobfile.write("{%s},{%s},{%s},{%s}\n" % (srcfname, objfname, cwd, options))
     56        jobfile.write("{%s},{%s},{%s},{%s},{%s},{%s}\n" % (srcfname, tgtfname, toolname, category, cwd, options))
    5557        fcntl.lockf(jobfile, fcntl.LOCK_UN)
    5658        jobfile.close()
  • tools/xtui.py

    r6d7f9bfe r40d4c1d  
    213213                        sys.stdout.write("Selection[%s]: " % str(position + 1))
    214214                else:
    215                         sys.stdout.write("Selection: ")
     215                        if (cnt > 0):
     216                                sys.stdout.write("Selection[1]: ")
     217                        else:
     218                                sys.stdout.write("Selection[0]: ")
    216219                inp = sys.stdin.readline()
    217220               
     
    222225                        if (position != None):
    223226                                return (None, position)
    224                         continue
     227                        else:
     228                                if (cnt > 0):
     229                                        inp = '1'
     230                                else:
     231                                        inp = '0'
    225232               
    226233                if (inp.strip() == 'q'):
  • uspace/Makefile

    r6d7f9bfe r40d4c1d  
    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 \
    3549        srv/bd/ata_bd \
    3650        srv/bd/file_bd \
    3751        srv/bd/gxe_bd \
    3852        srv/bd/rd \
    39         srv/ns \
    40         srv/loader \
    41         srv/fb \
    42         srv/kbd \
    43         srv/console \
     53        srv/bd/part/mbr_part \
    4454        srv/fs/fat \
    4555        srv/fs/tmpfs \
    4656        srv/fs/devfs \
    47         srv/vfs \
    48         srv/devmap \
    49         srv/part/mbr_part \
    50         srv/clip \
    51         app/edit \
    52         app/tetris \
    53         app/tester \
    54         app/trace \
    55         app/klog \
    56         app/init \
    57         app/getterm \
    58         app/redir \
    59         app/bdsh
     57        srv/hid/console \
     58        srv/hid/c_mouse \
     59        srv/hid/fb \
     60        srv/hid/kbd \
     61        srv/hw/char/i8042
    6062
    6163ifeq ($(UARCH),amd64)
    62         DIRS += srv/pci
     64        DIRS += srv/hw/bus/pci
    6365endif
    6466
    6567ifeq ($(UARCH),ia32)
    66         DIRS += srv/pci
     68        DIRS += srv/hw/bus/pci
    6769endif
    6870
    6971ifeq ($(UARCH),sparc64)
    7072        DIRS += \
    71                 srv/cir/fhc \
    72                 srv/cir/obio
     73                srv/hw/cir/fhc \
     74                srv/hw/cir/obio
    7375endif
    7476
     
    9698
    9799$(BUILDS): $(LIBC_BUILD) $(LIBS_BUILD)
    98         $(MAKE) -C $(basename $@) all
     100        $(MAKE) -C $(basename $@) all PRECHECK=$(PRECHECK)
    99101
    100102$(LIBS_BUILD): $(LIBC_BUILD)
    101         $(MAKE) -C $(basename $@) all
     103        $(MAKE) -C $(basename $@) all PRECHECK=$(PRECHECK)
    102104
    103105$(LIBC_BUILD):
    104         $(MAKE) -C $(basename $@) all
     106        $(MAKE) -C $(basename $@) all PRECHECK=$(PRECHECK)
  • uspace/app/bdsh/Makefile

    r6d7f9bfe r40d4c1d  
    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
     36        $(MAKE) -f Makefile.build PRECHECK=$(PRECHECK)
    3737
    3838clean:
    39         rm -f $(DEPEND) $(DEPEND_PREV) $(OUTPUT) $(OUTPUT).map $(OUTPUT).disasm
     39        rm -f $(DEPEND) $(DEPEND_PREV) $(JOB) $(OUTPUT) $(OUTPUT).map $(OUTPUT).disasm
    4040        find . -name '*.o' -follow -exec rm \{\} \;
  • uspace/app/bdsh/Makefile.build

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

    r6d7f9bfe r40d4c1d  
    3838DEPEND = Makefile.depend
    3939DEPEND_PREV = $(DEPEND).prev
     40JOB = bdsh.job
    4041OUTPUT = bdsh
  • uspace/app/edit/Makefile

    r6d7f9bfe r40d4c1d  
    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
     36        $(MAKE) -f Makefile.build PRECHECK=$(PRECHECK)
    3737
    3838clean:
    39         rm -f $(DEPEND) $(DEPEND_PREV) $(OUTPUT) $(OUTPUT).map $(OUTPUT).disasm
     39        rm -f $(DEPEND) $(DEPEND_PREV) $(JOB) $(OUTPUT) $(OUTPUT).map $(OUTPUT).disasm
    4040        find . -name '*.o' -follow -exec rm \{\} \;
  • uspace/app/edit/Makefile.build

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

    r6d7f9bfe r40d4c1d  
    3737DEPEND = Makefile.depend
    3838DEPEND_PREV = $(DEPEND).prev
     39JOB = edit.job
    3940OUTPUT = edit
  • uspace/app/edit/edit.c

    r6d7f9bfe r40d4c1d  
    9898static bool done;
    9999static pane_t pane;
     100static bool cursor_visible;
    100101
    101102static int scr_rows, scr_columns;
     
    108109/** Maximum filename length that can be entered. */
    109110#define INFNAME_MAX_LEN 128
     111
     112static void cursor_show(void);
     113static void cursor_hide(void);
     114static void cursor_setvis(bool visible);
    110115
    111116static void key_handle_unmod(console_event_t const *ev);
     
    199204
    200205        /* Initial display */
     206        cursor_visible = true;
     207
     208        cursor_hide();
    201209        console_clear(con);
    202210        pane_text_display();
     
    205213                status_display("File not found. Starting empty file.");
    206214        pane_caret_display();
    207 
     215        cursor_show();
    208216
    209217        done = false;
     
    230238                /* Redraw as necessary. */
    231239
     240                cursor_hide();
     241
    232242                if (pane.rflags & REDRAW_TEXT)
    233243                        pane_text_display();
     
    238248                if (pane.rflags & REDRAW_CARET)
    239249                        pane_caret_display();
     250
     251                cursor_show();
    240252        }
    241253
     
    243255
    244256        return 0;
     257}
     258
     259static void cursor_show(void)
     260{
     261        cursor_setvis(true);
     262}
     263
     264static void cursor_hide(void)
     265{
     266        cursor_setvis(false);
     267}
     268
     269static void cursor_setvis(bool visible)
     270{
     271        if (cursor_visible != visible) {
     272                console_cursor_visibility(con, visible);
     273                cursor_visible = visible;
     274        }
    245275}
    246276
  • uspace/app/getterm/Makefile

    r6d7f9bfe r40d4c1d  
    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
     36        $(MAKE) -f Makefile.build PRECHECK=$(PRECHECK)
    3737
    3838clean:
    39         rm -f $(DEPEND) $(DEPEND_PREV) $(OUTPUT) $(OUTPUT).map $(OUTPUT).disasm
     39        rm -f $(DEPEND) $(DEPEND_PREV) $(JOB) $(OUTPUT) $(OUTPUT).map $(OUTPUT).disasm
    4040        find . -name '*.o' -follow -exec rm \{\} \;
  • uspace/app/getterm/Makefile.build

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

    r6d7f9bfe r40d4c1d  
    3737DEPEND = Makefile.depend
    3838DEPEND_PREV = $(DEPEND).prev
     39JOB = getterm.job
    3940OUTPUT = getterm
  • uspace/app/init/Makefile

    r6d7f9bfe r40d4c1d  
    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
     36        $(MAKE) -f Makefile.build PRECHECK=$(PRECHECK)
    3737
    3838clean:
    39         rm -f $(DEPEND) $(DEPEND_PREV) $(OUTPUT) $(OUTPUT).map $(OUTPUT).disasm
     39        rm -f $(DEPEND) $(DEPEND_PREV) $(JOB) $(OUTPUT) $(OUTPUT).map $(OUTPUT).disasm
    4040        find . -name '*.o' -follow -exec rm \{\} \;
  • uspace/app/init/Makefile.build

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

    r6d7f9bfe r40d4c1d  
    3737DEPEND = Makefile.depend
    3838DEPEND_PREV = $(DEPEND).prev
     39JOB = init.job
    3940OUTPUT = init
  • uspace/app/init/init.c

    r6d7f9bfe r40d4c1d  
    265265        spawn("/srv/fhc");
    266266        spawn("/srv/obio");
     267        srv_start("/srv/i8042");
     268        srv_start("/srv/c_mouse");
    267269
    268270        spawn("/srv/fb");
  • uspace/app/klog/Makefile

    r6d7f9bfe r40d4c1d  
    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
     36        $(MAKE) -f Makefile.build PRECHECK=$(PRECHECK)
    3737
    3838clean:
    39         rm -f $(DEPEND) $(DEPEND_PREV) $(OUTPUT) $(OUTPUT).map $(OUTPUT).disasm
     39        rm -f $(DEPEND) $(DEPEND_PREV) $(JOB) $(OUTPUT) $(OUTPUT).map $(OUTPUT).disasm
    4040        find . -name '*.o' -follow -exec rm \{\} \;
  • uspace/app/klog/Makefile.build

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

    r6d7f9bfe r40d4c1d  
    3737DEPEND = Makefile.depend
    3838DEPEND_PREV = $(DEPEND).prev
     39JOB = klog.job
    3940OUTPUT = klog
  • uspace/app/redir/Makefile

    r6d7f9bfe r40d4c1d  
    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
     36        $(MAKE) -f Makefile.build PRECHECK=$(PRECHECK)
    3737
    3838clean:
    39         rm -f $(DEPEND) $(DEPEND_PREV) $(OUTPUT) $(OUTPUT).map $(OUTPUT).disasm
     39        rm -f $(DEPEND) $(DEPEND_PREV) $(JOB) $(OUTPUT) $(OUTPUT).map $(OUTPUT).disasm
    4040        find . -name '*.o' -follow -exec rm \{\} \;
  • uspace/app/redir/Makefile.build

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

    r6d7f9bfe r40d4c1d  
    3737DEPEND = Makefile.depend
    3838DEPEND_PREV = $(DEPEND).prev
     39JOB = redir.job
    3940OUTPUT = redir
  • uspace/app/tester/Makefile

    r6d7f9bfe r40d4c1d  
    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
     36        $(MAKE) -f Makefile.build PRECHECK=$(PRECHECK)
    3737
    3838clean:
    39         rm -f $(DEPEND) $(DEPEND_PREV) $(OUTPUT) $(OUTPUT).map $(OUTPUT).disasm
     39        rm -f $(DEPEND) $(DEPEND_PREV) $(JOB) $(OUTPUT) $(OUTPUT).map $(OUTPUT).disasm
    4040        find . -name '*.o' -follow -exec rm \{\} \;
  • uspace/app/tester/Makefile.build

    r6d7f9bfe r40d4c1d  
    7373%.o: %.c $(DEPEND)
    7474        $(CC) $(DEFS) $(CFLAGS) -c $< -o $@
     75ifeq ($(PRECHECK),y)
     76        $(JOBFILE) $(JOB) $< $@ cc core $(DEFS) $(CFLAGS)
     77endif
    7578
    7679$(DEPEND):
  • uspace/app/tester/Makefile.common

    r6d7f9bfe r40d4c1d  
    3737DEPEND = Makefile.depend
    3838DEPEND_PREV = $(DEPEND).prev
     39JOB = tester.job
    3940OUTPUT = tester
  • uspace/app/tetris/Makefile

    r6d7f9bfe r40d4c1d  
    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
     36        $(MAKE) -f Makefile.build PRECHECK=$(PRECHECK)
    3737
    3838clean:
    39         rm -f $(DEPEND) $(DEPEND_PREV) $(OUTPUT) $(OUTPUT).map $(OUTPUT).disasm
     39        rm -f $(DEPEND) $(DEPEND_PREV) $(JOB) $(OUTPUT) $(OUTPUT).map $(OUTPUT).disasm
    4040        find . -name '*.o' -follow -exec rm \{\} \;
  • uspace/app/tetris/Makefile.build

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

    r6d7f9bfe r40d4c1d  
    3737DEPEND = Makefile.depend
    3838DEPEND_PREV = $(DEPEND).prev
     39JOB = tetris.job
    3940OUTPUT = tetris
  • uspace/app/trace/Makefile

    r6d7f9bfe r40d4c1d  
    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
     36        $(MAKE) -f Makefile.build PRECHECK=$(PRECHECK)
    3737
    3838clean:
    39         rm -f $(DEPEND) $(DEPEND_PREV) $(OUTPUT) $(OUTPUT).map $(OUTPUT).disasm
     39        rm -f $(DEPEND) $(DEPEND_PREV) $(JOB) $(OUTPUT) $(OUTPUT).map $(OUTPUT).disasm
    4040        find . -name '*.o' -follow -exec rm \{\} \;
  • uspace/app/trace/Makefile.build

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

    r6d7f9bfe r40d4c1d  
    3737DEPEND = Makefile.depend
    3838DEPEND_PREV = $(DEPEND).prev
     39JOB = trace.job
    3940OUTPUT = trace
  • uspace/lib/libblock/Makefile

    r6d7f9bfe r40d4c1d  
    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
     36        $(MAKE) -f Makefile.build PRECHECK=$(PRECHECK)
    3737
    3838clean:
    39         rm -f $(DEPEND) $(DEPEND_PREV) $(LIBBLOCK)
     39        rm -f $(DEPEND) $(DEPEND_PREV) $(JOB) $(LIBBLOCK)
    4040        find . -name '*.o' -follow -exec rm \{\} \;
  • uspace/lib/libblock/Makefile.build

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

    r6d7f9bfe r40d4c1d  
    3434DEPEND = Makefile.depend
    3535DEPEND_PREV = $(DEPEND).prev
     36JOB = libblock.job
    3637LIBBLOCK = libblock.a
  • uspace/lib/libc/Makefile

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

    r6d7f9bfe r40d4c1d  
    112112%.o: %.S $(DEPEND)
    113113        $(CC) $(DEFS) $(AFLAGS) $(CFLAGS) -D__ASM__ -c $< -o $@
     114ifeq ($(PRECHECK),y)
     115        $(JOBFILE) $(JOB) $< $@ as asm/preproc $(DEFS) $(AFLAGS) $(CFLAGS) -D__ASM__
     116endif
    114117
    115118%.o: %.s $(DEPEND)
    116119        $(AS) $(AFLAGS) $< -o $@
     120ifeq ($(PRECHECK),y)
     121        $(JOBFILE) $(JOB) $< $@ as asm $(AFLAGS)
     122endif
    117123
    118124%.o: %.c $(DEPEND)
    119125        $(CC) $(DEFS) $(CFLAGS) -c $< -o $@
     126ifeq ($(PRECHECK),y)
     127        $(JOBFILE) $(JOB) $< $@ cc core $(DEFS) $(CFLAGS)
     128endif
    120129
    121130$(DEPEND): $(INCLUDE_KERNEL) $(INCLUDE_ARCH) $(INCLUDE_LIBARCH)
  • uspace/lib/libc/Makefile.common

    r6d7f9bfe r40d4c1d  
    3333DEPEND = Makefile.depend
    3434DEPEND_PREV = $(DEPEND).prev
     35JOB = libc.job
    3536LIBC = libc.a
    3637INCLUDE_KERNEL = include/kernel
  • uspace/lib/libc/Makefile.toolchain

    r6d7f9bfe r40d4c1d  
    7878#
    7979
     80JOBFILE = $(LIBC_PREFIX)/../../../tools/jobfile.py
     81
    8082ifeq ($(COMPILER),gcc_cross)
    8183        CC = $(TOOLCHAIN_DIR)/$(TARGET)-gcc
  • uspace/lib/libfs/Makefile

    r6d7f9bfe r40d4c1d  
    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
     36        $(MAKE) -f Makefile.build PRECHECK=$(PRECHECK)
    3737
    3838clean:
    39         rm -f $(DEPEND) $(DEPEND_PREV) $(LIBFS)
     39        rm -f $(DEPEND) $(DEPEND_PREV) $(JOB) $(LIBFS)
    4040        find . -name '*.o' -follow -exec rm \{\} \;
  • uspace/lib/libfs/Makefile.build

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

    r6d7f9bfe r40d4c1d  
    3434DEPEND = Makefile.depend
    3535DEPEND_PREV = $(DEPEND).prev
     36JOB = libfs.job
    3637LIBFS = libfs.a
  • uspace/lib/softfloat/Makefile

    r6d7f9bfe r40d4c1d  
    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
     36        $(MAKE) -f Makefile.build PRECHECK=$(PRECHECK)
    3737
    3838clean:
    39         rm -f $(DEPEND) $(DEPEND_PREV) $(LIBSOFTFLOAT)
     39        rm -f $(DEPEND) $(DEPEND_PREV) $(JOB) $(LIBSOFTFLOAT)
    4040        find . -name '*.o' -follow -exec rm \{\} \;
  • uspace/lib/softfloat/Makefile.build

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

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

    r6d7f9bfe r40d4c1d  
    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
     36        $(MAKE) -f Makefile.build PRECHECK=$(PRECHECK)
    3737
    3838clean:
    39         rm -f $(DEPEND) $(DEPEND_PREV) $(LIBSOFTINT)
     39        rm -f $(DEPEND) $(DEPEND_PREV) $(JOB) $(LIBSOFTINT)
    4040        find . -name '*.o' -follow -exec rm \{\} \;
  • uspace/lib/softint/Makefile.build

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

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

    r6d7f9bfe r40d4c1d  
    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
     36        $(MAKE) -f Makefile.build PRECHECK=$(PRECHECK)
    3737
    3838clean:
    39         rm -f $(DEPEND) $(DEPEND_PREV) $(OUTPUT) $(OUTPUT).map $(OUTPUT).disasm
     39        rm -f $(DEPEND) $(DEPEND_PREV) $(JOB) $(OUTPUT) $(OUTPUT).map $(OUTPUT).disasm
    4040        find . -name '*.o' -follow -exec rm \{\} \;
  • uspace/srv/bd/ata_bd/Makefile.build

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

    r6d7f9bfe r40d4c1d  
    3737DEPEND = Makefile.depend
    3838DEPEND_PREV = $(DEPEND).prev
     39JOB = ata_bd.job
    3940OUTPUT = ata_bd
  • uspace/srv/bd/file_bd/Makefile

    r6d7f9bfe r40d4c1d  
    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
     36        $(MAKE) -f Makefile.build PRECHECK=$(PRECHECK)
    3737
    3838clean:
    39         rm -f $(DEPEND) $(DEPEND_PREV) $(OUTPUT) $(OUTPUT).map $(OUTPUT).disasm
     39        rm -f $(DEPEND) $(DEPEND_PREV) $(JOB) $(OUTPUT) $(OUTPUT).map $(OUTPUT).disasm
    4040        find . -name '*.o' -follow -exec rm \{\} \;
  • uspace/srv/bd/file_bd/Makefile.build

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

    r6d7f9bfe r40d4c1d  
    3737DEPEND = Makefile.depend
    3838DEPEND_PREV = $(DEPEND).prev
     39JOB = file_bd.job
    3940OUTPUT = file_bd
  • uspace/srv/bd/gxe_bd/Makefile

    r6d7f9bfe r40d4c1d  
    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
     36        $(MAKE) -f Makefile.build PRECHECK=$(PRECHECK)
    3737
    3838clean:
    39         rm -f $(DEPEND) $(DEPEND_PREV) $(OUTPUT) $(OUTPUT).map $(OUTPUT).disasm
     39        rm -f $(DEPEND) $(DEPEND_PREV) $(JOB) $(OUTPUT) $(OUTPUT).map $(OUTPUT).disasm
    4040        find . -name '*.o' -follow -exec rm \{\} \;
  • uspace/srv/bd/gxe_bd/Makefile.build

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

    r6d7f9bfe r40d4c1d  
    3737DEPEND = Makefile.depend
    3838DEPEND_PREV = $(DEPEND).prev
     39JOB = gxe_bd.job
    3940OUTPUT = gxe_bd
  • uspace/srv/bd/rd/Makefile

    r6d7f9bfe r40d4c1d  
    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
     36        $(MAKE) -f Makefile.build PRECHECK=$(PRECHECK)
    3737
    3838clean:
    39         rm -f $(DEPEND) $(DEPEND_PREV) $(OUTPUT) $(OUTPUT).map $(OUTPUT).disasm
     39        rm -f $(DEPEND) $(DEPEND_PREV) $(JOB) $(OUTPUT) $(OUTPUT).map $(OUTPUT).disasm
    4040        find . -name '*.o' -follow -exec rm \{\} \;
  • uspace/srv/bd/rd/Makefile.build

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

    r6d7f9bfe r40d4c1d  
    3737DEPEND = Makefile.depend
    3838DEPEND_PREV = $(DEPEND).prev
     39JOB = rd.job
    3940OUTPUT = rd
  • uspace/srv/clip/Makefile

    r6d7f9bfe r40d4c1d  
    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
     35        $(MAKE) -f Makefile.build PRECHECK=$(PRECHECK)
    3636
    3737clean:
    38         rm -f $(DEPEND) $(DEPEND_PREV) $(OUTPUT) $(OUTPUT).map $(OUTPUT).disasm
     38        rm -f $(DEPEND) $(DEPEND_PREV) $(JOB) $(OUTPUT) $(OUTPUT).map $(OUTPUT).disasm
    3939        find . -name '*.o' -follow -exec rm \{\} \;
  • uspace/srv/clip/Makefile.build

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

    r6d7f9bfe r40d4c1d  
    3737DEPEND = Makefile.depend
    3838DEPEND_PREV = $(DEPEND).prev
     39JOB = clip.job
    3940OUTPUT = clip
  • uspace/srv/devmap/Makefile

    r6d7f9bfe r40d4c1d  
    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
     36        $(MAKE) -f Makefile.build PRECHECK=$(PRECHECK)
    3737
    3838clean:
    39         rm -f $(DEPEND) $(DEPEND_PREV) $(OUTPUT) $(OUTPUT).map $(OUTPUT).disasm
     39        rm -f $(DEPEND) $(DEPEND_PREV) $(JOB) $(OUTPUT) $(OUTPUT).map $(OUTPUT).disasm
    4040        find . -name '*.o' -follow -exec rm \{\} \;
  • uspace/srv/devmap/Makefile.build

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

    r6d7f9bfe r40d4c1d  
    3737DEPEND = Makefile.depend
    3838DEPEND_PREV = $(DEPEND).prev
     39JOB = devmap.job
    3940OUTPUT = devmap
  • uspace/srv/fs/devfs/Makefile

    r6d7f9bfe r40d4c1d  
    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
     36        $(MAKE) -f Makefile.build PRECHECK=$(PRECHECK)
    3737
    3838clean:
    39         rm -f $(DEPEND) $(DEPEND_PREV) $(OUTPUT) $(OUTPUT).map $(OUTPUT).disasm
     39        rm -f $(DEPEND) $(DEPEND_PREV) $(JOB) $(OUTPUT) $(OUTPUT).map $(OUTPUT).disasm
    4040        find . -name '*.o' -follow -exec rm \{\} \;
  • uspace/srv/fs/devfs/Makefile.build

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

    r6d7f9bfe r40d4c1d  
    3838DEPEND = Makefile.depend
    3939DEPEND_PREV = $(DEPEND).prev
     40JOB = devfs.job
    4041OUTPUT = devfs
  • uspace/srv/fs/fat/Makefile

    r6d7f9bfe r40d4c1d  
    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
     36        $(MAKE) -f Makefile.build PRECHECK=$(PRECHECK)
    3737
    3838clean:
    39         rm -f $(DEPEND) $(DEPEND_PREV) $(OUTPUT) $(OUTPUT).map $(OUTPUT).disasm
     39        rm -f $(DEPEND) $(DEPEND_PREV) $(JOB) $(OUTPUT) $(OUTPUT).map $(OUTPUT).disasm
    4040        find . -name '*.o' -follow -exec rm \{\} \;
  • uspace/srv/fs/fat/Makefile.build

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

    r6d7f9bfe r40d4c1d  
    3939DEPEND = Makefile.depend
    4040DEPEND_PREV = $(DEPEND).prev
     41JOB = fat.job
    4142OUTPUT = fat
  • uspace/srv/fs/tmpfs/Makefile

    r6d7f9bfe r40d4c1d  
    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
     36        $(MAKE) -f Makefile.build PRECHECK=$(PRECHECK)
    3737
    3838clean:
    39         rm -f $(DEPEND) $(DEPEND_PREV) $(OUTPUT) $(OUTPUT).map $(OUTPUT).disasm
     39        rm -f $(DEPEND) $(DEPEND_PREV) $(JOB) $(OUTPUT) $(OUTPUT).map $(OUTPUT).disasm
    4040        find . -name '*.o' -follow -exec rm \{\} \;
  • uspace/srv/fs/tmpfs/Makefile.build

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

    r6d7f9bfe r40d4c1d  
    3939DEPEND = Makefile.depend
    4040DEPEND_PREV = $(DEPEND).prev
     41JOB = tmpfs.job
    4142OUTPUT = tmpfs
  • uspace/srv/loader/Makefile

    r6d7f9bfe r40d4c1d  
    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
     36        $(MAKE) -f Makefile.build PRECHECK=$(PRECHECK)
    3737
    3838clean:
    39         rm -f $(DEPEND) $(DEPEND_PREV) $(OUTPUT) $(OUTPUT).map $(OUTPUT).disasm arch/*/_link.ld
     39        rm -f $(DEPEND) $(DEPEND_PREV) $(JOB) $(OUTPUT) $(OUTPUT).map $(OUTPUT).disasm arch/*/_link.ld
    4040        find . -name '*.o' -follow -exec rm \{\} \;
  • uspace/srv/loader/Makefile.build

    r6d7f9bfe r40d4c1d  
    6666%.o: %.c $(DEPEND)
    6767        $(CC) $(DEFS) $(CFLAGS) -c $< -o $@
     68ifeq ($(PRECHECK),y)
     69        $(JOBFILE) $(JOB) $< $@ cc core $(DEFS) $(CFLAGS)
     70endif
    6871
    6972%.o: %.s $(DEPEND)
    7073        $(AS) $(AFLAGS) $< -o $@
     74ifeq ($(PRECHECK),y)
     75        $(JOBFILE) $(JOB) $< $@ as asm $(DEFS) $(CFLAGS)
     76endif
    7177
    7278$(DEPEND):
  • uspace/srv/loader/Makefile.common

    r6d7f9bfe r40d4c1d  
    3737DEPEND = Makefile.depend
    3838DEPEND_PREV = $(DEPEND).prev
     39JOB = loader.job
    3940OUTPUT = loader
  • uspace/srv/ns/Makefile

    r6d7f9bfe r40d4c1d  
    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
     36        $(MAKE) -f Makefile.build PRECHECK=$(PRECHECK)
    3737
    3838clean:
    39         rm -f $(DEPEND) $(DEPEND_PREV) $(OUTPUT) $(OUTPUT).map $(OUTPUT).disasm
     39        rm -f $(DEPEND) $(DEPEND_PREV) $(JOB) $(OUTPUT) $(OUTPUT).map $(OUTPUT).disasm
    4040        find . -name '*.o' -follow -exec rm \{\} \;
  • uspace/srv/ns/Makefile.build

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

    r6d7f9bfe r40d4c1d  
    3737DEPEND = Makefile.depend
    3838DEPEND_PREV = $(DEPEND).prev
     39JOB = ns.job
    3940OUTPUT = ns
  • uspace/srv/vfs/Makefile

    r6d7f9bfe r40d4c1d  
    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
     36        $(MAKE) -f Makefile.build PRECHECK=$(PRECHECK)
    3737
    3838clean:
    39         rm -f $(DEPEND) $(DEPEND_PREV) $(OUTPUT) $(OUTPUT).map $(OUTPUT).disasm
     39        rm -f $(DEPEND) $(DEPEND_PREV) $(JOB) $(OUTPUT) $(OUTPUT).map $(OUTPUT).disasm
    4040        find . -name '*.o' -follow -exec rm \{\} \;
  • uspace/srv/vfs/Makefile.build

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

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