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

Re: [PATCH] enable armel/versatile in the build dir



On Sun, Mar 09, 2008 at 03:10:08PM +0100, Martin Michlmayr wrote:
> * Robert Millan <rmh@aybabtu.com> [2008-03-01 13:34]:
> > I noticed that my patch would break arm builds, since versatile is
> > only available for armel.
> > 
> > Perhaps this means the "armel -> arm" symlink ought to be removed?
> > I suppose similar symlinks can be added on the subdirectories to
> > archieve a similar effect.
> 
> I just started doing this when I realized that this is not needed.
> You can add the versatile flavour without breaking arm: simply don't
> mention versatile in arm.cfg but only in armel.cfg.  That's how it's
> done with Netwinder (which only exists on arm).
> 
> Anyway, armel is the directory now and arm the symlink (don't ask).
> 
> Do you have a new patch that uses initramfs?

Here.

-- 
Robert Millan

<GPLv2> I know my rights; I want my phone call!
<DRM> What use is a phone call… if you are unable to speak?
(as seen on /.)
Index: config/armel.cfg
===================================================================
--- config/armel.cfg	(revision 51865)
+++ config/armel.cfg	(working copy)
@@ -1,7 +1,7 @@
-SUBARCH_SUPPORTED = iop32x ixp4xx ads
+SUBARCH_SUPPORTED = iop32x ixp4xx versatile ads
 
 KERNELMAJOR = 2.6
-KERNELVERSION = 2.6.22-3
+KERNELVERSION = 2.6.24-1
 KERNEL_FLAVOUR = di
 KERNELIMAGEVERSION = $(KERNELVERSION)
 KERNELNAME = $(foreach ver,$(KERNELVERSION),vmlinuz-$(ver))
Index: config/armel/versatile.cfg
===================================================================
--- config/armel/versatile.cfg	(revision 0)
+++ config/armel/versatile.cfg	(revision 0)
@@ -0,0 +1,4 @@
+MEDIUM_SUPPORTED = netboot
+
+# The version of the kernel to use.
+KERNELVERSION := $(KERNELVERSION)-versatile
Index: config/armel/versatile/netboot.cfg
===================================================================
--- config/armel/versatile/netboot.cfg	(revision 0)
+++ config/armel/versatile/netboot.cfg	(revision 0)
@@ -0,0 +1,8 @@
+MEDIA_TYPE = netboot image
+
+TARGET = $(INITRD) $(KERNEL)
+EXTRANAME = $(MEDIUM)/
+INITRD_FS = initramfs
+
+MANIFEST-INITRD = "netboot initrd"
+MANIFEST-KERNEL = "kernel image to netboot"

Reply to: