blob: ddcfdfd9aee2b77b020746eb6cb22d041f5f90dd [file] [log] [blame]
Denis Vlasenko7d219aa2006-10-05 10:17:08 +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
Denis Vlasenko5d2f1732006-10-05 10:26:05 +00007NEEDED-$(CONFIG_E2FSCK) = y
8NEEDED-$(CONFIG_FSCK) = y
9NEEDED-$(CONFIG_MKE2FS) = y
10NEEDED-$(CONFIG_TUNE2FS) = y
11
Denis Vlasenko7d219aa2006-10-05 10:17:08 +000012lib-y:=
Denis Vlasenko5d2f1732006-10-05 10:26:05 +000013lib-$(NEEDED-y) += cache.o dev.o devname.o devno.o blkid_getsize.o \
14 probe.o read.o resolve.o save.o tag.o list.o
Denis Vlasenko7d219aa2006-10-05 10:17:08 +000015
Denis Vlasenko665b02c2006-10-11 21:24:42 +000016CFLAGS_dev.o := -include $(srctree)/include/busybox.h
17CFLAGS_devname.o := -include $(srctree)/include/busybox.h
18CFLAGS_devno.o := -include $(srctree)/include/busybox.h
19CFLAGS_blkid_getsize.o := -include $(srctree)/include/busybox.h
20CFLAGS_probe.o := -include $(srctree)/include/busybox.h
21CFLAGS_save.o := -include $(srctree)/include/busybox.h
22CFLAGS_tag.o := -include $(srctree)/include/busybox.h
23CFLAGS_list.o := -include $(srctree)/include/busybox.h