I don't know if we also need this for e.g. armhf or other platforms? I
suspect yes.

PPC puts these files in /usr/lib/linux-image-$(REAL_VERSION). I guess
some tool combines them with the kernel and installs into /boot as
necessary.

So I suppose ARM ought to do the same and flash-kernel should take care
of copy the right ones to /boot/?

commit 31770f220e872d8bf15d05f48d03a37b8d2e4e98
Author: Ian Campbell <i...@hellion.org.uk>
Date:   Fri Apr 6 16:19:54 2012 +0100

    Build and install device tree blobs for armel

diff --git a/linux-2.6/debian/rules.real b/linux-2.6/debian/rules.real
index a7f56c3..41b4dc4 100644
--- a/linux-2.6/debian/rules.real
+++ b/linux-2.6/debian/rules.real
@@ -356,7 +356,15 @@ endif
          PACKAGE_DIR='$(PACKAGE_DIR)' PACKAGE_NAME='$(PACKAGE_NAME)' 
REAL_VERSION='$(REAL_VERSION)'
        +$(MAKE_SELF) install-base
 
-install-image_armel_$(FEATURESET)_$(FLAVOUR)_plain_image \
+ifneq ($(filter armel,$(ARCH)),)
+install-image_$(ARCH)_$(FEATURESET)_$(FLAVOUR)_plain_image:
+       install -m644 '$(DIR)/arch/$(KERNEL_ARCH)/boot/zImage' 
$(INSTALL_DIR)/vmlinuz-$(REAL_VERSION)
+       +$(MAKE_CLEAN) -C $(DIR) dtbs
+       shopt -s nullglob ; for i in $(DIR)/arch/arm/boot/*.dtb ; do \
+           install -m644 $$i '$(INSTALL_DIR)'/$$(basename $$i 
.dtb)-$(REAL_VERSION).dtb ; \
+       done
+endif
+
 install-image_armhf_$(FEATURESET)_$(FLAVOUR)_plain_image \
 install-image_sparc_$(FEATURESET)_$(FLAVOUR)_plain_image \
 install-image_sparc64_$(FEATURESET)_$(FLAVOUR)_plain_image \


-- 
Ian Campbell

Hand me a pair of leather pants and a CASIO keyboard -- I'm living for today!


-- 
To UNSUBSCRIBE, email to debian-kernel-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/1334916687.28331.28.ca...@zakaz.uk.xensource.com

Reply via email to