Skip to content

Commit 5b580fa

Browse files
committed
kconfig: Print errors to stderr in the Makefile
Signed-off-by: Michal Marek <mmarek@suse.cz>
1 parent 1a7a8c6 commit 5b580fa

File tree

1 file changed

+14
-14
lines changed

1 file changed

+14
-14
lines changed

scripts/kconfig/Makefile

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -234,12 +234,12 @@ $(obj)/.tmp_qtcheck:
234234
if [ -f $$d/include/qconfig.h ]; then dir=$$d; break; fi; \
235235
done; \
236236
if [ -z "$$dir" ]; then \
237-
echo "*"; \
238-
echo "* Unable to find any QT installation. Please make sure that"; \
239-
echo "* the QT4 or QT3 development package is correctly installed and"; \
240-
echo "* either qmake can be found or install pkg-config or set"; \
241-
echo "* the QTDIR environment variable to the correct location."; \
242-
echo "*"; \
237+
echo >&2 "*"; \
238+
echo >&2 "* Unable to find any QT installation. Please make sure that"; \
239+
echo >&2 "* the QT4 or QT3 development package is correctly installed and"; \
240+
echo >&2 "* either qmake can be found or install pkg-config or set"; \
241+
echo >&2 "* the QTDIR environment variable to the correct location."; \
242+
echo >&2 "*"; \
243243
false; \
244244
fi; \
245245
libpath=$$dir/lib; lib=qt; osdir=""; \
@@ -279,17 +279,17 @@ $(obj)/.tmp_gtkcheck:
279279
if `pkg-config --atleast-version=2.0.0 gtk+-2.0`; then \
280280
touch $@; \
281281
else \
282-
echo "*"; \
283-
echo "* GTK+ is present but version >= 2.0.0 is required."; \
284-
echo "*"; \
282+
echo >&2 "*"; \
283+
echo >&2 "* GTK+ is present but version >= 2.0.0 is required."; \
284+
echo >&2 "*"; \
285285
false; \
286286
fi \
287287
else \
288-
echo "*"; \
289-
echo "* Unable to find the GTK+ installation. Please make sure that"; \
290-
echo "* the GTK+ 2.0 development package is correctly installed..."; \
291-
echo "* You need gtk+-2.0, glib-2.0 and libglade-2.0."; \
292-
echo "*"; \
288+
echo >&2 "*"; \
289+
echo >&2 "* Unable to find the GTK+ installation. Please make sure that"; \
290+
echo >&2 "* the GTK+ 2.0 development package is correctly installed..."; \
291+
echo >&2 "* You need gtk+-2.0, glib-2.0 and libglade-2.0."; \
292+
echo >&2 "*"; \
293293
false; \
294294
fi
295295
endif

0 commit comments

Comments
 (0)