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

Changeset feab36ae in mainline


Ignore:
Timestamp:
2017-10-21T03:55:53Z (4 years ago)
Author:
jzr <zarevucky.jiri@…>
Branches:
lfn, master
Children:
4761f54
Parents:
81685dd9
Message:

Split kernel and uspace into separate toplevel targets, to allow
building each individually.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • Makefile

    r81685dd9 rfeab36ae  
    4646CONFIG_HEADER = config.h
    4747
    48 .PHONY: all precheck cscope cscope_parts autotool config_auto config_default config distclean clean check releasefile release
     48.PHONY: all precheck cscope cscope_parts autotool config_auto config_default config distclean clean check releasefile release common boot kernel uspace
    4949
    50 all: $(COMMON_MAKEFILE) $(COMMON_HEADER) $(CONFIG_MAKEFILE) $(CONFIG_HEADER)
     50all: kernel uspace
     51        $(MAKE) -r -C boot PRECHECK=$(PRECHECK)
     52
     53common: $(COMMON_MAKEFILE) $(COMMON_HEADER) $(CONFIG_MAKEFILE) $(CONFIG_HEADER)
    5154        cp -a $(COMMON_HEADER) $(COMMON_HEADER_PREV)
     55
     56kernel: common
    5257        $(MAKE) -r -C kernel PRECHECK=$(PRECHECK)
     58
     59uspace: common
    5360        $(MAKE) -r -C uspace PRECHECK=$(PRECHECK)
    54         $(MAKE) -r -C boot PRECHECK=$(PRECHECK)
    5561
    5662precheck: clean
Note: See TracChangeset for help on using the changeset viewer.