Skip to content
Snippets Groups Projects
Commit e826bdc8 authored by jogo's avatar jogo
Browse files

include/kernel.mk: print warnings/errors to stderr


Makes warnings/errors visible when building with V=w/V=1.

Signed-off-by: default avatarJonas Gorski <jogo@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35713 3c298f89-4303-0410-b956-a3cf2f4a3e73
parent f53fd062
No related branches found
No related tags found
No related merge requests found
......@@ -163,11 +163,11 @@ $(call KernelPackage/$(1)/config)
if grep -q "$$$$$$$${mod##$(LINUX_DIR)/}" "$(LINUX_DIR)/modules.builtin"; then \
echo "NOTICE: module '$$$$$$$$mod' is built-in."; \
else \
echo "ERROR: module '$$$$$$$$mod' is missing."; \
echo "ERROR: module '$$$$$$$$mod' is missing." >&2; \
exit 1; \
fi; \
else \
echo "WARNING: module '$$$$$$$$mod' missing and modules.builtin not available, assuming built-in."; \
echo "WARNING: module '$$$$$$$$mod' missing and modules.builtin not available, assuming built-in." >&2; \
fi; \
done;
$(call ModuleAutoLoad,$(1),$$(1),$(AUTOLOAD))
......@@ -178,7 +178,7 @@ $(call KernelPackage/$(1)/config)
else
compile: kmod-$(1)-unavailable
kmod-$(1)-unavailable:
@echo "WARNING: kmod-$(1) is not available in the kernel config"
@echo "WARNING: kmod-$(1) is not available in the kernel config" >&2
)
endif
$$(eval $$(call BuildPackage,kmod-$(1)))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment