* [Buildroot] Avoiding rebuild of $(TARGET_DIR)/usr/bin/ldd
@ 2007-07-27 8:25 Ulf Samuelsson
2007-07-27 10:36 ` Bernhard Fischer
0 siblings, 1 reply; 2+ messages in thread
From: Ulf Samuelsson @ 2007-07-27 8:25 UTC (permalink / raw)
To: buildroot
$(TARGET_DIR)/usr/bin/ldd gets regenerated each load.
When I study the output of "make -d", it gets rebuilt
because of 'gcc'.
I did the following to get rid of the rebuild, but I am not
sure it is correct.
Comments?
Index: toolchain/uClibc/uclibc.mk
===================================================================
--- toolchain/uClibc/uclibc.mk (revision 19234)
+++ toolchain/uClibc/uclibc.mk (arbetskopia)
@@ -345,7 +345,7 @@
install_runtime
touch -c $@
-$(TARGET_DIR)/usr/bin/ldd: gcc
+$(TARGET_DIR)/usr/bin/ldd: $(TARGET_CROSS)gcc
$(MAKE1) -C $(UCLIBC_DIR) CC=$(TARGET_CROSS)gcc \
CPP=$(TARGET_CROSS)cpp LD=$(TARGET_CROSS)ld \
PREFIX=$(TARGET_DIR) utils install_utils
Best Regards
Ulf Samuelsson
^ permalink raw reply [flat|nested] 2+ messages in thread
* [Buildroot] Avoiding rebuild of $(TARGET_DIR)/usr/bin/ldd
2007-07-27 8:25 [Buildroot] Avoiding rebuild of $(TARGET_DIR)/usr/bin/ldd Ulf Samuelsson
@ 2007-07-27 10:36 ` Bernhard Fischer
0 siblings, 0 replies; 2+ messages in thread
From: Bernhard Fischer @ 2007-07-27 10:36 UTC (permalink / raw)
To: buildroot
On Fri, Jul 27, 2007 at 10:25:42AM +0200, Ulf Samuelsson wrote:
>$(TARGET_DIR)/usr/bin/ldd gets regenerated each load.
>When I study the output of "make -d", it gets rebuilt
>because of 'gcc'.
>
>I did the following to get rid of the rebuild, but I am not
>sure it is correct.
>
>Comments?
this was added to fix
sed -i -e "/JLEVEL/d" .config
echo "BR2_JLEVEL=1" >> .config
make -j 128
(i.e. toplevel parallel builds)
If your change works (i.e. if there is a rule somewhere to build
$(TARGET_CROSS)gcc, which i don't know off-hand) then please go ahead
and commit.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2007-07-27 10:36 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-07-27 8:25 [Buildroot] Avoiding rebuild of $(TARGET_DIR)/usr/bin/ldd Ulf Samuelsson
2007-07-27 10:36 ` Bernhard Fischer
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox