On Mon, Mar 10, 2008 at 12:00:51PM +0100, Michael Meskes wrote: > My plan is to use the following code snippet in debian/rules instead with the > next > version: > > # Set ARCH so we can cross compile Debian kernel > ifneq ($(shell echo $(KVERS) | grep 86), ) > ARCH := i386 > endif > ifneq ($(shell echo $(KVERS) | grep amd64), ) > ARCH := x86_64 > endif > > This should do it. But could you please test?
Looking at `debian/rules' of fglrx, it just uses $(ARCH) without defining it first. (But that's just a short glance and grep, so I may be wrong on this one.) So maybe the build process already cares for that. Looking at your tests you probably already rely on this feature, maybe you should add this fact to the comment. It took me two glances to see it. Heh. So that might work on vanilla kernels if ARCH is defined first, both checks will fail and ARCH will not be redefined by your snipplet. The kX images for AMD processors on x86 were ditched with at least 2.6.24, so that should work, too. Sadly I do not have time today and at least tomorrow for doing more reboot testings on that, sorry. Looks good, if my assumptions above hold. Kind regards, Philipp Kern -- .''`. Philipp Kern Debian Developer : :' : http://philkern.de Debian Release Assistant `. `' xmpp:[EMAIL PROTECTED] `- finger pkern/[EMAIL PROTECTED]
signature.asc
Description: Digital signature

