1 #############################################################
5 #############################################################
6 MKDOSFS_SOURCE
=dosfstools-2.8.src.
tar.gz
7 MKDOSFS_SITE
=http
://ftp.uni-erlangen.de
/pub
/Linux
/LOCAL
/dosfstools
8 MKDOSFS_DIR
=$(BUILD_DIR
)/dosfstools-2.8
10 MKDOSFS_BINARY
:=mkdosfs
/mkdosfs
11 MKDOSFS_TARGET_BINARY
:=sbin
/mkdosfs
12 ifeq ($(strip $(BUILD_WITH_LARGEFILE
)),true
)
13 MKDOSFS_CFLAGS
="-Os -g -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64"
15 MKDOSFS_CFLAGS
="-Os -g"
18 $(DL_DIR
)/$(MKDOSFS_SOURCE
):
19 $(WGET
) -P
$(DL_DIR
) $(MKDOSFS_SITE
)/$(MKDOSFS_SOURCE
)
21 mkdosfs-source
: $(DL_DIR
)/$(MKDOSFS_SOURCE
)
23 $(MKDOSFS_DIR
)/.unpacked
: $(DL_DIR
)/$(MKDOSFS_SOURCE
)
24 $(MKDOSFS_CAT
) $(DL_DIR
)/$(MKDOSFS_SOURCE
) |
tar -C
$(BUILD_DIR
) -xvf
-
25 touch
$(MKDOSFS_DIR
)/.unpacked
27 $(MKDOSFS_DIR
)/$(MKDOSFS_BINARY
): $(MKDOSFS_DIR
)/.unpacked
28 $(MAKE
) CFLAGS
=$(MKDOSFS_CFLAGS
) CC
=$(TARGET_CC
) -C
$(MKDOSFS_DIR
);
29 $(STRIP
) $(MKDOSFS_DIR
)/mkdosfs
/mkdosfs
;
30 touch
-c
$(MKDOSFS_DIR
)/mkdosfs
/mkdosfs
32 $(TARGET_DIR
)/$(MKDOSFS_TARGET_BINARY
): $(MKDOSFS_DIR
)/$(MKDOSFS_BINARY
)
33 cp
-a
$(MKDOSFS_DIR
)/$(MKDOSFS_BINARY
) $(TARGET_DIR
)/$(MKDOSFS_TARGET_BINARY
)
34 touch
-c
$(TARGET_DIR
)/sbin
/mkdosfs
36 mkdosfs
: uclibc
$(TARGET_DIR
)/$(MKDOSFS_TARGET_BINARY
)
39 $(MAKE
) DESTDIR
=$(TARGET_DIR
) CC
=$(TARGET_CC
) -C
$(MKDOSFS_DIR
) uninstall
40 -$(MAKE
) -C
$(MKDOSFS_DIR
) clean
This page took 0.059243 seconds and 5 git commands to generate.