which: strip target binary
authorPeter Korsgaard <jacmet@sunsite.dk>
Tue, 22 Jul 2008 13:59:39 +0000 (13:59 -0000)
committerPeter Korsgaard <jacmet@sunsite.dk>
Tue, 22 Jul 2008 13:59:39 +0000 (13:59 -0000)
package/which/which.mk

index 87254236e9eba441e954d490e82589f91aa24d9c..bd0fd5ab08eeca1018118bea3029ccd24a8d84af 100644 (file)
@@ -37,7 +37,8 @@ $(WHICH_DIR)/$(WHICH_BINARY): $(WHICH_DIR)/.configured
        $(MAKE) CC=$(TARGET_CC) -C $(WHICH_DIR)
 
 $(TARGET_DIR)/$(WHICH_TARGET_BINARY): $(WHICH_DIR)/$(WHICH_BINARY)
-       install -D $(WHICH_DIR)/$(WHICH_BINARY) $(TARGET_DIR)/$(WHICH_TARGET_BINARY)
+       install -D $^ $@
+       $(STRIPCMD) $(STRIP_STRIP_ALL) $@
 
 which: uclibc $(TARGET_DIR)/$(WHICH_TARGET_BINARY)