Changeset eb221e5 in mainline


Ignore:
Timestamp:
2010-12-14T23:15:55Z (13 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
7bdcc45, bbc74af7
Parents:
228e490
Message:

Add a script to check that all supported build profiles build well.

Ideally, before pushing changes to mainline, everyone should run
either:

$ make check [JOBS=desired_level_of_parallelism]

or:

$ tools/check.sh [-j desired_level_of_parallelism]

to see if something broke.

Files:
1 added
1 edited

Legend:

Unmodified
Added
Removed
  • Makefile

    r228e490 reb221e5  
    2828
    2929CSCOPE = cscope
     30CHECK = tools/check.sh
    3031CONFIG = tools/config.py
    3132AUTOTOOL = tools/autotool.py
     
    4142CONFIG_HEADER = config.h
    4243
    43 .PHONY: all precheck cscope autotool config_auto config_default config distclean clean
     44.PHONY: all precheck cscope autotool config_auto config_default config distclean clean check
    4445
    4546all: $(COMMON_MAKEFILE) $(COMMON_HEADER) $(CONFIG_MAKEFILE) $(CONFIG_HEADER)
     
    5455cscope:
    5556        find kernel boot uspace -regex '^.*\.[chsS]$$' | xargs $(CSCOPE) -b -k -u -f$(CSCOPE).out
     57
     58# Pre-integration build check
     59check: $(CHECK)
     60ifdef JOBS
     61        $(CHECK) -j $(JOBS)
     62else
     63        $(CHECK)
     64endif
    5665
    5766$(COMMON_MAKEFILE): autotool
Note: See TracChangeset for help on using the changeset viewer.