]> git.ipfire.org Git - people/ms/ipfire-2.x.git/commitdiff
riscv64: Move libraries back to /usr/lib64
authorMichael Tremer <michael.tremer@ipfire.org>
Fri, 5 Feb 2021 14:48:08 +0000 (09:48 -0500)
committerMichael Tremer <michael.tremer@ipfire.org>
Thu, 4 Mar 2021 10:51:53 +0000 (10:51 +0000)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
lfs/stage1
lfs/stage2

index 5ad5f11070e0db222eee21bd53d53bb346dd21f4..1b448d1a4aa651b73cf80c1d4dbee6ba7f70459b 100644 (file)
@@ -54,4 +54,8 @@ ifeq "$(IS_64BIT)" "1"
        ln -svf lib $(TOOLS_DIR)/lib64
 endif
 
+ifeq "$(BUILD_ARCH)" "riscv64"
+       ln -svf . $(TOOLS_DIR)/lib/lp64d
+endif
+
        @$(POSTBUILD)
index bacc9e0314625f7e132812bae82cdd08536b02c1..60d161eddf58b3ed8b0afc5dac52c35b1ee3ca5d 100644 (file)
@@ -69,6 +69,11 @@ ifeq "$(IS_64BIT)" "1"
        ln -svf lib /usr/lib64
 endif
 
+ifeq "$(BUILD_ARCH)" "riscv64"
+       ln -svf . /lib/lp64d
+       ln -svf . /usr/lib/lp64d
+endif
+
        # Symlinks
        # for this reason, stage2 rebuild will broke the iso:perl, grubbatch
        -ln -sv $(TOOLS_DIR)/bin/{bash,cat,echo,pwd,stty} /bin