busybox/networking/libiproute/Kbuild
Denis Vlasenko dfc0740b04 ll_types.c: optimize link type table, make it conditional
on FEATURE_IP_RARE_PROTOCOLS

function                                             old     new   delta
static.arphrd_name                                     -     373    +373
static.arphrd_type                                     -     124    +124
ll_type_n2a                                           58      78     +20
static.arphrd_names                                  496       -    -496
------------------------------------------------------------------------------
(add/remove: 2/1 grow/shrink: 1/0 up/down: 517/-496)           Total: 21 bytes
   text    data     bss     dec     hex filename
 776880     974    9420  787274   c034a busybox_old
 776594     974    9420  786988   c022c busybox_unstripped
2007-10-29 19:33:26 +00:00

65 lines
1.0 KiB
Makefile

# Makefile for busybox
#
# Copyright (C) 1999-2004 by Erik Andersen <andersen@codepoet.org>
#
# Licensed under the GPL v2 or later, see the file LICENSE in this tarball.
#
lib-y:=
lib-$(CONFIG_SLATTACH) += \
utils.o
lib-$(CONFIG_IP) += \
ip_parse_common_args.o \
libnetlink.o \
ll_addr.o \
ll_map.o \
ll_proto.o \
ll_types.o \
rt_names.o \
rtm_map.o \
utils.o
lib-$(CONFIG_FEATURE_IP_ADDRESS) += \
ip_parse_common_args.o \
ipaddress.o \
libnetlink.o \
ll_addr.o \
ll_map.o \
ll_types.o \
rt_names.o \
utils.o
lib-$(CONFIG_FEATURE_IP_LINK) += \
ip_parse_common_args.o \
ipaddress.o \
iplink.o \
libnetlink.o \
ll_addr.o \
ll_map.o \
ll_types.o \
rt_names.o \
utils.o
lib-$(CONFIG_FEATURE_IP_ROUTE) += \
ip_parse_common_args.o \
iproute.o \
libnetlink.o \
ll_map.o \
rt_names.o \
rtm_map.o \
utils.o
lib-$(CONFIG_FEATURE_IP_TUNNEL) += \
ip_parse_common_args.o \
iptunnel.o \
rt_names.o \
utils.o
lib-$(CONFIG_FEATURE_IP_RULE) += \
ip_parse_common_args.o \
iprule.o \
rt_names.o \
utils.o