Changeset 33074


Ignore:
Timestamp:
Aug 8, 2017, 9:51:03 PM (2 weeks ago)
Author:
brainslayer
Message:

always use small footprint

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/router/rules/openssl.mk

    r33061 r33074  
    22ifeq ($(ARCH),armeb)
    33export OPENSSL_TARGET := linux-armv4
    4 export OPENSSL_CMAKEFLAGS := -DASMAES512   -ffunction-sections -fdata-sections -Wl,--gc-sections
     4export OPENSSL_CMAKEFLAGS := -DASMAES512   -ffunction-sections -fdata-sections -Wl,--gc-sections -DOPENSSL_SMALL_FOOTPRINT
    55endif
    66
     
    99ifeq ($(ARCH),arm)
    1010export OPENSSL_TARGET := linux-armv4
    11 export OPENSSL_CMAKEFLAGS := -DASMAES512 -ffunction-sections -fdata-sections -Wl,--gc-sections
     11export OPENSSL_CMAKEFLAGS := -DASMAES512 -ffunction-sections -fdata-sections -Wl,--gc-sections -DOPENSSL_SMALL_FOOTPRINT
    1212endif
    1313else
     
    1515ifeq ($(CONFIG_STORM),y)
    1616export OPENSSL_TARGET := linux-armv4
    17 export OPENSSL_CMAKEFLAGS := -ffunction-sections -fdata-sections -Wl,--gc-sections
     17export OPENSSL_CMAKEFLAGS := -ffunction-sections -fdata-sections -Wl,--gc-sections -DOPENSSL_SMALL_FOOTPRINT
    1818
    1919else
    2020export OPENSSL_TARGET := linux-armv4
    21 export OPENSSL_CMAKEFLAGS := -DASMAES512 -ffunction-sections -fdata-sections -Wl,--gc-sections
     21export OPENSSL_CMAKEFLAGS := -DASMAES512 -ffunction-sections -fdata-sections -Wl,--gc-sections -DOPENSSL_SMALL_FOOTPRINT
    2222endif
    2323endif
     
    2525ifeq ($(ARCH),mips)
    2626export OPENSSL_TARGET := linux-mips32
    27 export OPENSSL_CMAKEFLAGS := -DASMAES512 -ffunction-sections -fdata-sections -Wl,--gc-sections
     27export OPENSSL_CMAKEFLAGS := -DASMAES512 -ffunction-sections -fdata-sections -Wl,--gc-sections -DOPENSSL_SMALL_FOOTPRINT
    2828endif
    2929ifeq ($(ARCH),mips64)
    3030export OPENSSL_TARGET := linux-mips64
    31 export OPENSSL_CMAKEFLAGS := -ffunction-sections -fdata-sections -Wl,--gc-sections -DOCTEON -DHAVE_CRYPTODEV -DUSE_CRYPTODEV_DIGESTS
     31export OPENSSL_CMAKEFLAGS := -ffunction-sections -fdata-sections -Wl,--gc-sections -DOCTEON -DHAVE_CRYPTODEV -DUSE_CRYPTODEV_DIGESTS -DOPENSSL_SMALL_FOOTPRINT
    3232endif
    3333ifeq ($(ARCH),mipsel)
    3434export OPENSSL_TARGET := linux-mips32
    35 export OPENSSL_CMAKEFLAGS := -ffunction-sections -fdata-sections -Wl,--gc-sections
     35export OPENSSL_CMAKEFLAGS := -ffunction-sections -fdata-sections -Wl,--gc-sections -DOPENSSL_SMALL_FOOTPRINT
    3636endif
    3737ifeq ($(ARCH),powerpc)
    3838export OPENSSL_TARGET := linux-generic32
    39 export OPENSSL_CMAKEFLAGS := -ffunction-sections -fdata-sections -Wl,--gc-sections
     39export OPENSSL_CMAKEFLAGS := -ffunction-sections -fdata-sections -Wl,--gc-sections -DOPENSSL_SMALL_FOOTPRINT
    4040endif
    4141ifeq ($(ARCH),i386)
    4242export OPENSSL_TARGET := linux-generic32
    43 export OPENSSL_CMAKEFLAGS :=   -ffunction-sections -fdata-sections -Wl,--gc-sections
     43export OPENSSL_CMAKEFLAGS :=   -ffunction-sections -fdata-sections -Wl,--gc-sections -DOPENSSL_SMALL_FOOTPRINT
    4444endif
    4545ifeq ($(ARCH),x86_64)
    4646export OPENSSL_TARGET := linux-generic32
    47 export OPENSSL_CMAKEFLAGS :=   -ffunction-sections -fdata-sections -Wl,--gc-sections
     47export OPENSSL_CMAKEFLAGS :=   -ffunction-sections -fdata-sections -Wl,--gc-sections -DOPENSSL_SMALL_FOOTPRINT
    4848endif
    4949
Note: See TracChangeset for help on using the changeset viewer.