Browse Source

Rename HAVE_NO_SHARED to ARCH_HAS_NO_SHARED, otherwise it's too confusing
with HAVE_SHARED

Denis Vlasenko 16 years ago
parent
commit
a1c0be1a06
4 changed files with 7 additions and 7 deletions
  1. 2 2
      docs/PORTING
  2. 1 1
      extra/Configs/Config.e1
  3. 3 3
      extra/Configs/Config.in
  4. 1 1
      extra/Configs/Config.sparc

+ 2 - 2
docs/PORTING

@@ -10,8 +10,8 @@ you are hacking on.
 - add ARCH to the 'Target Architecture' list in extra/Configs/Config.in
 - Initially you will want to disable shared libraries, since making
    the shared library loader work requires you first have basic architecture
-   support working.  Thus you should add HAVE_NO_SHARED and ARCH_HAS_NO_LDSO
-   to Config.ARCH's TARGET_ARCH
+   support working.  Thus you should add ARCH_HAS_NO_SHARED and
+   ARCH_HAS_NO_LDSO to Config.ARCH's TARGET_ARCH
 
 ====================
 === libc sysdeps ===

+ 1 - 1
extra/Configs/Config.e1

@@ -12,7 +12,7 @@ config FORCE_OPTIONS_FOR_ARCH
 	default y
 	select ARCH_BIG_ENDIAN
 	select ARCH_HAS_NO_MMU
-	select HAVE_NO_SHARED
+	select ARCH_HAS_NO_SHARED
 
 config ARCH_E1 
 	bool

+ 3 - 3
extra/Configs/Config.in

@@ -215,18 +215,18 @@ config DOPIC
 	  If you wish to build all of uClibc as PIC objects, then answer Y here.
 	  If you are unsure, then you should answer N.
 
-config HAVE_NO_SHARED
+config ARCH_HAS_NO_SHARED
 	bool
 	default n
 
 config ARCH_HAS_NO_LDSO
 	bool
-	select HAVE_NO_SHARED
+	select ARCH_HAS_NO_SHARED
 	default n
 
 config HAVE_SHARED
 	bool "Enable support for shared libraries"
-	depends on !HAVE_NO_SHARED
+	depends on !ARCH_HAS_NO_SHARED
 	default y
 	help
 	  If you wish to build uClibc with support for shared libraries then

+ 1 - 1
extra/Configs/Config.sparc

@@ -26,7 +26,7 @@ choice
 	  SPARC v7 will give you only static support.
 
 config CONFIG_SPARC_V7
-	select HAVE_NO_SHARED
+	select ARCH_HAS_NO_SHARED
 	bool "SPARC v7"
 
 config CONFIG_SPARC_V8