[Buildroot] svn commit: trunk/buildroot/package/valgrind

Peter Korsgaard jacmet at uclibc.org
Mon Jun 16 08:03:42 UTC 2008


>>>>> "Bernhard" == Bernhard Fischer <rep.dot.nop at gmail.com> writes:

Hi,

 >> Modified: trunk/buildroot/package/valgrind/valgrind.mk
 >> ===================================================================
 >> --- trunk/buildroot/package/valgrind/valgrind.mk	2008-06-15 20:44:05 UTC (rev 22359)
 >> +++ trunk/buildroot/package/valgrind/valgrind.mk	2008-06-15 20:44:10 UTC (rev 22360)
 >> @@ -64,6 +64,7 @@
 -> cp package/valgrind/valgrind.sh $(TARGET_DIR)/usr/bin/valgrind

 Bernhard> $(INSTALL)

Sure.

 >> chmod a+x $(TARGET_DIR)/usr/bin/valgrind
 >> rm -rf $(TARGET_DIR)/usr/share/doc/valgrind
 >> +	rm -rf $(TARGET_DIR)/usr/lib/pkgconfig

 Bernhard> Removing all is a bit generic, no? Think about somebody selecting
 Bernhard> pkgconfig for the target. If i would do this, i would expect
 Bernhard> $(TARGET_DIR)/usr/lib/pkgconfig to be populated and useable..

But we don't have target support for pkgconfig.

 >> #mkdir -p $(TARGET_DIR)/etc/default #cp
 >> $(VALGRIND_DIR)/valgrind.default
 >> $(TARGET_DIR)/etc/default/valgrind #mkdir -p
 >> $(TARGET_DIR)/usr/lib/valgrind

 Bernhard> cruft. Should have used $(INSTALL) -D
 Bernhard> $(VALGRIND_DIR)/valgrind.default
 Bernhard> $(TARGET_DIR)/etc/default/valgrind anyway.

Yes, I left it there as it's commented out anyway.

-- 
Bye, Peter Korsgaard



More information about the buildroot mailing list