Messages in this thread | | | Date | Thu, 25 Dec 2003 09:49:37 +0000 | From | Russell King <> | Subject | Re: [PATCH] fix make kernel rpm bug |
| |
On Thu, Dec 25, 2003 at 02:58:14PM +0800, Zhu, Yi wrote: > On Thu, 25 Dec 2003, Jeff Garzik wrote: > > hmmm, I don't think $(ARCH) makes the rpm --target strings in all > > cases.. > > From rpm man page --target PLATFORM will interpret PLATFORM as > arch-vendor-os and set %_target, %_target_cpu, %_target_os accordingly. > In this case only arch is set, so vendor and os will remain as default. > > If you still think it is too implicit, how about change as below? In case > you want set RPM_VENDOR_OS to something like "-unknown-linux".
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.
-- 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 - 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/
| |