blob: 30040a7e1bdcf55b85b781f82e3220ba22c5a079 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
|
MAKE = make
SUBDIRS = bin include src
# User defines:
noconfig_targets := menuconfig config oldconfig silentoldconfig randconfig \
defconfig allyesconfig allnoconfig clean distclean \
release tags TAGS
TOPDIR=./
include $(TOPDIR)Rules.mak
all: headers
for dir in $(SUBDIRS) ; do \
$(MAKE) -C $$dir all; \
done
tests: all
$(MAKE) -C tests all
check test: tests
$(MAKE) -C tests test
clean:
for dir in $(SUBDIRS) tests ; do \
$(MAKE) -C $$dir clean; \
done
#$(MAKE) -C extra/locale clean
distclean: clean
$(MAKE) -C extra clean
$(RM) .config .config.cmd .config.old
$(RM) include/system_configuration.h
release:
$(RM) ../uClibc++-$(VERSION).tar
git archive --format=tar --prefix=uClibc++-$(VERSION)/ HEAD \
> ../uClibc++-$(VERSION).tar
cat ../uClibc++-$(VERSION).tar | bzip2 -c9 > ../uClibc++-$(VERSION).tar.bz2
cat ../uClibc++-$(VERSION).tar | xz -e -c8 > ../uClibc++-$(VERSION).tar.xz
du -b ../uClibc++-$(VERSION).tar.{bz2,xz}
headers: include/system_configuration.h
install:
for dir in $(SUBDIRS) ; do \
$(MAKE) -C $$dir install; \
done
#Menu configuration system
extra/config/conf:
@$(MAKE) -C extra/config conf
extra/config/mconf:
@$(MAKE) -C extra/config ncurses mconf
menuconfig: extra/config/mconf
@$< extra/Configs/Config.in
config: extra/config/conf
@$< extra/Configs/Config.in
oldconfig: extra/config/conf
@$< -o extra/Configs/Config.in
silentoldconfig: extra/config/conf
@$< -s extra/Configs/Config.in
randconfig: extra/config/conf
@$< -r extra/Configs/Config.in
allyesconfig: extra/config/conf
@$< -y extra/Configs/Config.in
allnoconfig: extra/config/conf
@$< -n extra/Configs/Config.in
defconfig: extra/config/conf
@$< -d extra/Configs/Config.in
include/system_configuration.h: .config
@if [ ! -x ./extra/config/conf ] ; then \
$(MAKE) -C extra/config conf; \
fi;
@extra/config/conf -o extra/Configs/Config.in
.config:
$(MAKE) defconfig
|