summaryrefslogtreecommitdiffstats
path: root/debian/rules.real
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--debian/rules.real2
1 files changed, 0 insertions, 2 deletions
diff --git a/debian/rules.real b/debian/rules.real
index 6191062546..ce5e58d9f0 100644
--- a/debian/rules.real
+++ b/debian/rules.real
@@ -190,8 +190,6 @@ endif
ifneq ($(filter arm64 armel armhf mipsel mips64el mipsr6 mipsr6el mips64r6 mips64r6el riscv64,$(ARCH)),)
+$(MAKE_CLEAN) -C $(DIR) dtbs
+$(MAKE_CLEAN) -C $(DIR) dtbs_install INSTALL_DTBS_PATH='$(CURDIR)/$(DT_INSTALL_DIR)'
- # dtbs_install sets the executable bit on dtb[o] files, which they shouldn't have
- find $(DT_INSTALL_DIR) -type f \( -name '*.dtb' -o -name '*.dtbo' \) -exec chmod 644 {} \;
endif
rm -f $(INSTALL_DIR)/lib/modules/$(REAL_VERSION)/build
rm -f $(INSTALL_DIR)/lib/modules/$(REAL_VERSION)/source