[elbe-devel] [PATCH 1/1] Makefile rule fail on dts failure
dion at linutronix.de
dion at linutronix.de
Tue Jul 23 17:10:13 CEST 2019
From: Olivier Dion <dion at linutronix.de>
See <https://github.com/Linutronix/elbe/issues/163>.
Signed-off-by: Olivier Dion <dion at linutronix.de>
---
elbepack/makofiles/debianize/kernel/rules.mako | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/elbepack/makofiles/debianize/kernel/rules.mako b/elbepack/makofiles/debianize/kernel/rules.mako
index 01e55491..d6b2b137 100755
--- a/elbepack/makofiles/debianize/kernel/rules.mako
+++ b/elbepack/makofiles/debianize/kernel/rules.mako
@@ -72,7 +72,9 @@ override_dh_auto_install:
$(MAKE) $(MAKE_OPTS) INSTALL_MOD_STRIP=1 modules_install
$(MAKE) $(MAKE_OPTS) firmware_install
$(MAKE) $(MAKE_OPTS) headers_install
- (test ${k_arch} = arm || test ${k_arch} = arm64) && make $(MAKE_OPTS) dtbs_install || true
+ if test ${k_arch} = arm -o ${k_arch} = arm64; then \
+ make $(MAKE_OPTS) dtbs_install; \
+ fi
# Build kernel header package
rm -f "$(TMP_DIR)/lib/modules/$(REL)/build" "$(TMP_DIR)/lib/modules/$(REL)/source"
find . -name Makefile\* -o -name Kconfig\* -o -name \*.pl > $(DEB_DIR)/hdrsrcfiles
--
2.11.0
More information about the elbe-devel
mailing list