summaryrefslogtreecommitdiffstats
path: root/lib_generic
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2007-07-05 18:01:14 +0200
committerSascha Hauer <sha@octopus.labnet.pengutronix.de>2007-07-05 18:01:14 +0200
commit603e2e7dc047c5249b7f71245201e69114f6f6a4 (patch)
treeb5847358cee04c3c0e3d8b14d6b06142dd48db53 /lib_generic
parent85ca99beb3be1792d7b6fe9c327f288df2b399de (diff)
downloadbarebox-603e2e7dc047c5249b7f71245201e69114f6f6a4.tar.gz
barebox-603e2e7dc047c5249b7f71245201e69114f6f6a4.tar.xz
svn_rev_016
update Makefiles to kbuild
Diffstat (limited to 'lib_generic')
-rw-r--r--lib_generic/Makefile58
1 files changed, 12 insertions, 46 deletions
diff --git a/lib_generic/Makefile b/lib_generic/Makefile
index f012cab7d8..460313cf3c 100644
--- a/lib_generic/Makefile
+++ b/lib_generic/Makefile
@@ -1,46 +1,12 @@
-#
-# (C) Copyright 2000-2006
-# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
-#
-# See file CREDITS for list of people who contributed to this
-# project.
-#
-# This program is free software; you can redistribute it and/or
-# modify it under the terms of the GNU General Public License as
-# published by the Free Software Foundation; either version 2 of
-# the License, or (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place, Suite 330, Boston,
-# MA 02111-1307 USA
-#
-
-include $(TOPDIR)/config.mk
-
-LIB = $(obj)libgeneric.a
-
-COBJS = bzlib.o bzlib_crctable.o bzlib_decompress.o \
- bzlib_randtable.o bzlib_huffman.o \
- crc32.o ctype.o display_options.o ldiv.o \
- string.o vsprintf.o zlib.o
-
-SRCS := $(COBJS:.o=.c)
-OBJS := $(addprefix $(obj),$(COBJS))
-
-$(LIB): $(obj).depend $(OBJS)
- $(AR) $(ARFLAGS) $@ $(OBJS)
-
-#########################################################################
-
-# defines $(obj).depend target
-include $(SRCTREE)/rules.mk
-
-sinclude $(obj).depend
-
-#########################################################################
+obj-y += bzlib.o
+obj-y += bzlib_crctable.o
+obj-y += bzlib_decompress.o
+obj-y += bzlib_huffman.o
+obj-y += bzlib_randtable.o
+obj-y += crc32.o
+obj-y += ctype.o
+obj-y += display_options.o
+obj-y += ldiv.o
+obj-y += string.o
+obj-y += vsprintf.o
+obj-y += zlib.o