blob: bae77fe63de21faed6da5e30e4e022cc5c412dda [file] [log] [blame]
Denis Vlasenkoc4f623e2006-12-26 01:30:59 +00001# Makefile for busybox
2#
3# Copyright (C) 1999-2005 by Erik Andersen <andersen@codepoet.org>
4#
5# Licensed under the GPL v2, see the file LICENSE in this tarball.
6
7NEEDED-$(CONFIG_E2FSCK) = y
8NEEDED-$(CONFIG_FSCK) = y
9NEEDED-$(CONFIG_MKE2FS) = y
10NEEDED-$(CONFIG_TUNE2FS) = y
11
12lib-y:=
Denys Vlasenkod70e0e92010-06-08 12:15:11 +020013
14INSERT
15
Denis Vlasenkoc4f623e2006-12-26 01:30:59 +000016lib-$(NEEDED-y) += cache.o dev.o devname.o devno.o blkid_getsize.o \
17 probe.o read.o resolve.o save.o tag.o list.o
18
19CFLAGS_dev.o := -include $(srctree)/include/busybox.h
20CFLAGS_devname.o := -include $(srctree)/include/busybox.h
21CFLAGS_devno.o := -include $(srctree)/include/busybox.h
22CFLAGS_blkid_getsize.o := -include $(srctree)/include/busybox.h
23CFLAGS_probe.o := -include $(srctree)/include/busybox.h
24CFLAGS_save.o := -include $(srctree)/include/busybox.h
25CFLAGS_tag.o := -include $(srctree)/include/busybox.h
26CFLAGS_list.o := -include $(srctree)/include/busybox.h