Changeset 3b3e776 in mainline for Makefile


Ignore:
Timestamp:
2010-02-05T10:57:50Z (14 years ago)
Author:
Lenka Trochtova <trochtova.lenka@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
0358da0
Parents:
3f085132 (diff), b4cbef1 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

merged with head

File:
1 edited

Legend:

Unmodified
Added
Removed
  • Makefile

    r3f085132 r3b3e776  
    3030#
    3131
    32 .PHONY: all config config_default distclean clean cscope
     32CSCOPE = cscope
     33CONFIG = tools/config.py
     34
     35.PHONY: all config config_default distclean clean cscope precheck
    3336
    3437all: Makefile.config config.h config.defs
    35         $(MAKE) -C kernel
    36         $(MAKE) -C uspace
    37         $(MAKE) -C boot
     38        $(MAKE) -C kernel PRECHECK=$(PRECHECK)
     39        $(MAKE) -C uspace PRECHECK=$(PRECHECK)
     40        $(MAKE) -C boot PRECHECK=$(PRECHECK)
     41
     42precheck: clean
     43        $(MAKE) all PRECHECK=y
     44
     45cscope:
     46        find kernel boot uspace -regex '^.*\.[chsS]$$' | xargs $(CSCOPE) -b -k -u -f$(CSCOPE).out
    3847
    3948Makefile.config: config_default
     
    4453
    4554config_default: HelenOS.config
    46         tools/config.py HelenOS.config default
     55        $(CONFIG) HelenOS.config default
    4756
    4857config: HelenOS.config
    49         tools/config.py HelenOS.config
     58        $(CONFIG) HelenOS.config
    5059
    5160distclean: clean
    52         rm -f Makefile.config config.h config.defs tools/*.pyc
     61        rm -f $(CSCOPE).out Makefile.config config.h config.defs tools/*.pyc tools/checkers/*.pyc
    5362
    5463clean:
    55         -$(MAKE) -C kernel clean
    56         -$(MAKE) -C uspace clean
    57         -$(MAKE) -C boot clean
    58 
    59 cscope:
    60         find kernel boot uspace -regex '^.*\.[chsS]$$' -print > srclist
    61         rm -f cscope.out
    62         cscope -bi srclist
     64        $(MAKE) -C kernel clean
     65        $(MAKE) -C uspace clean
     66        $(MAKE) -C boot clean
Note: See TracChangeset for help on using the changeset viewer.