Ignore:
Timestamp:
2010-02-16T17:18:03+01:00 (6 years ago)
Author:
rhk
Message:

[packages] polarssl: fix parallel build

File:
1 edited

Legend:

Unmodified
Added
Removed
  • packages/libs/polarssl/Makefile

    r18816 r19660  
    11#  
    2 # Copyright (C) 2006-2006 OpenWrt.org 
     2# Copyright (C) 2006-2010 OpenWrt.org 
    33# 
    44# This is free software, licensed under the GNU General Public License v2. 
     
    1010PKG_NAME:=polarssl 
    1111PKG_VERSION:=0.12.1 
    12 PKG_RELEASE:=1 
     12PKG_RELEASE:=2 
    1313 
    1414PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-gpl.tgz 
     
    2525 
    2626define Package/libpolarssl/Default/description 
    27  The aim of the PolarSSL project is to provide a quality, open-source  
    28  cryptographic library written in C and targeted at embedded systems. 
     27The aim of the PolarSSL project is to provide a quality, open-source 
     28cryptographic library written in C and targeted at embedded systems. 
    2929endef 
    3030 
     
    4444endef 
    4545 
     46PKG_INSTALL:=1 
     47 
    4648define Build/Configure 
    4749endef 
    4850 
    4951TARGET_CFLAGS += $(FPIC) 
    50  
    51 define Build/Compile 
    52         $(MAKE) -C $(PKG_BUILD_DIR) \ 
    53                 $(TARGET_CONFIGURE_OPTS) \ 
    54                 OFLAGS="$(TARGET_CFLAGS)" \ 
    55                 all 
    56         $(MAKE) -C $(PKG_BUILD_DIR) \ 
    57                 DESTDIR="$(PKG_INSTALL_DIR)/usr" \ 
    58                 install 
    59 endef 
     52MAKE_FLAGS += OFLAGS="$(TARGET_CFLAGS)" 
    6053 
    6154define Build/InstallDev 
    6255        $(INSTALL_DIR) $(1)/usr/include 
    63         $(CP) $(PKG_INSTALL_DIR)/usr/include/polarssl $(1)/usr/include/ 
     56        $(CP) $(PKG_INSTALL_DIR)/include/polarssl $(1)/usr/include/ 
    6457        $(INSTALL_DIR) $(1)/usr/lib 
    65         $(CP) $(PKG_INSTALL_DIR)/usr/lib/libpolarssl.{a,so} $(1)/usr/lib/ 
     58        $(CP) $(PKG_INSTALL_DIR)/lib/libpolarssl.{a,so} $(1)/usr/lib/ 
    6659endef 
    6760 
    6861define Package/libpolarssl/install 
    6962        $(INSTALL_DIR) $(1)/usr/lib 
    70         $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/lib/libpolarssl.so $(1)/usr/lib/ 
     63        $(INSTALL_BIN) $(PKG_INSTALL_DIR)/lib/libpolarssl.so $(1)/usr/lib/ 
    7164endef 
    7265 
    7366define Package/polarssl-progs/install 
    7467        $(INSTALL_DIR) $(1)/usr/bin 
    75         $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/polarssl_* $(1)/usr/bin/ 
     68        $(INSTALL_BIN) $(PKG_INSTALL_DIR)/bin/polarssl_* $(1)/usr/bin/ 
    7669endef 
    7770 
Note: See TracChangeset for help on using the changeset viewer.