You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by gn...@apache.org on 2020/04/16 22:04:18 UTC

[incubator-nuttx] branch master updated (120de78 -> 366c446)

This is an automated email from the ASF dual-hosted git repository.

gnutt pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git.


    from 120de78  kinetis: Fix typos
     new e67062f  Config.mk: Provide the default MODULESTRIP
     new c61d959  sim: macOS's strip doesn't have --strip-unneeded option
     new 366c446  sim: Provide MODULESTRIP for macOS

The 3 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 boards/sim/sim/sim/configs/cxxtest/Make.defs | 5 +++++
 boards/sim/sim/sim/configs/nsh2/Make.defs    | 1 +
 boards/sim/sim/sim/scripts/Make.defs         | 5 +++++
 tools/Config.mk                              | 1 +
 4 files changed, 12 insertions(+)


[incubator-nuttx] 02/03: sim: macOS's strip doesn't have --strip-unneeded option

Posted by gn...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

gnutt pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git

commit c61d959655358227685f63dbb05804ca7934b203
Author: YAMAMOTO Takashi <ya...@midokura.com>
AuthorDate: Thu Apr 16 21:14:00 2020 +0900

    sim: macOS's strip doesn't have --strip-unneeded option
---
 boards/sim/sim/sim/configs/cxxtest/Make.defs | 4 ++++
 boards/sim/sim/sim/scripts/Make.defs         | 4 ++++
 2 files changed, 8 insertions(+)

diff --git a/boards/sim/sim/sim/configs/cxxtest/Make.defs b/boards/sim/sim/sim/configs/cxxtest/Make.defs
index d554449..de82281 100644
--- a/boards/sim/sim/sim/configs/cxxtest/Make.defs
+++ b/boards/sim/sim/sim/configs/cxxtest/Make.defs
@@ -60,7 +60,11 @@ CC = $(CROSSDEV)cc
 CXX = $(CROSSDEV)c++
 CPP = $(CROSSDEV)cc -E
 LD = $(CROSSDEV)ld
+ifeq ($(CONFIG_HOST_MACOS),y)
+STRIP = $(CROSSDEV)strip
+else
 STRIP = $(CROSSDEV)strip --strip-unneeded
+endif
 AR = $(CROSSDEV)ar rcs
 NM = $(CROSSDEV)nm
 OBJCOPY = $(CROSSDEV)objcopy
diff --git a/boards/sim/sim/sim/scripts/Make.defs b/boards/sim/sim/sim/scripts/Make.defs
index fe47820..732d9d8 100644
--- a/boards/sim/sim/sim/scripts/Make.defs
+++ b/boards/sim/sim/sim/scripts/Make.defs
@@ -62,7 +62,11 @@ CC = $(CROSSDEV)cc
 CXX = $(CROSSDEV)c++
 CPP = $(CROSSDEV)cc -E -P -x c
 LD = $(CROSSDEV)ld
+ifeq ($(CONFIG_HOST_MACOS),y)
+STRIP = $(CROSSDEV)strip
+else
 STRIP = $(CROSSDEV)strip --strip-unneeded
+endif
 AR = $(CROSSDEV)ar rcs
 NM = $(CROSSDEV)nm
 OBJCOPY = $(CROSSDEV)objcopy


[incubator-nuttx] 03/03: sim: Provide MODULESTRIP for macOS

Posted by gn...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

gnutt pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git

commit 366c4460034d89bbd4810f02145a31080d2ad0c4
Author: YAMAMOTO Takashi <ya...@midokura.com>
AuthorDate: Thu Apr 16 21:18:02 2020 +0900

    sim: Provide MODULESTRIP for macOS
---
 boards/sim/sim/sim/configs/cxxtest/Make.defs | 1 +
 boards/sim/sim/sim/configs/nsh2/Make.defs    | 1 +
 boards/sim/sim/sim/scripts/Make.defs         | 1 +
 3 files changed, 3 insertions(+)

diff --git a/boards/sim/sim/sim/configs/cxxtest/Make.defs b/boards/sim/sim/sim/configs/cxxtest/Make.defs
index de82281..ec87630 100644
--- a/boards/sim/sim/sim/configs/cxxtest/Make.defs
+++ b/boards/sim/sim/sim/configs/cxxtest/Make.defs
@@ -96,6 +96,7 @@ ifeq ($(CONFIG_HOST_MACOS),y)
   # eg. brew install x86_64-elf-gcc
   MODULECC = x86_64-elf-gcc
   MODULELD = x86_64-elf-ld
+  MODULESTRIP = x86_64-elf-strip --strip-unneeded
   # It seems macOS/x86_64 loads the program text around 00000001_xxxxxxxx.
   # The gcc default (-mcmodel=small) would produce out-of-range 32-bit
   # relocations.
diff --git a/boards/sim/sim/sim/configs/nsh2/Make.defs b/boards/sim/sim/sim/configs/nsh2/Make.defs
index 02f3dec..04f5f97 100644
--- a/boards/sim/sim/sim/configs/nsh2/Make.defs
+++ b/boards/sim/sim/sim/configs/nsh2/Make.defs
@@ -88,6 +88,7 @@ ifeq ($(CONFIG_HOST_MACOS),y)
   # eg. brew install x86_64-elf-gcc
   MODULECC = x86_64-elf-gcc
   MODULELD = x86_64-elf-ld
+  MODULESTRIP = x86_64-elf-strip --strip-unneeded
   # It seems macOS/x86_64 loads the program text around 00000001_xxxxxxxx.
   # The gcc default (-mcmodel=small) would produce out-of-range 32-bit
   # relocations.
diff --git a/boards/sim/sim/sim/scripts/Make.defs b/boards/sim/sim/sim/scripts/Make.defs
index 732d9d8..28e7112 100644
--- a/boards/sim/sim/sim/scripts/Make.defs
+++ b/boards/sim/sim/sim/scripts/Make.defs
@@ -98,6 +98,7 @@ ifeq ($(CONFIG_HOST_MACOS),y)
   # eg. brew install x86_64-elf-gcc
   MODULECC = x86_64-elf-gcc
   MODULELD = x86_64-elf-ld
+  MODULESTRIP = x86_64-elf-strip --strip-unneeded
   # It seems macOS/x86_64 loads the program text around 00000001_xxxxxxxx.
   # The gcc default (-mcmodel=small) would produce out-of-range 32-bit
   # relocations.


[incubator-nuttx] 01/03: Config.mk: Provide the default MODULESTRIP

Posted by gn...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

gnutt pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git

commit e67062fd88ea48696f98d459857c190ab00f9605
Author: YAMAMOTO Takashi <ya...@midokura.com>
AuthorDate: Thu Apr 16 21:15:13 2020 +0900

    Config.mk: Provide the default MODULESTRIP
    
    Similarly to MODULECC/MODULELD.
---
 tools/Config.mk | 1 +
 1 file changed, 1 insertion(+)

diff --git a/tools/Config.mk b/tools/Config.mk
index 1472ba5..764e2ba 100644
--- a/tools/Config.mk
+++ b/tools/Config.mk
@@ -369,3 +369,4 @@ endif
 
 MODULECC = $(CC)
 MODULELD = $(LD)
+MODULESTRIP = $(STRIP)