Changes in Makefile [4e9aaf5:eb221e5] in mainline


Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • Makefile

    r4e9aaf5 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_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)
     
    5556        find kernel boot uspace -regex '^.*\.[chsS]$$' | xargs $(CSCOPE) -b -k -u -f$(CSCOPE).out
    5657
     58# Pre-integration build check
     59check: $(CHECK)
     60ifdef JOBS
     61        $(CHECK) -j $(JOBS)
     62else
     63        $(CHECK)
     64endif
     65
    5766$(COMMON_MAKEFILE): autotool
    5867$(COMMON_HEADER): autotool
     
    6675
    6776config_default: $(CONFIG_RULES)
    68         $(CONFIG) $< default
     77ifeq ($(HANDS_OFF),y)
     78        $(CONFIG) $< hands-off $(PROFILE)
     79else
     80        $(CONFIG) $< default $(PROFILE)
     81endif
    6982
    7083config: $(CONFIG_RULES)
Note: See TracChangeset for help on using the changeset viewer.