include/kernel.mk: print warnings/errors to stderr
Makes warnings/errors visible when building with V=w/V=1. Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 35713
This commit is contained in:
parent
29a3af1bb8
commit
88ff7e3f23
1 changed files with 3 additions and 3 deletions
|
@ -163,11 +163,11 @@ $(call KernelPackage/$(1)/config)
|
||||||
if grep -q "$$$$$$$${mod##$(LINUX_DIR)/}" "$(LINUX_DIR)/modules.builtin"; then \
|
if grep -q "$$$$$$$${mod##$(LINUX_DIR)/}" "$(LINUX_DIR)/modules.builtin"; then \
|
||||||
echo "NOTICE: module '$$$$$$$$mod' is built-in."; \
|
echo "NOTICE: module '$$$$$$$$mod' is built-in."; \
|
||||||
else \
|
else \
|
||||||
echo "ERROR: module '$$$$$$$$mod' is missing."; \
|
echo "ERROR: module '$$$$$$$$mod' is missing." >&2; \
|
||||||
exit 1; \
|
exit 1; \
|
||||||
fi; \
|
fi; \
|
||||||
else \
|
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; \
|
fi; \
|
||||||
done;
|
done;
|
||||||
$(call ModuleAutoLoad,$(1),$$(1),$(AUTOLOAD))
|
$(call ModuleAutoLoad,$(1),$$(1),$(AUTOLOAD))
|
||||||
|
@ -178,7 +178,7 @@ $(call KernelPackage/$(1)/config)
|
||||||
else
|
else
|
||||||
compile: kmod-$(1)-unavailable
|
compile: kmod-$(1)-unavailable
|
||||||
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
|
endif
|
||||||
$$(eval $$(call BuildPackage,kmod-$(1)))
|
$$(eval $$(call BuildPackage,kmod-$(1)))
|
||||||
|
|
Loading…
Reference in a new issue