summaryrefslogtreecommitdiffstats
path: root/rules/pre
diff options
context:
space:
mode:
authorMichael Olbrich <m.olbrich@pengutronix.de>2023-03-20 16:46:25 +0100
committerMichael Olbrich <m.olbrich@pengutronix.de>2023-03-20 16:46:29 +0100
commitf8ec2e1edb26eeab888ede504e89ad469dec1ffa (patch)
tree4f2cc750992d4ea9f9b6a2318d789456710c77ce /rules/pre
parent5c36e112956b54b47c85bedd0429d4cf3ceac6ef (diff)
downloadptxdist-f8ec2e1edb26eeab888ede504e89ad469dec1ffa.tar.gz
ptxdist-f8ec2e1edb26eeab888ede504e89ad469dec1ffa.tar.xz
ptxdist: always install to /lib
PTXdist does not support multilib. So don't get the libdir from the dynamic linker path. Always use /lib. If the linker is expected elsewhere, e.g. /lib64 then add a symlink for this. Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'rules/pre')
-rw-r--r--rules/pre/Rules.make3
1 files changed, 2 insertions, 1 deletions
diff --git a/rules/pre/Rules.make b/rules/pre/Rules.make
index 89a6606ec..3b89346ee 100644
--- a/rules/pre/Rules.make
+++ b/rules/pre/Rules.make
@@ -136,7 +136,8 @@ CROSS_ENV_PROGS := \
$(CROSS_ENV_LINK_FOR_BUILD) \
$(CROSS_ENV_PKG_CONFIG)
-CROSS_LIB_DIR := $(shell ptxd_get_lib_dir)
+CROSS_LIB_DIR := lib
+CROSS_LINKER_LIB_DIR := $(shell ptxd_get_lib_dir)
#