Просмотр исходного кода

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

Denis Vlasenko 16 лет назад
Родитель
Сommit
a1c0be1a06
4 измененных файлов с 7 добавлено и 7 удалено
  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
 - add ARCH to the 'Target Architecture' list in extra/Configs/Config.in
 - Initially you will want to disable shared libraries, since making
 - Initially you will want to disable shared libraries, since making
    the shared library loader work requires you first have basic architecture
    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 ===
 === libc sysdeps ===

+ 1 - 1
extra/Configs/Config.e1

@@ -12,7 +12,7 @@ config FORCE_OPTIONS_FOR_ARCH
 	default y
 	default y
 	select ARCH_BIG_ENDIAN
 	select ARCH_BIG_ENDIAN
 	select ARCH_HAS_NO_MMU
 	select ARCH_HAS_NO_MMU
-	select HAVE_NO_SHARED
+	select ARCH_HAS_NO_SHARED
 
 
 config ARCH_E1 
 config ARCH_E1 
 	bool
 	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 wish to build all of uClibc as PIC objects, then answer Y here.
 	  If you are unsure, then you should answer N.
 	  If you are unsure, then you should answer N.
 
 
-config HAVE_NO_SHARED
+config ARCH_HAS_NO_SHARED
 	bool
 	bool
 	default n
 	default n
 
 
 config ARCH_HAS_NO_LDSO
 config ARCH_HAS_NO_LDSO
 	bool
 	bool
-	select HAVE_NO_SHARED
+	select ARCH_HAS_NO_SHARED
 	default n
 	default n
 
 
 config HAVE_SHARED
 config HAVE_SHARED
 	bool "Enable support for shared libraries"
 	bool "Enable support for shared libraries"
-	depends on !HAVE_NO_SHARED
+	depends on !ARCH_HAS_NO_SHARED
 	default y
 	default y
 	help
 	help
 	  If you wish to build uClibc with support for shared libraries then
 	  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.
 	  SPARC v7 will give you only static support.
 
 
 config CONFIG_SPARC_V7
 config CONFIG_SPARC_V7
-	select HAVE_NO_SHARED
+	select ARCH_HAS_NO_SHARED
 	bool "SPARC v7"
 	bool "SPARC v7"
 
 
 config CONFIG_SPARC_V8
 config CONFIG_SPARC_V8