1 #############################################################
5 #############################################################
6 # Enable this to use the tinylogin daily snapshot
7 USE_TINYLOGIN_SNAPSHOT
=true
9 ifeq ($(USE_TINYLOGIN_SNAPSHOT
),true
)
10 # Be aware that this changes daily....
11 TINYLOGIN_DIR
:=$(BUILD_DIR
)/tinylogin
12 TINYLOGIN_SOURCE
:=tinylogin-snapshot.
tar.bz2
13 TINYLOGIN_SITE
:=http
://tinylogin.busybox.net
/downloads
/snapshots
15 TINYLOGIN_DIR
:=$(BUILD_DIR
)/tinylogin-1.4
16 TINYLOGIN_SOURCE
:=tinylogin-1.4.
tar.bz2
17 TINYLOGIN_SITE
:=http
://tinylogin.busybox.net
/downloads
20 $(DL_DIR
)/$(TINYLOGIN_SOURCE
):
21 $(WGET
) -P
$(DL_DIR
) $(TINYLOGIN_SITE
)/$(TINYLOGIN_SOURCE
)
23 tinylogin-source
: $(DL_DIR
)/$(TINYLOGIN_SOURCE
)
25 $(TINYLOGIN_DIR
)/Config.h
: $(DL_DIR
)/$(TINYLOGIN_SOURCE
)
26 bzcat
$(DL_DIR
)/$(TINYLOGIN_SOURCE
) |
tar -C
$(BUILD_DIR
) -xvf
-
27 $(SED
) "s/\`id -u\` -ne 0/0 == 1/" \
28 $(TINYLOGIN_DIR
)/install.sh
29 $(SED
) "s/4755 --owner=root --group=root/755/" \
30 $(TINYLOGIN_DIR
)/install.sh
31 $(SED
) "s/^DOSTATIC.*/DOSTATIC=false/g;" $(TINYLOGIN_DIR
)/Makefile
32 $(SED
) "s/^DODEBUG.*/DODEBUG=false/g;" $(TINYLOGIN_DIR
)/Makefile
34 touch
$(TINYLOGIN_DIR
)/Config.h
36 $(TINYLOGIN_DIR
)/tinylogin
: $(TINYLOGIN_DIR
)/Config.h
37 $(MAKE
) CC
=$(TARGET_CC
) CROSS
="$(TARGET_CROSS)" \
38 CFLAGS_EXTRA
="$(TARGET_CFLAGS)" -C
$(TINYLOGIN_DIR
)
40 $(TARGET_DIR
)/bin
/tinylogin
: $(TINYLOGIN_DIR
)/tinylogin
41 $(MAKE
) CC
=$(TARGET_CC
) CROSS
="$(TARGET_CROSS)" \
42 PREFIX
="$(TARGET_DIR)" -C
$(TINYLOGIN_DIR
) \
43 CFLAGS_EXTRA
="$(TARGET_CFLAGS)" install
45 tinylogin
: uclibc
$(TARGET_DIR
)/bin
/tinylogin
48 rm -f
$(TARGET_DIR
)/bin
/tinylogin
49 -$(MAKE
) -C
$(TINYLOGIN_DIR
) clean
52 rm -rf
$(TINYLOGIN_DIR
)
This page took 0.044516 seconds and 5 git commands to generate.