[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: kernel-package sparc confusion



On Sat, 1 Nov 2003 11:44:53 -0500, Ben Collins <bcollins@debian.org> said: 

> This looks good, except that checking the filter for sparc64% and
> equal to sparc64 is redundant. The only reason for it is to detect
> things like sparc64-smp, which will match the filter just like
> sparc64 will. So something like this:

> ifneq (,$(filter sparc64%,$(KPKG_SUBARCH)))
>   KERNEL_ARCH = sparc64
> else
>   ifneq (,$(filter sparc%,$(KPKG_SUBARCH)))
>     KERNEL_ARCH = sparc
>   else
>     KERNEL_ARCH = $(strip $(shell uname -m))
>   endif
> endif

> So the logic speaks, if it starts with sparc64, make it that. If it
> starts with sparc, make it just sparc, otherwise fallback on uname
> -m.  This is for people that like doing subarch=ultrasparcIII or
> something.

	OK. This is going into the new version.

	manoj
-- 
When fear admits no hope of safety, Necessity makes dastards valiant
men.  -- Herrick
Manoj Srivastava   <srivasta@debian.org>  <http://www.debian.org/%7Esrivasta/>
1024R/C7261095 print CB D9 F4 12 68 07 E4 05  CC 2D 27 12 1D F5 E8 6E
1024D/BF24424C print 4966 F272 D093 B493 410B  924B 21BA DABB BF24 424C



Reply to: