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

Changeset e540bc87 in mainline


Ignore:
Timestamp:
2017-05-19T15:46:36Z (5 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master
Children:
c7a67c4
Parents:
b06414f
Message:

disable implicit make rules
(we do not build a native application, thus we want to retain full control of the build process)

Files:
4 edited

Legend:

Unmodified
Added
Removed
  • Makefile

    rb06414f re540bc87  
    4949all: $(COMMON_MAKEFILE) $(COMMON_HEADER) $(CONFIG_MAKEFILE) $(CONFIG_HEADER)
    5050        cp -a $(COMMON_HEADER) $(COMMON_HEADER_PREV)
    51         $(MAKE) -C kernel PRECHECK=$(PRECHECK)
    52         $(MAKE) -C uspace PRECHECK=$(PRECHECK)
    53         $(MAKE) -C boot PRECHECK=$(PRECHECK)
     51        $(MAKE) -r -C kernel PRECHECK=$(PRECHECK)
     52        $(MAKE) -r -C uspace PRECHECK=$(PRECHECK)
     53        $(MAKE) -r -C boot PRECHECK=$(PRECHECK)
    5454
    5555precheck: clean
    56         $(MAKE) all PRECHECK=y
     56        $(MAKE) -r all PRECHECK=y
    5757
    5858cscope:
     
    9797
    9898releasefile: all
    99         $(MAKE) -C release releasefile
     99        $(MAKE) -r -C release releasefile
    100100
    101101release:
    102         $(MAKE) -C release release
     102        $(MAKE) -r -C release release
    103103
    104104# Cleaning
     
    109109clean:
    110110        rm -fr $(SANDBOX)
    111         $(MAKE) -C kernel clean
    112         $(MAKE) -C uspace clean
    113         $(MAKE) -C boot clean
     111        $(MAKE) -r -C kernel clean
     112        $(MAKE) -r -C uspace clean
     113        $(MAKE) -r -C boot clean
    114114
    115115-include Makefile.local
  • boot/Makefile

    rb06414f re540bc87  
    3232
    3333all: $(VERSION_DEF) $(COMMON_MAKEFILE) $(COMMON_HEADER) $(CONFIG_MAKEFILE) $(CONFIG_HEADER) $(PREBUILD)
    34         $(MAKE) -f $(BUILD) PRECHECK=$(PRECHECK)
     34        $(MAKE) -r -f $(BUILD) PRECHECK=$(PRECHECK)
    3535ifneq ($(POSTBUILD),)
    36         $(MAKE) -f $(POSTBUILD) PRECHECK=$(PRECHECK)
     36        $(MAKE) -r -f $(POSTBUILD) PRECHECK=$(PRECHECK)
    3737endif
    3838
     
    128128
    129129clean: clean_dist
    130         $(MAKE) -f $(BUILD) clean PRECHECK=$(PRECHECK)
     130        $(MAKE) -r -f $(BUILD) clean PRECHECK=$(PRECHECK)
    131131ifneq ($(POSTBUILD),)
    132         $(MAKE) -f $(POSTBUILD) clean PRECHECK=$(PRECHECK)
     132        $(MAKE) -r -f $(POSTBUILD) clean PRECHECK=$(PRECHECK)
    133133endif
    134134        rm -fr $(SANDBOX)
  • release/Makefile

    rb06414f re540bc87  
    7979
    8080$(IMG_FILE):
    81         $(MAKE) -C $(EXPORT_DIR)
     81        $(MAKE) -r -C $(EXPORT_DIR)
    8282
    8383release: src_rel
    8484        for profile in $(PROFILES); do \
    85                 $(MAKE) -C $(EXPORT_DIR) distclean ; \
    86                 $(MAKE) -C $(EXPORT_DIR) PROFILE=$$profile ; \
    87                 $(MAKE) PROFILE=$$profile releasefile ; \
     85                $(MAKE) -r -C $(EXPORT_DIR) distclean ; \
     86                $(MAKE) -r -C $(EXPORT_DIR) PROFILE=$$profile ; \
     87                $(MAKE) -r PROFILE=$$profile releasefile ; \
    8888        done
    8989
  • uspace/Makefile

    rb06414f re540bc87  
    280280
    281281$(BUILDS_TESTS): $(LIBC_BUILD) $(LIBS_BUILD) $(LIBN_BUILD)
    282         $(MAKE) -C $(basename $@) all-test PRECHECK=$(PRECHECK)
     282        $(MAKE) -r -C $(basename $@) all-test PRECHECK=$(PRECHECK)
    283283
    284284clean: $(CLEANS)
    285285
    286286$(CLEANS):
    287         -$(MAKE) -C $(basename $@) clean
     287        -$(MAKE) -r -C $(basename $@) clean
    288288
    289289$(BUILDS): $(LIBC_BUILD) $(LIBS_BUILD) $(LIBN_BUILD)
    290         $(MAKE) -C $(basename $@) all PRECHECK=$(PRECHECK)
     290        $(MAKE) -r -C $(basename $@) all PRECHECK=$(PRECHECK)
    291291
    292292$(LIBN_BUILD): $(LIBC_BUILD) $(LIBS_BUILD)
    293         $(MAKE) -C $(basename $@) all PRECHECK=$(PRECHECK)
     293        $(MAKE) -r -C $(basename $@) all PRECHECK=$(PRECHECK)
    294294
    295295$(LIBS_BUILD): $(LIBC_BUILD)
    296         $(MAKE) -C $(basename $@) all PRECHECK=$(PRECHECK)
     296        $(MAKE) -r -C $(basename $@) all PRECHECK=$(PRECHECK)
    297297
    298298$(LIBC_BUILD):
    299         $(MAKE) -C $(basename $@) all PRECHECK=$(PRECHECK)
     299        $(MAKE) -r -C $(basename $@) all PRECHECK=$(PRECHECK)
Note: See TracChangeset for help on using the changeset viewer.