Denis Vlasenko | c4f623e | 2006-12-26 01:30:59 +0000 | [diff] [blame] | 1 | # Makefile for busybox |
| 2 | # |
| 3 | # Copyright (C) 1999-2005 by Erik Andersen <andersen@codepoet.org> |
| 4 | # |
Denys Vlasenko | 0ef64bd | 2010-08-16 20:14:46 +0200 | [diff] [blame] | 5 | # Licensed under GPLv2, see file LICENSE in this source tree. |
Denis Vlasenko | c4f623e | 2006-12-26 01:30:59 +0000 | [diff] [blame] | 6 | |
| 7 | NEEDED-$(CONFIG_E2FSCK) = y |
| 8 | NEEDED-$(CONFIG_FSCK) = y |
| 9 | NEEDED-$(CONFIG_MKE2FS) = y |
| 10 | NEEDED-$(CONFIG_TUNE2FS) = y |
| 11 | |
| 12 | lib-y:= |
Denys Vlasenko | d70e0e9 | 2010-06-08 12:15:11 +0200 | [diff] [blame] | 13 | |
| 14 | INSERT |
| 15 | |
Denis Vlasenko | c4f623e | 2006-12-26 01:30:59 +0000 | [diff] [blame] | 16 | lib-$(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 | |
| 19 | CFLAGS_dev.o := -include $(srctree)/include/busybox.h |
| 20 | CFLAGS_devname.o := -include $(srctree)/include/busybox.h |
| 21 | CFLAGS_devno.o := -include $(srctree)/include/busybox.h |
| 22 | CFLAGS_blkid_getsize.o := -include $(srctree)/include/busybox.h |
| 23 | CFLAGS_probe.o := -include $(srctree)/include/busybox.h |
| 24 | CFLAGS_save.o := -include $(srctree)/include/busybox.h |
| 25 | CFLAGS_tag.o := -include $(srctree)/include/busybox.h |
| 26 | CFLAGS_list.o := -include $(srctree)/include/busybox.h |