dslinux/vendors/Nintendo/DSMEM Makefile

stsp stsp at user.in-berlin.de
Mon Oct 30 10:35:12 CET 2006


Update of /cvsroot/dslinux/dslinux/vendors/Nintendo/DSMEM
In directory antilope:/tmp/cvs-serv19116

Modified Files:
	Makefile 
Log Message:
Strip leading slashes from symlinks to $(FATFS)/* in the romfs/
directory as otherwise the build fails with "no such file or
directory" errors.


Index: Makefile
===================================================================
RCS file: /cvsroot/dslinux/dslinux/vendors/Nintendo/DSMEM/Makefile,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -d -r1.16 -r1.17
--- Makefile	30 Oct 2006 09:25:35 -0000	1.16
+++ Makefile	30 Oct 2006 09:35:10 -0000	1.17
@@ -9,8 +9,8 @@
 IMAGE    = $(IMAGEDIR)/dsimage.bin
 FATFS	 = sd
 
-ROMFS_DIRS = bin boot dev lib mnt proc usr usr/share $(FATFS)/linux
-FS_DIRS = etc/rc.d home usr/games usr/lib usr/share/udhcpc var/tmp var/run
+ROMFS_DIRS = bin boot dev lib mnt proc usr usr/games usr/lib usr/share $(FATFS)/linux
+FS_DIRS = etc/rc.d home usr/share/udhcpc var/tmp var/run
 
 DEVICES = \
 	tty,c,5,0      console,c,5,1      cua0,c,5,64      cua1,c,5,65  \
@@ -65,11 +65,11 @@
 	for i in $(FS_DIRS); do \
 		[ -d $(ROMFSDIR)/$(FATFS)/linux/$$i ] || mkdir -p $(ROMFSDIR)/$(FATFS)/linux/$$i; \
 	done
-	$(ROMFSINST) -s /$(FATFS)/linux/var /var
-	$(ROMFSINST) -s /$(FATFS)/linux/home /home
-	$(ROMFSINST) -s /$(FATFS)/linux/etc /etc
+	$(ROMFSINST) -s $(FATFS)/linux/var /var
+	$(ROMFSINST) -s $(FATFS)/linux/home /home
+	$(ROMFSINST) -s $(FATFS)/linux/etc /etc
 	$(ROMFSINST) -s /bin /sbin
-	$(ROMFSINST) -s /$(FATFS)/linux/usr/share/udhcpc /usr/share/udhcpc
+	$(ROMFSINST) -s $(FATFS)/linux/usr/share/udhcpc /usr/share/udhcpc
 	$(ROMFSINST) -s /var/tmp /tmp
 	$(ROMFSINST) /boot/rc
 	$(ROMFSINST) /boot/inittab




More information about the dslinux-commit mailing list