Changeset 30513 for packages


Ignore:
Timestamp:
2012-02-14T00:59:07+01:00 (5 years ago)
Author:
nbd
Message:

samba36: more size optimizations and configurable debug level

Location:
packages/net/samba36
Files:
2 added
1 edited

Legend:

Unmodified
Added
Removed
  • packages/net/samba36/Makefile

    r30510 r30513  
    3232endef 
    3333 
     34define Package/samba36-server/config 
     35        config PACKAGE_SAMBA_MAX_DEBUG_LEVEL 
     36                int "Maximum level of compiled-in debug messages" 
     37                default -1 
     38 
     39endef 
     40 
    3441define Package/samba36-server/description 
    3542 The Samba software suite is a collection of programs that implements the 
     
    3946endef 
    4047 
    41 TARGET_CFLAGS += -DMAX_DEBUG_LEVEL=2 -D__location__=\\\"\\\" -ffunction-sections -fdata-sections 
     48TARGET_CFLAGS += -DMAX_DEBUG_LEVEL=$(CONFIG_PACKAGE_SAMBA_MAX_DEBUG_LEVEL) -D__location__=\\\"\\\" -ffunction-sections -fdata-sections 
    4249TARGET_LDFLAGS += -Wl,--gc-sections 
    4350 
Note: See TracChangeset for help on using the changeset viewer.