r1728

stsp at dslinux.in-berlin.de stsp at dslinux.in-berlin.de
Sun Apr 15 21:01:38 CEST 2007


Author: stsp
Date: 2007-04-15 21:01:33 +0200 (Sun, 15 Apr 2007)
New Revision: 1728

Log:
Don't use pkg-config.
On clean, run 'make distclean' instead of just 'make clean'.
Remove misplaced comment.


Modified: trunk/user/links/Makefile
===================================================================
--- trunk/user/links/Makefile	2007-04-15 18:39:11 UTC (rev 1727)
+++ trunk/user/links/Makefile	2007-04-15 19:01:33 UTC (rev 1728)
@@ -16,7 +16,8 @@
 endif
 
 .configured:
-	cd src && env "CFLAGS=$(CFLAGS) -Wno-pointer-sign" \
+	cd src && env CFLAGS="$(CFLAGS) -Wno-pointer-sign" \
+		 PKG_CONFIG=no \
 		./configure --target=$(CROSS) \
 		--prefix=/nonexistent $(LINKS_CONFIGURE_FLAGS)
 	touch $@
@@ -26,11 +27,8 @@
 	touch $@
 
 clean:
-	-[ -f src/Makefile ] && $(MAKE) -C src clean
-	rm -f src/config.cache
+	-[ -f src/Makefile ] && $(MAKE) -C src distclean
 	rm -f .configured .compiled
 
-# Empty romfs target since we only statically link with libraries
-# and don't need to install them
 romfs:
 	$(ROMFSINST) src/links /bin/links




More information about the dslinux-commit mailing list