* [Buildroot] [PATCH] gcc-final: Drop obsolete code for handling lib64
@ 2013-08-28 10:56 Markos Chandras
2013-08-28 11:18 ` Thomas Petazzoni
2013-08-28 14:17 ` Peter Korsgaard
0 siblings, 2 replies; 3+ messages in thread
From: Markos Chandras @ 2013-08-28 10:56 UTC (permalink / raw)
To: buildroot
Since 5628776c4a4d29d0715633ea463b64cc19e19c5a
"toolchain-external: fix lib64 symlinks"
lib64 is a symlink to lib so there is no reason to copy the libraries
to lib64 anymore. This fixes multiple building problems
for buildroot toolchains:
[...]
mv: 'output/host/usr/mips64-buildroot-linux-uclibc/sysroot/lib64/libuClibc-0.9.33.2.so'
and 'output/host/usr/mips64-buildroot-linux-uclibc/sysroot/lib/libuClibc-0.9.33.2.so'
are the same file
mv: 'output/host/usr/mips64-buildroot-linux-uclibc/sysroot/lib64/libutil-0.9.33.2.so'
and 'output/host/usr/mips64-buildroot-linux-uclibc/sysroot/lib/libutil-0.9.33.2.so'
are the same file
mv: 'output/host/usr/mips64-buildroot-linux-uclibc/sysroot/lib64/libutil.so.0'
and 'output/host/usr/mips64-buildroot-linux-uclibc/sysroot/lib/libutil.so.0'
are the same file
rmdir: failed to remove
'output/host/usr/mips64-buildroot-linux-uclibc/sysroot/lib64': Not a directory
[...]
Signed-off-by: Markos Chandras <markos.chandras@imgtec.com>
---
package/gcc/gcc-final/gcc-final.mk | 14 --------------
1 file changed, 14 deletions(-)
diff --git a/package/gcc/gcc-final/gcc-final.mk b/package/gcc/gcc-final/gcc-final.mk
index 9f54c68..b62dfe2 100644
--- a/package/gcc/gcc-final/gcc-final.mk
+++ b/package/gcc/gcc-final/gcc-final.mk
@@ -55,20 +55,6 @@ endif
HOST_GCC_FINAL_CONF_OPT += \
$(call qstrip,$(BR2_EXTRA_GCC_CONFIG_OPTIONS))
-# Handle lib64
-define HOST_GCC_FINAL_HANDLE_LIB64
- if [ -d "$(STAGING_DIR)/lib64" ]; then \
- if [ ! -e "$(STAGING_DIR)/lib" ]; then \
- mkdir -p "$(STAGING_DIR)/lib"; \
- fi; \
- mv "$(STAGING_DIR)/lib64/"* "$(STAGING_DIR)/lib/"; \
- rmdir "$(STAGING_DIR)/lib64"; \
- rm "$(STAGING_DIR)/usr/$(GNU_TARGET_NAME)/lib64";\
- fi
-endef
-
-HOST_GCC_FINAL_POST_INSTALL_HOOKS += HOST_GCC_FINAL_HANDLE_LIB64
-
# Make sure we have 'cc'
define HOST_GCC_FINAL_CREATE_CC_SYMLINKS
if [ ! -e $(HOST_DIR)/usr/bin/$(GNU_TARGET_NAME)-cc ]; then \
--
1.8.3.2
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [Buildroot] [PATCH] gcc-final: Drop obsolete code for handling lib64
2013-08-28 10:56 [Buildroot] [PATCH] gcc-final: Drop obsolete code for handling lib64 Markos Chandras
@ 2013-08-28 11:18 ` Thomas Petazzoni
2013-08-28 14:17 ` Peter Korsgaard
1 sibling, 0 replies; 3+ messages in thread
From: Thomas Petazzoni @ 2013-08-28 11:18 UTC (permalink / raw)
To: buildroot
Dear Markos Chandras,
On Wed, 28 Aug 2013 11:56:18 +0100, Markos Chandras wrote:
> Since 5628776c4a4d29d0715633ea463b64cc19e19c5a
> "toolchain-external: fix lib64 symlinks"
>
> lib64 is a symlink to lib so there is no reason to copy the libraries
> to lib64 anymore. This fixes multiple building problems
> for buildroot toolchains:
>
> [...]
> mv: 'output/host/usr/mips64-buildroot-linux-uclibc/sysroot/lib64/libuClibc-0.9.33.2.so'
> and 'output/host/usr/mips64-buildroot-linux-uclibc/sysroot/lib/libuClibc-0.9.33.2.so'
> are the same file
> mv: 'output/host/usr/mips64-buildroot-linux-uclibc/sysroot/lib64/libutil-0.9.33.2.so'
> and 'output/host/usr/mips64-buildroot-linux-uclibc/sysroot/lib/libutil-0.9.33.2.so'
> are the same file
> mv: 'output/host/usr/mips64-buildroot-linux-uclibc/sysroot/lib64/libutil.so.0'
> and 'output/host/usr/mips64-buildroot-linux-uclibc/sysroot/lib/libutil.so.0'
> are the same file
> rmdir: failed to remove
> 'output/host/usr/mips64-buildroot-linux-uclibc/sysroot/lib64': Not a directory
> [...]
>
> Signed-off-by: Markos Chandras <markos.chandras@imgtec.com>
Reviewed-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Thanks.
--
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Buildroot] [PATCH] gcc-final: Drop obsolete code for handling lib64
2013-08-28 10:56 [Buildroot] [PATCH] gcc-final: Drop obsolete code for handling lib64 Markos Chandras
2013-08-28 11:18 ` Thomas Petazzoni
@ 2013-08-28 14:17 ` Peter Korsgaard
1 sibling, 0 replies; 3+ messages in thread
From: Peter Korsgaard @ 2013-08-28 14:17 UTC (permalink / raw)
To: buildroot
>>>>> "Markos" == Markos Chandras <markos.chandras@imgtec.com> writes:
Markos> Since 5628776c4a4d29d0715633ea463b64cc19e19c5a
Markos> "toolchain-external: fix lib64 symlinks"
Markos> lib64 is a symlink to lib so there is no reason to copy the libraries
Markos> to lib64 anymore. This fixes multiple building problems
Markos> for buildroot toolchains:
Markos> [...]
Markos> mv: 'output/host/usr/mips64-buildroot-linux-uclibc/sysroot/lib64/libuClibc-0.9.33.2.so'
Markos> and 'output/host/usr/mips64-buildroot-linux-uclibc/sysroot/lib/libuClibc-0.9.33.2.so'
Markos> are the same file
Markos> mv: 'output/host/usr/mips64-buildroot-linux-uclibc/sysroot/lib64/libutil-0.9.33.2.so'
Markos> and 'output/host/usr/mips64-buildroot-linux-uclibc/sysroot/lib/libutil-0.9.33.2.so'
Markos> are the same file
Markos> mv: 'output/host/usr/mips64-buildroot-linux-uclibc/sysroot/lib64/libutil.so.0'
Markos> and 'output/host/usr/mips64-buildroot-linux-uclibc/sysroot/lib/libutil.so.0'
Markos> are the same file
Markos> rmdir: failed to remove
Markos> 'output/host/usr/mips64-buildroot-linux-uclibc/sysroot/lib64': Not a directory
Markos> [...]
Markos> Signed-off-by: Markos Chandras <markos.chandras@imgtec.com>
Committed, thanks.
--
Bye, Peter Korsgaard
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2013-08-28 14:17 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-08-28 10:56 [Buildroot] [PATCH] gcc-final: Drop obsolete code for handling lib64 Markos Chandras
2013-08-28 11:18 ` Thomas Petazzoni
2013-08-28 14:17 ` Peter Korsgaard
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.