blob: 02b4d24961f3cb08cda213af3bd73730df2ee399 [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#
Denys Vlasenko0ef64bd2010-08-16 20:14:46 +02005# Licensed under GPLv2, see file LICENSE in this source tree.
Denis Vlasenkoc4f623e2006-12-26 01:30:59 +00006
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