1 #############################################################
5 #############################################################
6 GNUMAKE_SOURCE
:=make-3.80.
tar.bz2
7 GNUMAKE_SITE
:=ftp
://ftp.gnu.org
/gnu
/make
8 GNUMAKE_DIR
:=$(BUILD_DIR
)/make-3.80
11 GNUMAKE_TARGET_BINARY
:=usr
/bin
/make
13 $(DL_DIR
)/$(GNUMAKE_SOURCE
):
14 $(WGET
) -P
$(DL_DIR
) $(GNUMAKE_SITE
)/$(GNUMAKE_SOURCE
)
16 make-source
: $(DL_DIR
)/$(GNUMAKE_SOURCE
)
18 $(GNUMAKE_DIR
)/.unpacked
: $(DL_DIR
)/$(GNUMAKE_SOURCE
)
19 $(GNUMAKE_CAT
) $(DL_DIR
)/$(GNUMAKE_SOURCE
) |
tar -C
$(BUILD_DIR
) -xvf
-
20 touch
$(GNUMAKE_DIR
)/.unpacked
22 $(GNUMAKE_DIR
)/.configured
: $(GNUMAKE_DIR
)/.unpacked
23 (cd
$(GNUMAKE_DIR
); rm -rf config.cache
; \
24 $(TARGET_CONFIGURE_OPTS
) \
25 CFLAGS
="$(TARGET_CFLAGS)" \
27 --target
=$(GNU_TARGET_NAME
) \
28 --host
=$(GNU_TARGET_NAME
) \
29 --build
=$(GNU_HOST_NAME
) \
34 --libexecdir
=/usr
/lib \
36 --datadir=/usr
/share \
37 --localstatedir
=/var \
41 $(DISABLE_LARGEFILE
) \
43 touch
$(GNUMAKE_DIR
)/.configured
45 $(GNUMAKE_DIR
)/$(GNUMAKE_BINARY
): $(GNUMAKE_DIR
)/.configured
46 $(MAKE
) -C
$(GNUMAKE_DIR
)
48 $(TARGET_DIR
)/$(GNUMAKE_TARGET_BINARY
): $(GNUMAKE_DIR
)/$(GNUMAKE_BINARY
)
49 $(MAKE
) DESTDIR
=$(TARGET_DIR
) -C
$(GNUMAKE_DIR
) install
50 rm -rf
$(TARGET_DIR
)/share
/locale
$(TARGET_DIR
)/usr
/info \
51 $(TARGET_DIR
)/usr
/man
$(TARGET_DIR
)/usr
/share
/doc
53 make
: uclibc
$(TARGET_DIR
)/$(GNUMAKE_TARGET_BINARY
)
56 $(MAKE
) DESTDIR
=$(TARGET_DIR
) -C
$(GNUMAKE_DIR
) uninstall
57 -$(MAKE
) -C
$(GNUMAKE_DIR
) clean
This page took 0.047584 seconds and 5 git commands to generate.