]> git.webhop.me Git - bs-cst-neutrino-hd.git/commitdiff
uClibc-ng hd2: install backward compatibility symlinks
authorMarkham <markham001@gmx.de>
Sat, 14 Apr 2018 17:18:39 +0000 (19:18 +0200)
committerMarkham <markham001@gmx.de>
Sat, 14 Apr 2018 17:18:39 +0000 (19:18 +0200)
make/rootfs.mk

index 9643553d49b8188ce0d3cc13993462bfc9356d22..217709e8cf1f83014f6fcccd1b2aa3a530d93ebf 100755 (executable)
@@ -2,7 +2,10 @@
 
 BOX = $(BUILD_TMP)/rootfs
 
-$(D)/rootfs:
+ifeq ($(BOXSERIES), hd2)
+SYMLINKS_DEPS = symlinks
+endif
+$(D)/rootfs: $(SYMLINKS_DEPS)
        $(START_BUILD)
        rm -rf $(BOX)
        cp -a $(TARGETPREFIX) $(BOX)
@@ -27,3 +30,11 @@ $(D)/rootfs:
        find $(BOX)/var/sbin -type f -print0 | xargs -0 $(TARGET)-strip 2>/dev/null || true
        du -sh $(BOX)
 
+symlinks:
+       $(START_BUILD)
+       pushd $(BOX)/lib && \
+               ln -sf libuClibc-1.0.24.so libcrypt.so.0
+               ln -sf libuClibc-1.0.24.so libdl.so.0
+               ln -sf libuClibc-1.0.24.so libpthread.so.0
+               ln -sf libuClibc-1.0.24.so libm.so.0
+               ln -sf libuClibc-1.0.24.so librt.so.0