Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 1 | # 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 Vlasenko | 5d2f173 | 2006-10-05 10:26:05 +0000 | [diff] [blame] | 7 | NEEDED-$(CONFIG_E2FSCK) = y |
| 8 | NEEDED-$(CONFIG_FSCK) = y |
| 9 | NEEDED-$(CONFIG_MKE2FS) = y |
| 10 | NEEDED-$(CONFIG_TUNE2FS) = y |
| 11 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 12 | lib-y:= |
Denis Vlasenko | 5d2f173 | 2006-10-05 10:26:05 +0000 | [diff] [blame] | 13 | lib-$(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 Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 15 | |
Denis Vlasenko | 665b02c | 2006-10-11 21:24:42 +0000 | [diff] [blame] | 16 | CFLAGS_dev.o := -include $(srctree)/include/busybox.h |
| 17 | CFLAGS_devname.o := -include $(srctree)/include/busybox.h |
| 18 | CFLAGS_devno.o := -include $(srctree)/include/busybox.h |
| 19 | CFLAGS_blkid_getsize.o := -include $(srctree)/include/busybox.h |
| 20 | CFLAGS_probe.o := -include $(srctree)/include/busybox.h |
| 21 | CFLAGS_save.o := -include $(srctree)/include/busybox.h |
| 22 | CFLAGS_tag.o := -include $(srctree)/include/busybox.h |
| 23 | CFLAGS_list.o := -include $(srctree)/include/busybox.h |