gperf: depend on stamp file rather than gperf binary
authorPeter Korsgaard <jacmet@sunsite.dk>
Thu, 10 Jul 2008 10:11:31 +0000 (10:11 -0000)
committerPeter Korsgaard <jacmet@sunsite.dk>
Thu, 10 Jul 2008 10:11:31 +0000 (10:11 -0000)
There's no make rule to create the gperf binary, only the stamp file
so use that instead.

package/gperf/gperf.mk

index 0531c3ca732af438105d1d26af64d653e92236e3..efa6bad2d4849af7a68f4044eac50d94351b46f7 100644 (file)
@@ -20,7 +20,7 @@ GPERF_DEPENDENCIES = uclibc
 
 $(eval $(call AUTOTARGETS,package,gperf))
 
-$(GPERF_HOOK_POST_INSTALL): $(TARGET_DIR)/usr/bin/gperf
-       $(STRIPCMD) $(STRIP_STRIP_ALL) $^
+$(GPERF_HOOK_POST_INSTALL): $(GPERF_TARGET_INSTALL_TARGET)
+       $(STRIPCMD) $(STRIP_STRIP_ALL) $(TARGET_DIR)/usr/bin/gperf
        touch $@