dslinux/vendors/Nintendo/DSGBA Makefile

stsp stsp at user.in-berlin.de
Tue Jul 4 00:18:19 CEST 2006


Update of /cvsroot/dslinux/dslinux/vendors/Nintendo/DSGBA
In directory antilope:/tmp/cvs-serv9452/DSGBA

Modified Files:
	Makefile 
Log Message:
Fix rc.d in DSGBA and NDS. CVS files were copied.
Patch by Tobias Gruetzmacher.


Index: Makefile
===================================================================
RCS file: /cvsroot/dslinux/dslinux/vendors/Nintendo/DSGBA/Makefile,v
retrieving revision 1.19
retrieving revision 1.20
diff -u -d -r1.19 -r1.20
--- Makefile	19 Jun 2006 22:45:11 -0000	1.19
+++ Makefile	3 Jul 2006 22:18:17 -0000	1.20
@@ -13,7 +13,7 @@
 endif
 
 
-ROMFS_DIRS = bin dev etc lib mnt proc usr usr/share/udhcpc var sram
+ROMFS_DIRS = bin dev etc etc/rc.d lib mnt proc usr usr/share/udhcpc var sram
 
 DEVICES = \
 	tty,c,5,0      console,c,5,1      cua0,c,5,64      cua1,c,5,65  \
@@ -74,7 +74,7 @@
 	$(ROMFSINST) $(NDS_COMMON)/rc.common /etc/rc.common
 	$(ROMFSINST) $(NDS_COMMON)/rc.defaults /etc/rc.defaults
 	for f in $(NDS_COMMON)/rc.d/*; do \
-		$(ROMFSINST) $$f /etc/rc.d/ ; \
+		[ -d $$f ] || $(ROMFSINST) $$f /etc/rc.d/ ; \
 	done
 	$(ROMFSINST) $(NDS_COMMON)/passwd /etc/passwd
 	$(ROMFSINST) -p +x $(NDS_COMMON)/default.script /usr/share/udhcpc/default.script




More information about the dslinux-commit mailing list