Makefile (46853bd9e7126e0673b12e6d2bf1ee9dedc5afbd) | Makefile (c17a386b6afe608086aa4d260e29662865680b7f) |
---|---|
1# Makefile for QEMU. 2 3ifneq ($(words $(subst :, ,$(CURDIR))), 1) 4 $(error main directory cannot contain spaces nor colons) 5endif 6 7# Always point to the root of the build tree (needs GNU make). 8BUILD_DIR=$(CURDIR) --- 92 unchanged lines hidden (view full) --- 101 ./config.status --skip-meson; \ 102 else \ 103 ./config.status; \ 104 fi 105 106# Force configure to re-run if the API symbols are updated 107ifeq ($(CONFIG_PLUGIN),y) 108config-host.mak: $(SRC_PATH)/plugins/qemu-plugins.symbols | 1# Makefile for QEMU. 2 3ifneq ($(words $(subst :, ,$(CURDIR))), 1) 4 $(error main directory cannot contain spaces nor colons) 5endif 6 7# Always point to the root of the build tree (needs GNU make). 8BUILD_DIR=$(CURDIR) --- 92 unchanged lines hidden (view full) --- 101 ./config.status --skip-meson; \ 102 else \ 103 ./config.status; \ 104 fi 105 106# Force configure to re-run if the API symbols are updated 107ifeq ($(CONFIG_PLUGIN),y) 108config-host.mak: $(SRC_PATH)/plugins/qemu-plugins.symbols |
109 110.PHONY: plugins 111plugins: 112 $(call quiet-command,\ 113 $(MAKE) $(SUBDIR_MAKEFLAGS) -C contrib/plugins V="$(V)", \ 114 "BUILD", "example plugins") |
|
109endif 110 111else 112config-host.mak: 113ifneq ($(filter-out $(UNCHECKED_GOALS),$(MAKECMDGOALS)),$(if $(MAKECMDGOALS),,fail)) 114 @echo "Please call configure before running make!" 115 @exit 1 116endif --- 134 unchanged lines hidden (view full) --- 251 @echo 'Generic targets:' 252 $(call print-help,all,Build all) 253 $(call print-help,dir/file.o,Build specified target only) 254 $(call print-help,install,Install QEMU, documentation and tools) 255 $(call print-help,ctags/TAGS,Generate tags file for editors) 256 $(call print-help,cscope,Generate cscope index) 257 $(call print-help,sparse,Run sparse on the QEMU source) 258 @echo '' | 115endif 116 117else 118config-host.mak: 119ifneq ($(filter-out $(UNCHECKED_GOALS),$(MAKECMDGOALS)),$(if $(MAKECMDGOALS),,fail)) 120 @echo "Please call configure before running make!" 121 @exit 1 122endif --- 134 unchanged lines hidden (view full) --- 257 @echo 'Generic targets:' 258 $(call print-help,all,Build all) 259 $(call print-help,dir/file.o,Build specified target only) 260 $(call print-help,install,Install QEMU, documentation and tools) 261 $(call print-help,ctags/TAGS,Generate tags file for editors) 262 $(call print-help,cscope,Generate cscope index) 263 $(call print-help,sparse,Run sparse on the QEMU source) 264 @echo '' |
265ifeq ($(CONFIG_PLUGIN),y) 266 @echo 'Plugin targets:' 267 $(call print-help,plugins,Build the example TCG plugins) 268 @echo '' 269endif |
|
259 @echo 'Cleaning targets:' 260 $(call print-help,clean,Remove most generated files but keep the config) 261 $(call print-help,distclean,Remove all generated files) 262 $(call print-help,dist,Build a distributable tarball) 263 @echo '' 264 @echo 'Test targets:' 265 $(call print-help,check,Run all tests (check-help for details)) 266 $(call print-help,bench,Run all benchmarks) --- 22 unchanged lines hidden --- | 270 @echo 'Cleaning targets:' 271 $(call print-help,clean,Remove most generated files but keep the config) 272 $(call print-help,distclean,Remove all generated files) 273 $(call print-help,dist,Build a distributable tarball) 274 @echo '' 275 @echo 'Test targets:' 276 $(call print-help,check,Run all tests (check-help for details)) 277 $(call print-help,bench,Run all benchmarks) --- 22 unchanged lines hidden --- |