[Buildroot] Patch for gcc-uclibc-4.x.mk

Matuschka, Sebastian Sebastian.Matuschka at gcd-solutions.de
Fri Jul 25 11:46:42 UTC 2008


Hi,

when compiling with sstrip, the path $(TARGET_DIR)/usr/bin must exist,
otherwise the compilation of gcc will abort and say that
$(TARGET_DIR)/usr/bin doesn't exist.

Regards
Sebastian

Here is the patch for buildroot/toolchain/gcc/gcc-uclibc-4.x.mk:


--- ./.svn/text-base/gcc-uclibc-4.x.mk.svn-base	2008-07-17
13:49:10.000000000 +0200
+++ gcc-uclibc-4.x.mk	2008-07-25 13:03:16.000000000 +0200
@@ -356,7 +356,7 @@
 	#
 	# Ok... that's enough of that.
 	#
-	mkdir -p $(TARGET_DIR)/usr/lib $(TARGET_DIR)/usr/sbin
+	mkdir -p $(TARGET_DIR)/usr/lib $(TARGET_DIR)/usr/sbin
$(TARGET_DIR)/usr/bin
 	touch $@
 
 $(GCC_BUILD_DIR2)/.libs_installed: $(GCC_BUILD_DIR2)/.installed
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gcc-uclibc-4.x.mk.patch
Type: application/octet-stream
Size: 415 bytes
Desc: gcc-uclibc-4.x.mk.patch
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20080725/52fadea1/attachment-0003.obj>


More information about the buildroot mailing list