Package: linux-image-2.6.32-5-powerpc
Version: 2.6.32-29
Severity: wishlist

The Lenny PPC kernel image packages included the device tree sources,
which are normally found in arch/powerpc/boot/dts in the Linux sources.
This isn't the case anymore for the Squeeze kernel packages. It looks
like this change in the rules.real makefile is responsible for the
problem:

--- linux-2.6-2.6.26/debian/rules.real 
+++ linux-2.6-2.6.32/debian/rules.real 
@@ -104,7 +100,7 @@
 $(STAMPS_DIR)/setup_$(ARCH)_$(FEATURESET)_$(FLAVOUR): 
DIR=$(BUILD_DIR)/build_$(ARCH)_$(FEATURESET)_$(FLAVOUR)
 $(STAMPS_DIR)/setup_$(ARCH)_$(FEATURESET)_$(FLAVOUR): 
$(STAMPS_DIR)/source_$(ARCH)_$(FEATURESET) 
$(BUILD_DIR)/config.$(ARCH)_$(FEATURESET)_$(FLAVOUR)
        rm -rf '$(DIR)'
+       mkdir '$(DIR)'
-       cp -al '$(SOURCE_DIR)' '$(DIR)'
        cp '$(CONFIG)' '$(DIR)/.config'
        echo '$(ABINAME)$(LOCALVERSION_IMAGE)' > '$(DIR)/localversion'
        echo 'override ARCH = $(KERNEL_ARCH)' >> '$(DIR)/.kernelvariables'

For Squeeze the build_$(ARCH)_$(FEATURESET)_$(FLAVOUR) directory only
contains the compiled objects files and makefiles. Thus the
bootwrapper_install target (called by the install target in rules.real)
in build_$(ARCH)_$(FEATURESET)_$(FLAVOUR)/arch/powerpc/boot/Makefile
can't find any *.dts files and silently fails to install them.

While CHRP and PPC64 machines don't need any device tree sources, I
need them to add support for other platforms that don't boot from an
OpenFirmware compatible firmware. I'm not sure how a correct fix should
look like, but maybe the dts directory could be explicitly copied over
to the build directory, if a kernel is compiled for ARCH=powerpc.

regards,

Gerhard
-- 
Empfehlen Sie GMX DSL Ihren Freunden und Bekannten und wir
belohnen Sie mit bis zu 50,- Euro! https://freundschaftswerbung.gmx.de



-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]
Archive: http://lists.debian.org/[email protected]

Reply via email to