LIBS_SYSPROXY= -lrumpkern_sysproxy
endif
-all: app-tools include/bmk/machine rumprun.o commonlibs buildtest tests
+all: app-tools include/bmk/machine rumprun.o commonlibs buildtest
OBJS_BMK-y+= intr.o clock.o kernel.o undefs.o
OBJS_BMK-y+= rumpuser.o rumpconfig.o
$(APP_TOOLS_CC) -DRUMPRUN_TESTER_JUSTMAIN -o $@ $<
tests: rumprun.o commonlibs app-tools
- $(APP_TOOLS_MAKE) -C ../../tests
+ RUMPRUN_PLATFORM=bmk ../../tests/buildtests.sh
+ ../../tests/runtests.sh qemu
clean: app-tools_clean
rm -f ${OBJS} include/bmk/machine buildtest
- $(MAKE) -C ../../tests clean
( cd ${BASEDIR} && ${RUMPMAKE} MAKEOBJDIR=baremetal cleandir )
( cd ${COREDIR} && ${RUMPMAKE} MAKEOBJDIR=baremetal cleandir )
( cd ${RUMPUSERDIR} && ${RUMPMAKE} MAKEOBJDIR=baremetal cleandir )
distcleanrump: cleanrump
rm -f config.mk
+ $(MAKE) -C ../../tests clean
$(CC) $(CFLAGS) $(CPPFLAGS) -c $< -o $@
.PHONY: default
-default: prepare mini-os commonlibs rumprun app-tools tests buildtest
+default: prepare mini-os commonlibs rumprun app-tools buildtest
.PHONY: prepare
prepare:
include $(APP_TOOLS_DIR)/Makefile.app-tools
-# New demos each have their own Makefile under ../../tests/ and are built using
-# app-tools.
.PHONY: tests
tests:
- $(APP_TOOLS_MAKE) -C ../../tests
+ RUMPRUN_PLATFORM=xen ../../tests/buildtests.sh
+ ../../tests/runtests.sh xen
.PHONY: clean arch_clean app-tools_clean
clean: app-tools_clean
$(MAKE) -C xen OBJ_DIR=$(OBJ_DIR)/xen clean
rm -f $(OBJ_DIR)/*.o $(OBJ_DIR)/lib/*.o buildtest
- $(MAKE) -C ../../tests clean
( cd ${BASEDIR} && ${RUMPMAKE} MAKEOBJDIR=xen cleandir )
( cd ${COREDIR} && ${RUMPMAKE} MAKEOBJDIR=xen cleandir )
( cd ${RUMPUSERDIR} && ${RUMPMAKE} MAKEOBJDIR=xen cleandir )
distcleanrump: cleanrump
rm -f config.mk
+ $(MAKE) -C ../../tests clean