Skip to contentSkip to conversation

svn commit: trunk/buildroot/package/valgrind

Buildroot jacmet at uclibc.org 2 participants 3 messages Jun 15, 2008 – Jun 16, 2008

lore
Share & tools
lore
#0 lore raw

Author: jacmet
Date: 2008-06-15 13:44:10 -0700 (Sun, 15 Jun 2008) New Revision: 22360

Log:
valgrind: don't add pkgconfig files to target

Modified:
trunk/buildroot/package/valgrind/valgrind.mk

Changeset:
Modified: trunk/buildroot/package/valgrind/valgrind.mk
===================================================================

buildroot/package/valgrind/valgrind.mk +1 -0
@@ -64,6 +64,7 @@
 	cp package/valgrind/valgrind.sh $(TARGET_DIR)/usr/bin/valgrind
 	chmod a+x $(TARGET_DIR)/usr/bin/valgrind
 	rm -rf $(TARGET_DIR)/usr/share/doc/valgrind
+	rm -rf $(TARGET_DIR)/usr/lib/pkgconfig
 	#mkdir -p $(TARGET_DIR)/etc/default
 	#cp $(VALGRIND_DIR)/valgrind.default $(TARGET_DIR)/etc/default/valgrind
 	#mkdir -p $(TARGET_DIR)/usr/lib/valgrind
#1 lore raw

buildroot/package/valgrind/valgrind.mk

Quoted 18 lines · jacmet at uclibc.org

Author: jacmet
Date: 2008-06-15 13:44:10 -0700 (Sun, 15 Jun 2008) New Revision: 22360

Log:
valgrind: don't add pkgconfig files to target

Modified:
trunk/buildroot/package/valgrind/valgrind.mk

Changeset:
Modified: trunk/buildroot/package/valgrind/valgrind.mk
===================================================================

buildroot/package/valgrind/valgrind.mk +0 -0
@@ -64,6 +64,7 @@

-> cp package/valgrind/valgrind.sh $(TARGET_DIR)/usr/bin/valgrind

$(INSTALL)

buildroot/package/valgrind/valgrind.mk line 67

Quoted 3 lines
buildroot/package/valgrind/valgrind.mk +1 -0
 	chmod a+x $(TARGET_DIR)/usr/bin/valgrind
 	rm -rf $(TARGET_DIR)/usr/share/doc/valgrind
+	rm -rf $(TARGET_DIR)/usr/lib/pkgconfig

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

buildroot/package/valgrind/valgrind.mk line 70

Quoted 3 lines
buildroot/package/valgrind/valgrind.mk +0 -0
 	#mkdir -p $(TARGET_DIR)/etc/default
 	#cp $(VALGRIND_DIR)/valgrind.default $(TARGET_DIR)/etc/default/valgrind
 	#mkdir -p $(TARGET_DIR)/usr/lib/valgrind

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

#2 lore raw
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Bernhard" == Bernhard Fischer <[email protected]> writes:

Hi,

Quoted 5 lines

buildroot/package/valgrind/valgrind.mk

Quoted 5 lines

Modified: trunk/buildroot/package/valgrind/valgrind.mk
===================================================================

buildroot/package/valgrind/valgrind.mk +0 -0
@@ -64,6 +64,7 @@

-> cp package/valgrind/valgrind.sh $(TARGET_DIR)/usr/bin/valgrind

Bernhard> $(INSTALL)

Sure.

Quoted 3 lines

buildroot/package/valgrind/valgrind.mk line 67

Quoted 3 lines

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

buildroot/package/valgrind/valgrind.mk +1 -0
+	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.

Quoted 4 lines
Quoted 4 lines

#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.

Signature · 1 line
Bye, Peter Korsgaard