summaryrefslogtreecommitdiffstats
path: root/lib/Makefile
blob: 1f9068e4d3f419711efced80802c096b1ba5d3c6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#
# Makefile for some libs needed in the kernel.
#
# Note! Dependencies are done automagically by 'make dep', which also
# removes any old dependencies. DON'T put your own dependencies here
# unless it's something special (ie not a .c file).
#

L_TARGET := lib.a
L_OBJS   := errno.o ctype.o string.o vsprintf.o brlock.o
LX_OBJS  := cmdline.o

ifneq ($(CONFIG_HAVE_DEC_LOCK),y) 
  L_OBJS += dec_and_lock.o
endif

include $(TOPDIR)/Rules.make