- Timestamp:
- 2011-05-12T16:49:44Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- f36787d7
- Parents:
- e80329d6 (diff), 750636a (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. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Makefile
re80329d6 rb5e68c8 28 28 29 29 CSCOPE = cscope 30 CHECK = tools/check.sh 30 31 CONFIG = tools/config.py 31 32 AUTOTOOL = tools/autotool.py … … 41 42 CONFIG_HEADER = config.h 42 43 43 .PHONY: all precheck cscope autotool config_ default config distclean clean44 .PHONY: all precheck cscope autotool config_auto config_default config distclean clean check releasefile release 44 45 45 46 all: $(COMMON_MAKEFILE) $(COMMON_HEADER) $(CONFIG_MAKEFILE) $(CONFIG_HEADER) … … 55 56 find kernel boot uspace -regex '^.*\.[chsS]$$' | xargs $(CSCOPE) -b -k -u -f$(CSCOPE).out 56 57 58 # Pre-integration build check 59 check: $(CHECK) 60 ifdef JOBS 61 $(CHECK) -j $(JOBS) 62 else 63 $(CHECK) 64 endif 65 66 # Autotool (detects compiler features) 67 57 68 $(COMMON_MAKEFILE): autotool 58 69 $(COMMON_HEADER): autotool … … 62 73 -[ -f $(COMMON_HEADER_PREV) ] && diff -q $(COMMON_HEADER_PREV) $(COMMON_HEADER) && mv -f $(COMMON_HEADER_PREV) $(COMMON_HEADER) 63 74 75 # Build-time configuration 76 64 77 $(CONFIG_MAKEFILE): config_default 65 78 $(CONFIG_HEADER): config_default 66 79 67 80 config_default: $(CONFIG_RULES) 68 $(CONFIG) $< default 81 ifeq ($(HANDS_OFF),y) 82 $(CONFIG) $< hands-off $(PROFILE) 83 else 84 $(CONFIG) $< default $(PROFILE) 85 endif 69 86 70 87 config: $(CONFIG_RULES) 71 88 $(CONFIG) $< 72 89 90 # Release files 91 92 releasefile: all 93 $(MAKE) -C release releasefile 94 95 release: 96 $(MAKE) -C release release 97 98 # Cleaning 99 73 100 distclean: clean 74 rm -f $(CSCOPE).out $(COMMON_MAKEFILE) $(COMMON_HEADER) $(COMMON_HEADER_PREV) $(CONFIG_MAKEFILE) $(CONFIG_HEADER) tools/*.pyc tools/checkers/*.pyc 101 rm -f $(CSCOPE).out $(COMMON_MAKEFILE) $(COMMON_HEADER) $(COMMON_HEADER_PREV) $(CONFIG_MAKEFILE) $(CONFIG_HEADER) tools/*.pyc tools/checkers/*.pyc release/HelenOS-* 75 102 76 103 clean:
Note:
See TracChangeset
for help on using the changeset viewer.