ltib
[Top][All Lists]
Advanced

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

Re: [Ltib] patchmerge problems with newer Linux kernels


From: Stuart Hughes
Subject: Re: [Ltib] patchmerge problems with newer Linux kernels
Date: Wed, 07 Apr 2010 15:23:17 +0100
User-agent: Thunderbird 2.0.0.16 (X11/20080707)

Hi Peter,

This looks like a good change to make.  The only question I have is whether this may break on older kernels, I can't see why it should? have you tried this on an older kernel?  If so I will apply.

Thanks, Stuart

Peter Barada wrote:
Stuart,

Somewhere around kernel version 2.6.32, the "make distclean" command used in f_patchmerge() doesn't clean out generated files in the appropriate arch directory which requires hand editing the patch to clean them up.

In the f_patchmerge() subroutine, I've tried modifying the "make distclean" to be:

if [ "$tok->{name}" = "kernel" -a -n "$pcf->{GNUTARCH}" ]; then
	    make ARCH=$pcf->{GNUTARCH} distclean
else
	    make distclean
fi
  
with good results:

+ cd /home/peter/work/logic/eps_svn/software/products/linux/LTIB/trunk/ltib-20091102-omap3logic.32/rpm/BUILD/linux-2.6.32.modified
+ '[' kernel = kernel -a -n arm ']'
+ make ARCH=arm distclean
  

--
Peter Barada <address@hidden>
Logic Product Development, Inc.

_______________________________________________ LTIB home page: http://ltib.org Ltib mailing list address@hidden http://lists.nongnu.org/mailman/listinfo/ltib

reply via email to

[Prev in Thread] Current Thread [Next in Thread]