Ignore:
Timestamp:
2012-01-08T16:34:23+01:00 (5 years ago)
Author:
jow
Message:
[toolchain] introduce a USE_EXTERNAL_LIBC symbol which gets selected by EXTERNAL_TOOLCHAIN
NATIVE_TOOLCHAIN

Currently we always assume uClibc if an external toolchain is used, this breaks for non-uClibc toolchains or
even vanilla uClibc ones since they do not share the external librpc semantics as OpenWrt. Solve the problem
by defining an abstract "EXTERNAL_LIBC" which packages might or might not depend on.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/toolchain/Config.in

    r26034 r29689  
    176176config USE_UCLIBC 
    177177        bool 
    178         default y if !TOOLCHAINOPTS 
     178        default y if !TOOLCHAINOPTS && !EXTERNAL_TOOLCHAIN && !NATIVE_TOOLCHAIN 
     179 
     180config USE_EXTERNAL_LIBC 
     181        bool 
     182        default y if EXTERNAL_TOOLCHAIN || NATIVE_TOOLCHAIN 
    179183 
    180184source "toolchain/gcc/Config.version" 
Note: See TracChangeset for help on using the changeset viewer.