lkml.org 
[lkml]   [2003]   [Dec]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] fix make kernel rpm bug
On Thu, 25 Dec 2003, Russell King wrote:

> What Jeff means is that $(ARCH) may not be what rpm calls the
> architecture.  For instance, the kernel has "arm" but RPM has
> "armv3l" "armv4l" etc, but doesn't know what "arm" is.

Thanks for the explain. How about change it as below? People can change
UTS_MACHINE to its own march like "armv5te" if it is not the same as
$(ARCH).


@@ -872,7 +872,7 @@
$(CONFIG_SHELL) $(srctree)/scripts/mkversion >
$(objtree)/.tmp_version;\
mv -f $(objtree)/.tmp_version $(objtree)/.version;

- $(RPM) -ta ../$(KERNELPATH).tar.gz
+ $(RPM) --target $(UTS_MACHINE) -ta ../$(KERNELPATH).tar.gz
rm ../$(KERNELPATH).tar.gz

# Brief documentation of the typical targets used

>
> --
> Russell King
>  Linux kernel    2.6 ARM Linux   - http://www.arm.linux.org.uk/
>  maintainer of:  2.6 PCMCIA      - http://pcmcia.arm.linux.org.uk/
>                  2.6 Serial core

-yi

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:59    [W:0.023 / U:0.608 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site