summaryrefslogtreecommitdiffstats
path: root/debian/rules.real
diff options
context:
space:
mode:
Diffstat (limited to 'debian/rules.real')
-rw-r--r--debian/rules.real2
1 files changed, 0 insertions, 2 deletions
diff --git a/debian/rules.real b/debian/rules.real
index 40e7420e76..5f562e0e97 100644
--- a/debian/rules.real
+++ b/debian/rules.real
@@ -189,8 +189,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