Changeset 2b2783b in mainline
- 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:
- 1ef3213
- Parents:
- a8ccc7e
- git-author:
- Jiří Zárevúcky <zarevucky.jiri@…> (2019-06-27 11:47:17)
- git-committer:
- Jiří Zárevúcky <zarevucky.jiri@…> (2019-08-17 12:49:43)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Makefile
ra8ccc7e r2b2783b 69 69 endif 70 70 71 .PHONY: all precheck cscope cscope_parts autotool config_default config distclean clean check releasefile release common export-posix space71 .PHONY: all precheck cscope cscope_parts autotool config_default config distclean clean check releasefile release meson export-posix space 72 72 73 all: common export-cross test-xcw73 all: meson export-cross test-xcw 74 74 $(MAKE) -r -C boot PRECHECK=$(PRECHECK) BUILD_DIR=$(BUILD_DIR) 75 75 … … 77 77 PATH="$(CROSS_PATH):$$PATH" meson . $(BUILD_DIR) --cross-file meson/cross/$(CROSS_TARGET) $(MESON_ARGS) 78 78 79 common: $(COMMON_MAKEFILE) $(CONFIG_MAKEFILE) $(CONFIG_HEADER) $(ERRNO_HEADER) $(BUILD_DIR)/build.ninja79 meson: $(COMMON_MAKEFILE) $(CONFIG_MAKEFILE) $(CONFIG_HEADER) $(ERRNO_HEADER) $(BUILD_DIR)/build.ninja 80 80 PATH="$(CROSS_PATH):$$PATH" ninja -C $(BUILD_DIR) 81 81 PATH="$(CROSS_PATH):$$PATH" DESTDIR="$(BUILD_DIR)/dist" meson install --no-rebuild --only-changed -C $(BUILD_DIR) > $(BUILD_DIR)/install.log 82 82 83 test-xcw: common export-cross83 test-xcw: meson export-cross 84 84 ifeq ($(CONFIG_DEVEL_FILES),y) 85 85 export PATH=$$PATH:$(abspath tools/xcw/bin) && $(MAKE) -r -C tools/xcw/demo 86 86 endif 87 87 88 export-posix: common88 export-posix: meson 89 89 ifndef EXPORT_DIR 90 90 @echo ERROR: Variable EXPORT_DIR is not defined. && false … … 94 94 endif 95 95 96 export-cross: common96 export-cross: meson 97 97 mkdir -p uspace/export 98 98 $(MAKE) -r -C uspace export EXPORT_DIR=$(abspath uspace/export) UARCH=$(UARCH)
Note:
See TracChangeset
for help on using the changeset viewer.