Changeset 5f70118 in mainline for Makefile


Ignore:
Timestamp:
2010-01-10T12:16:59Z (14 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
c77a64f
Parents:
309ede1 (diff), 1ac3a52 (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:

Merge mainline changes.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • Makefile

    r309ede1 r5f70118  
    3030#
    3131
    32 .PHONY: all config 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)
    3841
    39 Makefile.config config.h config.defs: HelenOS.config
    40         tools/config.py HelenOS.config default
     42precheck: clean
     43        $(MAKE) all PRECHECK=y
    4144
    42 config:
    43         tools/config.py HelenOS.config
     45cscope:
     46        find kernel boot uspace -regex '^.*\.[chsS]$$' | xargs $(CSCOPE) -b -k -u -f$(CSCOPE).out
     47
     48Makefile.config: config_default
     49
     50config.h: config_default
     51
     52config.defs: config_default
     53
     54config_default: HelenOS.config
     55        $(CONFIG) HelenOS.config default
     56
     57config: HelenOS.config
     58        $(CONFIG) HelenOS.config
    4459
    4560distclean: clean
    46         rm -f Makefile.config config.h config.defs tools/*.pyc
     61        rm -f $(CSCOPE).out Makefile.config config.h config.defs tools/*.pyc
    4762
    4863clean:
    49         -$(MAKE) -C kernel clean
    50         -$(MAKE) -C uspace clean
    51         -$(MAKE) -C boot clean
    52 
    53 cscope:
    54         find kernel boot uspace -regex '^.*\.[chsS]$$' -print > srclist
    55         rm -f cscope.out
    56         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.