4
4
# Copyright (C) 2004 Marc Singer
6
6
# This program is free software; you can redistribute it and/or
7
# modify it under the terms of the GNU General Public License as
8
# published by the Free Software Foundation; either version 2 of the
9
# License, or (at your option) any later version.
11
# This program is distributed in the hope that it will be useful, but
12
# WITHOUT ANY WARRANTY; without even the implied warranty of
13
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14
# General Public License for more details.
16
# You should have received a copy of the GNU General Public License
17
# along with this program; if not, write to the Free Software
18
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
7
# modify it under the terms of the GNU General Public License
8
# version 2 as published by the Free Software Foundation.
9
# Please refer to the file debian/copyright for further details.
22
lib-y := vsprintf.o ctype.o
12
lib-y := vsprintf.o ctype.o strtol.o
23
13
lib-y += strlen.o strnlen.o strchr.o strlcpy.o strcat.o strcpy.o
24
14
lib-y += strcmp.o strnicmp.o strcspn.o
25
15
lib-y += memcmp.o memset.o
26
lib-$(CONFIG_SMALL) += memcpy.o memmove.o
17
#lib-$(CONFIG_SMALL) += memcpy.o
18
lib-$(CONFIG_SMALL) += memmove.o
19
#lib-$(CONFIG_THUMB) += memcpy.o
27
20
lib-y += crc32.o xmodem.o
21
lib-$(CONFIG_CRC32_LSB) += crc32-lsb.o
29
23
lib-$(CONFIG_ENV) += env.o
35
29
lib-$(CONFIG_ALIASES) += alias.o
34
lib-y += describe-size.o
39
36
ifneq ($(CONFIG_THUMB),)
40
CFLAGS_vsprintf.o += -mthumb
41
CFLAGS_ctype.o += -mthumb
42
#CFLAGS_xmodem.o += -mthumb -mcaller-super-interworking
43
CFLAGS_strlen.o += -mthumb
44
CFLAGS_strnlen.o += -mthumb
45
CFLAGS_strrchr.o += -mthumb
46
CFLAGS_strlcpy.o += -mthumb
47
CFLAGS_strnicmp.o += -mthumb
48
CFLAGS_strcpy.o += -mthumb
49
CFLAGS_memcmp.o += -mthumb
50
CFLAGS_memset.o += -mthumb
51
CFLAGS_memcpy.o += -mthumb
52
CFLAGS_memmove.o += -mthumb
53
CFLAGS_png.o += -mthumb
37
EXTRA_CFLAGS += -mthumb
58
#CFLAGS_vsprintf.o += -mthumb
59
#CFLAGS_crc32.o = -mthumb -mthumb-interwork
b'\\ No newline at end of file'