- Timestamp:
- 2019-08-17T12:49:43Z (5 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- d4b30cf
- Parents:
- 45b26114
- git-author:
- Jiří Zárevúcky <zarevucky.jiri@…> (2019-06-30 11:30:52)
- git-committer:
- Jiří Zárevúcky <zarevucky.jiri@…> (2019-08-17 12:49:43)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Makefile
r45b26114 r2e2cefdb 34 34 FORMAT = clang-format 35 35 CHECK = tools/check.sh 36 CONFIG = tools/config.py36 CONFIG = $(abspath tools/config.py) 37 37 MESON = meson 38 38 … … 41 41 CONFIG_RULES = HelenOS.config 42 42 43 CONFIG_MAKEFILE = Makefile.config44 CONFIG_HEADER = config.h43 CONFIG_MAKEFILE = $(BUILD_DIR)/Makefile.config 44 CONFIG_HEADER = $(BUILD_DIR)/config.h 45 45 ERRNO_HEADER = abi/include/abi/errno.h 46 46 ERRNO_INPUT = abi/include/abi/errno.in 47 VERSION_FILE = version 47 48 48 49 -include $(CONFIG_MAKEFILE) … … 70 71 all: meson 71 72 72 $(BUILD_DIR)/build.ninja: Makefile.config version73 $(BUILD_DIR)/build.ninja: $(CONFIG_MAKEFILE) $(VERSION_FILE) 73 74 PATH="$(CROSS_PATH):$$PATH" meson . $(BUILD_DIR) --cross-file meson/cross/$(CROSS_TARGET) $(MESON_ARGS) 74 75 … … 131 132 132 133 config_default $(CONFIG_MAKEFILE) $(CONFIG_HEADER): $(CONFIG_RULES) 134 mkdir -p $(BUILD_DIR) 133 135 ifeq ($(HANDS_OFF),y) 134 $(CONFIG) $< defaultshands-off $(PROFILE)136 cd $(BUILD_DIR) && $(CONFIG) $(abspath $<) $(abspath defaults) hands-off $(PROFILE) 135 137 else 136 $(CONFIG) $< defaultsdefault $(PROFILE)138 cd $(BUILD_DIR) && $(CONFIG) $(abspath $<) $(abspath defaults) default $(PROFILE) 137 139 endif 138 140 139 141 config: $(CONFIG_RULES) 140 $(CONFIG) $< defaults 142 mkdir -p $(BUILD_DIR) 143 cd $(BUILD_DIR) && $(CONFIG) $(abspath $<) $(abspath defaults) 141 144 142 145 random-config: $(CONFIG_RULES) 143 $(CONFIG) $< defaults random 146 mkdir -p $(BUILD_DIR) 147 cd $(BUILD_DIR) && $(CONFIG) $(abspath $<) $(abspath defaults) random 144 148 145 149 # Release files
Note:
See TracChangeset
for help on using the changeset viewer.