From 9e9759394c6da0d15b0ebc37786785b634d903d3 Mon Sep 17 00:00:00 2001 From: YunQiang Su Date: Sat, 30 Jun 2018 14:58:27 +0800 Subject: [PATCH] Enable dtb building for boston --- debian/changelog | 3 +++ debian/config/kernelarch-mips/config.boston | 5 +++++ debian/rules.real | 2 +- 3 files changed, 9 insertions(+), 1 deletion(-) diff --git a/debian/changelog b/debian/changelog index 3082b43f7..d382c52bb 100644 --- a/debian/changelog +++ b/debian/changelog @@ -5,6 +5,9 @@ linux (4.18~rc2-1~exp1) UNRELEASED; urgency=medium [ Ben Hutchings ] * aufs: Disable support patchset until it is updated for Linux 4.18 + [ YunQiang Su ] + * [mips*r6*] Enable dtb building for boston. + -- Ben Hutchings Tue, 26 Jun 2018 01:43:53 +0100 linux (4.17.3-1) UNRELEASED; urgency=medium diff --git a/debian/config/kernelarch-mips/config.boston b/debian/config/kernelarch-mips/config.boston index 048da4848..ba684be70 100644 --- a/debian/config/kernelarch-mips/config.boston +++ b/debian/config/kernelarch-mips/config.boston @@ -6,6 +6,11 @@ CONFIG_MIPS_GENERIC=y ## end choice CONFIG_MIPS_CPS=y +## +## file: arch/mips/generic/Kconfig +## +CONFIG_FIT_IMAGE_FDT_BOSTON=y + ## ## file: drivers/clk/imgtec/Kconfig ## diff --git a/debian/rules.real b/debian/rules.real index 68476a5c6..40776b8c7 100644 --- a/debian/rules.real +++ b/debian/rules.real @@ -466,7 +466,7 @@ endif install-image_$(ARCH)_$(FEATURESET)_$(FLAVOUR)_dt: DT_INSTALL_DIR = $(PACKAGE_DIR)/usr/lib/linux-image-$(REAL_VERSION) install-image_$(ARCH)_$(FEATURESET)_$(FLAVOUR)_dt: -ifneq ($(filter arm64 armel armhf,$(ARCH)),) +ifneq ($(filter arm64 armel armhf mipsr6 mipsr6el mips64r6 mips64r6el,$(ARCH)),) +$(MAKE_CLEAN) -C $(DIR) dtbs +$(MAKE_CLEAN) -C $(DIR) dtbs_install INSTALL_DTBS_PATH=$(CURDIR)/$(DT_INSTALL_DIR) endif