mach-imx: bootaux: fix building with disabled bootelf
[platform/kernel/u-boot.git] / include / valgrind / valgrind.h
index e59a7fd..5d4fa5f 100644 (file)
 #else
 /* If we're not compiling for our target platform, don't generate
    any inline asms.  */
-#  undef CONFIG_VALGRIND
+#  if IS_ENABLED(CONFIG_VALGRIND)
+#    error "Unsupported platform for valgrind"
+#  endif
 #endif