Does something like this work for you?
diff --git a/tests/Makefile.include b/tests/Makefile.include --- a/tests/Makefile.include +++ b/tests/Makefile.include @@ -777,7 +777,7 @@ tests/migration/initrd-stress.img: tests/migration/stress$(EXESUF) rm $(INITRD_WORK_DIR)/init rmdir $(INITRD_WORK_DIR)
-ifeq ($(CONFIG_POSIX),y) +ifeq ($(CONFIG_POSIX)$(call lnot,$(CONFIG_SOLARIS)),yy) LIBS += -lutil endif
Does something like this work for you?
diff --git a/tests/ Makefile. include b/tests/ Makefile. include Makefile. include Makefile. include /initrd- stress. img: tests/migration /stress$ (EXESUF) WORK_DIR) /init
--- a/tests/
+++ b/tests/
@@ -777,7 +777,7 @@ tests/migration
rm $(INITRD_
rmdir $(INITRD_WORK_DIR)
-ifeq ($(CONFIG_POSIX),y) POSIX)$ (call lnot,$( CONFIG_ SOLARIS) ),yy)
+ifeq ($(CONFIG_
LIBS += -lutil
endif