Changeset 29484


Ignore:
Timestamp:
2011-12-08T17:49:45+01:00 (6 years ago)
Author:
jow
Message:

[package] librpc: do not build if external or native toolchains are used

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/package/librpc/Makefile

    r26716 r29484  
    1010PKG_SOURCE_VERSION:=0a2179bbc0844928f2a0ec01dba93d9b5d6d41a7 
    1111PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-$(PKG_SOURCE_VERSION).tar.gz 
    12 ifdef CONFIG_USE_UCLIBC 
     12 
     13ifndef CONFIG_NATIVE_TOOLCHAIN 
     14 ifndef CONFIG_EXTERNAL_TOOLCHAIN 
     15  ifdef CONFIG_USE_UCLIBC 
     16    BUILD_LIBRPC=1 
     17  endif 
     18 endif 
     19endif 
     20 
     21ifdef BUILD_LIBRPC 
    1322  CMAKE_INSTALL:=1 
    1423endif 
     
    2433endef 
    2534 
    26 ifdef CONFIG_USE_UCLIBC 
     35ifdef BUILD_LIBRPC 
    2736  define Package/librpc/install 
    2837        $(INSTALL_DIR) $(1)/lib/ 
    2938        $(INSTALL_DATA) $(PKG_INSTALL_DIR)/usr/lib/librpc.so $(1)/lib/ 
    3039  endef 
     40else 
     41  define Build/Prepare 
     42  endef 
     43 
     44  define Build/Configure 
     45  endef 
     46 
     47  define Build/Compile 
     48  endef 
     49 
     50  define Build/Install 
     51  endef 
     52 
     53  define Package/librpc/install 
     54        true 
     55  endef 
    3156endif 
    3257 
Note: See TracChangeset for help on using the changeset viewer.