The initramfs in the initial kernel build was empty. It should be regenerated 
from romfs dir after modules and user apps installed.

Signed-off-by: Thomas Chou <[EMAIL PROTECTED]>

diff --git a/vendors/Altera/nios2nommu/Makefile 
b/vendors/Altera/nios2nommu/Makefile
index cce4d76..798ddd5 100644
--- a/vendors/Altera/nios2nommu/Makefile
+++ b/vendors/Altera/nios2nommu/Makefile
@@ -42,6 +42,8 @@ romfs:
 
 image:
        [ -d $(IMAGEDIR) ] || mkdir -p $(IMAGEDIR)
+       -rm $(ROOTDIR)/$(LINUXDIR)/usr/initramfs_data.cpio.gz
+       LDFLAGS="" $(MAKEARCH_KERNEL) -C $(ROOTDIR)/$(LINUXDIR) $(LINUXTARGET)
        cp $(ROOTDIR)/$(LINUXDIR)/arch/nios2nommu/boot/zImage $(KERNELZ)
 
 
-- 
1.5.3.3

_______________________________________________
uClinux-dev mailing list
[email protected]
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by [email protected]
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev

Reply via email to