Commit 93e7b446 authored by Andrew Jones's avatar Andrew Jones Committed by Paolo Bonzini
Browse files

Makefile: change 'make install' to install standalone tests



make install wasn't very useful without also installing scripts for
the qemu command lines. I suspect 'make install' was never used.
Installing standalone tests could be useful though, so let's do
that instead.
Signed-off-by: Andrew Jones's avatarAndrew Jones <drjones@redhat.com>
Signed-off-by: default avatarPaolo Bonzini <pbonzini@redhat.com>
parent 90b91265
......@@ -5,7 +5,7 @@ endif
include config.mak
DESTDIR := $(PREFIX)/share/qemu/tests
DESTDIR := $(PREFIX)/share/kvm-unit-tests/
.PHONY: arch_clean clean distclean cscope
......@@ -67,9 +67,9 @@ $(LIBFDT_archive): $(addprefix $(LIBFDT_objdir)/,$(LIBFDT_OBJS))
standalone: all
@scripts/mkstandalone.sh
install:
install: standalone
mkdir -p $(DESTDIR)
install $(tests_and_config) $(DESTDIR)
install tests/* $(DESTDIR)
clean: arch_clean
$(RM) lib/.*.d $(libcflat) $(cflatobjs)
......
......@@ -64,8 +64,6 @@ arm_clean: libfdt_clean asm_offsets_clean
##################################################################
tests_and_config = $(TEST_DIR)/*.flat $(TEST_DIR)/unittests.cfg
generated_files = $(asm-offsets)
test_cases: $(generated_files) $(tests-common) $(tests)
......
......@@ -43,8 +43,6 @@ tests-common += api/dirty-log
tests-common += api/dirty-log-perf
endif
tests_and_config = $(TEST_DIR)/*.flat $(TEST_DIR)/unittests.cfg
test_cases: $(tests-common) $(tests)
$(TEST_DIR)/%.o: CFLAGS += -std=gnu99 -ffreestanding -I lib -I lib/x86
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment