Ticket #9897: openwrt-cmd-paths.patch

File openwrt-cmd-paths.patch, 1000 bytes (added by anonymous, 5 years ago)
  • tools/Makefile

     
    9898$(eval $(call PrepareCommand,find,gfind find)) 
    9999$(eval $(call PrepareCommand,md5sum,md5sum $(SCRIPT_DIR)/md5sum)) 
    100100$(eval $(call PrepareCommand,cp,gcp cp)) 
    101 $(eval $(call PrepareCommand,stat,gstat stat)) 
     101$(eval $(call PrepareCommand,stat,/usr/local/bin/gstat gstat stat)) 
     102$(eval $(call PrepareCommand,make,gmake make)) 
     103$(eval $(call PrepareCommand,patch,gpatch patch)) 
     104$(eval $(call PrepareCommand,getopt,/usr/local/bin/getopt getopt)) 
    102105 
    103 $(curdir)/cmddeps = $(patsubst %,$(STAGING_DIR_HOST)/bin/%,find md5sum cp stat) 
     106$(curdir)/cmddeps = $(patsubst %,$(STAGING_DIR_HOST)/bin/%,find md5sum cp stat make patch getopt) 
    104107$(curdir)//prepare = $(STAGING_DIR)/.prepared $(STAGING_DIR_HOST)/.prepared $($(curdir)/cmddeps) 
    105108$(curdir)//compile = $(STAGING_DIR)/.prepared $(STAGING_DIR_HOST)/.prepared $($(curdir)/cmddeps) 
    106109