mirror of https://github.com/hak5/openwrt.git
tools: install a fake empty ldconfig script to prevent the system ldconfig from messing around with the toolchain (fixes disappearing musl symlink issue)
Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 42480lede-17.01
parent
8d699086c3
commit
e2864e9990
|
@ -133,6 +133,10 @@ $(STAGING_DIR_HOST)/bin/stat: $(STAGING_DIR)/.prepared
|
||||||
false; \
|
false; \
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
$(STAGING_DIR_HOST)/bin/ldconfig:
|
||||||
|
touch $@
|
||||||
|
chmod +x $@
|
||||||
|
|
||||||
$(eval $(call PrepareCommand,md5sum,gmd5sum md5sum $(SCRIPT_DIR)/md5sum))
|
$(eval $(call PrepareCommand,md5sum,gmd5sum md5sum $(SCRIPT_DIR)/md5sum))
|
||||||
$(eval $(call PrepareCommand,cp,gcp cp))
|
$(eval $(call PrepareCommand,cp,gcp cp))
|
||||||
$(eval $(call PrepareCommand,seq,gseq seq))
|
$(eval $(call PrepareCommand,seq,gseq seq))
|
||||||
|
@ -143,7 +147,7 @@ $(eval $(call PrepareCommand,grep,ggrep grep))
|
||||||
$(eval $(call PrepareCommand,tar,gtar tar))
|
$(eval $(call PrepareCommand,tar,gtar tar))
|
||||||
$(eval $(call PrepareCommand,diff,gdiff diff))
|
$(eval $(call PrepareCommand,diff,gdiff diff))
|
||||||
|
|
||||||
$(curdir)/cmddeps = $(patsubst %,$(STAGING_DIR_HOST)/bin/%,md5sum cp stat seq python awk getopt grep tar diff)
|
$(curdir)/cmddeps = $(patsubst %,$(STAGING_DIR_HOST)/bin/%,md5sum cp stat seq python awk getopt grep tar diff ldconfig)
|
||||||
$(curdir)//prepare = $(STAGING_DIR)/.prepared $(STAGING_DIR_HOST)/.prepared $($(curdir)/cmddeps)
|
$(curdir)//prepare = $(STAGING_DIR)/.prepared $(STAGING_DIR_HOST)/.prepared $($(curdir)/cmddeps)
|
||||||
$(curdir)//compile = $(STAGING_DIR)/.prepared $(STAGING_DIR_HOST)/.prepared $($(curdir)/cmddeps)
|
$(curdir)//compile = $(STAGING_DIR)/.prepared $(STAGING_DIR_HOST)/.prepared $($(curdir)/cmddeps)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue