diff options
author | patacongo <patacongo@7fd9a85b-ad96-42d3-883c-3090e2eb8679> | 2011-04-07 00:42:46 +0000 |
---|---|---|
committer | patacongo <patacongo@7fd9a85b-ad96-42d3-883c-3090e2eb8679> | 2011-04-07 00:42:46 +0000 |
commit | e21de8b0c2caa73d9c114ea8180fa8bdf797dc19 (patch) | |
tree | 28d4728e399766430449fb2a7b365465d74897c7 /misc | |
parent | d8ab80ccef6b4f340bdc54e90f38b7ac98219a6e (diff) |
m9s12x toolchain Ubuntu 9.10 build fix
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@3476 7fd9a85b-ad96-42d3-883c-3090e2eb8679
Diffstat (limited to 'misc')
-rw-r--r-- | misc/buildroot/configs/m9s12x-config-3.3.6 | 2 | ||||
-rw-r--r-- | misc/buildroot/toolchain/gcc/3.3.6/910-create-mode.patch | 11 |
2 files changed, 12 insertions, 1 deletions
diff --git a/misc/buildroot/configs/m9s12x-config-3.3.6 b/misc/buildroot/configs/m9s12x-config-3.3.6 index 1b50e1469e..ab75d010d8 100644 --- a/misc/buildroot/configs/m9s12x-config-3.3.6 +++ b/misc/buildroot/configs/m9s12x-config-3.3.6 @@ -37,7 +37,7 @@ BR2_BZCAT="bzcat" BR2_TAR_OPTIONS="" BR2_DL_DIR="$(BASE_DIR)/../archives" BR2_STAGING_DIR="$(BUILD_DIR)/staging_dir" -BR2_NUTTX_DIR="$(TOPDIR)/../nuttx" +BR2_NUTTX_DIR="$(TOPDIR)/../../nuttx" BR2_TOPDIR_PREFIX="" BR2_TOPDIR_SUFFIX="" BR2_GNU_BUILD_SUFFIX="pc-elf" diff --git a/misc/buildroot/toolchain/gcc/3.3.6/910-create-mode.patch b/misc/buildroot/toolchain/gcc/3.3.6/910-create-mode.patch new file mode 100644 index 0000000000..20a9e83787 --- /dev/null +++ b/misc/buildroot/toolchain/gcc/3.3.6/910-create-mode.patch @@ -0,0 +1,11 @@ +--- gcc-3.3.6/gcc/collect2.c 2011-04-06 18:36:17.269806677 -0600 ++++ gcc-3.3.6/gcc/collect2.c 2011-04-06 18:36:34.385799826 -0600 +@@ -1580,7 +1580,7 @@ + if (redir) + { + /* Open response file. */ +- redir_handle = open (redir, O_WRONLY | O_TRUNC | O_CREAT); ++ redir_handle = open (redir, O_WRONLY | O_TRUNC | O_CREAT, 0666); + + /* Duplicate the stdout and stderr file handles + so they can be restored later. */ |