mirror of
https://github.com/godotengine/buildroot.git
synced 2026-01-08 02:09:48 +03:00
Compare commits
739 Commits
2009.02_rc
...
2009.05
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
a69b3d61fb | ||
|
|
a1a2e905d8 | ||
|
|
4ee69b6b64 | ||
|
|
4088a5294d | ||
|
|
77fad2fd74 | ||
|
|
952bf43fd5 | ||
|
|
3d89b8d64e | ||
|
|
45e11e2960 | ||
|
|
3c85ab716f | ||
|
|
3169b04725 | ||
|
|
f9af543a25 | ||
|
|
8afc339757 | ||
|
|
0f157e0cb9 | ||
|
|
8843ded099 | ||
|
|
ff01f2d29b | ||
|
|
e9782eb23b | ||
|
|
421f05c913 | ||
|
|
c9faf999f4 | ||
|
|
b46819df22 | ||
|
|
13328d223e | ||
|
|
4237b5c87f | ||
|
|
555e933bb0 | ||
|
|
3c1d6d8fc7 | ||
|
|
ab59a44160 | ||
|
|
a7ed91a957 | ||
|
|
c219988fdf | ||
|
|
316c03ed06 | ||
|
|
b94998f2cd | ||
|
|
3026c29a37 | ||
|
|
4de5e17579 | ||
|
|
60a1b8af4c | ||
|
|
6b2ba1efb1 | ||
|
|
4d010ec6b9 | ||
|
|
9820f8b80a | ||
|
|
8516b05774 | ||
|
|
8aad6604b0 | ||
|
|
b15d524afe | ||
|
|
6b4ae38d12 | ||
|
|
a9c909c51d | ||
|
|
bfcfcc1ca8 | ||
|
|
21c5e5d0d0 | ||
|
|
0a761ca8aa | ||
|
|
419257b191 | ||
|
|
8b8d3ff6c1 | ||
|
|
9e114500d5 | ||
|
|
7204488170 | ||
|
|
bb1f42e442 | ||
|
|
04bb5c6004 | ||
|
|
b124f62e23 | ||
|
|
4ba6f070e5 | ||
|
|
b85c3d628e | ||
|
|
d343d35972 | ||
|
|
3ba521fe94 | ||
|
|
1aeaae4990 | ||
|
|
30b9a6ae5b | ||
|
|
61aeb6e484 | ||
|
|
dbe3ec181f | ||
|
|
2501917e41 | ||
|
|
cf92bc23e9 | ||
|
|
8a4d526ea0 | ||
|
|
9cdff46ba0 | ||
|
|
a0352751ac | ||
|
|
a657cf77ea | ||
|
|
163a062727 | ||
|
|
6f8a717e8e | ||
|
|
032af4376f | ||
|
|
7d369f837f | ||
|
|
4a29b22438 | ||
|
|
83674f229a | ||
|
|
5a3642b43a | ||
|
|
76a6744da4 | ||
|
|
e2cac48876 | ||
|
|
923bed56c1 | ||
|
|
62083ec758 | ||
|
|
956c18a704 | ||
|
|
7c66cc18cd | ||
|
|
9dac854a11 | ||
|
|
78487cbeca | ||
|
|
0e0bd3a780 | ||
|
|
bb1b213570 | ||
|
|
e628da073b | ||
|
|
c67733f9a2 | ||
|
|
e594f5d591 | ||
|
|
17950c9ab3 | ||
|
|
01dce41217 | ||
|
|
f6d00867f9 | ||
|
|
b7c3eb7aa7 | ||
|
|
c9adae97af | ||
|
|
b7b6946b56 | ||
|
|
37de0c8cc3 | ||
|
|
8759a416c4 | ||
|
|
f46b9cda0d | ||
|
|
a4c8130640 | ||
|
|
32c9952c3f | ||
|
|
df1f80d645 | ||
|
|
98dcd8656d | ||
|
|
027aa1d2ec | ||
|
|
ff7e08083b | ||
|
|
30ee5f0560 | ||
|
|
a62ceefdd4 | ||
|
|
1f3eec6e8f | ||
|
|
038c5ee028 | ||
|
|
2f094a9247 | ||
|
|
4a653c39d4 | ||
|
|
78e8e2c74e | ||
|
|
d76155005f | ||
|
|
f856f324d4 | ||
|
|
b091877aa9 | ||
|
|
f3bce517ed | ||
|
|
8a68eb29bb | ||
|
|
c5dc5dcc00 | ||
|
|
5eeeeec056 | ||
|
|
6930ce9415 | ||
|
|
7f6e9b2e10 | ||
|
|
6d48463df6 | ||
|
|
503ab93cfe | ||
|
|
3b712a3d89 | ||
|
|
e493fc6ce5 | ||
|
|
f9c5711c07 | ||
|
|
3165260921 | ||
|
|
c52f02514d | ||
|
|
40367aa404 | ||
|
|
23795ec71f | ||
|
|
475bf3a83a | ||
|
|
a767c8bdf7 | ||
|
|
0c2043240f | ||
|
|
52cc210d88 | ||
|
|
d55d6180a2 | ||
|
|
66ef1e589a | ||
|
|
635346844c | ||
|
|
55b03d6115 | ||
|
|
c19a51f993 | ||
|
|
edfe9feee7 | ||
|
|
ef8fd64dcb | ||
|
|
a1e086da09 | ||
|
|
73f4adaa54 | ||
|
|
7f69e5369f | ||
|
|
e9cb98273d | ||
|
|
e6b271fbb0 | ||
|
|
4acb763df3 | ||
|
|
b8767865eb | ||
|
|
b2ffc1f9fa | ||
|
|
32faf35112 | ||
|
|
f276b26918 | ||
|
|
76e5c2988f | ||
|
|
dbdd03601b | ||
|
|
bd176bded3 | ||
|
|
3b4a5f59e1 | ||
|
|
5b8c84e717 | ||
|
|
bd14b0e70f | ||
|
|
a933ef66bf | ||
|
|
ff33fbe880 | ||
|
|
7092bd901d | ||
|
|
2b380f8160 | ||
|
|
4f232636f1 | ||
|
|
b87b4742e0 | ||
|
|
4d298a2d37 | ||
|
|
d26240a8cf | ||
|
|
4635eb9293 | ||
|
|
e93d65906f | ||
|
|
4ffff5ec9b | ||
|
|
d290edadb9 | ||
|
|
512d08afff | ||
|
|
7737b360df | ||
|
|
b54bedd60c | ||
|
|
bb62b139ba | ||
|
|
0c522bdc1e | ||
|
|
0a88002e64 | ||
|
|
3c15492841 | ||
|
|
6cd7c8332e | ||
|
|
4e5ecadd22 | ||
|
|
eee376bc8e | ||
|
|
32417137be | ||
|
|
40b8127db9 | ||
|
|
e88f37505f | ||
|
|
078593643a | ||
|
|
b563453ee8 | ||
|
|
265f8bb959 | ||
|
|
b5b921e185 | ||
|
|
a0366abb10 | ||
|
|
cccc5a2627 | ||
|
|
6099e286e2 | ||
|
|
fb56c53e39 | ||
|
|
2bae136f05 | ||
|
|
7e6620c410 | ||
|
|
36a70c3058 | ||
|
|
546ebed139 | ||
|
|
5646b276f2 | ||
|
|
69f91aadd7 | ||
|
|
bec705479e | ||
|
|
2caf8195a8 | ||
|
|
cdd687faf6 | ||
|
|
cecaddbf77 | ||
|
|
749c71d506 | ||
|
|
20561ef343 | ||
|
|
2cddfd259f | ||
|
|
e28e98026c | ||
|
|
4be3c6e829 | ||
|
|
5d8d6b2607 | ||
|
|
c772f41f05 | ||
|
|
d1be50be77 | ||
|
|
42ca725216 | ||
|
|
d30b334654 | ||
|
|
6c79a9615c | ||
|
|
30141c22ee | ||
|
|
a91177bf43 | ||
|
|
91149af9f3 | ||
|
|
21ab5f31f7 | ||
|
|
b78ad230d1 | ||
|
|
182418982e | ||
|
|
ed6b7a111a | ||
|
|
3803dc14e4 | ||
|
|
0fadec67a8 | ||
|
|
ed4a22b4f5 | ||
|
|
3467cf7305 | ||
|
|
a870e46762 | ||
|
|
f7b3146144 | ||
|
|
bae2f9fc12 | ||
|
|
f91a64d224 | ||
|
|
f9926351d3 | ||
|
|
2e47c82b61 | ||
|
|
589ab711a6 | ||
|
|
7b780f3447 | ||
|
|
a5eae2a83e | ||
|
|
cc8ea5e551 | ||
|
|
cb69d005ad | ||
|
|
073db18bac | ||
|
|
9611fd600b | ||
|
|
bf1ccf16a2 | ||
|
|
1a57a54804 | ||
|
|
c3285dcd21 | ||
|
|
584eb85c7f | ||
|
|
90ac14b2a0 | ||
|
|
1d269dea1d | ||
|
|
e7b38c71ce | ||
|
|
f58ff9a25f | ||
|
|
849c45648d | ||
|
|
27fb8ed49d | ||
|
|
e40b41f4d9 | ||
|
|
1d076fdfb9 | ||
|
|
beacda6e73 | ||
|
|
dc69684e58 | ||
|
|
d20a2eb972 | ||
|
|
99334cde2b | ||
|
|
689c10faea | ||
|
|
aefadc18d9 | ||
|
|
dd4faf6f6f | ||
|
|
33552590d5 | ||
|
|
0296059112 | ||
|
|
ff2df71398 | ||
|
|
eb84b8ba87 | ||
|
|
d673d13bfa | ||
|
|
13c68ecb58 | ||
|
|
9e8fa29da9 | ||
|
|
5ff46e5dca | ||
|
|
cb4ca456a2 | ||
|
|
991f304207 | ||
|
|
b1d451b13c | ||
|
|
58703982e7 | ||
|
|
77754571b2 | ||
|
|
344d59d788 | ||
|
|
b451015203 | ||
|
|
396480b41d | ||
|
|
2f575f43ec | ||
|
|
111056b6e0 | ||
|
|
4801198ae7 | ||
|
|
44d929f9ac | ||
|
|
0612973e5e | ||
|
|
5aa20b3913 | ||
|
|
23e2e52df7 | ||
|
|
00400f4720 | ||
|
|
4311f0fe39 | ||
|
|
1549e9f366 | ||
|
|
94d915ed43 | ||
|
|
40a54252eb | ||
|
|
58aaf75481 | ||
|
|
dba1efdfc6 | ||
|
|
592f072e42 | ||
|
|
49a455645e | ||
|
|
01bcd0320e | ||
|
|
fe202a6f85 | ||
|
|
bd07d92aad | ||
|
|
ad529c62b2 | ||
|
|
9c3542dfc7 | ||
|
|
1fe300010f | ||
|
|
17b803cd30 | ||
|
|
c1c9f90757 | ||
|
|
7f975775b4 | ||
|
|
3e872797d0 | ||
|
|
0c84c92b13 | ||
|
|
ad90fc6de9 | ||
|
|
2150ed1bf1 | ||
|
|
3b5651823b | ||
|
|
740cf88151 | ||
|
|
59b0aa7a7e | ||
|
|
be245ad9c7 | ||
|
|
17e7fbc24a | ||
|
|
7259c57976 | ||
|
|
b05b875995 | ||
|
|
6c687a3fb3 | ||
|
|
038f536294 | ||
|
|
d96c3de0da | ||
|
|
e860a7bc5d | ||
|
|
e239f92a17 | ||
|
|
bcbd144287 | ||
|
|
ba567f8a58 | ||
|
|
afaa374590 | ||
|
|
b3f02dd356 | ||
|
|
96338ef12e | ||
|
|
98a01f05f9 | ||
|
|
227d6e5245 | ||
|
|
149c0d450c | ||
|
|
fcd24512d8 | ||
|
|
24991a4784 | ||
|
|
26dd7c5c7e | ||
|
|
ba7ae60df2 | ||
|
|
366137edc6 | ||
|
|
2bb4de2058 | ||
|
|
cfca28f0a5 | ||
|
|
f6d14f30b2 | ||
|
|
2395d4ccc5 | ||
|
|
8aad4a7c41 | ||
|
|
bc9512c09d | ||
|
|
bb6d88ec0f | ||
|
|
a51ce31949 | ||
|
|
3628265911 | ||
|
|
e8e6bc348b | ||
|
|
6828f982b8 | ||
|
|
dc4c57cf12 | ||
|
|
49d40d663a | ||
|
|
11b36efa84 | ||
|
|
8566d5fa97 | ||
|
|
6b05736259 | ||
|
|
582ff23926 | ||
|
|
fc52ef24b9 | ||
|
|
dcb3a259c0 | ||
|
|
469a88e4c7 | ||
|
|
744c8224a2 | ||
|
|
b8a8f1c434 | ||
|
|
acdbb39bf5 | ||
|
|
0ad54b6cf4 | ||
|
|
486c225f00 | ||
|
|
a46fdff085 | ||
|
|
560c06a6c8 | ||
|
|
802011ae1f | ||
|
|
04d9a2038a | ||
|
|
e888cd41b4 | ||
|
|
2e1ca24a27 | ||
|
|
89b4f17873 | ||
|
|
d462b19eb7 | ||
|
|
73e172c258 | ||
|
|
00fd5b2264 | ||
|
|
7b7a0a3277 | ||
|
|
e3bf38868a | ||
|
|
1b276bb2b9 | ||
|
|
2676c2029b | ||
|
|
ee0bbc04ff | ||
|
|
7685dd41e1 | ||
|
|
4617e1d080 | ||
|
|
484aaf0560 | ||
|
|
a93ecda978 | ||
|
|
9cef073cb2 | ||
|
|
32675db0ee | ||
|
|
4592839384 | ||
|
|
39fc310669 | ||
|
|
624b1c4cf1 | ||
|
|
f84389921e | ||
|
|
479111c9c7 | ||
|
|
debe83461f | ||
|
|
96dbf8aad4 | ||
|
|
c130919ae8 | ||
|
|
c4da6199f0 | ||
|
|
8e4ba1b452 | ||
|
|
7664a62a0c | ||
|
|
bbdf9df60a | ||
|
|
890412421b | ||
|
|
0d5dfaa085 | ||
|
|
ba68824431 | ||
|
|
992b1890a7 | ||
|
|
e5f85978b4 | ||
|
|
adf922b33f | ||
|
|
4aefa7fbb1 | ||
|
|
cb7e99c1ab | ||
|
|
0f33cd88c8 | ||
|
|
0cf28ade0b | ||
|
|
c23c30838c | ||
|
|
5ae3eb1e10 | ||
|
|
766c774f28 | ||
|
|
64007a9e6a | ||
|
|
69dcc7c8c7 | ||
|
|
f12e7def7c | ||
|
|
f0af25f581 | ||
|
|
0aa046b35e | ||
|
|
416c626142 | ||
|
|
4bf006c12c | ||
|
|
aae3f1b6b3 | ||
|
|
e95aedd05b | ||
|
|
8259f1529a | ||
|
|
895cf9e27d | ||
|
|
af098e8dfe | ||
|
|
e51884daa8 | ||
|
|
30392a1bef | ||
|
|
d1eeba7069 | ||
|
|
c75061b876 | ||
|
|
469f6e4df5 | ||
|
|
e14c11230a | ||
|
|
9d6c2f548e | ||
|
|
e90a4bf4af | ||
|
|
71a55254a4 | ||
|
|
4700ea5af2 | ||
|
|
12df9b4cb3 | ||
|
|
87c15b5356 | ||
|
|
8c1dd5d2c0 | ||
|
|
52d5f898b8 | ||
|
|
9a1333bcc7 | ||
|
|
0524852e7a | ||
|
|
21e3fa22ee | ||
|
|
01ea62911e | ||
|
|
24981139f6 | ||
|
|
b3d48af90d | ||
|
|
2453972351 | ||
|
|
eacd9e0844 | ||
|
|
fc8ac0c7e5 | ||
|
|
a83dddf9ff | ||
|
|
ea74003ebf | ||
|
|
ddc807aea8 | ||
|
|
bb76564738 | ||
|
|
7508d2de9d | ||
|
|
1aae99bc34 | ||
|
|
7892b23ae7 | ||
|
|
8acde59f79 | ||
|
|
01921dd4d4 | ||
|
|
dd0345aeaa | ||
|
|
5373ea118d | ||
|
|
585bc18384 | ||
|
|
35dafd0ba7 | ||
|
|
7ac25f1320 | ||
|
|
5804c6d9fe | ||
|
|
9c63d6bd88 | ||
|
|
a4c5a2dcdf | ||
|
|
cf34241144 | ||
|
|
3c1aa51227 | ||
|
|
5dac2c31e2 | ||
|
|
7897a950fe | ||
|
|
cfeadbdf6c | ||
|
|
30ab8666e4 | ||
|
|
0948f8af37 | ||
|
|
0442dce7d0 | ||
|
|
e9b629d866 | ||
|
|
42f985687d | ||
|
|
0833b949f6 | ||
|
|
421b354ce2 | ||
|
|
8b47a479f5 | ||
|
|
45c8d20378 | ||
|
|
d16f8bf2cd | ||
|
|
2f72570992 | ||
|
|
a54e0dd97f | ||
|
|
2c89d7aeb6 | ||
|
|
a1b8914cee | ||
|
|
a9114d3576 | ||
|
|
d41e54e694 | ||
|
|
c74eee7fe4 | ||
|
|
4fc25fcf10 | ||
|
|
5b1dbd2031 | ||
|
|
8567f5fa15 | ||
|
|
10f0c6c0b3 | ||
|
|
0d149d98d5 | ||
|
|
16a5a68947 | ||
|
|
93df57668f | ||
|
|
c0dfdc21f9 | ||
|
|
4d12298c67 | ||
|
|
8bc48ee108 | ||
|
|
87736033ab | ||
|
|
5c5a49c0b0 | ||
|
|
06d48389e2 | ||
|
|
b507aca915 | ||
|
|
ca1c4ce743 | ||
|
|
25b41e7e6a | ||
|
|
23b44e5a37 | ||
|
|
8bfd360ac6 | ||
|
|
5d77f80ea0 | ||
|
|
23b692f139 | ||
|
|
209f231168 | ||
|
|
a0caa24f98 | ||
|
|
a1523adcad | ||
|
|
91f780bc05 | ||
|
|
23152113a9 | ||
|
|
f3b9454a19 | ||
|
|
32521c03bd | ||
|
|
bae2ff4946 | ||
|
|
1fb44d3bfd | ||
|
|
6f295f7c6f | ||
|
|
37e6f8b7d0 | ||
|
|
4847ef7087 | ||
|
|
f777dee1d4 | ||
|
|
59f084017e | ||
|
|
c1bb025dff | ||
|
|
228f4f8e39 | ||
|
|
d97e32744d | ||
|
|
78491a711d | ||
|
|
c8ce0bed9e | ||
|
|
ba7113b7f2 | ||
|
|
8a446caa89 | ||
|
|
9e7881ccc9 | ||
|
|
398dfc42b7 | ||
|
|
657563f2d7 | ||
|
|
c4cd1bcb84 | ||
|
|
2b3ad678ff | ||
|
|
8bf5071cf3 | ||
|
|
caa31fcc62 | ||
|
|
c1e444ff72 | ||
|
|
040bd64849 | ||
|
|
0c54ef9c9a | ||
|
|
9ce75bf893 | ||
|
|
e4051615c4 | ||
|
|
92bd25c9eb | ||
|
|
81ddf3d083 | ||
|
|
acc182cea2 | ||
|
|
b8d6dff991 | ||
|
|
777de7caa5 | ||
|
|
ea57d89bcc | ||
|
|
a72794391a | ||
|
|
ebf47824cc | ||
|
|
7eec8ea560 | ||
|
|
c528189f96 | ||
|
|
4b25f84ab9 | ||
|
|
0effa31366 | ||
|
|
4ab2b56d19 | ||
|
|
0ed2265be4 | ||
|
|
a1e2f48a2c | ||
|
|
6031f96b50 | ||
|
|
9aa7366856 | ||
|
|
8a97c4ea19 | ||
|
|
1a070853d6 | ||
|
|
b389a73cf1 | ||
|
|
acaf54afe1 | ||
|
|
43036ab968 | ||
|
|
495d0d69f0 | ||
|
|
ae46e5bc89 | ||
|
|
38986e2cc2 | ||
|
|
6087c68fe5 | ||
|
|
f8cdfdaada | ||
|
|
3a7e2fd783 | ||
|
|
b31e63aaf1 | ||
|
|
ad54aa3ba7 | ||
|
|
010a1acb23 | ||
|
|
97515c6cae | ||
|
|
9d58dd7384 | ||
|
|
e87389229e | ||
|
|
6071bb4e1a | ||
|
|
37ae66f462 | ||
|
|
7f44fb1ae2 | ||
|
|
b3e516ec8d | ||
|
|
e5fbca8e8f | ||
|
|
80aa788939 | ||
|
|
c73c1193f3 | ||
|
|
7785182e46 | ||
|
|
2f1eb9e4b8 | ||
|
|
83e903468c | ||
|
|
6e7f92310a | ||
|
|
85d756d5cc | ||
|
|
8186a3edee | ||
|
|
142f88f746 | ||
|
|
260d3b4ac2 | ||
|
|
a77bf1ecde | ||
|
|
b47232e869 | ||
|
|
d459b1bc3d | ||
|
|
2389a4591b | ||
|
|
97925424aa | ||
|
|
3813096b28 | ||
|
|
30f4e13c03 | ||
|
|
c8cfd7b510 | ||
|
|
7b83993c3e | ||
|
|
d608e26d48 | ||
|
|
1c5e72a98c | ||
|
|
b99fffde07 | ||
|
|
378f899324 | ||
|
|
d5664ee995 | ||
|
|
45616607b4 | ||
|
|
0441f3c64b | ||
|
|
c6da11ea45 | ||
|
|
0053483c96 | ||
|
|
b84a6adc28 | ||
|
|
ad9402dba5 | ||
|
|
c0fd0f62f9 | ||
|
|
f2b2e82138 | ||
|
|
6653646d66 | ||
|
|
814ca6d548 | ||
|
|
0dbf9dd7ab | ||
|
|
78fa0d4eb4 | ||
|
|
87c5abadfa | ||
|
|
d141a6985a | ||
|
|
13ba121cdb | ||
|
|
e8b1e036f9 | ||
|
|
8586be28d4 | ||
|
|
b30d673c06 | ||
|
|
33cabc1cb6 | ||
|
|
d6803a8a56 | ||
|
|
cf7d9872f2 | ||
|
|
d1d142dd91 | ||
|
|
e496ff2141 | ||
|
|
e03683e066 | ||
|
|
68bc1e172e | ||
|
|
d2c6e22040 | ||
|
|
132b010efc | ||
|
|
4d097fe8f9 | ||
|
|
7f4cb62a1b | ||
|
|
3bab463be4 | ||
|
|
6218173ce2 | ||
|
|
377773e2f7 | ||
|
|
f529db89db | ||
|
|
2440801bd1 | ||
|
|
3c0dea728e | ||
|
|
1510bb58fe | ||
|
|
329f68e794 | ||
|
|
3ba91efea2 | ||
|
|
7e3d659e8c | ||
|
|
8e2390fdaf | ||
|
|
ebcaf669f2 | ||
|
|
67750e96de | ||
|
|
7af4d10d17 | ||
|
|
fab832dd57 | ||
|
|
6360be7fe1 | ||
|
|
a6ab997f6f | ||
|
|
d45093b23a | ||
|
|
b5a4f6247c | ||
|
|
51a28ab3d3 | ||
|
|
86c392e504 | ||
|
|
9dc75a871b | ||
|
|
dd31a9d285 | ||
|
|
147b034d0d | ||
|
|
070de4f146 | ||
|
|
13a85e3c04 | ||
|
|
4374b75504 | ||
|
|
9f20b5f97f | ||
|
|
4f081d489d | ||
|
|
cf965728d2 | ||
|
|
9d68c3bdb2 | ||
|
|
119562f2de | ||
|
|
690ba839c0 | ||
|
|
6dc301e0be | ||
|
|
ae3e3d1325 | ||
|
|
f85f2de174 | ||
|
|
d411d3a66c | ||
|
|
7e41b89b56 | ||
|
|
d7cb72db64 | ||
|
|
df8f9549fd | ||
|
|
ed7f49bf49 | ||
|
|
67d74d8a7a | ||
|
|
1162372c9a | ||
|
|
81a9f04114 | ||
|
|
b3f1b6a02e | ||
|
|
d661484784 | ||
|
|
38a1831b51 | ||
|
|
f5371f72f3 | ||
|
|
a467f95953 | ||
|
|
309ff4f976 | ||
|
|
80161f54e3 | ||
|
|
fd80603320 | ||
|
|
085163341a | ||
|
|
9f71646cf1 | ||
|
|
ecdd71417c | ||
|
|
2b192f0815 | ||
|
|
9cc8af5d5c | ||
|
|
7b981dbf06 | ||
|
|
e7eda55f00 | ||
|
|
9d51c94e35 | ||
|
|
ce6ecb3b0a | ||
|
|
b44a99026e | ||
|
|
e202b5c378 | ||
|
|
7a69b7a3f6 | ||
|
|
89aa4113ee | ||
|
|
76c5b603c8 | ||
|
|
bf8203de71 | ||
|
|
501c007158 | ||
|
|
44cb792353 | ||
|
|
6f39a7c62e | ||
|
|
c7f715639c | ||
|
|
06b99ea303 | ||
|
|
7b2ec61074 | ||
|
|
ea8a25f932 | ||
|
|
d04321356a | ||
|
|
e4c96c2d26 | ||
|
|
77662160bb | ||
|
|
9caca74d26 | ||
|
|
a7614aecf5 | ||
|
|
5f1fb36aa3 | ||
|
|
79cdd94154 | ||
|
|
6d496c4e6a | ||
|
|
6fd0d36d32 | ||
|
|
0496551eac | ||
|
|
2f4722048b | ||
|
|
5f79c0bf44 | ||
|
|
b6dbf2eb86 | ||
|
|
2e02904b04 | ||
|
|
0b62a657cf | ||
|
|
9f89b9bad9 | ||
|
|
a5e5bdd51b | ||
|
|
87d040ee50 | ||
|
|
6e20da741b | ||
|
|
98186f1d47 | ||
|
|
02407b4c05 | ||
|
|
a57170cb02 | ||
|
|
d7d5b3852e | ||
|
|
b9df282721 | ||
|
|
324f61f798 | ||
|
|
678496e167 | ||
|
|
ad862e2ffb | ||
|
|
31647bd0c6 | ||
|
|
40e98127de | ||
|
|
dc8ff28549 | ||
|
|
81dc300b4d | ||
|
|
999026df2b | ||
|
|
49c682dcab | ||
|
|
17c17213f1 | ||
|
|
8a97f125ab | ||
|
|
877a486ac9 | ||
|
|
5a46761446 | ||
|
|
b71c76a10a | ||
|
|
983780cc9a | ||
|
|
30b21413a0 | ||
|
|
bc65432230 | ||
|
|
4bcbf87c99 | ||
|
|
675b479c2f | ||
|
|
6ce30eef5a | ||
|
|
ebca742682 | ||
|
|
6da70de503 | ||
|
|
c86f23b770 | ||
|
|
6b00041b87 | ||
|
|
fa2273f409 | ||
|
|
22ba8bcf0e | ||
|
|
03e3b81d4c | ||
|
|
3eecdf6166 | ||
|
|
bdac3e337f | ||
|
|
2326230ea0 | ||
|
|
e4c50fe464 | ||
|
|
d597e790bc | ||
|
|
c90a6e7215 | ||
|
|
3434dc6cc5 |
11
.gitignore
vendored
Normal file
11
.gitignore
vendored
Normal file
@@ -0,0 +1,11 @@
|
||||
/build_*
|
||||
/project_*
|
||||
/toolchain_*
|
||||
/binaries
|
||||
/dl
|
||||
/.auto.deps
|
||||
/.config.cmd
|
||||
/.config.old
|
||||
/.config
|
||||
*.depend
|
||||
*.o
|
||||
95
CHANGES
Normal file
95
CHANGES
Normal file
@@ -0,0 +1,95 @@
|
||||
2009.05, Released June 1st, 2009:
|
||||
|
||||
Fixes for dropbear & diffutils, bump linux-advanced 2.6.29.x
|
||||
version and marked ubifsroot as broken.
|
||||
|
||||
2009.05-rc3, Released May 27th, 2009:
|
||||
|
||||
Fixes for toolchain (gcc arm pr37436), stable kernel versions,
|
||||
busybox, curl, libusb, readline, python and strace.
|
||||
|
||||
Issues resolved (http://bugs.uclibc.org):
|
||||
|
||||
#345: libcurl package needs a urandom fix
|
||||
|
||||
2009.05-rc2, Released May 19th, 2009:
|
||||
|
||||
Fixes for toolchain (gcc w/softfloat on ppc, 3.4.6 buildfix
|
||||
for newer hosts), stable kernel versions, busybox, cups,
|
||||
dmraid, docker, mesa3d, rsync and updated defconfigs.
|
||||
|
||||
xserver marked as broken on AVR32 and atngw100-expanded
|
||||
config removed.
|
||||
|
||||
Issues resolved (http://bugs.uclibc.org):
|
||||
|
||||
#167: metacity does not build
|
||||
#295: gamin installs python support even if python is disabled
|
||||
#323: gen_matypes fails to execute during build of Mesa when us...
|
||||
|
||||
2009.05-rc1, Released May 5th, 2009:
|
||||
|
||||
Fixes all over the tree, further conversion of packages to
|
||||
Makefile.autotools.in and we now build host versions of
|
||||
packages where needed for build time dependencies instead of
|
||||
relying on the correct versions being available on the build
|
||||
host. Ancient toolchain / busybox versions have furthermore
|
||||
been removed as announced in the 2009.02 release notes.
|
||||
|
||||
New packages: flac, gob2, lzop, taglib, wpa_supplicant
|
||||
|
||||
Updated packages: avahi, bind, binutils, busybox, dbus, dbus-glib,
|
||||
directfb, dnsmasq, freetype, gcc, gmp, gstreamer, iptables, kernel
|
||||
headers, kexec, libglib2, libpng, libsndfile, lua, mpfr, ntfs-3g,
|
||||
openssl, php, qtopia4, rsync, samba, sqlite, tar, uboot, uclibc,
|
||||
util-linux, xorg7, xerces
|
||||
|
||||
Issues resolved (http://bugs.uclibc.org):
|
||||
|
||||
#5,#77,#141,#143: Convert php package to Makefile.autotools.in
|
||||
and a ton of other improvements
|
||||
#19: page.h missing by util-linux
|
||||
#37: update libglib2 to version 2.18.4
|
||||
#61: tslib puts staging_dir into pkgconfig file
|
||||
#69: tar refuses to build
|
||||
#71,#175: ./wchar.h:41:12: error: empty filename in #include
|
||||
#73: Bump openssl package to the latest version
|
||||
#81: New package wpa_supplicant
|
||||
#99: new package: flac
|
||||
#101: update gstreamer packages
|
||||
#105,#313: menuconfig segfaults on tinyx if wchar is not
|
||||
selected
|
||||
#107: convert libvorbis to Makefile.autotools.in
|
||||
#109: Make pppd package avoid bsd err
|
||||
#111: binutils 2.17 fails to build when texinfo >= 4.10
|
||||
#133: Modify ncurses5-config to get correct include path
|
||||
#137: Bump php to version 5.2.9
|
||||
#139: Bump sqlite to 3.6.11 and convert to
|
||||
Makefile.autotools.in
|
||||
#145: Bump bind package to 9.5.1-P1 (security)
|
||||
#147: buildroot toolchain fails to build w/binutils-2.19.1
|
||||
#151: openssl package trivial fixes
|
||||
#161: vim fails on patching with errors in configure.patch
|
||||
#169: blackbox-0.70.1 does not build
|
||||
#177: xdriver_xf86-input-keyboard does not build
|
||||
#179: Upgrade dropbear to Makefile.autotools.in
|
||||
#181: Update to Xorg 7.4
|
||||
#187: ntfs-3g: could not build cross
|
||||
#191: alsa-lib ARM binaries always built with EABI
|
||||
#213: Bump wpa_supplicant package to version 0.6.9
|
||||
#217: Bump openssl package to 0.9.8k (security)
|
||||
#219: Toolchain build fails on m4
|
||||
#225: m4 macros are out of place
|
||||
#233: make ipv6 optional in iptables
|
||||
#237: ncftp: convert to Makefile.autotools.in
|
||||
#239: ntfs-3g: convert to Makefile.autotools.in
|
||||
#245: lzop: new package
|
||||
#271: Bump bind package to 9.5.1-P2 (security)
|
||||
#277: Bump sqlite package to 3.6.16
|
||||
#279: update libglib2 to version 2.20.1
|
||||
#281: update DirectFB to version 1.2.8
|
||||
#283: add taglib
|
||||
#285: compilation of samba fails if IPV6 support is missing
|
||||
#293: update samba to version 3.3.3
|
||||
#299: add shared-mime-info package
|
||||
#307: make openssl package respect build flags
|
||||
339
COPYING
Normal file
339
COPYING
Normal file
@@ -0,0 +1,339 @@
|
||||
GNU GENERAL PUBLIC LICENSE
|
||||
Version 2, June 1991
|
||||
|
||||
Copyright (C) 1989, 1991 Free Software Foundation, Inc.,
|
||||
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
Everyone is permitted to copy and distribute verbatim copies
|
||||
of this license document, but changing it is not allowed.
|
||||
|
||||
Preamble
|
||||
|
||||
The licenses for most software are designed to take away your
|
||||
freedom to share and change it. By contrast, the GNU General Public
|
||||
License is intended to guarantee your freedom to share and change free
|
||||
software--to make sure the software is free for all its users. This
|
||||
General Public License applies to most of the Free Software
|
||||
Foundation's software and to any other program whose authors commit to
|
||||
using it. (Some other Free Software Foundation software is covered by
|
||||
the GNU Lesser General Public License instead.) You can apply it to
|
||||
your programs, too.
|
||||
|
||||
When we speak of free software, we are referring to freedom, not
|
||||
price. Our General Public Licenses are designed to make sure that you
|
||||
have the freedom to distribute copies of free software (and charge for
|
||||
this service if you wish), that you receive source code or can get it
|
||||
if you want it, that you can change the software or use pieces of it
|
||||
in new free programs; and that you know you can do these things.
|
||||
|
||||
To protect your rights, we need to make restrictions that forbid
|
||||
anyone to deny you these rights or to ask you to surrender the rights.
|
||||
These restrictions translate to certain responsibilities for you if you
|
||||
distribute copies of the software, or if you modify it.
|
||||
|
||||
For example, if you distribute copies of such a program, whether
|
||||
gratis or for a fee, you must give the recipients all the rights that
|
||||
you have. You must make sure that they, too, receive or can get the
|
||||
source code. And you must show them these terms so they know their
|
||||
rights.
|
||||
|
||||
We protect your rights with two steps: (1) copyright the software, and
|
||||
(2) offer you this license which gives you legal permission to copy,
|
||||
distribute and/or modify the software.
|
||||
|
||||
Also, for each author's protection and ours, we want to make certain
|
||||
that everyone understands that there is no warranty for this free
|
||||
software. If the software is modified by someone else and passed on, we
|
||||
want its recipients to know that what they have is not the original, so
|
||||
that any problems introduced by others will not reflect on the original
|
||||
authors' reputations.
|
||||
|
||||
Finally, any free program is threatened constantly by software
|
||||
patents. We wish to avoid the danger that redistributors of a free
|
||||
program will individually obtain patent licenses, in effect making the
|
||||
program proprietary. To prevent this, we have made it clear that any
|
||||
patent must be licensed for everyone's free use or not licensed at all.
|
||||
|
||||
The precise terms and conditions for copying, distribution and
|
||||
modification follow.
|
||||
|
||||
GNU GENERAL PUBLIC LICENSE
|
||||
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
|
||||
|
||||
0. This License applies to any program or other work which contains
|
||||
a notice placed by the copyright holder saying it may be distributed
|
||||
under the terms of this General Public License. The "Program", below,
|
||||
refers to any such program or work, and a "work based on the Program"
|
||||
means either the Program or any derivative work under copyright law:
|
||||
that is to say, a work containing the Program or a portion of it,
|
||||
either verbatim or with modifications and/or translated into another
|
||||
language. (Hereinafter, translation is included without limitation in
|
||||
the term "modification".) Each licensee is addressed as "you".
|
||||
|
||||
Activities other than copying, distribution and modification are not
|
||||
covered by this License; they are outside its scope. The act of
|
||||
running the Program is not restricted, and the output from the Program
|
||||
is covered only if its contents constitute a work based on the
|
||||
Program (independent of having been made by running the Program).
|
||||
Whether that is true depends on what the Program does.
|
||||
|
||||
1. You may copy and distribute verbatim copies of the Program's
|
||||
source code as you receive it, in any medium, provided that you
|
||||
conspicuously and appropriately publish on each copy an appropriate
|
||||
copyright notice and disclaimer of warranty; keep intact all the
|
||||
notices that refer to this License and to the absence of any warranty;
|
||||
and give any other recipients of the Program a copy of this License
|
||||
along with the Program.
|
||||
|
||||
You may charge a fee for the physical act of transferring a copy, and
|
||||
you may at your option offer warranty protection in exchange for a fee.
|
||||
|
||||
2. You may modify your copy or copies of the Program or any portion
|
||||
of it, thus forming a work based on the Program, and copy and
|
||||
distribute such modifications or work under the terms of Section 1
|
||||
above, provided that you also meet all of these conditions:
|
||||
|
||||
a) You must cause the modified files to carry prominent notices
|
||||
stating that you changed the files and the date of any change.
|
||||
|
||||
b) You must cause any work that you distribute or publish, that in
|
||||
whole or in part contains or is derived from the Program or any
|
||||
part thereof, to be licensed as a whole at no charge to all third
|
||||
parties under the terms of this License.
|
||||
|
||||
c) If the modified program normally reads commands interactively
|
||||
when run, you must cause it, when started running for such
|
||||
interactive use in the most ordinary way, to print or display an
|
||||
announcement including an appropriate copyright notice and a
|
||||
notice that there is no warranty (or else, saying that you provide
|
||||
a warranty) and that users may redistribute the program under
|
||||
these conditions, and telling the user how to view a copy of this
|
||||
License. (Exception: if the Program itself is interactive but
|
||||
does not normally print such an announcement, your work based on
|
||||
the Program is not required to print an announcement.)
|
||||
|
||||
These requirements apply to the modified work as a whole. If
|
||||
identifiable sections of that work are not derived from the Program,
|
||||
and can be reasonably considered independent and separate works in
|
||||
themselves, then this License, and its terms, do not apply to those
|
||||
sections when you distribute them as separate works. But when you
|
||||
distribute the same sections as part of a whole which is a work based
|
||||
on the Program, the distribution of the whole must be on the terms of
|
||||
this License, whose permissions for other licensees extend to the
|
||||
entire whole, and thus to each and every part regardless of who wrote it.
|
||||
|
||||
Thus, it is not the intent of this section to claim rights or contest
|
||||
your rights to work written entirely by you; rather, the intent is to
|
||||
exercise the right to control the distribution of derivative or
|
||||
collective works based on the Program.
|
||||
|
||||
In addition, mere aggregation of another work not based on the Program
|
||||
with the Program (or with a work based on the Program) on a volume of
|
||||
a storage or distribution medium does not bring the other work under
|
||||
the scope of this License.
|
||||
|
||||
3. You may copy and distribute the Program (or a work based on it,
|
||||
under Section 2) in object code or executable form under the terms of
|
||||
Sections 1 and 2 above provided that you also do one of the following:
|
||||
|
||||
a) Accompany it with the complete corresponding machine-readable
|
||||
source code, which must be distributed under the terms of Sections
|
||||
1 and 2 above on a medium customarily used for software interchange; or,
|
||||
|
||||
b) Accompany it with a written offer, valid for at least three
|
||||
years, to give any third party, for a charge no more than your
|
||||
cost of physically performing source distribution, a complete
|
||||
machine-readable copy of the corresponding source code, to be
|
||||
distributed under the terms of Sections 1 and 2 above on a medium
|
||||
customarily used for software interchange; or,
|
||||
|
||||
c) Accompany it with the information you received as to the offer
|
||||
to distribute corresponding source code. (This alternative is
|
||||
allowed only for noncommercial distribution and only if you
|
||||
received the program in object code or executable form with such
|
||||
an offer, in accord with Subsection b above.)
|
||||
|
||||
The source code for a work means the preferred form of the work for
|
||||
making modifications to it. For an executable work, complete source
|
||||
code means all the source code for all modules it contains, plus any
|
||||
associated interface definition files, plus the scripts used to
|
||||
control compilation and installation of the executable. However, as a
|
||||
special exception, the source code distributed need not include
|
||||
anything that is normally distributed (in either source or binary
|
||||
form) with the major components (compiler, kernel, and so on) of the
|
||||
operating system on which the executable runs, unless that component
|
||||
itself accompanies the executable.
|
||||
|
||||
If distribution of executable or object code is made by offering
|
||||
access to copy from a designated place, then offering equivalent
|
||||
access to copy the source code from the same place counts as
|
||||
distribution of the source code, even though third parties are not
|
||||
compelled to copy the source along with the object code.
|
||||
|
||||
4. You may not copy, modify, sublicense, or distribute the Program
|
||||
except as expressly provided under this License. Any attempt
|
||||
otherwise to copy, modify, sublicense or distribute the Program is
|
||||
void, and will automatically terminate your rights under this License.
|
||||
However, parties who have received copies, or rights, from you under
|
||||
this License will not have their licenses terminated so long as such
|
||||
parties remain in full compliance.
|
||||
|
||||
5. You are not required to accept this License, since you have not
|
||||
signed it. However, nothing else grants you permission to modify or
|
||||
distribute the Program or its derivative works. These actions are
|
||||
prohibited by law if you do not accept this License. Therefore, by
|
||||
modifying or distributing the Program (or any work based on the
|
||||
Program), you indicate your acceptance of this License to do so, and
|
||||
all its terms and conditions for copying, distributing or modifying
|
||||
the Program or works based on it.
|
||||
|
||||
6. Each time you redistribute the Program (or any work based on the
|
||||
Program), the recipient automatically receives a license from the
|
||||
original licensor to copy, distribute or modify the Program subject to
|
||||
these terms and conditions. You may not impose any further
|
||||
restrictions on the recipients' exercise of the rights granted herein.
|
||||
You are not responsible for enforcing compliance by third parties to
|
||||
this License.
|
||||
|
||||
7. If, as a consequence of a court judgment or allegation of patent
|
||||
infringement or for any other reason (not limited to patent issues),
|
||||
conditions are imposed on you (whether by court order, agreement or
|
||||
otherwise) that contradict the conditions of this License, they do not
|
||||
excuse you from the conditions of this License. If you cannot
|
||||
distribute so as to satisfy simultaneously your obligations under this
|
||||
License and any other pertinent obligations, then as a consequence you
|
||||
may not distribute the Program at all. For example, if a patent
|
||||
license would not permit royalty-free redistribution of the Program by
|
||||
all those who receive copies directly or indirectly through you, then
|
||||
the only way you could satisfy both it and this License would be to
|
||||
refrain entirely from distribution of the Program.
|
||||
|
||||
If any portion of this section is held invalid or unenforceable under
|
||||
any particular circumstance, the balance of the section is intended to
|
||||
apply and the section as a whole is intended to apply in other
|
||||
circumstances.
|
||||
|
||||
It is not the purpose of this section to induce you to infringe any
|
||||
patents or other property right claims or to contest validity of any
|
||||
such claims; this section has the sole purpose of protecting the
|
||||
integrity of the free software distribution system, which is
|
||||
implemented by public license practices. Many people have made
|
||||
generous contributions to the wide range of software distributed
|
||||
through that system in reliance on consistent application of that
|
||||
system; it is up to the author/donor to decide if he or she is willing
|
||||
to distribute software through any other system and a licensee cannot
|
||||
impose that choice.
|
||||
|
||||
This section is intended to make thoroughly clear what is believed to
|
||||
be a consequence of the rest of this License.
|
||||
|
||||
8. If the distribution and/or use of the Program is restricted in
|
||||
certain countries either by patents or by copyrighted interfaces, the
|
||||
original copyright holder who places the Program under this License
|
||||
may add an explicit geographical distribution limitation excluding
|
||||
those countries, so that distribution is permitted only in or among
|
||||
countries not thus excluded. In such case, this License incorporates
|
||||
the limitation as if written in the body of this License.
|
||||
|
||||
9. The Free Software Foundation may publish revised and/or new versions
|
||||
of the General Public License from time to time. Such new versions will
|
||||
be similar in spirit to the present version, but may differ in detail to
|
||||
address new problems or concerns.
|
||||
|
||||
Each version is given a distinguishing version number. If the Program
|
||||
specifies a version number of this License which applies to it and "any
|
||||
later version", you have the option of following the terms and conditions
|
||||
either of that version or of any later version published by the Free
|
||||
Software Foundation. If the Program does not specify a version number of
|
||||
this License, you may choose any version ever published by the Free Software
|
||||
Foundation.
|
||||
|
||||
10. If you wish to incorporate parts of the Program into other free
|
||||
programs whose distribution conditions are different, write to the author
|
||||
to ask for permission. For software which is copyrighted by the Free
|
||||
Software Foundation, write to the Free Software Foundation; we sometimes
|
||||
make exceptions for this. Our decision will be guided by the two goals
|
||||
of preserving the free status of all derivatives of our free software and
|
||||
of promoting the sharing and reuse of software generally.
|
||||
|
||||
NO WARRANTY
|
||||
|
||||
11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
|
||||
FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
|
||||
OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
|
||||
PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
|
||||
OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
|
||||
MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS
|
||||
TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE
|
||||
PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
|
||||
REPAIR OR CORRECTION.
|
||||
|
||||
12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
|
||||
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
|
||||
REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
|
||||
INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
|
||||
OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
|
||||
TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
|
||||
YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
|
||||
PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
|
||||
POSSIBILITY OF SUCH DAMAGES.
|
||||
|
||||
END OF TERMS AND CONDITIONS
|
||||
|
||||
How to Apply These Terms to Your New Programs
|
||||
|
||||
If you develop a new program, and you want it to be of the greatest
|
||||
possible use to the public, the best way to achieve this is to make it
|
||||
free software which everyone can redistribute and change under these terms.
|
||||
|
||||
To do so, attach the following notices to the program. It is safest
|
||||
to attach them to the start of each source file to most effectively
|
||||
convey the exclusion of warranty; and each file should have at least
|
||||
the "copyright" line and a pointer to where the full notice is found.
|
||||
|
||||
<one line to give the program's name and a brief idea of what it does.>
|
||||
Copyright (C) <year> <name of author>
|
||||
|
||||
This program is free software; you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
the Free Software Foundation; either version 2 of the License, or
|
||||
(at your option) any later version.
|
||||
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License along
|
||||
with this program; if not, write to the Free Software Foundation, Inc.,
|
||||
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
|
||||
Also add information on how to contact you by electronic and paper mail.
|
||||
|
||||
If the program is interactive, make it output a short notice like this
|
||||
when it starts in an interactive mode:
|
||||
|
||||
Gnomovision version 69, Copyright (C) year name of author
|
||||
Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
|
||||
This is free software, and you are welcome to redistribute it
|
||||
under certain conditions; type `show c' for details.
|
||||
|
||||
The hypothetical commands `show w' and `show c' should show the appropriate
|
||||
parts of the General Public License. Of course, the commands you use may
|
||||
be called something other than `show w' and `show c'; they could even be
|
||||
mouse-clicks or menu items--whatever suits your program.
|
||||
|
||||
You should also get your employer (if you work as a programmer) or your
|
||||
school, if any, to sign a "copyright disclaimer" for the program, if
|
||||
necessary. Here is a sample; alter the names:
|
||||
|
||||
Yoyodyne, Inc., hereby disclaims all copyright interest in the program
|
||||
`Gnomovision' (which makes passes at compilers) written by James Hacker.
|
||||
|
||||
<signature of Ty Coon>, 1 April 1989
|
||||
Ty Coon, President of Vice
|
||||
|
||||
This General Public License does not permit incorporating your program into
|
||||
proprietary programs. If your program is a subroutine library, you may
|
||||
consider it more useful to permit linking proprietary applications with the
|
||||
library. If this is what you want to do, use the GNU Lesser General
|
||||
Public License instead of this License.
|
||||
26
Config.in
26
Config.in
@@ -8,7 +8,7 @@ config BR2_HAVE_DOT_CONFIG
|
||||
|
||||
config BR2_VERSION
|
||||
string
|
||||
default "2009.02-svn"
|
||||
default "2009.05"
|
||||
|
||||
source "target/Config.in.arch"
|
||||
source "target/device/Config.in"
|
||||
@@ -69,6 +69,13 @@ config BR2_DL_DIR
|
||||
|
||||
The default is $(BASE_DIR)/dl
|
||||
|
||||
config BR2_COPYTO
|
||||
string "Copy result to..."
|
||||
default ""
|
||||
help
|
||||
Setting this variable will (eventually) override
|
||||
any other copyto configurations in buildroot.
|
||||
|
||||
source "target/device/Config.in.mirrors"
|
||||
|
||||
config BR2_STAGING_DIR
|
||||
@@ -109,18 +116,6 @@ config BR2_TOPDIR_SUFFIX
|
||||
build_ARCH -> build_ARCH_[SUFFIX]
|
||||
toolchain_build_ARCH -> toolchain_build_ARCH_[SUFFIX]
|
||||
|
||||
config BR2_ROOTFS_PREFIX
|
||||
string "Custom root fs prefix"
|
||||
default "rootfs"
|
||||
help
|
||||
Add a custom string to the beginning of the root file system name.
|
||||
|
||||
config BR2_ROOTFS_SUFFIX
|
||||
string "Custom root fs suffix"
|
||||
default ""
|
||||
help
|
||||
Add a custom string to the end of the root file system name.
|
||||
|
||||
config BR2_GNU_BUILD_SUFFIX
|
||||
string "GNU build hostname suffix"
|
||||
default "pc-linux-gnu"
|
||||
@@ -182,7 +177,6 @@ config BR2_RECENT
|
||||
|
||||
config BR2_CONFIG_CACHE
|
||||
bool "Use a central configure cache file"
|
||||
default n
|
||||
help
|
||||
This determines if a central config cache is used by
|
||||
packages, reducing the configure time for packages as each
|
||||
@@ -237,14 +231,14 @@ choice
|
||||
|
||||
config BR2_STRIP_strip
|
||||
bool "strip"
|
||||
depends on !BR2_ENABLE_DEBUG
|
||||
depends on !BR2_ENABLE_DEBUG && !BR2_ELF2FLT
|
||||
help
|
||||
strip is the normal strip command
|
||||
|
||||
config BR2_STRIP_sstrip
|
||||
bool "sstrip"
|
||||
select BR2_PACKAGE_SSTRIP_HOST
|
||||
depends on !BR2_ENABLE_DEBUG
|
||||
depends on !BR2_ENABLE_DEBUG && !BR2_ELF2FLT
|
||||
help
|
||||
sstrip is a strip that discards more than the normal strip
|
||||
|
||||
|
||||
83
Makefile
83
Makefile
@@ -40,6 +40,11 @@ else
|
||||
BR2_LOCAL:=$(TOPDIR)/local
|
||||
endif
|
||||
|
||||
# Variables for use in Make constructs
|
||||
comma:=,
|
||||
empty:=
|
||||
space:=$(empty) $(empty)
|
||||
|
||||
# $(shell find . -name *_defconfig |sed 's/.*\///')
|
||||
# Pull in the user's configuration file
|
||||
ifeq ($(filter $(noconfig_targets),$(MAKECMDGOALS)),)
|
||||
@@ -127,9 +132,6 @@ HOSTCPP:=$(shell which $(HOSTCPP) || type -p $(HOSTCPP) || echo cpp)
|
||||
HOSTLD:=$(shell which $(HOSTLD) || type -p $(HOSTLD) || echo ld)
|
||||
HOSTLN:=$(shell which $(HOSTLN) || type -p $(HOSTLN) || echo ln)
|
||||
HOSTNM:=$(shell which $(HOSTNM) || type -p $(HOSTNM) || echo nm)
|
||||
HOST_GLIB_BIN:=`dirname $(shell which glib-genmarshal || echo /usr/bin/glib-genmarshal)`
|
||||
HOST_GLIB:=$(shell dirname $(HOST_GLIB_BIN) || echo /usr)
|
||||
|
||||
|
||||
ifndef CFLAGS_FOR_BUILD
|
||||
CFLAGS_FOR_BUILD:=-g -O2
|
||||
@@ -211,7 +213,7 @@ BASE_TARGETS:=uclibc
|
||||
endif
|
||||
TARGETS:=
|
||||
|
||||
# setup our pathes
|
||||
# setup our paths
|
||||
include project/Makefile.in
|
||||
|
||||
BR2_DEPENDS_DIR=$(PROJECT_BUILD_DIR)/buildroot-config
|
||||
@@ -260,7 +262,11 @@ endif
|
||||
|
||||
include package/*/*.mk
|
||||
|
||||
TARGETS+=target-devfiles
|
||||
TARGETS+=target-finalize
|
||||
|
||||
ifeq ($(BR2_ENABLE_LOCALE_PURGE),y)
|
||||
TARGETS+=target-purgelocales
|
||||
endif
|
||||
|
||||
# target stuff is last so it can override anything else
|
||||
include target/Makefile.in
|
||||
@@ -280,8 +286,8 @@ $(BR2_DEPENDS_DIR): .config
|
||||
cp -dpRf $(CONFIG)/buildroot-config $@
|
||||
|
||||
dirs: $(DL_DIR) $(TOOL_BUILD_DIR) $(BUILD_DIR) $(STAGING_DIR) $(TARGET_DIR) \
|
||||
$(BR2_DEPENDS_DIR) $(BINARIES_DIR) $(PROJECT_BUILD_DIR) \
|
||||
$(PROJECT_BUILD_DIR)/autotools-stamps
|
||||
$(HOST_DIR) $(BR2_DEPENDS_DIR) $(BINARIES_DIR) $(PROJECT_BUILD_DIR) \
|
||||
$(PROJECT_BUILD_DIR)/autotools-stamps $(STAMP_DIR)
|
||||
|
||||
$(BASE_TARGETS): dirs
|
||||
|
||||
@@ -292,8 +298,8 @@ world: dependencies dirs target-host-info $(BASE_TARGETS) $(TARGETS_ALL)
|
||||
$(BASE_TARGETS) $(TARGETS) $(TARGETS_ALL) \
|
||||
$(TARGETS_CLEAN) $(TARGETS_DIRCLEAN) $(TARGETS_SOURCE) \
|
||||
$(DL_DIR) $(TOOL_BUILD_DIR) $(BUILD_DIR) $(STAGING_DIR) $(TARGET_DIR) \
|
||||
$(BR2_DEPENDS_DIR) $(BINARIES_DIR) $(PROJECT_BUILD_DIR) \
|
||||
$(PROJECT_BUILD_DIR)/autotools-stamps
|
||||
$(HOST_DIR) $(BR2_DEPENDS_DIR) $(BINARIES_DIR) $(PROJECT_BUILD_DIR) \
|
||||
$(PROJECT_BUILD_DIR)/autotools-stamps $(STAMP_DIR)
|
||||
|
||||
#############################################################
|
||||
#
|
||||
@@ -301,8 +307,8 @@ world: dependencies dirs target-host-info $(BASE_TARGETS) $(TARGETS_ALL)
|
||||
# dependencies anywhere else
|
||||
#
|
||||
#############################################################
|
||||
$(DL_DIR) $(TOOL_BUILD_DIR) $(BUILD_DIR) $(PROJECT_BUILD_DIR) \
|
||||
$(PROJECT_BUILD_DIR)/autotools-stamps $(BINARIES_DIR):
|
||||
$(DL_DIR) $(TOOL_BUILD_DIR) $(BUILD_DIR) $(HOST_DIR) $(PROJECT_BUILD_DIR) \
|
||||
$(PROJECT_BUILD_DIR)/autotools-stamps $(BINARIES_DIR) $(STAMP_DIR):
|
||||
@mkdir -p $@
|
||||
|
||||
$(STAGING_DIR):
|
||||
@@ -328,8 +334,8 @@ $(PROJECT_BUILD_DIR)/.root:
|
||||
fi; \
|
||||
touch $(STAGING_DIR)/.fakeroot.00000; \
|
||||
fi
|
||||
-find $(TARGET_DIR) -type d -name CVS -o -name .svn | xargs rm -rf
|
||||
-find $(TARGET_DIR) -type f -name .empty | xargs rm -rf
|
||||
-find $(TARGET_DIR) -type d -name CVS -o -name .svn -print0 | xargs -0 rm -rf
|
||||
-find $(TARGET_DIR) -type f -name .empty -print0 | xargs -0 rm -rf
|
||||
touch $@
|
||||
|
||||
$(TARGET_DIR): $(PROJECT_BUILD_DIR)/.root
|
||||
@@ -337,15 +343,39 @@ $(TARGET_DIR): $(PROJECT_BUILD_DIR)/.root
|
||||
erase-fakeroots:
|
||||
rm -f $(PROJECT_BUILD_DIR)/.fakeroot*
|
||||
|
||||
target-devfiles:
|
||||
target-finalize:
|
||||
ifeq ($(BR2_HAVE_DEVFILES),y)
|
||||
( scripts/copy.sh $(STAGING_DIR) $(TARGET_DIR) )
|
||||
else
|
||||
rm -rf $(TARGET_DIR)/usr/include $(TARGET_DIR)/usr/lib/pkgconfig
|
||||
find $(TARGET_DIR)/usr/lib -name '*.a' -delete
|
||||
find $(TARGET_DIR)/lib -name '*.a' -delete
|
||||
find $(TARGET_DIR)/usr/lib -name '*.la' -delete
|
||||
find $(TARGET_DIR)/lib -name '*.la' -delete
|
||||
find $(TARGET_DIR)/lib \( -name '*.a' -o -name '*.la' \) -print0 | xargs -0 rm -f
|
||||
find $(TARGET_DIR)/usr/lib \( -name '*.a' -o -name '*.la' \) -print0 | xargs -0 rm -f
|
||||
endif
|
||||
ifneq ($(BR2_HAVE_MANPAGES),y)
|
||||
rm -rf $(TARGET_DIR)/usr/man $(TARGET_DIR)/usr/share/man
|
||||
endif
|
||||
ifneq ($(BR2_HAVE_INFOPAGES),y)
|
||||
rm -rf $(TARGET_DIR)/usr/info $(TARGET_DIR)/usr/share/info
|
||||
endif
|
||||
find $(TARGET_DIR) -type f -perm +111 | xargs $(STRIPCMD) 2>/dev/null || true
|
||||
$(TARGET_LDCONFIG) -r $(TARGET_DIR) 2>/dev/null
|
||||
|
||||
ifeq ($(BR2_ENABLE_LOCALE_PURGE),y)
|
||||
LOCALE_WHITELIST=$(PROJECT_BUILD_DIR)/locales.nopurge
|
||||
LOCALE_NOPURGE=$(strip $(subst ",,$(BR2_ENABLE_LOCALE_WHITELIST)))
|
||||
#"))
|
||||
|
||||
target-purgelocales:
|
||||
rm -f $(LOCALE_WHITELIST)
|
||||
for i in $(LOCALE_NOPURGE); do echo $$i >> $(LOCALE_WHITELIST); done
|
||||
|
||||
for dir in $(wildcard $(addprefix $(TARGET_DIR),/usr/share/locale /usr/share/X11/locale /usr/man /usr/share/man)); \
|
||||
do \
|
||||
for lang in $$(cd $$dir; ls .|grep -v man); \
|
||||
do \
|
||||
grep -qx $$lang $(LOCALE_WHITELIST) || rm -rf $$dir/$$lang; \
|
||||
done; \
|
||||
done
|
||||
endif
|
||||
|
||||
source: $(TARGETS_SOURCE) $(HOST_SOURCE)
|
||||
@@ -363,18 +393,17 @@ external-deps:
|
||||
#
|
||||
#############################################################
|
||||
clean: $(TARGETS_CLEAN)
|
||||
rm -rf $(STAGING_DIR) $(TARGET_DIR) $(IMAGE) $(PROJECT_BUILD_DIR)/.root $(PROJECT_BUILD_DIR)/autotools-stamps
|
||||
rm -rf $(STAGING_DIR) $(TARGET_DIR) $(IMAGE) $(PROJECT_BUILD_DIR)/.root $(PROJECT_BUILD_DIR)/autotools-stamps $(STAMP_DIR)
|
||||
|
||||
dirclean: $(TARGETS_DIRCLEAN)
|
||||
rm -rf $(STAGING_DIR) $(TARGET_DIR) $(IMAGE) $(PROJECT_BUILD_DIR)/.root $(PROJECT_BUILD_DIR)/autotools-stamps
|
||||
rm -rf $(STAGING_DIR) $(TARGET_DIR) $(IMAGE) $(PROJECT_BUILD_DIR)/.root $(PROJECT_BUILD_DIR)/autotools-stamps $(STAMP_DIR)
|
||||
|
||||
distclean:
|
||||
ifeq ($(DL_DIR),$(BASE_DIR)/dl)
|
||||
rm -rf $(DL_DIR)
|
||||
endif
|
||||
rm -rf $(BUILD_DIR) $(PROJECT_BUILD_DIR) $(BINARIES_DIR) \
|
||||
$(LINUX_KERNEL) $(BASE_DIR)/include \
|
||||
.config.cmd
|
||||
rm -rf $(TOOL_BUILD_DIR) $(BUILD_DIR) $(PROJECT_BUILD_DIR) $(BINARIES_DIR) \
|
||||
.config.cmd
|
||||
$(MAKE) -C $(CONFIG) clean
|
||||
|
||||
sourceball:
|
||||
@@ -471,14 +500,18 @@ clean:
|
||||
distclean: clean
|
||||
rm -rf sources/*
|
||||
|
||||
|
||||
endif # ifeq ($(BR2_HAVE_DOT_CONFIG),y)
|
||||
|
||||
flush:
|
||||
rm -f $(PROJECT_BUILD_DIR)/tgt-config.cache
|
||||
|
||||
%_defconfig: $(CONFIG)/conf
|
||||
cp $(shell find ./target/ -name $@) .config
|
||||
-@$(MAKE) oldconfig
|
||||
|
||||
update:
|
||||
cp .config $(BOARD_PATH)/$(BOARD_NAME)_defconfig
|
||||
cp .config $(BOARD_PATH)/$(PROJECT)_defconfig
|
||||
|
||||
configured: dirs host-sed kernel-headers uclibc-config busybox-config linux26-config
|
||||
|
||||
@@ -506,6 +539,7 @@ help:
|
||||
@echo 'Configuration:'
|
||||
@echo ' menuconfig - interactive curses-based configurator'
|
||||
@echo ' oldconfig - resolve any unresolved symbols in .config'
|
||||
@echo ' configured - make {uclibc/busybox/linux26}-config'
|
||||
@echo ' saveconfig - save current configuration under local/<project>'
|
||||
@echo ' getconfig - restore saved configuration from local/<project>'
|
||||
@echo
|
||||
@@ -513,6 +547,7 @@ help:
|
||||
@echo ' source - download all sources needed for offline-build'
|
||||
@echo ' source-check - check all packages for valid download URLs'
|
||||
@echo ' external-deps - list external packages used'
|
||||
@echo ' flush - flush configuration cache'
|
||||
@echo
|
||||
@echo 'See docs/README and docs/buildroot.html for further details'
|
||||
@echo
|
||||
|
||||
@@ -16,11 +16,10 @@
|
||||
<h1>U-boot extensions in 2009.01-rc1</h1>
|
||||
</div>
|
||||
|
||||
<p><a href="http://buildroot.uclibc.org/">U-Boot</a>
|
||||
<p><a href="http://buildroot.net/">U-Boot</a>
|
||||
usage and documentation by Ulf Samuelsson.
|
||||
</p>
|
||||
|
||||
<p><small>$LastChangedDate: 2008-12-16 10:00:11 +0100 (tis, 16 dec 2008) $</small></p>
|
||||
<ul>
|
||||
<li><a href="#about">About U-Boot</a></li>
|
||||
<li><a href="#at91rm9200dk">Board Support for AT91RM9200DK</a></li>
|
||||
|
||||
@@ -3,24 +3,31 @@
|
||||
|
||||
<!-- Begin Introduction section -->
|
||||
|
||||
<h3>buildroot: making Embedded Linux easy</h3>
|
||||
<h3>Buildroot: making Embedded Linux easy</h3>
|
||||
|
||||
<div align="center">
|
||||
<a href="images/menuconfig.png">
|
||||
<img src="images/menuconfig_small.png" width="340" height="220"
|
||||
alt="Buildroot menuconfig" border="0">
|
||||
</a>
|
||||
</div>
|
||||
|
||||
Buildroot is a set of Makefiles and patches that makes it easy generate a
|
||||
Buildroot is a set of Makefiles and patches that makes it easy to generate a
|
||||
cross-compilation toolchain and root filesystem for your target Linux
|
||||
system using the <a href= "http://www.uclibc.org/">uClibc C library</a>.
|
||||
Buildroot is useful mainly for people working with small or embedded
|
||||
systems. Embedded systems often use processors that are not the regular
|
||||
x86 processors everyone is used to using on their PC. It can be PowerPC
|
||||
processors, MIPS processors, ARM processors, etc. And to be extra safe,
|
||||
you do not need to be root to build or run buildroot.
|
||||
you do not need to be root to build or run Buildroot.
|
||||
|
||||
<p>
|
||||
|
||||
buildroot is maintained by <a href=
|
||||
Buildroot is maintained by <a href=
|
||||
"mailto:jacmet@uclibc.org">Peter Korsgaard</a>, and
|
||||
licensed under the
|
||||
<a href="http://www.gnu.org/copyleft/lgpl.html">GNU LIBRARY GENERAL PUBLIC LICENSE</a>.
|
||||
<a href="http://www.gnu.org/licenses/old-licenses/gpl-2.0.html">GNU
|
||||
GENERAL PUBLIC LICENSE V2 (Or later)</a>.
|
||||
|
||||
|
||||
<!--#include file="footer.html" -->
|
||||
|
||||
@@ -15,12 +15,10 @@
|
||||
<h1>Buildroot</h1>
|
||||
</div>
|
||||
|
||||
<p><a href="http://buildroot.uclibc.org/">Buildroot</a>
|
||||
<p><a href="http://buildroot.net/">Buildroot</a>
|
||||
usage and documentation by Thomas Petazzoni. Contributions from
|
||||
Karsten Kruse, Ned Ludd, Martin Herren and others. </p>
|
||||
|
||||
<p><small>$LastChangedDate$</small></p>
|
||||
|
||||
<ul>
|
||||
|
||||
<li><a href="#about">About Buildroot</a></li>
|
||||
@@ -32,9 +30,11 @@
|
||||
<li><a href="#custom_uclibc">Customizing the uClibc
|
||||
configuration</a></li>
|
||||
<li><a href="#buildroot_innards">How Buildroot works</a></li>
|
||||
<li><a href="#using_toolchain">Using the uClibc toolchain</a></li>
|
||||
<li><a href="#toolchain_standalone">Using the uClibc toolchain
|
||||
outside of Buildroot</a></li>
|
||||
<li><a href="#multi_project">Building several projects in the
|
||||
same buildroot source tree</a></li>
|
||||
<li><a href="#using_toolchain">Using the uClibc toolchain
|
||||
outside Buildroot</a></li>
|
||||
<li><a href="#external_toolchain">Use an external toolchain</a></li>
|
||||
<li><a href="#downloaded_packages">Location of downloaded packages</a>
|
||||
</li>
|
||||
<li><a href="#add_software">Extending Buildroot with more
|
||||
@@ -116,24 +116,28 @@
|
||||
|
||||
<h2><a name="download" id="download"></a>Obtaining Buildroot</h2>
|
||||
|
||||
<p>Buildroot is available as daily SVN snapshots or directly using
|
||||
SVN. As of today, no stable releases of Buildroot are made. </p>
|
||||
<p>Buildroot releases are made approximately every 3
|
||||
months. Direct Git access and daily snapshots are also
|
||||
available if you want more bleeding edge.</p>
|
||||
|
||||
<p>Releases are available at <a
|
||||
href="http://buildroot.net/downloads/">http://buildroot.net/downloads/</a>.</p>
|
||||
|
||||
<p>The latest snapshot is always available at <a
|
||||
href="http://buildroot.uclibc.org/downloads/snapshots/buildroot-snapshot.tar.bz2">http://buildroot.uclibc.org/downloads/snapshots/buildroot-snapshot.tar.bz2</a>,
|
||||
href="http://buildroot.net/downloads/snapshots/buildroot-snapshot.tar.bz2">http://buildroot.net/downloads/snapshots/buildroot-snapshot.tar.bz2</a>,
|
||||
and previous snapshots are also available at <a
|
||||
href="http://buildroot.uclibc.org/downloads/snapshots/">http://buildroot.uclibc.org/downloads/snapshots/</a>. </p>
|
||||
href="http://buildroot.net/downloads/snapshots/">http://buildroot.net/downloads/snapshots/</a>. </p>
|
||||
|
||||
<p>To download Buildroot using SVN, you can simply follow
|
||||
the rules described on the "Accessing SVN"-page (<a href=
|
||||
"http://buildroot.uclibc.org/subversion.html">http://buildroot.uclibc.org/subversion.html</a>)
|
||||
of the uClibc buildroot website (<a href=
|
||||
"http://buildroot.uclibc.org">http://buildroot.uclibc.org</a>), and download the
|
||||
<code>buildroot</code> SVN module. For the impatient, here's a quick
|
||||
<p>To download Buildroot using Git, you can simply follow
|
||||
the rules described on the "Accessing Git"-page (<a href=
|
||||
"http://buildroot.net/git.html">http://buildroot.net/git.html</a>)
|
||||
of the Buildroot website (<a href=
|
||||
"http://buildroot.net">http://buildroot.net</a>), and download
|
||||
<code>buildroot</code> from Git. For the impatient, here's a quick
|
||||
recipe:</p>
|
||||
|
||||
<pre>
|
||||
$ svn co svn://uclibc.org/trunk/buildroot
|
||||
$ git clone git://git.buildroot.net/buildroot
|
||||
</pre>
|
||||
|
||||
<h2><a name="using" id="using"></a>Using Buildroot</h2>
|
||||
@@ -247,6 +251,9 @@
|
||||
<li>HOSTCC</li>
|
||||
<li>UCLIBC_CONFIG_FILE=<path/to/.config></li>
|
||||
<li>BUSYBOX_CONFIG_FILE=<path/to/.config></li>
|
||||
<li>BUILDROOT_COPYTO</li>
|
||||
<li>BUILDROOT_DL_DIR</li>
|
||||
<li>BUILDROOT_LOCAL</li>
|
||||
</ul>
|
||||
|
||||
<p>An example that uses config files located in the toplevel directory and
|
||||
@@ -261,6 +268,16 @@ $ make UCLIBC_CONFIG_FILE=uClibc.config BUSYBOX_CONFIG_FILE=$HOME/bb.config
|
||||
$ make HOSTCXX=g++-4.3-HEAD HOSTCC=gcc-4.3-HEAD
|
||||
</pre>
|
||||
|
||||
<p>If you want the result of your build to be copied to another directory
|
||||
like /tftpboot for downloading to a board using tftp, then you
|
||||
can use BUILDROOT_COPYTO to specify your location</p>
|
||||
<p>Typically, this is set in your ~/.bashrc file
|
||||
|
||||
<pre>
|
||||
$ export BUILDROOT_COPYTO=/tftpboot
|
||||
</pre>
|
||||
|
||||
|
||||
<h3><a name="helper_completion" id="helper_completion"></a>
|
||||
Using auto-completion</h3>
|
||||
|
||||
@@ -496,7 +513,7 @@ $ make me<TAB>
|
||||
uncompress the <code>target/generic/skel.tar.gz</code> file to create the
|
||||
main subdirectories and symlinks, copies the skeleton available in
|
||||
<code>target/generic/target_skeleton</code> and then removes useless
|
||||
<code>.svn/</code> directories. </li>
|
||||
<code>.svn/CVS</code> directories. </li>
|
||||
|
||||
<li>Add the <code>TARGETS</code> dependency. This should generally check
|
||||
if the configuration option for this package is enabled, and if so then
|
||||
@@ -507,7 +524,10 @@ $ make me<TAB>
|
||||
<h2><a name="multi_project" id="multi_project"></a>Building several
|
||||
projects in the same buildroot source tree</h2>
|
||||
|
||||
<p><b>BACKGROUND</b></p>
|
||||
<p><i>Note: the contents of this section are obsolete since this
|
||||
feature has been implemented.</i></p>
|
||||
|
||||
<h3>Background</h3>
|
||||
|
||||
<p>Buildroot has always supported building several projects in the same
|
||||
tree if each project was for a different architecture. </p>
|
||||
@@ -543,8 +563,7 @@ $ make me<TAB>
|
||||
was also duplicated, so each </code>package</code> would also
|
||||
be rebuilt once per project, resulting in even longer build times.</p>
|
||||
|
||||
|
||||
<p><b>PROJECT TO SHARE TOOLCHAIN AND PACKAGE BUILDS</b></p>
|
||||
<h3>Project to share toolchain and package builds</h3>
|
||||
|
||||
<p>Work has started on a project which will allow the user to build
|
||||
multiple root file systems for the same architecture in the same tree.
|
||||
@@ -574,7 +593,7 @@ $ make me<TAB>
|
||||
<p>Only packages, not used by the first project, will have to go
|
||||
through the normal extract-configure-compile flow. </p>
|
||||
|
||||
<p><b>IMPLEMENTATION</b></p>
|
||||
<h3>Implementation</h3>
|
||||
|
||||
<p>The core of the solution is the introduction
|
||||
of two new directories: </p>
|
||||
@@ -629,58 +648,26 @@ $ make me<TAB>
|
||||
<p>The resulting binaries for all architectures are stored in the
|
||||
<code>"$(BINARIES_DIR)"</code> directory. <p>
|
||||
|
||||
<p><b>SUMMARY</b></p>
|
||||
<h3>Summary</h3>
|
||||
|
||||
<p>The project will share directories which can be share without
|
||||
conflicts, but will use unique build directories, where the user
|
||||
can configure the build. </p>
|
||||
|
||||
<p><b>THINGS TO DO</b></p>
|
||||
<h2><a name="Linux" id="Linux"></a>Linux</h2>
|
||||
|
||||
<ol>
|
||||
|
||||
<li>Linux</li>
|
||||
|
||||
<p>The current Linux implementation is flawed. It only works
|
||||
if the user chooses to use one of the few kernels selected
|
||||
as base for the kernel-headers. While the Makefile seems to have
|
||||
hooks, allowing the developer to specify whatever version he/she
|
||||
wants in the target/device/*/* Makefiles, the build will fail
|
||||
if another kernel version is choosen.</p>
|
||||
|
||||
<p>The reason for this is that the kernel patches are not
|
||||
applied by the <code>"target/linux/linux.mk"</code>
|
||||
build script fragment. They are only applied by the
|
||||
<code>"toolchain/kernel-headers/*.makefile"</code>
|
||||
build script fragments</p>
|
||||
|
||||
<p>If the kernel-header version and the linux version differs,
|
||||
there will be two <code>"linux-2.6.X.Y"</code>
|
||||
directories in
|
||||
<code>"build_<ARCH>/<>"</code>,
|
||||
each with its own set of patches. </p>
|
||||
|
||||
<p>The solution in the works, is to move the build of Linux to
|
||||
<code>"project_build_<ARCH>/<project name>/linux-2.6.X.Y"</code> combined with method to configure
|
||||
which patches can be applied. Possibly, the linux source tree
|
||||
used to generate the kernel headers will be moved to the
|
||||
<code>"toolchain_build_<ARCH>"</code>
|
||||
directory
|
||||
</p>
|
||||
|
||||
<p>The user will be able to select from three different
|
||||
Linux strategies:
|
||||
<p>The user can select from three different Linux strategies:
|
||||
|
||||
<ul>
|
||||
<li>Conservative Strategy: Only use version ssupported by the kernel headers</li>
|
||||
<li>Stable Linux Strategy: Allow any 2.6.X.Y combination.
|
||||
<li>Legacy: Only use version supported by the kernel headers</li>
|
||||
<li>Advanced: Allow any 2.6.X.Y combination.
|
||||
(Minimum 2.6.19)</li>
|
||||
<li>Power-User Strategy: Allow
|
||||
<code>"-git"</code>, or
|
||||
<code>"-mm"</code>, or user downloadable kernels</li>
|
||||
</ul>
|
||||
|
||||
<p>The current kernel patches can be configured to be applied to the
|
||||
<p>The current kernel patches can be applied to the
|
||||
linux source tree even if the version differs from the
|
||||
kernel header version. </p>
|
||||
|
||||
@@ -690,7 +677,7 @@ $ make me<TAB>
|
||||
proprietary kernel-patch or decide to not apply the kernel
|
||||
patches</p>
|
||||
|
||||
<p>Other optional patches will be <u>board specific</u> or
|
||||
<p>There is also support for <u>board specific</u> and
|
||||
<u>architecture specific</u> patches. </p>
|
||||
|
||||
<p>There will also be a way for the user to supply absolute
|
||||
@@ -702,8 +689,16 @@ $ make me<TAB>
|
||||
<p>Maybe, there will also be a possibility to supply an
|
||||
<code>"URL"</code> to a patch available on Internet. </p>
|
||||
|
||||
<li>Configurable packages</li>
|
||||
<p>
|
||||
If there is no linux config file available,
|
||||
buildroot starts the linux configuration system, which
|
||||
defaults to "make menuconfig".
|
||||
</p>
|
||||
|
||||
<h3>Todo</h3>
|
||||
<ol>
|
||||
|
||||
<li>Configurable packages</li>
|
||||
<p>Many packages can, on top of the simple
|
||||
"enable/disable build",
|
||||
be further configured using Kconfig.
|
||||
@@ -770,7 +765,7 @@ $ make me<TAB>
|
||||
</ol>
|
||||
|
||||
<h2><a name="using_toolchain" id="using_toolchain"></a>Using the
|
||||
uClibc toolchain</h2>
|
||||
uClibc toolchain outside Buildroot</h2>
|
||||
|
||||
<p>You may want to compile your own programs or other software
|
||||
that are not packaged in Buildroot. In order to do this, you can
|
||||
@@ -798,32 +793,19 @@ export PATH="$PATH:~/buildroot/build_mips/staging_dir/usr/bin/"
|
||||
mips-linux-gcc -o foo foo.c
|
||||
</pre>
|
||||
|
||||
<p><b>Important</b> : do not try to move a gcc-3.x toolchain to an other
|
||||
directory, it won't work. There are some hardcoded paths in the
|
||||
<i>gcc</i> configuration. If the default toolchain directory
|
||||
doesn't suit your needs, please refer to the <a
|
||||
href="#toolchain_standalone">Using the uClibc toolchain outside of
|
||||
buildroot</a> section. </p>
|
||||
<p>If you are using a current gcc-4.x, then use --sysroot and -isysroot
|
||||
since these toolchains have fully functional sysroot support. No
|
||||
hardcoded paths do exist in these configurations. </p>
|
||||
<p><b>Important</b> : do not try to move a gcc-3.x toolchain to an other
|
||||
directory, it won't work. There are some hardcoded paths in the
|
||||
<i>gcc</i> configuration. If you are using a current gcc-4.x, it
|
||||
is possible to relocate the toolchain, but then
|
||||
<code>--sysroot</code> must be passed every time the compiler is
|
||||
called to tell where the libraries and header files are, which
|
||||
might be cumbersome.</p>
|
||||
|
||||
<h2><a name="toolchain_standalone" id="toolchain_standalone"></a>Using the
|
||||
uClibc toolchain outside of buildroot</h2>
|
||||
|
||||
<p>By default, the cross-compilation toolchain is generated inside
|
||||
<code>build_ARCH/staging_dir/</code>. But sometimes, it may be useful to
|
||||
install it somewhere else, so that it can be used to compile other programs
|
||||
or by other users. Moving the <code>build_ARCH/staging_dir/</code>
|
||||
directory elsewhere is <b>not possible if using gcc-3.x</b>, because there
|
||||
are some hardcoded paths in the toolchain configuration. This works, thanks
|
||||
to sysroot support, with current, stable gcc-4.x toolchains, of course. </p>
|
||||
|
||||
<p>If you want to use the generated gcc-3.x toolchain for other purposes,
|
||||
you can configure Buildroot to generate it elsewhere using the
|
||||
option of the configuration tool : <code>Build options ->
|
||||
Toolchain and header file location</code>, which defaults to
|
||||
<code>$(BUILD_DIR)/staging_dir/</code>. </p>
|
||||
<p>It is also possible to generate the Buildroot toolchain in
|
||||
another directory than <code>build_ARCH/staging_dir</code> using
|
||||
the <code>Build options -> Toolchain and header file
|
||||
location</code> option. This could be useful if the toolchain
|
||||
must be shared with other users.</p>
|
||||
|
||||
<h2><a name="downloaded_packages"
|
||||
id="downloaded_packages"></a>Location of downloaded packages</h2>
|
||||
@@ -857,7 +839,43 @@ ln -s <shared download location> dl
|
||||
export BUILDROOT_DL_DIR <shared download location>
|
||||
</pre>
|
||||
|
||||
<h2><a name="external_toolchain" id="external_toolchain"></a>Using
|
||||
an external toolchain</h2>
|
||||
|
||||
<p>It might be useful not to use the toolchain generated by
|
||||
Buildroot, for example if you already have a toolchain that is known
|
||||
to work for your specific CPU, or if the toolchain generation feature
|
||||
of Buildroot is not sufficiently flexible for you (for example if you
|
||||
need to generate a system with <i>glibc</i> instead of
|
||||
<i>uClibc</i>). Buildroot supports using an <i>external
|
||||
toolchain</i>.</p>
|
||||
|
||||
<p>To enable the use of an external toolchain, go in the
|
||||
<code>Toolchain</code> menu, and :</p>
|
||||
|
||||
<ul>
|
||||
<li>Select the <code>External binary toolchain</code> toolchain
|
||||
type</li>
|
||||
<li>Adjust the <code>External toolchain path</code>
|
||||
appropriately. It should be set to a path where a bin/ directory
|
||||
contains your cross-compiling tools</li>
|
||||
<li>Adjust the <code>External toolchain prefix</code>, so that the
|
||||
prefix, suffixed with <code>-gcc</code> or <code>-ld</code> will
|
||||
correspond to your cross-compiling tools</li>
|
||||
</ul>
|
||||
|
||||
<p>If you are using an external toolchain based on <i>uClibc</i>, the
|
||||
<code>Core C library from the external toolchain</code> and
|
||||
<code>Libraries to copy from the external toolchain</code> options
|
||||
should already have correct values. However, if your external
|
||||
toolchain is based on <i>glibc</i>, you'll have to change these values
|
||||
according to your cross-compiling toolchain.</p>
|
||||
|
||||
<p>To generate external toolchains, we recommend using <a
|
||||
href="http://ymorin.is-a-geek.org/dokuwiki/projects/crosstool">Crosstool-NG</a>.
|
||||
It allows to generate toolchains based on <i>uClibc</i>, <i>glibc</i>
|
||||
and <i>eglibc</i> for a wide range of architectures, and has good
|
||||
community support.</p>
|
||||
|
||||
<h2><a name="add_software" id="add_software"></a>Extending Buildroot with
|
||||
more software</h2>
|
||||
@@ -933,7 +951,7 @@ endif
|
||||
<a name="ex1line9" id="ex1line9">9</a> FOO_INSTALL_STAGING = YES
|
||||
<a name="ex1line10" id="ex1line10">10</a> FOO_INSTALL_TARGET = YES
|
||||
<a name="ex1line11" id="ex1line11">11</a> FOO_CONF_OPT = --enable-shared
|
||||
<a name="ex1line12" id="ex1line12">12</a> FOO_DEPENDENCIES = libglib2 pkgconfig
|
||||
<a name="ex1line12" id="ex1line12">12</a> FOO_DEPENDENCIES = libglib2 host-pkgconfig
|
||||
<a name="ex1line13" id="ex1line13">13</a> $(eval $(call AUTOTARGETS,package,foo))
|
||||
</pre>
|
||||
|
||||
@@ -1017,7 +1035,7 @@ endif
|
||||
<a name="ex2line34" id="ex2line34">34</a> $(MAKE) CC=$(TARGET_CC) -C $(FOO_DIR)
|
||||
<a name="ex2line35" id="ex2line35">35</a>
|
||||
<a name="ex2line36" id="ex2line36">36</a> $(TARGET_DIR)/$(FOO_TARGET_BINARY): $(FOO_DIR)/$(FOO_BINARY)
|
||||
<a name="ex2line37" id="ex2line37">37</a> $(MAKE) prefix=$(TARGET_DIR)/usr -C $(FOO_DIR) install
|
||||
<a name="ex2line37" id="ex2line37">37</a> $(MAKE) DESTDIR=$(TARGET_DIR) -C $(FOO_DIR) install-strip
|
||||
<a name="ex2line38" id="ex2line38">38</a> rm -Rf $(TARGET_DIR)/usr/man
|
||||
<a name="ex2line39" id="ex2line39">39</a>
|
||||
<a name="ex2line40" id="ex2line40">40</a> foo: uclibc ncurses $(TARGET_DIR)/$(FOO_TARGET_BINARY)
|
||||
@@ -1114,8 +1132,8 @@ endif
|
||||
<p>Lines <a href="#ex2line36">36-38</a> defines a target and associated rules
|
||||
that install the software inside the target filesystem. It depends on the
|
||||
binary file in the source directory, to make sure the software has
|
||||
been compiled. It uses the <code>install</code> target of the
|
||||
software <code>Makefile</code> by passing a <code>prefix</code>
|
||||
been compiled. It uses the <code>install-strip</code> target of the
|
||||
software <code>Makefile</code> by passing a <code>DESTDIR</code>
|
||||
argument, so that the <code>Makefile</code> doesn't try to install
|
||||
the software inside host <code>/usr</code> but inside target
|
||||
<code>/usr</code>. After the installation, the
|
||||
@@ -1180,13 +1198,12 @@ endif
|
||||
<li><a href="http://www.uclibc.org/">http://www.uclibc.org/</a></li>
|
||||
<li><a href="http://www.busybox.net/">http://www.busybox.net/</a></li>
|
||||
</ul>
|
||||
|
||||
</div>
|
||||
<!--
|
||||
<a href="http://validator.w3.org/check?uri=referer"><img
|
||||
border="0" height="31" width="88"
|
||||
src="images/valid-html401.png"
|
||||
alt="Valid HTML"></img></a>
|
||||
<a href="http://validator.w3.org/check?uri=referer"><img
|
||||
border="0" height="31" width="88"
|
||||
src="images/valid-html401.png"
|
||||
alt="Valid HTML"></img></a>
|
||||
-->
|
||||
|
||||
</body>
|
||||
|
||||
@@ -1,64 +1,46 @@
|
||||
<!--#include file="header.html" -->
|
||||
|
||||
|
||||
<h3>Subversion Read/Write Access</h3>
|
||||
<h3>Developer Access</h3>
|
||||
|
||||
If you want to be able to commit things to Subversion, first contribute some
|
||||
stuff to show you are serious. Then, very nicely ask <a
|
||||
href="mailto:buildroot@uclibc.org">The Buildroot Developers</a> to set you up
|
||||
with commit access to the Subversion repository. To access Subversion, you
|
||||
will want to add the following to set up your environment:
|
||||
Because we use Git for version control, you don't need developer (ssh)
|
||||
access on uclibc.org to contribute to Buildroot, but you can request
|
||||
it if needed.
|
||||
|
||||
<p>
|
||||
|
||||
To obtain commit access, you will need to demonstrate you are serious by
|
||||
submitting a few good patches first. Then, you will need to select a username
|
||||
to use when committing changes to SVN, you will need to send me the username
|
||||
you have selected, you must send me your preferred contact email address, and
|
||||
finally, you must send me an ssh version 2 DSA key with 1024 bits (the default)
|
||||
or more. If you do not currently have an ssh version 2 DSA key, you can
|
||||
generate a key using the command<pre>ssh-keygen -t dsa</pre> This will
|
||||
create the files <pre>/home/<USERNAME>/ssh/id_dsa
|
||||
/home/<USERNAME>/.ssh/id_dsa.pub</pre>
|
||||
It is recommended that you generate a key with a "passphrase" for security reasons.
|
||||
To obtain developer access, you will need to demonstrate you are
|
||||
serious by submitting a few good patches first. Then, you will need
|
||||
to select a username to use when logging in, you will need to send me
|
||||
the username you have selected, you must send me your preferred
|
||||
contact email address, and finally, you must send me an ssh version 2
|
||||
DSA key with 1024 bits (the default) or more. If you do not currently
|
||||
have an ssh version 2 DSA key, you can generate a key using the
|
||||
command<pre>ssh-keygen -t dsa</pre> This will create the
|
||||
files <pre>/home/<USERNAME>/ssh/id_dsa
|
||||
/home/<USERNAME>/.ssh/id_dsa.pub</pre> It is recommended that
|
||||
you generate a key with a "passphrase" for security reasons.
|
||||
|
||||
<p>
|
||||
Make the file known to the system by running
|
||||
|
||||
<pre>ssh-add ~/.ssh/id_dsa</pre>
|
||||
|
||||
You must then send the content of 'id_dsa.pub' to me so I can setup your account.
|
||||
You must then send the content of 'id_dsa.pub' to me so I can setup your account.
|
||||
The content of 'id_dsa' should of course be kept secret.
|
||||
|
||||
<p>
|
||||
|
||||
Once you are setup with an account, you will need to use your account to
|
||||
checkout a copy of buildroot from Subversion:
|
||||
Once you have an account, you can use it to store Git
|
||||
repositories. Simply put them in subdirectories of your ~/git, and
|
||||
touch ~/git/<repo>/git-daemon-export-ok, after which the hourly
|
||||
cronjob will pick them up and show them in cgit. They are also
|
||||
available though git-daemon:
|
||||
|
||||
<pre>
|
||||
svn list svn+ssh://username@svn.uclibc.org/svn/trunk/buildroot</pre>
|
||||
<br>
|
||||
It goes without saying you must change <em>username</em> to your own
|
||||
username...
|
||||
<p>
|
||||
|
||||
You can then enter the newly checked out buildroot directory, make changes, check
|
||||
your changes, diff your changes, revert your changes, and and commit your
|
||||
changes usine commands such as:
|
||||
|
||||
<pre>
|
||||
svn diff
|
||||
svn status
|
||||
svn revert
|
||||
svn commit</pre>
|
||||
|
||||
<p>
|
||||
|
||||
For additional detail on how to use Subversion, please visit the
|
||||
<a href="http://subversion.tigris.org/">the Subversion website</a>.
|
||||
You might also want to read online or buy a copy of <a
|
||||
href="http://svnbook.red-bean.com/">the Subversion Book</a>...
|
||||
<pre>git clone git://git.buildroot.net/~<USERNAME>/git/<REPO></pre>
|
||||
|
||||
For additional detail on how to use Git, please visit the
|
||||
<a href="http://git-scm.org/">the Git website</a>.
|
||||
|
||||
<!--#include file="footer.html" -->
|
||||
|
||||
|
||||
@@ -6,25 +6,24 @@
|
||||
|
||||
<p>
|
||||
|
||||
The best way to obtain and update your own copy of buildroot is to fetch the
|
||||
latest version using <a href="subversion.html">Subversion</a>. You can also
|
||||
obtain <a href= "downloads/snapshots/">Daily Snapshots</a> of the latest
|
||||
buildroot source tree but cannot or do not wish to use Subversion (svn).
|
||||
The latest release can always be dowloaded from
|
||||
<a href="/downloads/">http://buildroot.net/downloads/</a>.
|
||||
|
||||
<p>
|
||||
|
||||
You can also obtain <a href="/downloads/snapshots/">Daily
|
||||
Snapshots</a> of the latest Buildroot source tree if you want to to
|
||||
follow development, but cannot or do not wish to use Git.
|
||||
|
||||
<ul>
|
||||
<li> Click here to <a href="downloads/snapshots/">Daily Snapshots</a>.
|
||||
</li>
|
||||
|
||||
<li> Click here to <a href="http://sources.busybox.net/index.py/trunk/buildroot/">browse the source tree</a>.
|
||||
<li> Click here to <a href="http://git.buildroot.net/buildroot">browse the source tree</a>.
|
||||
</li>
|
||||
|
||||
<li>Anonymous <a href="subversion.html">Subversion access</a> is available.
|
||||
<li>Anonymous <a href="git.html">Git access</a> is available.
|
||||
</li>
|
||||
|
||||
<li>For those that are actively contributing obtaining
|
||||
<a href="developer.html">Subversion read/write access</a> is also possible.
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
|
||||
<!--#include file="footer.html" -->
|
||||
|
||||
38
docs/git.html
Normal file
38
docs/git.html
Normal file
@@ -0,0 +1,38 @@
|
||||
<!--#include file="header.html" -->
|
||||
|
||||
|
||||
<h3>Git Access</h3>
|
||||
|
||||
The buildroot repository can be browsed online through cgit at
|
||||
<a href="http://git.buildroot.net/buildroot">http://git.buildroot.net/buildroot</a>.
|
||||
To grab a copy of the repository use
|
||||
|
||||
<pre>
|
||||
git clone git://git.buildroot.net/buildroot</pre>
|
||||
|
||||
Or if you're behind a firewall blocking git:
|
||||
|
||||
<pre>
|
||||
git clone http://git.buildroot.net/buildroot</pre>
|
||||
|
||||
<p>
|
||||
|
||||
If you are not already familiar with using Git, we recommend you visit <a
|
||||
href="http://git-scm.org">the Git website</a>.
|
||||
|
||||
<p>
|
||||
|
||||
Once you've checked out a copy of the source tree, you can update your source
|
||||
tree at any time so it is in sync with the latest and greatest by entering your
|
||||
buildroot directory and running the command:
|
||||
|
||||
<pre>
|
||||
git pull</pre>
|
||||
|
||||
Because you've only been granted anonymous access to the tree, you won't be
|
||||
able to commit any changes. Changes can be submitted for inclusion by posting
|
||||
them to the buildroot mailing list or to the <a
|
||||
href="http://bugs.uclibc.org/">Bug and Patch Tracking System</a>.
|
||||
|
||||
<!--#include file="footer.html" -->
|
||||
|
||||
@@ -27,27 +27,15 @@
|
||||
|
||||
|
||||
<tr>
|
||||
<td>
|
||||
<div class="c3">
|
||||
<table border="0" cellspacing="1" cellpadding="2">
|
||||
<tr>
|
||||
<td class="c1">BUILDROOT</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<a href="/"><IMG SRC="images/busybox1.png" alt="Buildroot" border="0"></a><BR>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
|
||||
<td valign="TOP">
|
||||
<a href="/"><IMG SRC="images/logo_small.png" alt="Buildroot"
|
||||
border="0" width="200" height="100"></a><BR>
|
||||
|
||||
<br><a href="/about.html">About</a>
|
||||
<br><a href="/news.html">Latest News</a>
|
||||
<br><a href="/download.html">Download</a>
|
||||
<br><a href="http://sources.busybox.net/index.py/trunk/buildroot/">Browse Source</a>
|
||||
<br><a href="/subversion.html">Accessing Source</a>
|
||||
<br><a href="http://git.buildroot.net/buildroot">Browse Source</a>
|
||||
<br><a href="/git.html">Accessing Source</a>
|
||||
<br><a href="http://bugs.uclibc.org/">Bug Tracking</a>
|
||||
<br><a href="/docs.html">Documentation</a>
|
||||
<br><a href="/lists.html">Mailing Lists</a>
|
||||
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 11 KiB |
BIN
docs/images/logo.png
Normal file
BIN
docs/images/logo.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 126 KiB |
BIN
docs/images/logo.xcf
Normal file
BIN
docs/images/logo.xcf
Normal file
Binary file not shown.
BIN
docs/images/logo_small.png
Normal file
BIN
docs/images/logo_small.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 14 KiB |
BIN
docs/images/menuconfig.png
Normal file
BIN
docs/images/menuconfig.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 8.9 KiB |
BIN
docs/images/menuconfig_small.png
Normal file
BIN
docs/images/menuconfig_small.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 18 KiB |
@@ -1 +1 @@
|
||||
<!--#include file="news.html" -->
|
||||
<!--#include file="about.html" -->
|
||||
|
||||
@@ -8,7 +8,9 @@ development. You can subscribe by visiting
|
||||
<a href="http://lists.busybox.net/mailman/listinfo/buildroot">this page</a>.
|
||||
Only subscribers to the Buildroot mailing list are allowed to post
|
||||
to this list.
|
||||
|
||||
<p>
|
||||
The list is also available through <a
|
||||
href="http://gmane.org">Gmane</a> at <a href="http://dir.gmane.org/gmane.comp.lib.uclibc.buildroot">gmane.comp.lib.uclibc.buildroot</a>.
|
||||
<p>
|
||||
|
||||
<h3>Search the List Archives</h3>
|
||||
|
||||
123
docs/news.html
123
docs/news.html
@@ -1,7 +1,130 @@
|
||||
<!--#include file="header.html" -->
|
||||
|
||||
<h3>News</h3>
|
||||
|
||||
<p>
|
||||
|
||||
<ul>
|
||||
<li><b>27 May 2009 -- 2009.05-rc3 released</b>
|
||||
|
||||
<p>We had a number of fixes post-RC2, so RC3 is out (see <a
|
||||
href="http://git.buildroot.net/buildroot/plain/CHANGES?id=2009.05_rc3">CHANGES</a>
|
||||
for details). Now is the moment to test and verify that everything
|
||||
is working for your favorite config - Expect a final 2009.05 very soon.</p>
|
||||
|
||||
<p>Head to the <a href="/downloads/">downloads page</a> to pick up the
|
||||
<a href="/downloads/buildroot-2009.05-rc3.tar.bz2">2009.05-rc3
|
||||
release candidate</a>, and report any problems found to the <a
|
||||
href="lists.html">mailing list</a> or <a
|
||||
href="http://bugs.uclibc.org">bug tracker</a>.</p>
|
||||
|
||||
<li><b>19 May 2009 -- 2009.05-rc2 released</b>
|
||||
|
||||
<p>RC2 is out with more cleanups and bug fixes (see <a
|
||||
href="http://git.buildroot.net/buildroot/plain/CHANGES?id=2009.05_rc2">CHANGES</a>).
|
||||
Unless big issues are found, expect this to be the last release
|
||||
candidate before the release - So give it a good test.</p>
|
||||
|
||||
<p>Head to the <a href="/downloads/">downloads page</a> to pick up the
|
||||
<a href="/downloads/buildroot-2009.05-rc2.tar.bz2">2009.05-rc2
|
||||
release candidate</a>, and report any problems found to the <a
|
||||
href="lists.html">mailing list</a> or <a
|
||||
href="http://bugs.uclibc.org">bug tracker</a>.</p>
|
||||
|
||||
<li><b>14 May 2009 -- Buildroot.org</b>
|
||||
|
||||
<p>Earl Levine has been so kind to donate the <b>buildroot.org</b>
|
||||
domain to us, so the website can now also be reached at <a
|
||||
href="http://www.buildroot.org">www.buildroot.org</a> (and git at
|
||||
<a href="http://git.buildroot.org/buildroot">git.buildroot.org</a>).
|
||||
|
||||
Thanks a lot Earl!</p>
|
||||
|
||||
<li><b>5 May 2009 -- 2009.05-rc1 released</b>
|
||||
|
||||
<p>We have a new release candidate! Lots of changes all over the
|
||||
tree, see the <a
|
||||
href="http://git.buildroot.net/buildroot/plain/CHANGES?id=2009.05_rc1">CHANGES</a>
|
||||
file for details.
|
||||
|
||||
<p>Head to the <a href="/downloads/">downloads page</a> to pick up the
|
||||
<a href="/downloads/buildroot-2009.05-rc1.tar.bz2">2009.05-rc1
|
||||
release candidate</a>, and report any problems found to the <a
|
||||
href="lists.html">mailing list</a> or <a
|
||||
href="http://bugs.uclibc.org">bug tracker</a>.</p>
|
||||
|
||||
<li><b>3 May 2009 -- Moved to git</b>
|
||||
|
||||
<p>We've moved the source code from <a
|
||||
href="http://subversion.tigris.org">Subversion</a> to <a
|
||||
href="http://git-scm.org">Git</a>. You can browse the repo online
|
||||
<a href="http://git.buildroot.net/buildroot">here</a>, and clone
|
||||
the repo using:
|
||||
<pre>git clone git://git.buildroot.net/buildroot</pre>
|
||||
See the <a href="/git.html">Git Access</a> page for more details.
|
||||
</p>
|
||||
|
||||
<li><b>27 March 2009 -- new Logo</b>
|
||||
|
||||
<p>We have a <a href="images/logo.png">logo</a>! We have so far
|
||||
been using the <a href="http://busybox.net">Busybox</a> logo on
|
||||
the website, as the website was a copy of the <a
|
||||
href="http://busybox.net">Busybox</a> one - But not anymore, we
|
||||
now have a shiny new logo of our own.</p>
|
||||
|
||||
<li><b>12 February 2009 -- 2009.02 released</b>
|
||||
<p>The stable 2009.02 release is out - Thanks to everyone
|
||||
contributing and testing the release candidates. See the
|
||||
<a href="http://lists.busybox.net/pipermail/buildroot/2009-February/025974.html">announcement</a>
|
||||
for more details, and go to the <a href="/downloads/">downloads page</a>
|
||||
to pick up the <a href="/downloads/buildroot-2009.02.tar.bz2">2009.02
|
||||
release</a>.</p>
|
||||
|
||||
<li><b>9 February 2009 -- 2009.02-rc4 released</b>
|
||||
<p>We had more than 50 changes since RC3, several of them
|
||||
toolchain related, so decided to make a RC4 as well. This is
|
||||
very much expected to be the final release candidate, so give it
|
||||
a good test and expect a final 2009.02 release this week unless
|
||||
critical issues are found.</p>
|
||||
|
||||
<p>Head to the <a href="/downloads/">downloads page</a> to pick up the
|
||||
<a href="/downloads/buildroot-2009.02-rc4.tar.bz2">2009.02-rc4
|
||||
release candidate</a>, and report any problems found to the <a
|
||||
href="lists.html">mailing list</a> or <a
|
||||
href="http://bugs.uclibc.org">bug tracker</a>.</p>
|
||||
|
||||
<li><b>31 January 2009 -- 2009.02-rc3 released</b>
|
||||
<p>RC3 is out with more cleanups and bug fixes. Unless big issues
|
||||
are found, expect this to be the last release candidate before the
|
||||
release - So give it a good test.</p>
|
||||
|
||||
<p>Head to the <a href="/downloads/">downloads page</a> to pick up the
|
||||
<a href="/downloads/buildroot-2009.02-rc3.tar.bz2">2009.02-rc3
|
||||
release candidate</a>, and report any problems found to the <a
|
||||
href="lists.html">mailing list</a> or <a
|
||||
href="http://bugs.uclibc.org">bug tracker</a>.</p>
|
||||
|
||||
<li><b>23 January 2009 -- 2009.02-rc2 released</b>
|
||||
<p>Another week, another release candidate with a bunch of
|
||||
cleanups and build fixes.</p>
|
||||
|
||||
<p>Head to the <a href="/downloads/">downloads page</a> to pick up the
|
||||
<a href="/downloads/buildroot-2009.02-rc2.tar.bz2">2009.02-rc2
|
||||
release candidate</a>, and report any problems found to the <a
|
||||
href="lists.html">mailing list</a> or <a
|
||||
href="http://bugs.uclibc.org">bug tracker</a>.</p>
|
||||
|
||||
<li><b>16 January 2009 -- Release candidate and new maintainer</b>
|
||||
<p>It has been a long time coming, but we finally have a new
|
||||
release candidate! - And a new maintainer to match (Peter Korsgaard).</p>
|
||||
|
||||
<p>Head to the <a href="/downloads/">downloads page</a> to pick up the
|
||||
<a href="/downloads/buildroot-2009.02-rc1.tar.bz2">2009.02-rc1
|
||||
release candidate</a>, and report any problems found to the <a
|
||||
href="lists.html">mailing list</a> or <a
|
||||
href="http://bugs.uclibc.org">bug tracker</a>. The plan is to
|
||||
release 2009.02 in time for <a
|
||||
href="http://www.fosdem.org/2009/">FOSDEM</a>.</p>
|
||||
|
||||
<li><b>16 July 2006 -- Buildroot mailing list</b>
|
||||
<p>Buildroot now has its own <a href=lists.html>mailing list</a>.</p>
|
||||
|
||||
@@ -1,40 +0,0 @@
|
||||
<!--#include file="header.html" -->
|
||||
|
||||
|
||||
<h3>Anonymous Subversion Access</h3>
|
||||
|
||||
We allow anonymous (read-only) Subversion (svn) access to everyone. To
|
||||
grab a copy of the latest version of buildroot using anonymous svn access:
|
||||
|
||||
<pre>
|
||||
svn co svn://uclibc.org/trunk/buildroot</pre>
|
||||
|
||||
|
||||
<p>
|
||||
|
||||
If you are not already familiar with using Subversion, I recommend you visit <a
|
||||
href="http://subversion.tigris.org/">the Subversion website</a>. You might
|
||||
also want to read online or buy a copy of <a
|
||||
href="http://svnbook.red-bean.com/">the Subversion Book</a>. If you are
|
||||
already comfortable with using CVS, you may want to skip ahead to the <a
|
||||
href="http://svnbook.red-bean.com/en/1.1/apa.html">Subversion for CVS Users</a>
|
||||
part of the Subversion Book.
|
||||
|
||||
<p>
|
||||
|
||||
Once you've checked out a copy of the source tree, you can update your source
|
||||
tree at any time so it is in sync with the latest and greatest by entering your
|
||||
buildroot directory and running the command:
|
||||
|
||||
<pre>
|
||||
svn update</pre>
|
||||
|
||||
Because you've only been granted anonymous access to the tree, you won't be
|
||||
able to commit any changes. Changes can be submitted for inclusion by posting
|
||||
them to the buildroot mailing list or to the <a
|
||||
href="http://bugs.uclibc.org/">Bug and Patch Tracking System</a>.
|
||||
For those that are actively contributing <a
|
||||
href="developer.html">Subversion commit access</a> can be made available.
|
||||
|
||||
<!--#include file="footer.html" -->
|
||||
|
||||
@@ -43,7 +43,7 @@ source "package/libtool/Config.in"
|
||||
source "package/m4/Config.in"
|
||||
source "package/mpatrol/Config.in"
|
||||
source "package/oprofile/Config.in"
|
||||
source "package/pkgconfig/Config.in"
|
||||
source "package/pkg-config/Config.in"
|
||||
source "package/readline/Config.in"
|
||||
source "package/valgrind/Config.in"
|
||||
source "package/pcre/Config.in"
|
||||
@@ -86,7 +86,6 @@ source "package/logrotate/Config.in"
|
||||
source "package/lsof/Config.in"
|
||||
source "package/ltp-testsuite/Config.in"
|
||||
source "package/ltrace/Config.in"
|
||||
source "package/ltt/Config.in"
|
||||
source "package/memstat/Config.in"
|
||||
if !BR2_PACKAGE_BUSYBOX_HIDE_OTHERS
|
||||
source "package/module-init-tools/Config.in"
|
||||
@@ -101,6 +100,7 @@ if !BR2_PACKAGE_BUSYBOX_HIDE_OTHERS
|
||||
source "package/psmisc/Config.in"
|
||||
endif
|
||||
source "package/screen/Config.in"
|
||||
source "package/shared-mime-info/Config.in"
|
||||
source "package/startup-notification/Config.in"
|
||||
source "package/strace/Config.in"
|
||||
source "package/sudo/Config.in"
|
||||
@@ -156,6 +156,7 @@ source "package/libdnet/Config.in"
|
||||
source "package/libeXosip2/Config.in"
|
||||
source "package/libosip2/Config.in"
|
||||
source "package/libpcap/Config.in"
|
||||
source "package/libsoup/Config.in"
|
||||
source "package/libupnp/Config.in"
|
||||
if !BR2_PACKAGE_BUSYBOX_HIDE_OTHERS
|
||||
source "package/lighttpd/Config.in"
|
||||
@@ -163,7 +164,7 @@ endif
|
||||
source "package/links/Config.in"
|
||||
source "package/lrzsz/Config.in"
|
||||
source "package/mdnsresponder/Config.in"
|
||||
if !BR2_PACKAGE_BUSYBOX_HIDE_OTHERS || !BR2_PACKAGE_BUSYBOX_SNAPSHOT
|
||||
if !BR2_PACKAGE_BUSYBOX_HIDE_OTHERS
|
||||
source "package/microcom/Config.in"
|
||||
endif
|
||||
source "package/mii-diag/Config.in"
|
||||
@@ -189,6 +190,7 @@ source "package/openvpn/Config.in"
|
||||
source "package/openswan/Config.in"
|
||||
source "package/portmap/Config.in"
|
||||
source "package/pppd/Config.in"
|
||||
source "package/radvd/Config.in"
|
||||
source "package/rp-pppoe/Config.in"
|
||||
source "package/pptp-linux/Config.in"
|
||||
source "package/proftpd/Config.in"
|
||||
@@ -218,6 +220,7 @@ if !BR2_PACKAGE_BUSYBOX_HIDE_OTHERS
|
||||
source "package/wget/Config.in"
|
||||
endif
|
||||
source "package/wireless-tools/Config.in"
|
||||
source "package/wpa_supplicant/Config.in"
|
||||
|
||||
endmenu
|
||||
|
||||
@@ -225,6 +228,7 @@ menu "Hardware handling / blockdevices and filesystem maintenance"
|
||||
source "package/acpid/Config.in"
|
||||
source "package/dbus/Config.in"
|
||||
source "package/dbus-glib/Config.in"
|
||||
source "package/dbus-python/Config.in"
|
||||
source "package/devmem2/Config.in"
|
||||
source "package/dm/Config.in"
|
||||
source "package/dmraid/Config.in"
|
||||
@@ -255,7 +259,6 @@ source "package/mtd/Config.in"
|
||||
source "package/ntfs-3g/Config.in"
|
||||
source "package/pciutils/Config.in"
|
||||
source "package/pcmcia/Config.in"
|
||||
source "package/raidtools2/Config.in"
|
||||
source "package/setserial/Config.in"
|
||||
if !BR2_PACKAGE_BUSYBOX_HIDE_OTHERS
|
||||
# busybox has fdisk
|
||||
@@ -310,7 +313,6 @@ source "package/fbv/Config.in"
|
||||
source "package/fbset/Config.in"
|
||||
|
||||
comment "other GUIs"
|
||||
source "package/qte/Config.in"
|
||||
source "package/qtopia4/Config.in"
|
||||
|
||||
#source "package/microwin/Config.in"
|
||||
@@ -326,16 +328,17 @@ config BR2_PACKAGE_XSERVER_none
|
||||
bool "none"
|
||||
config BR2_PACKAGE_XSERVER_xorg
|
||||
bool "modular xorg"
|
||||
depends on BR2_USE_WCHAR # && BR2_ENABLE_LOCALE
|
||||
depends on BR2_USE_WCHAR && BR2_LARGEFILE && BR2_INSTALL_LIBSTDCPP # && BR2_ENABLE_LOCALE
|
||||
# depending on BR2_ENABLE_LOCALE gives a recursion error with dbus
|
||||
comment "xorg requires a toolchain with LOCALE and WCHAR support"
|
||||
depends on !(BR2_USE_WCHAR && BR2_ENABLE_LOCALE)
|
||||
config BR2_PACKAGE_XSERVER_tinyx
|
||||
bool "tinyx"
|
||||
depends on BR2_USE_WCHAR
|
||||
endchoice
|
||||
|
||||
comment "xorg requires a toolchain with C++, LOCALE, LARGEFILE and WCHAR support"
|
||||
depends on !(BR2_USE_WCHAR && BR2_LARGEFILE && BR2_INSTALL_LIBSTDCPP && BR2_ENABLE_LOCALE)
|
||||
comment "tinyx requires a toolchain with WCHAR support"
|
||||
depends on !BR2_USE_WCHAR
|
||||
endchoice
|
||||
|
||||
config BR2_X11_PREFIX
|
||||
string
|
||||
@@ -381,6 +384,7 @@ source "package/dillo/Config.in"
|
||||
source "package/docker/Config.in"
|
||||
source "package/gqview/Config.in"
|
||||
source "package/gmpc/Config.in"
|
||||
source "package/gob2/Config.in"
|
||||
source "package/gtkperf/Config.in"
|
||||
source "package/leafpad/Config.in"
|
||||
source "package/midori/Config.in"
|
||||
@@ -402,6 +406,7 @@ if !BR2_PACKAGE_BUSYBOX_HIDE_OTHERS
|
||||
source "package/gzip/Config.in"
|
||||
endif
|
||||
source "package/lzo/Config.in"
|
||||
source "package/lzop/Config.in"
|
||||
source "package/lzma/Config.in"
|
||||
source "package/zlib/Config.in"
|
||||
endmenu
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
# | FOO_VERSION = 1.0
|
||||
# | FOO_SOURCE = foo-$(FOO_VERSION).tar.gz
|
||||
# | FOO_SITE = http://www.libfoo.org/dist
|
||||
# | $(eval $(call AUTOTARGETS,foo))
|
||||
# | $(eval $(call AUTOTARGETS,package,foo))
|
||||
#
|
||||
## The following targets can be called from the shell:
|
||||
#
|
||||
@@ -38,6 +38,8 @@
|
||||
# environment passed to the <configure> script
|
||||
# FOO_CONF_OPT [default empty]
|
||||
# arguments passed to the <configure> script
|
||||
# FOO_MAKE [default $(MAKE)]
|
||||
# command to use to execute <make>
|
||||
# FOO_MAKE_ENV [default empty]
|
||||
# environment passed to all calls to <make> in the package source
|
||||
# directory
|
||||
@@ -248,19 +250,22 @@ $(BUILD_DIR)/%/.stamp_configured:
|
||||
--prefix=/usr \
|
||||
--exec-prefix=/usr \
|
||||
--sysconfdir=/etc \
|
||||
$(DISABLE_DOCUMENTATION) \
|
||||
$(DISABLE_NLS) \
|
||||
$(DISABLE_LARGEFILE) \
|
||||
$(QUIET) $($(PKG)_CONF_OPT)
|
||||
$(Q)touch $@
|
||||
|
||||
# Build
|
||||
$(BUILD_DIR)/%/.stamp_built:
|
||||
$(call MESSAGE,"Building")
|
||||
$($(PKG)_MAKE_ENV) $(MAKE) $($(PKG)_MAKE_OPT) -C $(@D)/$($(PKG)_SUBDIR)
|
||||
PATH=$(TARGET_PATH) $($(PKG)_MAKE_ENV) $($(PKG)_MAKE) $($(PKG)_MAKE_OPT) -C $(@D)/$($(PKG)_SUBDIR)
|
||||
$(Q)touch $@
|
||||
|
||||
# Install to staging dir
|
||||
$(BUILD_DIR)/%/.stamp_staging_installed:
|
||||
$(call MESSAGE,'Installing to host (staging directory)')
|
||||
$($(PKG)_MAKE_ENV) $(MAKE) $($(PKG)_INSTALL_STAGING_OPT) -C $(@D)/$($(PKG)_SUBDIR)
|
||||
$($(PKG)_MAKE_ENV) $($(PKG)_MAKE) $($(PKG)_INSTALL_STAGING_OPT) -C $(@D)/$($(PKG)_SUBDIR)
|
||||
# toolchain/replace.sh $(STAGING_DIR)/usr/lib ".*\.la" "\(['= ]\)/usr" "\\1$(STAGING_DIR)/usr"
|
||||
for i in $$(find $(STAGING_DIR)/usr/lib/ -name "*.la"); do \
|
||||
cp $$i $$i~; \
|
||||
@@ -271,7 +276,7 @@ $(BUILD_DIR)/%/.stamp_staging_installed:
|
||||
# Install to target dir
|
||||
$(PROJECT_BUILD_DIR)/autotools-stamps/%_target_installed:
|
||||
$(call MESSAGE,"Installing to target")
|
||||
$($(PKG)_MAKE_ENV) $(MAKE) $($(PKG)_INSTALL_TARGET_OPT) -C $($(PKG)_DIR)/$($(PKG)_SUBDIR)
|
||||
$($(PKG)_MAKE_ENV) $($(PKG)_MAKE) $($(PKG)_INSTALL_TARGET_OPT) -C $($(PKG)_DIR)/$($(PKG)_SUBDIR)
|
||||
$(if $(BR2_HAVE_MANPAGES),,for d in man share/man; do \
|
||||
rm -rf $(TARGET_DIR)/$$d $(TARGET_DIR)/usr/$$d; \
|
||||
done)
|
||||
@@ -285,14 +290,14 @@ $(PROJECT_BUILD_DIR)/autotools-stamps/%_target_installed:
|
||||
|
||||
$(BUILD_DIR)/%/.stamp_cleaned:
|
||||
$(call MESSAGE,"Cleaning up")
|
||||
-$($(PKG)_MAKE_ENV) $(MAKE) $($(PKG)_CLEAN_OPT) -C $(@D)/$($(PKG)_SUBDIR)
|
||||
-$($(PKG)_MAKE_ENV) $($(PKG)_MAKE) $($(PKG)_CLEAN_OPT) -C $(@D)/$($(PKG)_SUBDIR)
|
||||
rm -f $(@D)/.stamp_built
|
||||
|
||||
$(BUILD_DIR)/%/.stamp_uninstalled:
|
||||
$(call MESSAGE,"Uninstalling")
|
||||
$($(PKG)_MAKE_ENV) $(MAKE) $($(PKG)_UNINSTALL_STAGING_OPT) -C $(@D)/$($(PKG)_SUBDIR)
|
||||
$($(PKG)_MAKE_ENV) $($(PKG)_MAKE) $($(PKG)_UNINSTALL_STAGING_OPT) -C $(@D)/$($(PKG)_SUBDIR)
|
||||
rm -f $(@D)/.stamp_staging_installed
|
||||
$($(PKG)_MAKE_ENV) $(MAKE) $($(PKG)_UNINSTALL_TARGET_OPT) -C $(@D)/$($(PKG)_SUBDIR)
|
||||
$($(PKG)_MAKE_ENV) $($(PKG)_MAKE) $($(PKG)_UNINSTALL_TARGET_OPT) -C $(@D)/$($(PKG)_SUBDIR)
|
||||
rm -f $($(PKG)_TARGET_INSTALL_TARGET) $($(PKG)_HOOK_POST_INSTALL)
|
||||
|
||||
$(BUILD_DIR)/%/.stamp_dircleaned:
|
||||
@@ -328,6 +333,7 @@ $(2)_LIBTOOL_PATCH ?= YES
|
||||
$(2)_USE_CONFIG_CACHE ?= $(if $(BR2_CONFIG_CACHE),YES,NO)
|
||||
$(2)_CONF_ENV ?=
|
||||
$(2)_CONF_OPT ?=
|
||||
$(2)_MAKE ?= $(MAKE)
|
||||
$(2)_MAKE_ENV ?=
|
||||
$(2)_MAKE_OPT ?=
|
||||
$(2)_INSTALL_STAGING ?= NO
|
||||
|
||||
@@ -10,19 +10,19 @@ MAKE1:=$(HOSTMAKE) -j1
|
||||
MAKE:=$(HOSTMAKE) -j$(BR2_JLEVEL)
|
||||
|
||||
ifeq ($(BR2_OPTIMIZE_0),y)
|
||||
TARGET_OPTIMIZATION=-O0
|
||||
TARGET_OPTIMIZATION+=-O0
|
||||
endif
|
||||
ifeq ($(BR2_OPTIMIZE_1),y)
|
||||
TARGET_OPTIMIZATION=-O1
|
||||
TARGET_OPTIMIZATION+=-O1
|
||||
endif
|
||||
ifeq ($(BR2_OPTIMIZE_2),y)
|
||||
TARGET_OPTIMIZATION=-O2
|
||||
TARGET_OPTIMIZATION+=-O2
|
||||
endif
|
||||
ifeq ($(BR2_OPTIMIZE_3),y)
|
||||
TARGET_OPTIMIZATION=-O3
|
||||
TARGET_OPTIMIZATION+=-O3
|
||||
endif
|
||||
ifeq ($(BR2_OPTIMIZE_S),y)
|
||||
TARGET_OPTIMIZATION=-Os
|
||||
TARGET_OPTIMIZATION+=-Os
|
||||
endif
|
||||
ifeq ($(BR2_DEBUG_1),y)
|
||||
TARGET_DEBUGGING=-g1
|
||||
@@ -71,6 +71,10 @@ ifeq ($(BR2_SOFT_FLOAT),y)
|
||||
TARGET_CFLAGS+=-msoft-float
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_VFP_FLOAT),y)
|
||||
TARGET_CFLAGS+=-mfpu=vfp
|
||||
endif
|
||||
|
||||
# enable VIS for v9a and v9b
|
||||
ifeq ($(findstring y,$(BR2_sparc_v9a)$(BR2_sparc64_v9a)$(BR2_sparc_v9b)$(BR2_sparc64_v9b)),y)
|
||||
TARGET_CFLAGS+=-mvis
|
||||
@@ -89,9 +93,9 @@ TARGET_CXXFLAGS=$(TARGET_CFLAGS)
|
||||
# else it's an external toolchain
|
||||
#########################################################################
|
||||
else
|
||||
TARGET_CFLAGS=$(TARGET_OPTIMIZATION) $(TARGET_DEBUGGING) -I$(STAGING_DIR)/include -I$(STAGING_DIR)/usr/include -I$(TOOLCHAIN_EXTERNAL_PATH)/$(TOOLCHAIN_EXTERNAL_PREFIX)/include --sysroot $(STAGING_DIR)/
|
||||
TARGET_CFLAGS=$(TARGET_OPTIMIZATION) $(TARGET_DEBUGGING) --sysroot $(STAGING_DIR)/
|
||||
TARGET_CXXFLAGS=$(TARGET_CFLAGS)
|
||||
TARGET_LDFLAGS=-L$(STAGING_DIR)/lib -L$(STAGING_DIR)/usr/lib
|
||||
TARGET_LDFLAGS=--sysroot $(STAGING_DIR)/
|
||||
endif
|
||||
#########################################################################
|
||||
#ifeq ($(BR2_ROOTFS_SUFFIX),)
|
||||
@@ -113,7 +117,7 @@ ifeq ($(BR2_TOOLCHAIN_SOURCE),y)
|
||||
TOOL_BUILD_DIR=$(BASE_DIR)/$(TOPDIR_PREFIX)toolchain_build_$(ARCH)$(COND_ARCH_FPU_SUFFIX)$(TOPDIR_SUFFIX)
|
||||
|
||||
# Quotes are needed for spaces et al in path components.
|
||||
TARGET_PATH="$(TOOL_BUILD_DIR)/bin:$(STAGING_DIR)/bin:$(STAGING_DIR)/usr/bin:$(PATH)"
|
||||
TARGET_PATH="$(TOOL_BUILD_DIR)/bin:$(HOST_DIR)/bin:$(HOST_DIR)/usr/bin:$(STAGING_DIR)/bin:$(STAGING_DIR)/usr/bin:$(PATH)"
|
||||
IMAGE:=$(BINARIES_DIR)/$(BR2_ROOTFS_PREFIX).$(ARCH)$(COND_ARCH_FPU_SUFFIX)$(ROOTFS_SUFFIX)
|
||||
GNU_TARGET_NAME=$(OPTIMIZE_FOR_CPU)-linux
|
||||
REAL_GNU_TARGET_NAME=$(OPTIMIZE_FOR_CPU)$(GNU_TARGET_SUFFIX)
|
||||
@@ -181,6 +185,15 @@ INSTALL=/usr/bin/install
|
||||
FLEX:=$(shell which flex || type -p flex)
|
||||
BISON:=$(shell which bison || type -p bison)
|
||||
|
||||
HOST_CFLAGS += -I$(HOST_DIR)/include -I$(HOST_DIR)/usr/include
|
||||
HOST_CXXFLAGS += -I$(HOST_DIR)/include -I$(HOST_DIR)/usr/include
|
||||
HOST_LDFLAGS += -L$(HOST_DIR)/lib -L$(HOST_DIR)/usr/lib
|
||||
HOST_PATH=$(HOST_DIR)/bin:$(HOST_DIR)/usr/bin:$(PATH)
|
||||
|
||||
# hostcc version as an integer - E.G. 4.3.2 => 432
|
||||
HOSTCC_VERSION:=$(shell $(HOSTCC) --version | \
|
||||
sed -n 's/^.* \([0-9]*\)\.\([0-9]*\)\.\([0-9]*\)[ ]*.*$$/\1\2\3/p')
|
||||
|
||||
HOST_ARCH:=$(shell $(HOSTCC) -dumpmachine | sed -e s'/-.*//' \
|
||||
-e 's/sparc.*/sparc/' \
|
||||
-e 's/arm.*/arm/g' \
|
||||
@@ -238,8 +251,8 @@ TARGET_CONFIGURE_OPTS=PATH=$(TARGET_PATH) \
|
||||
DEFAULT_ASSEMBLER="$(TARGET_AS)" \
|
||||
DEFAULT_LINKER="$(TARGET_LD)" \
|
||||
PKG_CONFIG_SYSROOT_DIR="$(STAGING_DIR)" \
|
||||
PKG_CONFIG="$(STAGING_DIR)/usr/bin/pkg-config" \
|
||||
PKG_CONFIG_PATH="$(STAGING_DIR)/usr/lib/pkgconfig:$(PKG_CONFIG_PATH)" \
|
||||
PKG_CONFIG="$(PKG_CONFIG_HOST_BINARY)" \
|
||||
PKG_CONFIG_PATH="$(STAGING_DIR)/usr/lib/pkgconfig$(PKG_CONFIG_PATH)" \
|
||||
STAGING_DIR="$(STAGING_DIR)"
|
||||
|
||||
TARGET_CONFIGURE_ENV=\
|
||||
@@ -248,7 +261,7 @@ TARGET_CONFIGURE_ENV=\
|
||||
LDFLAGS="$(TARGET_LDFLAGS)" \
|
||||
FCFLAGS="$(TARGET_FCFLAGS)" \
|
||||
|
||||
HOST_CONFIGURE_OPTS=PATH=$(TARGET_PATH) \
|
||||
HOST_CONFIGURE_OPTS=PATH=$(HOST_PATH) \
|
||||
AR="$(HOSTAR)" \
|
||||
AS="$(HOSTAS)" \
|
||||
LD="$(HOSTLD) $(HOST_LDFLAGS)" \
|
||||
@@ -282,7 +295,11 @@ HOST_CONFIGURE_OPTS=PATH=$(TARGET_PATH) \
|
||||
ORIGINAL_AS_FOR_TARGET="$(TARGET_AS)" \
|
||||
ORIGINAL_LD_FOR_TARGET="$(TARGET_LD)" \
|
||||
ORIGINAL_NM_FOR_TARGET="$(TARGET_NM)" \
|
||||
ORIGINAL_OBJDUMP_FOR_TARGET="$(TARGET_OBJDUMP)"
|
||||
ORIGINAL_OBJDUMP_FOR_TARGET="$(TARGET_OBJDUMP)" \
|
||||
PKG_CONFIG="$(PKG_CONFIG_HOST_BINARY)" \
|
||||
PKG_CONFIG_PATH="$(HOST_DIR)/usr/lib/pkgconfig$(PKG_CONFIG_PATH)"
|
||||
|
||||
HOST_MAKE_ENV=PATH=$(HOST_PATH)
|
||||
|
||||
#######################################################################
|
||||
# settings we need to pass to configure
|
||||
@@ -345,12 +362,16 @@ ifneq ($(BR2_LARGEFILE),y)
|
||||
DISABLE_LARGEFILE= --disable-largefile
|
||||
endif
|
||||
|
||||
ifneq ($(BR2_HAVE_DOCUMENTATION),y)
|
||||
DISABLE_DOCUMENTATION=--without-html-dir --disable-gtk-doc
|
||||
endif
|
||||
|
||||
ifneq ($(BR2_INET_IPV6),y)
|
||||
DISABLE_IPV6= --disable-ipv6
|
||||
endif
|
||||
|
||||
ifneq ($(BR2_GCC_CROSS_CXX),y)
|
||||
TARGET_CONFIGURE_OPTS+=CXX=""
|
||||
TARGET_CONFIGURE_OPTS+=CXX=false
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_ENABLE_DEBUG),y)
|
||||
|
||||
@@ -1,11 +0,0 @@
|
||||
--- acpid-1.0.4/ud_socket.c
|
||||
+++ acpid-1.0.4/ud_socket.c
|
||||
@@ -58,7 +58,7 @@ ud_accept(int listenfd, struct ucred *cr
|
||||
while (1) {
|
||||
int newsock = 0;
|
||||
struct sockaddr_un cliaddr;
|
||||
- int len = sizeof(struct sockaddr_un);
|
||||
+ socklen_t len = sizeof(struct sockaddr_un);
|
||||
|
||||
newsock = accept(listenfd, (struct sockaddr *)&cliaddr, &len);
|
||||
if (newsock < 0) {
|
||||
@@ -1,11 +0,0 @@
|
||||
--- acpid-1.0.4/acpid.h
|
||||
+++ acpid-1.0.4/acpid.h
|
||||
@@ -32,7 +32,7 @@
|
||||
#define ACPI_EVENTFILE ACPI_PROCDIR "/event"
|
||||
#define ACPI_CONFDIR "/etc/acpi/events"
|
||||
#define ACPI_LOGFILE "/var/log/acpid"
|
||||
-#define ACPI_SOCKETFILE "/var/run/acpid.socket"
|
||||
+#define ACPI_SOCKETFILE "/tmp/acpid.socket"
|
||||
#define ACPI_SOCKETMODE 0666
|
||||
#define ACPI_MAX_ERRS 5
|
||||
|
||||
@@ -1,3 +1,6 @@
|
||||
comment "argus has no inherent support for AVR32"
|
||||
depends on BR2_avr32 && BR2_PACKAGE_ARGUS
|
||||
|
||||
config BR2_PACKAGE_ARGUS
|
||||
bool "argus"
|
||||
select BR2_PACKAGE_LIBPCAP
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
config BR2_PACKAGE_ATK
|
||||
bool "atk"
|
||||
select BR2_PACKAGE_PKGCONFIG
|
||||
select BR2_PACKAGE_LIBGLIB2
|
||||
help
|
||||
The ATK accessibility toolkit, needed to build GTK+-2.x.
|
||||
|
||||
@@ -38,24 +38,67 @@ ATK_CONF_ENV = ac_cv_func_posix_getpwuid_r=yes \
|
||||
am_cv_func_working_getline=yes gl_cv_func_mkdir_trailing_slash_bug=no \
|
||||
gl_cv_func_mkstemp_limitations=no ac_cv_func_working_mktime=yes \
|
||||
jm_cv_func_working_re_compile_pattern=yes ac_use_included_regex=no \
|
||||
gl_cv_c_restrict=no ac_cv_path_GLIB_GENMARSHAL=$(HOST_GLIB)/bin/glib-genmarshal \
|
||||
ac_cv_prog_F77=no
|
||||
|
||||
ifneq ($(BR2_PACKAGE_XSERVER_none),y)
|
||||
ATK_CONF_OPT_X = --with-x \
|
||||
--x-includes=$(STAGING_DIR)/usr/include/X11 \
|
||||
--x-libraries=$(STAGING_DIR)/usr/lib --disable-glibtest
|
||||
else
|
||||
ATK_CONF_OPT_X = --without-x
|
||||
endif
|
||||
gl_cv_c_restrict=no ac_cv_prog_F77=no
|
||||
|
||||
ATK_CONF_OPT = --enable-shared \
|
||||
--enable-static $(ATK_CONF_OPT_X) \
|
||||
--enable-static
|
||||
--disable-glibtest --enable-explicit-deps=no \
|
||||
--disable-debug
|
||||
|
||||
ATK_MAKE_OPT = GLIB_GENMARSHAL=$(HOST_GLIB)/bin/glib-genmarshal GLIB_MKENUMS=$(HOST_GLIB)/bin/glib-mkenums
|
||||
ifneq ($(BR2_PACKAGE_XSERVER_none),y)
|
||||
ATK_CONF_OPT += --with-x \
|
||||
--x-includes=$(STAGING_DIR)/usr/include/X11 \
|
||||
--x-libraries=$(STAGING_DIR)/usr/lib --disable-glibtest
|
||||
else
|
||||
ATK_CONF_OPT += --without-x
|
||||
endif
|
||||
|
||||
ATK_DEPENDENCIES = libglib2 pkgconfig
|
||||
ATK_DEPENDENCIES = libglib2 host-pkgconfig
|
||||
|
||||
$(eval $(call AUTOTARGETS,package,atk))
|
||||
|
||||
# atk for the host
|
||||
ATK_HOST_DIR:=$(BUILD_DIR)/atk-$(ATK_VERSION)-host
|
||||
|
||||
$(DL_DIR)/$(ATK_SOURCE):
|
||||
$(call DOWNLOAD,$(ATK_SITE),$(ATK_SOURCE))
|
||||
|
||||
$(STAMP_DIR)/host_atk_unpacked: $(DL_DIR)/$(ATK_SOURCE)
|
||||
mkdir -p $(ATK_HOST_DIR)
|
||||
$(INFLATE$(suffix $(ATK_SOURCE))) $< | \
|
||||
$(TAR) $(TAR_STRIP_COMPONENTS)=1 -C $(ATK_HOST_DIR) $(TAR_OPTIONS) -
|
||||
touch $@
|
||||
|
||||
$(STAMP_DIR)/host_atk_configured: $(STAMP_DIR)/host_atk_unpacked $(STAMP_DIR)/host_libglib2_installed $(STAMP_DIR)/host_pkgconfig_installed
|
||||
(cd $(ATK_HOST_DIR); rm -rf config.cache; \
|
||||
$(HOST_CONFIGURE_OPTS) \
|
||||
CFLAGS="$(HOST_CFLAGS)" \
|
||||
LDFLAGS="$(HOST_LDFLAGS)" \
|
||||
./configure \
|
||||
--prefix="$(HOST_DIR)/usr" \
|
||||
--sysconfdir="$(HOST_DIR)/etc" \
|
||||
--enable-shared \
|
||||
--disable-static \
|
||||
--disable-glibtest \
|
||||
)
|
||||
touch $@
|
||||
|
||||
$(STAMP_DIR)/host_atk_compiled: $(STAMP_DIR)/host_atk_configured
|
||||
$(HOST_MAKE_ENV) $(MAKE) -C $(ATK_HOST_DIR)
|
||||
touch $@
|
||||
|
||||
$(STAMP_DIR)/host_atk_installed: $(STAMP_DIR)/host_atk_compiled
|
||||
$(HOST_MAKE_ENV) $(MAKE) -C $(ATK_HOST_DIR) install
|
||||
touch $@
|
||||
|
||||
host-atk: $(STAMP_DIR)/host_atk_installed
|
||||
|
||||
host-atk-source: atk-source
|
||||
|
||||
host-atk-clean:
|
||||
rm -f $(addprefix $(STAMP_DIR)/host_atk_,unpacked configured compiled installed)
|
||||
-$(MAKE) -C $(ATK_HOST_DIR) uninstall
|
||||
-$(MAKE) -C $(ATK_HOST_DIR) clean
|
||||
|
||||
host-atk-dirclean:
|
||||
rm -rf $(ATK_HOST_DIR)
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
config BR2_PACKAGE_AUTOCONF
|
||||
bool "autoconf"
|
||||
select BR2_PACKAGE_MICROPERL
|
||||
help
|
||||
Extensible program for developing configure scripts. These
|
||||
scripts handle all the mundane system/feature detection.
|
||||
|
||||
@@ -3,136 +3,63 @@
|
||||
# autoconf
|
||||
#
|
||||
#############################################################
|
||||
AUTOCONF_VERSION:=2.61
|
||||
AUTOCONF_SOURCE:=autoconf-$(AUTOCONF_VERSION).tar.bz2
|
||||
AUTOCONF_SITE:=$(BR2_GNU_MIRROR)/autoconf
|
||||
AUTOCONF_CAT:=$(BZCAT)
|
||||
AUTOCONF_SRC_DIR:=$(TOOL_BUILD_DIR)/autoconf-$(AUTOCONF_VERSION)
|
||||
AUTOCONF_DIR:=$(BUILD_DIR)/autoconf-$(AUTOCONF_VERSION)
|
||||
AUTOCONF_HOST_DIR:=$(TOOL_BUILD_DIR)/autoconf-$(AUTOCONF_VERSION)-host
|
||||
AUTOCONF_BINARY:=autoconf
|
||||
AUTOCONF_TARGET_BINARY:=usr/bin/autoconf
|
||||
AUTOCONF:=$(STAGING_DIR)/usr/bin/autoconf
|
||||
AUTOCONF_VERSION = 2.63
|
||||
AUTOCONF_SOURCE = autoconf-$(AUTOCONF_VERSION).tar.bz2
|
||||
AUTOCONF_SITE = $(BR2_GNU_MIRROR)/autoconf
|
||||
|
||||
ifeq ($(BR2_ENABLE_DEBUG),y) # install-exec doesn't install aclocal stuff
|
||||
AUTOCONF_INSTALL_TARGET_OPT = DESTDIR=$(TARGET_DIR) install
|
||||
endif
|
||||
|
||||
AUTOCONF_CONF_ENV = EMACS="no"
|
||||
|
||||
AUTOCONF_DEPENDENCIES = uclibc microperl
|
||||
|
||||
$(eval $(call AUTOTARGETS,package,autoconf))
|
||||
|
||||
# autoconf for the host
|
||||
AUTOCONF_HOST_DIR:=$(BUILD_DIR)/autoconf-$(AUTOCONF_VERSION)-host
|
||||
|
||||
# variables used by other packages
|
||||
AUTORECONF=$(HOST_CONFIGURE_OPTS) ACLOCAL="$(ACLOCAL)" autoreconf -v -f -i -I "$(ACLOCAL_DIR)"
|
||||
AUTOCONF:=$(HOST_DIR)/usr/bin/autoconf
|
||||
AUTORECONF=$(HOST_CONFIGURE_OPTS) ACLOCAL="$(ACLOCAL)" $(HOST_DIR)/usr/bin/autoreconf -v -f -i -I "$(ACLOCAL_DIR)"
|
||||
|
||||
$(DL_DIR)/$(AUTOCONF_SOURCE):
|
||||
$(call DOWNLOAD,$(AUTOCONF_SITE),$(AUTOCONF_SOURCE))
|
||||
$(call DOWNLOAD,$(AUTOCONF_SITE),$(AUTOCONF_SOURCE))
|
||||
|
||||
autoconf-source: $(DL_DIR)/$(AUTOCONF_SOURCE)
|
||||
|
||||
$(AUTOCONF_SRC_DIR)/.unpacked: $(DL_DIR)/$(AUTOCONF_SOURCE)
|
||||
$(AUTOCONF_CAT) $(DL_DIR)/$(AUTOCONF_SOURCE) | tar -C $(TOOL_BUILD_DIR) $(TAR_OPTIONS) -
|
||||
$(CONFIG_UPDATE) $(AUTOCONF_SRC_DIR)
|
||||
touch $@
|
||||
|
||||
#############################################################
|
||||
#
|
||||
# autoconf for the target
|
||||
#
|
||||
#############################################################
|
||||
|
||||
$(AUTOCONF_DIR)/.configured: $(AUTOCONF_SRC_DIR)/.unpacked
|
||||
mkdir -p $(AUTOCONF_DIR)
|
||||
(cd $(AUTOCONF_DIR); rm -rf config.cache; \
|
||||
$(TARGET_CONFIGURE_OPTS) \
|
||||
$(TARGET_CONFIGURE_ARGS) \
|
||||
EMACS="no" \
|
||||
$(AUTOCONF_SRC_DIR)/configure \
|
||||
--target=$(GNU_TARGET_NAME) \
|
||||
--host=$(GNU_TARGET_NAME) \
|
||||
--build=$(GNU_HOST_NAME) \
|
||||
--prefix=/usr \
|
||||
--exec-prefix=/usr \
|
||||
--bindir=/usr/bin \
|
||||
--sbindir=/usr/sbin \
|
||||
--libdir=/lib \
|
||||
--libexecdir=/usr/lib \
|
||||
--sysconfdir=/etc \
|
||||
--datadir=/usr/share \
|
||||
--localstatedir=/var \
|
||||
--mandir=/usr/share/man \
|
||||
--infodir=/usr/share/info \
|
||||
)
|
||||
touch $@
|
||||
|
||||
$(AUTOCONF_DIR)/bin/$(AUTOCONF_BINARY): $(AUTOCONF_DIR)/.configured
|
||||
$(MAKE1) -C $(AUTOCONF_DIR)
|
||||
|
||||
$(TARGET_DIR)/$(AUTOCONF_TARGET_BINARY): $(AUTOCONF_DIR)/bin/$(AUTOCONF_BINARY)
|
||||
$(MAKE) \
|
||||
prefix=$(TARGET_DIR)/usr \
|
||||
exec_prefix=$(TARGET_DIR)/usr \
|
||||
bindir=$(TARGET_DIR)/usr/bin \
|
||||
sbindir=$(TARGET_DIR)/usr/sbin \
|
||||
libexecdir=$(TARGET_DIR)/usr/lib \
|
||||
datadir=$(TARGET_DIR)/usr/share \
|
||||
sysconfdir=$(TARGET_DIR)/etc \
|
||||
localstatedir=$(TARGET_DIR)/var \
|
||||
libdir=$(TARGET_DIR)/usr/lib \
|
||||
infodir=$(TARGET_DIR)/usr/share/info \
|
||||
mandir=$(TARGET_DIR)/usr/share/man \
|
||||
includedir=$(TARGET_DIR)/usr/include \
|
||||
-C $(AUTOCONF_DIR) install
|
||||
ifneq ($(BR2_HAVE_INFOPAGES),y)
|
||||
rm -rf $(TARGET_DIR)/usr/share/info
|
||||
endif
|
||||
ifneq ($(BR2_HAVE_MANPAGES),y)
|
||||
rm -rf $(TARGET_DIR)/usr/share/man
|
||||
endif
|
||||
rm -rf $(TARGET_DIR)/share/locale
|
||||
rm -rf $(TARGET_DIR)/usr/share/doc
|
||||
touch -c $@
|
||||
|
||||
autoconf: uclibc $(TARGET_DIR)/$(AUTOCONF_TARGET_BINARY)
|
||||
|
||||
autoconf-clean:
|
||||
$(MAKE) DESTDIR=$(TARGET_DIR) CC=$(TARGET_CC) -C $(AUTOCONF_DIR) uninstall
|
||||
-$(MAKE) -C $(AUTOCONF_DIR) clean
|
||||
|
||||
autoconf-dirclean:
|
||||
rm -rf $(AUTOCONF_DIR)
|
||||
|
||||
#############################################################
|
||||
#
|
||||
# autoconf for the host
|
||||
#
|
||||
#############################################################
|
||||
|
||||
$(AUTOCONF_HOST_DIR)/.configured: $(AUTOCONF_SRC_DIR)/.unpacked
|
||||
$(STAMP_DIR)/host_autoconf_unpacked: $(DL_DIR)/$(AUTOCONF_SOURCE)
|
||||
mkdir -p $(AUTOCONF_HOST_DIR)
|
||||
$(INFLATE$(suffix $(AUTOCONF_SOURCE))) $< | \
|
||||
$(TAR) $(TAR_STRIP_COMPONENTS)=1 -C $(AUTOCONF_HOST_DIR) $(TAR_OPTIONS) -
|
||||
toolchain/patch-kernel.sh $(AUTOCONF_HOST_DIR) package/autoconf/ \*.patch
|
||||
touch $@
|
||||
|
||||
$(STAMP_DIR)/host_autoconf_configured: $(STAMP_DIR)/host_autoconf_unpacked $(STAMP_DIR)/host_m4_installed $(STAMP_DIR)/host_libtool_installed
|
||||
(cd $(AUTOCONF_HOST_DIR); rm -rf config.cache; \
|
||||
$(HOST_CONFIGURE_OPTS) \
|
||||
CFLAGS="$(HOST_CFLAGS)" \
|
||||
LDFLAGS="$(HOST_LDFLAGS)" \
|
||||
EMACS="no" \
|
||||
$(AUTOCONF_SRC_DIR)/configure \
|
||||
--prefix=$(STAGING_DIR)/usr \
|
||||
./configure \
|
||||
--prefix="$(HOST_DIR)/usr" \
|
||||
--sysconfdir="$(HOST_DIR)/etc" \
|
||||
--disable-static \
|
||||
)
|
||||
touch $@
|
||||
|
||||
$(AUTOCONF_HOST_DIR)/bin/$(AUTOCONF_BINARY): $(AUTOCONF_HOST_DIR)/.configured
|
||||
$(MAKE1) -C $(AUTOCONF_HOST_DIR)
|
||||
$(STAMP_DIR)/host_autoconf_compiled: $(STAMP_DIR)/host_autoconf_configured
|
||||
$(MAKE) -C $(AUTOCONF_HOST_DIR)
|
||||
touch $@
|
||||
|
||||
$(AUTOCONF): $(AUTOCONF_HOST_DIR)/bin/$(AUTOCONF_BINARY)
|
||||
$(STAMP_DIR)/host_autoconf_installed: $(STAMP_DIR)/host_autoconf_compiled
|
||||
$(MAKE) -C $(AUTOCONF_HOST_DIR) install
|
||||
touch $@
|
||||
|
||||
host-autoconf: host-m4 host-libtool $(AUTOCONF)
|
||||
host-autoconf: $(STAMP_DIR)/host_autoconf_installed
|
||||
|
||||
host-autoconf-clean:
|
||||
$(MAKE) CC=$(HOST_CC) -C $(AUTOCONF_HOST_DIR) uninstall
|
||||
rm -f $(addprefix $(STAMP_DIR)/host_autoconf_,unpacked configured compiled installed)
|
||||
-$(MAKE) -C $(AUTOCONF_HOST_DIR) uninstall
|
||||
-$(MAKE) -C $(AUTOCONF_HOST_DIR) clean
|
||||
|
||||
host-autoconf-dirclean:
|
||||
rm -rf $(AUTOCONF_HOST_DIR)
|
||||
|
||||
|
||||
#############################################################
|
||||
#
|
||||
# Toplevel Makefile options
|
||||
#
|
||||
#############################################################
|
||||
ifeq ($(BR2_PACKAGE_AUTOCONF),y)
|
||||
TARGETS+=autoconf
|
||||
endif
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
config BR2_PACKAGE_AUTOMAKE
|
||||
bool "automake"
|
||||
select BR2_PACKAGE_AUTOCONF
|
||||
select BR2_PACKAGE_MICROPERL
|
||||
help
|
||||
Tool for automatically generating Makefile's for input to
|
||||
configure scripts (made by autoconf).
|
||||
|
||||
@@ -3,139 +3,63 @@
|
||||
# automake
|
||||
#
|
||||
#############################################################
|
||||
AUTOMAKE_VERSION:=1.10
|
||||
AUTOMAKE_SOURCE:=automake-$(AUTOMAKE_VERSION).tar.bz2
|
||||
AUTOMAKE_SITE:=$(BR2_GNU_MIRROR)/automake
|
||||
AUTOMAKE_CAT:=$(BZCAT)
|
||||
AUTOMAKE_SRC_DIR:=$(TOOL_BUILD_DIR)/automake-$(AUTOMAKE_VERSION)
|
||||
AUTOMAKE_DIR:=$(BUILD_DIR)/automake-$(AUTOMAKE_VERSION)
|
||||
AUTOMAKE_HOST_DIR:=$(TOOL_BUILD_DIR)/automake-$(AUTOMAKE_VERSION)-host
|
||||
AUTOMAKE_BINARY:=automake
|
||||
AUTOMAKE_TARGET_BINARY:=usr/bin/automake
|
||||
AUTOMAKE:=$(STAGING_DIR)/usr/bin/automake
|
||||
AUTOMAKE_VERSION = 1.10
|
||||
AUTOMAKE_SOURCE = automake-$(AUTOMAKE_VERSION).tar.bz2
|
||||
AUTOMAKE_SITE = $(BR2_GNU_MIRROR)/automake
|
||||
|
||||
ifeq ($(BR2_ENABLE_DEBUG),y) # install-exec doesn't install aclocal stuff
|
||||
AUTOMAKE_INSTALL_TARGET_OPT = DESTDIR=$(TARGET_DIR) install
|
||||
endif
|
||||
|
||||
AUTOMAKE_DEPENDENCIES = uclibc autoconf microperl
|
||||
|
||||
$(eval $(call AUTOTARGETS,package,automake))
|
||||
|
||||
# automake for the host
|
||||
AUTOMAKE_HOST_DIR:=$(BUILD_DIR)/automake-$(AUTOMAKE_VERSION)-host
|
||||
|
||||
# variables used by other packages
|
||||
AUTOMAKE:=$(HOST_DIR)/usr/bin/automake
|
||||
ACLOCAL_DIR = $(STAGING_DIR)/usr/share/aclocal
|
||||
ACLOCAL = aclocal -I $(ACLOCAL_DIR)
|
||||
ACLOCAL = $(HOST_DIR)/usr/bin/aclocal -I $(ACLOCAL_DIR)
|
||||
|
||||
$(DL_DIR)/$(AUTOMAKE_SOURCE):
|
||||
$(call DOWNLOAD,$(AUTOMAKE_SITE),$(AUTOMAKE_SOURCE))
|
||||
$(call DOWNLOAD,$(AUTOMAKE_SITE),$(AUTOMAKE_SOURCE))
|
||||
|
||||
automake-source: $(DL_DIR)/$(AUTOMAKE_SOURCE)
|
||||
|
||||
$(AUTOMAKE_SRC_DIR)/.unpacked: $(DL_DIR)/$(AUTOMAKE_SOURCE)
|
||||
$(AUTOMAKE_CAT) $(DL_DIR)/$(AUTOMAKE_SOURCE) | tar -C $(TOOL_BUILD_DIR) $(TAR_OPTIONS) -
|
||||
$(CONFIG_UPDATE) $(AUTOMAKE_SRC_DIR)
|
||||
touch $@
|
||||
|
||||
#############################################################
|
||||
#
|
||||
# automake for the target
|
||||
#
|
||||
#############################################################
|
||||
|
||||
$(AUTOMAKE_DIR)/.configured: $(AUTOMAKE_SRC_DIR)/.unpacked
|
||||
mkdir -p $(AUTOMAKE_DIR)
|
||||
(cd $(AUTOMAKE_DIR); rm -rf config.cache; \
|
||||
$(TARGET_CONFIGURE_OPTS) \
|
||||
$(TARGET_CONFIGURE_ARGS) \
|
||||
WANT_AUTOCONF=2.5 \
|
||||
$(AUTOMAKE_SRC_DIR)/configure \
|
||||
--target=$(GNU_TARGET_NAME) \
|
||||
--host=$(GNU_TARGET_NAME) \
|
||||
--build=$(GNU_HOST_NAME) \
|
||||
--prefix=/usr \
|
||||
--exec-prefix=/usr \
|
||||
--bindir=/usr/bin \
|
||||
--sbindir=/usr/sbin \
|
||||
--libdir=/lib \
|
||||
--libexecdir=/usr/lib \
|
||||
--sysconfdir=/etc \
|
||||
--datadir=/usr/share \
|
||||
--localstatedir=/var \
|
||||
--mandir=/usr/share/man \
|
||||
--infodir=/usr/share/info \
|
||||
--includedir=/usr/include \
|
||||
)
|
||||
touch $@
|
||||
|
||||
$(AUTOMAKE_DIR)/$(AUTOMAKE_BINARY): $(AUTOMAKE_DIR)/.configured
|
||||
$(MAKE) -C $(AUTOMAKE_DIR)
|
||||
touch -c $@
|
||||
|
||||
$(TARGET_DIR)/$(AUTOMAKE_TARGET_BINARY): $(AUTOMAKE_DIR)/$(AUTOMAKE_BINARY)
|
||||
$(MAKE) \
|
||||
prefix=$(TARGET_DIR)/usr \
|
||||
exec_prefix=$(TARGET_DIR)/usr \
|
||||
bindir=$(TARGET_DIR)/usr/bin \
|
||||
sbindir=$(TARGET_DIR)/usr/sbin \
|
||||
libexecdir=$(TARGET_DIR)/usr/lib \
|
||||
datadir=$(TARGET_DIR)/usr/share \
|
||||
sysconfdir=$(TARGET_DIR)/etc \
|
||||
localstatedir=$(TARGET_DIR)/var \
|
||||
libdir=$(TARGET_DIR)/usr/lib \
|
||||
infodir=$(TARGET_DIR)/usr/share/info \
|
||||
mandir=$(TARGET_DIR)/usr/share/man \
|
||||
includedir=$(TARGET_DIR)/usr/include \
|
||||
-C $(AUTOMAKE_DIR) install
|
||||
ifneq ($(BR2_HAVE_INFOPAGES),y)
|
||||
rm -rf $(TARGET_DIR)/usr/share/info
|
||||
endif
|
||||
ifneq ($(BR2_HAVE_MANPAGES),y)
|
||||
rm -rf $(TARGET_DIR)/usr/share/man
|
||||
endif
|
||||
rm -rf $(TARGET_DIR)/share/locale
|
||||
rm -rf $(TARGET_DIR)/usr/share/doc
|
||||
touch -c $@
|
||||
|
||||
automake: uclibc autoconf $(TARGET_DIR)/$(AUTOMAKE_TARGET_BINARY)
|
||||
|
||||
automake-clean:
|
||||
$(MAKE) DESTDIR=$(TARGET_DIR) -C $(AUTOMAKE_DIR) uninstall
|
||||
-$(MAKE) -C $(AUTOMAKE_DIR) clean
|
||||
|
||||
automake-dirclean:
|
||||
rm -rf $(AUTOMAKE_DIR)
|
||||
|
||||
#############################################################
|
||||
#
|
||||
# automake for the host
|
||||
#
|
||||
#############################################################
|
||||
|
||||
$(AUTOMAKE_HOST_DIR)/.configured: $(AUTOMAKE_SRC_DIR)/.unpacked
|
||||
$(STAMP_DIR)/host_automake_unpacked: $(DL_DIR)/$(AUTOMAKE_SOURCE)
|
||||
mkdir -p $(AUTOMAKE_HOST_DIR)
|
||||
$(INFLATE$(suffix $(AUTOMAKE_SOURCE))) $< | \
|
||||
$(TAR) $(TAR_STRIP_COMPONENTS)=1 -C $(AUTOMAKE_HOST_DIR) $(TAR_OPTIONS) -
|
||||
toolchain/patch-kernel.sh $(AUTOMAKE_HOST_DIR) package/automake/ \*.patch
|
||||
touch $@
|
||||
|
||||
$(STAMP_DIR)/host_automake_configured: $(STAMP_DIR)/host_automake_unpacked $(STAMP_DIR)/host_autoconf_installed
|
||||
(cd $(AUTOMAKE_HOST_DIR); rm -rf config.cache; \
|
||||
$(HOST_CONFIGURE_OPTS) \
|
||||
CFLAGS="$(HOST_CFLAGS)" \
|
||||
LDFLAGS="$(HOST_LDFLAGS)" \
|
||||
WANT_AUTOCONF=2.5 \
|
||||
$(AUTOMAKE_SRC_DIR)/configure \
|
||||
--prefix=$(STAGING_DIR)/usr \
|
||||
./configure \
|
||||
--prefix="$(HOST_DIR)/usr" \
|
||||
--sysconfdir="$(HOST_DIR)/etc" \
|
||||
--disable-static \
|
||||
)
|
||||
touch $@
|
||||
|
||||
$(AUTOMAKE_HOST_DIR)/$(AUTOMAKE_BINARY): $(AUTOMAKE_HOST_DIR)/.configured
|
||||
$(STAMP_DIR)/host_automake_compiled: $(STAMP_DIR)/host_automake_configured
|
||||
$(MAKE) -C $(AUTOMAKE_HOST_DIR)
|
||||
touch -c $@
|
||||
touch $@
|
||||
|
||||
$(AUTOMAKE): $(AUTOMAKE_HOST_DIR)/$(AUTOMAKE_BINARY)
|
||||
$(STAMP_DIR)/host_automake_installed: $(STAMP_DIR)/host_automake_compiled
|
||||
$(MAKE) -C $(AUTOMAKE_HOST_DIR) install
|
||||
mkdir -p $(STAGING_DIR)/usr/share/aclocal
|
||||
touch $@
|
||||
|
||||
host-automake: host-autoconf host-libtool $(AUTOMAKE)
|
||||
host-automake: $(STAMP_DIR)/host_automake_installed
|
||||
|
||||
host-automake-clean:
|
||||
$(MAKE) -C $(AUTOMAKE_HOST_DIR) uninstall
|
||||
rm -f $(addprefix $(STAMP_DIR)/host_automake_,unpacked configured compiled installed)
|
||||
-$(MAKE) -C $(AUTOMAKE_HOST_DIR) uninstall
|
||||
-$(MAKE) -C $(AUTOMAKE_HOST_DIR) clean
|
||||
|
||||
host-automake-dirclean:
|
||||
rm -rf $(AUTOMAKE_HOST_DIR)
|
||||
|
||||
#############################################################
|
||||
#
|
||||
# Toplevel Makefile options
|
||||
#
|
||||
#############################################################
|
||||
ifeq ($(BR2_PACKAGE_AUTOMAKE),y)
|
||||
TARGETS+=automake
|
||||
endif
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
config BR2_PACKAGE_AVAHI
|
||||
bool "avahi"
|
||||
select BR2_PACKAGE_LIBDAEMON
|
||||
select BR2_PACKAGE_GETTEXT if BR2_ENABLE_LOCALE
|
||||
select BR2_PACKAGE_LIBINTL if BR2_ENABLE_LOCALE
|
||||
help
|
||||
@@ -13,6 +12,7 @@ config BR2_PACKAGE_AVAHI_AUTOIPD
|
||||
bool "IPv4LL network address configuration daemon"
|
||||
default y
|
||||
depends on BR2_PACKAGE_AVAHI
|
||||
select BR2_PACKAGE_LIBDAEMON
|
||||
help
|
||||
Avahi-autoipd implements IPv4LL, "Dynamic Configuration of
|
||||
IPv4 Link-Local Addresses" (IETF RFC3927), a protocol for
|
||||
@@ -24,6 +24,7 @@ config BR2_PACKAGE_AVAHI_AUTOIPD
|
||||
config BR2_PACKAGE_AVAHI_DAEMON
|
||||
bool "mDNS/DNS-SD daemon"
|
||||
depends on BR2_PACKAGE_AVAHI
|
||||
select BR2_PACKAGE_LIBDAEMON
|
||||
select BR2_PACKAGE_EXPAT
|
||||
help
|
||||
The Avahi mDNS/DNS-SD daemon implementing Apple's ZeroConf
|
||||
|
||||
@@ -10,54 +10,13 @@
|
||||
# either version 2.1 of the License, or (at your option) any
|
||||
# later version.
|
||||
|
||||
AVAHI_VERSION:=0.6.22
|
||||
AVAHI_DIR:=$(BUILD_DIR)/avahi-$(AVAHI_VERSION)
|
||||
AVAHI_SITE:=http://www.avahi.org/download/
|
||||
AVAHI_SOURCE:=avahi-$(AVAHI_VERSION).tar.gz
|
||||
AVAHI_CAT:=$(ZCAT)
|
||||
AVAHI_VERSION = 0.6.23
|
||||
AVAHI_SOURCE = avahi-$(AVAHI_VERSION).tar.gz
|
||||
AVAHI_SITE = http://www.avahi.org/download/
|
||||
AVAHI_INSTALL_STAGING = YES
|
||||
AVAHI_INSTALL_TARGET = YES
|
||||
|
||||
AVAHI_TARGETS:=
|
||||
|
||||
ifeq ($(BR2_PACKAGE_AVAHI_AUTOIPD),y)
|
||||
AVAHI_TARGETS+=$(TARGET_DIR)/usr/sbin/avahi-autoipd
|
||||
endif
|
||||
|
||||
AVAHI_EXTRA_DEPS:=
|
||||
|
||||
ifeq ($(BR2_PACKAGE_AVAHI_DAEMON),y)
|
||||
AVAHI_TARGETS+=$(TARGET_DIR)/usr/sbin/avahi-daemon
|
||||
AVAHI_DISABLE_EXPAT:=--with-xml=expat
|
||||
# depend on the exact library file instead of expat so avahi isn't always
|
||||
# considered out-of-date
|
||||
AVAHI_EXTRA_DEPS+=$(STAGING_DIR)/usr/lib/libexpat.so.1
|
||||
else
|
||||
AVAHI_DISABLE_EXPAT:=--disable-expat --with-xml=none
|
||||
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_DBUS),y)
|
||||
AVAHI_DISABLE_DBUS:=
|
||||
AVAHI_EXTRA_DEPS+=$(STAGING_DIR)/usr/bin/dbus-daemon
|
||||
else
|
||||
AVAHI_DISABLE_DBUS:=--disable-dbus
|
||||
endif
|
||||
|
||||
$(DL_DIR)/$(AVAHI_SOURCE):
|
||||
$(call DOWNLOAD,$(AVAHI_SITE),$(AVAHI_SOURCE))
|
||||
|
||||
avahi-source: $(DL_DIR)/$(AVAHI_SOURCE)
|
||||
|
||||
$(AVAHI_DIR)/.unpacked: $(DL_DIR)/$(AVAHI_SOURCE)
|
||||
$(AVAHI_CAT) $(DL_DIR)/$(AVAHI_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
|
||||
toolchain/patch-kernel.sh $(AVAHI_DIR) package/avahi/ \*.patch
|
||||
touch $@
|
||||
|
||||
$(AVAHI_DIR)/.configured: $(AVAHI_DIR)/.unpacked $(AVAHI_EXTRA_DEPS)
|
||||
(cd $(AVAHI_DIR) && rm -rf config.cache && PATH=$(TARGET_PATH) autoconf)
|
||||
(cd $(AVAHI_DIR) && \
|
||||
$(TARGET_CONFIGURE_OPTS) \
|
||||
$(TARGET_CONFIGURE_ARGS) \
|
||||
ac_cv_func_strtod=yes \
|
||||
AVAHI_CONF_ENV = ac_cv_func_strtod=yes \
|
||||
ac_fsusage_space=yes \
|
||||
fu_cv_sys_stat_statfs2_bsize=yes \
|
||||
ac_cv_func_closedir_void=no \
|
||||
@@ -110,93 +69,90 @@ $(AVAHI_DIR)/.configured: $(AVAHI_DIR)/.unpacked $(AVAHI_EXTRA_DEPS)
|
||||
ac_cv_func_working_mktime=yes \
|
||||
jm_cv_func_working_re_compile_pattern=yes \
|
||||
ac_use_included_regex=no \
|
||||
./configure \
|
||||
--target=$(GNU_TARGET_NAME) \
|
||||
--host=$(REAL_GNU_TARGET_NAME) \
|
||||
--build=$(GNU_HOST_NAME) \
|
||||
--prefix=/usr \
|
||||
--sysconfdir=/etc \
|
||||
--localstatedir=/var \
|
||||
$(DISABLE_NLS) \
|
||||
$(DISABLE_LARGEFILE) \
|
||||
--disable-glib \
|
||||
--disable-gobject \
|
||||
avahi_cv_sys_cxx_works=yes
|
||||
|
||||
AVAHI_CONF_OPT = --localstatedir=/var \
|
||||
--disable-qt3 \
|
||||
--disable-qt4 \
|
||||
--disable-gtk \
|
||||
$(AVAHI_DISABLE_DBUS) \
|
||||
$(AVAHI_DISABLE_EXPAT) \
|
||||
--disable-gdbm \
|
||||
--disable-python \
|
||||
--disable-python-dbus \
|
||||
--disable-pygtk \
|
||||
--disable-mono \
|
||||
--disable-monodoc \
|
||||
--disable-stack-protector \
|
||||
--with-distro=none \
|
||||
$(if $(BR2_HAVE_MANPAGES),--enable,--disable)-manpages \
|
||||
$(if $(BR2_PACKAGE_AVAHI_AUTOIPD),--enable,--disable)-autoipd \
|
||||
--with-avahi-user=default \
|
||||
--with-avahi-group=default \
|
||||
--with-autoipd-user=default \
|
||||
--with-autoipd-group=default \
|
||||
)
|
||||
touch $@
|
||||
--with-autoipd-group=default
|
||||
|
||||
$(AVAHI_DIR)/.compiled: $(AVAHI_DIR)/.configured
|
||||
$(MAKE) -C $(AVAHI_DIR) $(if $(BR2_ENABLE_LOCALE),LIBS=-lintl)
|
||||
touch $@
|
||||
AVAHI_DEPENDENCIES = $(if $(BR2_PACKAGE_GETTEXT),gettext)
|
||||
|
||||
$(AVAHI_DIR)/.installed: $(AVAHI_DIR)/.compiled
|
||||
mkdir -p $(STAGING_DIR)/etc/avahi
|
||||
$(MAKE) DESTDIR=$(STAGING_DIR) -C $(AVAHI_DIR) install
|
||||
touch $@
|
||||
ifneq ($(BR2_PACKAGE_AVAHI_DAEMON)$(BR2_PACKAGE_AVAHI_AUTOIPD),)
|
||||
AVAHI_DEPENDENCIES += libdaemon
|
||||
else
|
||||
AVAHI_CONF_OPT += --disable-libdaemon
|
||||
endif
|
||||
|
||||
$(TARGET_DIR)/usr/sbin/avahi-autoipd: $(AVAHI_DIR)/.installed
|
||||
mkdir -p $(addprefix $(TARGET_DIR),\
|
||||
/etc/avahi /etc/init.d /var/lib /usr/share/udhcpc /usr/sbin)
|
||||
cp -af $(STAGING_DIR)/etc/avahi/avahi-autoipd.action $(TARGET_DIR)/etc/avahi/
|
||||
cp -af package/avahi/busybox-udhcpc-default.script $(TARGET_DIR)/usr/share/udhcpc/default.script
|
||||
chmod 0755 $(TARGET_DIR)/usr/share/udhcpc/default.script
|
||||
cp -af package/avahi/S05avahi-setup.sh $(TARGET_DIR)/etc/init.d/
|
||||
cp $(STAGING_DIR)/usr/sbin/avahi-autoipd $@
|
||||
ln -sf /tmp/avahi-autoipd $(TARGET_DIR)/var/lib/avahi-autoipd
|
||||
$(STRIPCMD) $(STRIP_STRIP_UNNEEDED) $@
|
||||
ifeq ($(BR2_PACKAGE_AVAHI_DAEMON),y)
|
||||
AVAHI_DEPENDENCIES += expat
|
||||
AVAHI_CONF_OPT += --with-xml=expat
|
||||
else
|
||||
AVAHI_CONF_OPT += --with-xml=none
|
||||
endif
|
||||
|
||||
$(TARGET_DIR)/usr/sbin/avahi-daemon: $(AVAHI_DIR)/.installed
|
||||
mkdir -p $(addprefix $(TARGET_DIR),\
|
||||
/etc/avahi/services /usr/lib /usr/bin /usr/sbin)
|
||||
cp -dpf $(STAGING_DIR)/usr/lib/libavahi-*.so* $(TARGET_DIR)/usr/lib/
|
||||
$(STRIPCMD) $(STRIP_STRIP_UNNEEDED) $(TARGET_DIR)/usr/lib/libavahi-*.so*
|
||||
cp -af $(STAGING_DIR)/etc/avahi/avahi-daemon.conf $(TARGET_DIR)/etc/avahi/
|
||||
cp -af package/avahi/S50avahi-daemon $(TARGET_DIR)/etc/init.d/
|
||||
ifeq ($(BR2_PACKAGE_DBUS),y)
|
||||
cp -dpf $(STAGING_DIR)/usr/bin/avahi-* $(TARGET_DIR)/usr/bin
|
||||
$(STRIPCMD) $(STRIP_STRIP_UNNEEDED) $(TARGET_DIR)/usr/bin/avahi-*
|
||||
mkdir -p $(TARGET_DIR)/etc/dbus-1/system.d/
|
||||
cp -r $(STAGING_DIR)/etc/dbus-1/system.d/avahi-* \
|
||||
$(TARGET_DIR)/etc/dbus-1/system.d/
|
||||
AVAHI_DEPENDENCIES += dbus
|
||||
else
|
||||
AVAHI_CONF_OPT += --disable-dbus
|
||||
endif
|
||||
cp $(STAGING_DIR)/usr/sbin/avahi-daemon $@
|
||||
$(STRIPCMD) $(STRIP_STRIP_UNNEEDED) $@
|
||||
|
||||
avahi: host-autoconf uclibc libdaemon $(if $(BR2_ENABLE_LOCALE),gettext libintl) $(AVAHI_TARGETS)
|
||||
|
||||
avahi-clean:
|
||||
-$(MAKE) -C $(AVAHI_DIR) distclean
|
||||
-rm -rf $(TARGET_DIR)/etc/avahi
|
||||
-rm -f $(TARGET_DIR)/var/lib/avahi-autoipd
|
||||
-rm -f $(TARGET_DIR)/etc/init.d/S*avahi*
|
||||
-rm -f $(TARGET_DIR)/usr/sbin/avahi-*
|
||||
-rm -f $(TARGET_DIR)/usr/bin/avahi-*
|
||||
-rm -f $(TARGET_DIR)/usr/lib/libavahi-*
|
||||
|
||||
avahi-dirclean:
|
||||
rm -rf $(AVAHI_DIR)
|
||||
|
||||
#############################################################
|
||||
#
|
||||
# Toplevel Makefile options
|
||||
#
|
||||
#############################################################
|
||||
ifeq ($(BR2_PACKAGE_AVAHI),y)
|
||||
TARGETS+=avahi
|
||||
ifeq ($(BR2_PACKAGE_LIBGLIB2),y)
|
||||
AVAHI_DEPENDENCIES += libglib2
|
||||
else
|
||||
AVAHI_CONF_OPT += --disable-glib --disable-gobject
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_LIBGLADE),y)
|
||||
AVAHI_DEPENDENCIES += libglade
|
||||
else
|
||||
AVAHI_CONF_OPT += --disable-gtk
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_PYTHON),y)
|
||||
AVAHI_CONF_ENV += am_cv_pathless_PYTHON=python \
|
||||
am_cv_path_PYTHON=$(PYTHON_TARGET_BINARY) \
|
||||
am_cv_python_version=$(PYTHON_VERSION) \
|
||||
am_cv_python_platform=linux2 \
|
||||
am_cv_python_pythondir=/usr/lib/python$(PYTHON_VERSION_MAJOR)/site-packages \
|
||||
am_cv_python_pyexecdir=/usr/lib/python$(PYTHON_VERSION_MAJOR)/site-packages \
|
||||
py_cv_mod_socket_=yes
|
||||
|
||||
AVAHI_DEPENDENCIES += libpython
|
||||
AVAHI_CONF_OPT += --enable-python
|
||||
else
|
||||
AVAHI_CONF_OPT += --disable-python
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_LIBINTL),y)
|
||||
AVAHI_DEPENDENCIES += libintl
|
||||
AVAHI_MAKE_OPT = LIBS=-lintl
|
||||
endif
|
||||
|
||||
$(eval $(call AUTOTARGETS,package,avahi))
|
||||
|
||||
$(AVAHI_HOOK_POST_INSTALL):
|
||||
rm -rf $(TARGET_DIR)/etc/init.d/avahi-*
|
||||
ifeq ($(BR2_PACKAGE_AVAHI_AUTOIPD),y)
|
||||
rm -rf $(TARGET_DIR)/etc/dhcp3/
|
||||
$(INSTALL) -D -m 0755 package/avahi/busybox-udhcpc-default.script $(TARGET_DIR)/usr/share/udhcpc/default.script
|
||||
$(INSTALL) -m 0755 package/avahi/S05avahi-setup.sh $(TARGET_DIR)/etc/init.d/
|
||||
rm -f $(TARGET_DIR)/var/lib/avahi-autoipd
|
||||
ln -sf /tmp/avahi-autoipd $(TARGET_DIR)/var/lib/avahi-autoipd
|
||||
endif
|
||||
ifeq ($(BR2_PACKAGE_AVAHI_DAEMON),y)
|
||||
$(INSTALL) -m 0755 package/avahi/S50avahi-daemon $(TARGET_DIR)/etc/init.d/
|
||||
endif
|
||||
touch $@
|
||||
|
||||
@@ -1,77 +0,0 @@
|
||||
--- avahi/ltmain.sh.orig 2004-11-23 09:19:19.000000000 -0700
|
||||
+++ avahi/ltmain.sh 2007-01-13 14:36:53.000000000 -0700
|
||||
@@ -231,8 +231,9 @@
|
||||
# line option must be used.
|
||||
if test -z "$tagname"; then
|
||||
$echo "$modename: unable to infer tagged configuration"
|
||||
- $echo "$modename: specify a tag with \`--tag'" 1>&2
|
||||
- exit $EXIT_FAILURE
|
||||
+ $echo "$modename: defaulting to \`CC'"
|
||||
+ $echo "$modename: if this is not correct, specify a tag with \`--tag'"
|
||||
+# exit $EXIT_FAILURE
|
||||
# else
|
||||
# $echo "$modename: using $tagname tagged configuration"
|
||||
fi
|
||||
@@ -2279,8 +2280,14 @@
|
||||
absdir="$abs_ladir"
|
||||
libdir="$abs_ladir"
|
||||
else
|
||||
- dir="$libdir"
|
||||
- absdir="$libdir"
|
||||
+ # Adding 'libdir' from the .la file to our library search paths
|
||||
+ # breaks crosscompilation horribly. We cheat here and don't add
|
||||
+ # it, instead adding the path where we found the .la. -CL
|
||||
+ dir="$abs_ladir"
|
||||
+ absdir="$abs_ladir"
|
||||
+ libdir="$abs_ladir"
|
||||
+ #dir="$libdir"
|
||||
+ #absdir="$libdir"
|
||||
fi
|
||||
else
|
||||
if test ! -f "$ladir/$objdir/$linklib" && test -f "$abs_ladir/$linklib"; then
|
||||
@@ -2754,6 +2761,16 @@
|
||||
esac
|
||||
if grep "^installed=no" $deplib > /dev/null; then
|
||||
path="$absdir/$objdir"
|
||||
+# This interferes with crosscompilation. -CL
|
||||
+# else
|
||||
+# eval libdir=`${SED} -n -e 's/^libdir=\(.*\)$/\1/p' $deplib`
|
||||
+# if test -z "$libdir"; then
|
||||
+# $echo "$modename: \`$deplib' is not a valid libtool archive" 1>&2
|
||||
+# exit 1
|
||||
+# fi
|
||||
+# if test "$absdir" != "$libdir"; then
|
||||
+# $echo "$modename: warning: \`$deplib' seems to be moved" 1>&2
|
||||
+# fi
|
||||
else
|
||||
eval libdir=`${SED} -n -e 's/^libdir=\(.*\)$/\1/p' $deplib`
|
||||
if test -z "$libdir"; then
|
||||
@@ -5141,6 +5158,10 @@
|
||||
# Replace all uninstalled libtool libraries with the installed ones
|
||||
newdependency_libs=
|
||||
for deplib in $dependency_libs; do
|
||||
+ # Replacing uninstalled with installed can easily break crosscompilation,
|
||||
+ # since the installed path is generally the wrong architecture. -CL
|
||||
+ newdependency_libs="$newdependency_libs $deplib"
|
||||
+ continue
|
||||
case $deplib in
|
||||
*.la)
|
||||
name=`$echo "X$deplib" | $Xsed -e 's%^.*/%%'`
|
||||
@@ -5459,10 +5480,13 @@
|
||||
# At present, this check doesn't affect windows .dll's that
|
||||
# are installed into $libdir/../bin (currently, that works fine)
|
||||
# but it's something to keep an eye on.
|
||||
- if test "$inst_prefix_dir" = "$destdir"; then
|
||||
- $echo "$modename: error: cannot install \`$file' to a directory not ending in $libdir" 1>&2
|
||||
- exit $EXIT_FAILURE
|
||||
- fi
|
||||
+ #
|
||||
+ # This breaks install into our staging area. -PB
|
||||
+ #
|
||||
+ # if test "$inst_prefix_dir" = "$destdir"; then
|
||||
+ # $echo "$modename: error: cannot install \`$file' to a directory not ending in $libdir" 1>&2
|
||||
+ # exit $EXIT_FAILURE
|
||||
+ # fi
|
||||
|
||||
if test -n "$inst_prefix_dir"; then
|
||||
# Stick the inst_prefix_dir data into the link command.
|
||||
@@ -1,5 +1,9 @@
|
||||
comment "bind has no inherent support for AVR32"
|
||||
depends on BR2_avr32 && BR2_PACKAGE_BIND
|
||||
|
||||
config BR2_PACKAGE_BIND
|
||||
bool "bind"
|
||||
depends on BR2_LARGEFILE
|
||||
help
|
||||
BIND (Berkeley Internet Name Domain) is an implementation of
|
||||
the Domain Name System (DNS) protocols and provides an openly
|
||||
@@ -19,3 +23,12 @@ config BR2_PACKAGE_BIND
|
||||
intended to be linked with applications requiring name service.
|
||||
|
||||
http://www.isc.org/sw/bind/
|
||||
|
||||
config BR2_PACKAGE_BIND_TOOLS
|
||||
bool "Install tools"
|
||||
depends on BR2_PACKAGE_BIND
|
||||
help
|
||||
Install tools (host, nslookup, dig, nsupdate)
|
||||
|
||||
comment "bind requires a toolchain with LARGEFILE support"
|
||||
depends on !BR2_LARGEFILE
|
||||
|
||||
@@ -1,33 +0,0 @@
|
||||
---
|
||||
lib/isc/unix/ifiter_ioctl.c | 7 ++++---
|
||||
1 file changed, 4 insertions(+), 3 deletions(-)
|
||||
|
||||
Index: bind-9.3.2/lib/isc/unix/ifiter_ioctl.c
|
||||
===================================================================
|
||||
--- bind-9.3.2.orig/lib/isc/unix/ifiter_ioctl.c
|
||||
+++ bind-9.3.2/lib/isc/unix/ifiter_ioctl.c
|
||||
@@ -17,11 +17,12 @@
|
||||
|
||||
/* $Id: ifiter_ioctl.c,v 1.19.2.5.2.17 2005/10/14 02:13:07 marka Exp $ */
|
||||
|
||||
+#include <string.h>
|
||||
+
|
||||
/*
|
||||
* Obtain the list of network interfaces using the SIOCGLIFCONF ioctl.
|
||||
* See netintro(4).
|
||||
*/
|
||||
-
|
||||
#if defined(SIOCGLIFCONF) && defined(SIOCGLIFADDR)
|
||||
#ifdef ISC_PLATFORM_HAVEIF_LADDRCONF
|
||||
#define lifc_len iflc_len
|
||||
@@ -478,8 +479,8 @@
|
||||
for (i = 0; i < 16; i++) {
|
||||
unsigned char byte;
|
||||
static const char hex[] = "0123456789abcdef";
|
||||
- byte = ((index(hex, address[i * 2]) - hex) << 4) |
|
||||
- (index(hex, address[i * 2 + 1]) - hex);
|
||||
+ byte = ((strchr(hex, address[i * 2]) - hex) << 4) |
|
||||
+ (strchr(hex, address[i * 2 + 1]) - hex);
|
||||
addr6.s6_addr[i] = byte;
|
||||
}
|
||||
iter->current.af = AF_INET6;
|
||||
@@ -1,11 +0,0 @@
|
||||
--- bind-9.3.2/lib/dns/Makefile.in
|
||||
+++ bind-9.3.2/lib/dns/Makefile.in
|
||||
@@ -156,7 +156,7 @@
|
||||
./gen -s ${srcdir} > code.h
|
||||
|
||||
gen: gen.c
|
||||
- ${CC} ${ALL_CFLAGS} ${LDFLAGS} -o $@ ${srcdir}/gen.c ${LIBS}
|
||||
+ cc ${ALL_CFLAGS} -o $@ ${srcdir}/gen.c
|
||||
|
||||
rbtdb64.@O@: rbtdb.c
|
||||
|
||||
14
package/bind/bind-cross.patch
Normal file
14
package/bind/bind-cross.patch
Normal file
@@ -0,0 +1,14 @@
|
||||
diff -Nura bind-9.5.1-P1/lib/dns/Makefile.in bind-9.5.1-P1.gencross/lib/dns/Makefile.in
|
||||
--- bind-9.5.1-P1/lib/dns/Makefile.in 2007-09-11 22:09:08.000000000 -0300
|
||||
+++ bind-9.5.1-P1.gencross/lib/dns/Makefile.in 2009-03-04 16:35:23.000000000 -0200
|
||||
@@ -160,8 +160,8 @@
|
||||
./gen -s ${srcdir} > code.h
|
||||
|
||||
gen: gen.c
|
||||
- ${BUILD_CC} ${BUILD_CFLAGS} -I${top_srcdir}/lib/isc/include \
|
||||
- ${BUILD_CPPFLAGS} ${BUILD_LDFLAGS} -o $@ ${srcdir}/gen.c ${BUILD_LIBS}
|
||||
+ ${HOSTCC} ${HOST_CFLAGS} -I${top_srcdir}/lib/isc/include \
|
||||
+ ${HOST_LDFLAGS} -o $@ ${srcdir}/gen.c
|
||||
|
||||
rbtdb64.@O@: rbtdb.c
|
||||
|
||||
23
package/bind/bind-susv3-legacy.patch
Normal file
23
package/bind/bind-susv3-legacy.patch
Normal file
@@ -0,0 +1,23 @@
|
||||
diff -Nura bind-9.5.1-P1/lib/isc/unix/ifiter_ioctl.c bind-9.5.1-P1.nosusv3/lib/isc/unix/ifiter_ioctl.c
|
||||
--- bind-9.5.1-P1/lib/isc/unix/ifiter_ioctl.c 2007-08-30 03:02:28.000000000 -0300
|
||||
+++ bind-9.5.1-P1.nosusv3/lib/isc/unix/ifiter_ioctl.c 2009-03-04 16:31:20.000000000 -0200
|
||||
@@ -17,6 +17,8 @@
|
||||
|
||||
/* $Id: ifiter_ioctl.c,v 1.58 2007/08/30 06:02:28 marka Exp $ */
|
||||
|
||||
+#include <string.h>
|
||||
+
|
||||
/*! \file
|
||||
* \brief
|
||||
* Obtain the list of network interfaces using the SIOCGLIFCONF ioctl.
|
||||
@@ -479,8 +481,8 @@
|
||||
for (i = 0; i < 16; i++) {
|
||||
unsigned char byte;
|
||||
static const char hex[] = "0123456789abcdef";
|
||||
- byte = ((index(hex, address[i * 2]) - hex) << 4) |
|
||||
- (index(hex, address[i * 2 + 1]) - hex);
|
||||
+ byte = ((strchr(hex, address[i * 2]) - hex) << 4) |
|
||||
+ (strchr(hex, address[i * 2 + 1]) - hex);
|
||||
addr6.s6_addr[i] = byte;
|
||||
}
|
||||
iter->current.af = AF_INET6;
|
||||
@@ -3,99 +3,46 @@
|
||||
# bind
|
||||
#
|
||||
#############################################################
|
||||
BIND_VERSION:=9.3.2
|
||||
BIND_SOURCE:=bind-$(BIND_VERSION).tar.gz
|
||||
BIND_SITE:=ftp://ftp.isc.org/isc/bind9/$(BIND_VERSION)
|
||||
BIND_DIR1:=$(TOOL_BUILD_DIR)/bind-$(BIND_VERSION)
|
||||
BIND_DIR2:=$(BUILD_DIR)/bind-$(BIND_VERSION)
|
||||
BIND_CAT:=$(ZCAT)
|
||||
BIND_BINARY:=bin/named/named
|
||||
BIND_TARGET_BINARY:=usr/sbin/named
|
||||
|
||||
$(DL_DIR)/$(BIND_SOURCE):
|
||||
$(call DOWNLOAD,$(BIND_SITE),$(BIND_SOURCE))
|
||||
|
||||
bind-source: $(DL_DIR)/$(BIND_SOURCE)
|
||||
|
||||
#############################################################
|
||||
#
|
||||
# build bind for use on the target system
|
||||
#
|
||||
#############################################################
|
||||
$(BIND_DIR2)/.unpacked: $(DL_DIR)/$(BIND_SOURCE)
|
||||
$(BIND_CAT) $(DL_DIR)/$(BIND_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
|
||||
toolchain/patch-kernel.sh $(BIND_DIR2) package/bind/ bind\*.patch
|
||||
touch $@
|
||||
|
||||
$(BIND_DIR2)/Makefile: $(BIND_DIR2)/.unpacked
|
||||
(cd $(BIND_DIR2); rm -rf config.cache; \
|
||||
$(TARGET_CONFIGURE_OPTS) \
|
||||
$(TARGET_CONFIGURE_ARGS) \
|
||||
./configure \
|
||||
--target=$(GNU_TARGET_NAME) \
|
||||
--host=$(GNU_TARGET_NAME) \
|
||||
--build=$(GNU_HOST_NAME) \
|
||||
--prefix=/usr \
|
||||
--libdir=/lib \
|
||||
--libexecdir=/usr/lib \
|
||||
--libdir=/lib \
|
||||
--includedir=/include \
|
||||
BIND_VERSION = 9.5.1-P2
|
||||
BIND_SOURCE = bind-$(BIND_VERSION).tar.gz
|
||||
BIND_SITE = ftp://ftp.isc.org/isc/bind9/$(BIND_VERSION)
|
||||
BIND_LIBTOOL_PATCH = NO
|
||||
BIND_DEPENDENCIES = uclibc
|
||||
BIND_INSTALL_STAGING = NO
|
||||
BIND_INSTALL_TARGET_OPT = DESTDIR=$(TARGET_DIR) install
|
||||
BIND_TARGET_SBINS = lwresd named named-checkconf named-checkzone
|
||||
BIND_TARGET_SBINS += named-compilezone rndc rndc-confgen
|
||||
BIND_TARGET_SBINS += dnssec-keygen dnssec-signzone
|
||||
BIND_TARGET_BINS = dig host nslookup nsupdate
|
||||
BIND_TARGET_LIBS = libbind9.* libdns.* libisccc.* libisccfg.* libisc.* liblwres.*
|
||||
BIND_CONF_ENV = BUILD_CC="$(TARGET_CC)" \
|
||||
BUILD_CFLAGS="$(TARGET_CFLAGS)"
|
||||
BIND_CONF_OPT = $(DISABLE_IPV6) \
|
||||
--sysconfdir=/etc \
|
||||
--localstatedir=/var \
|
||||
--without-openssl \
|
||||
--with-randomdev=/dev/random \
|
||||
$(DISABLE_IPV6) \
|
||||
--with-libtool \
|
||||
--with-randomdev=/dev/urandom \
|
||||
--with-openssl=no \
|
||||
--with-libxml2=no \
|
||||
--with-pic \
|
||||
)
|
||||
--with-libtool \
|
||||
--disable-epoll \
|
||||
--disable-threads
|
||||
|
||||
$(BIND_DIR2)/$(BIND_BINARY): $(BIND_DIR2)/Makefile
|
||||
$(MAKE) $(TARGET_CONFIGURE_OPTS) -j1 -C $(BIND_DIR2)
|
||||
touch -c $@
|
||||
$(eval $(call AUTOTARGETS,package,bind))
|
||||
|
||||
#############################################################
|
||||
#
|
||||
# install bind binaries
|
||||
#
|
||||
#############################################################
|
||||
$(TARGET_DIR)/$(BIND_TARGET_BINARY): $(BIND_DIR2)/$(BIND_BINARY)
|
||||
$(MAKE) $(TARGET_CONFIGURE_OPTS) -j1 MAKEDEFS="INSTALL_DATA=true" \
|
||||
DESTDIR=$(TARGET_DIR) -C $(BIND_DIR2)/bin install
|
||||
cd $(TARGET_DIR)/usr/man; rmdir --ignore-fail-on-non-empty man8 man5 `pwd`
|
||||
$(INSTALL) -m 0755 -D package/bind/bind.sysvinit $(TARGET_DIR)/etc/init.d/S81named
|
||||
|
||||
bind-bin: $(TARGET_DIR)/$(BIND_TARGET_BINARY) bind-lib
|
||||
|
||||
#############################################################
|
||||
#
|
||||
# install bind libraries
|
||||
#
|
||||
#############################################################
|
||||
$(STAGING_DIR)/lib/libdns.so: $(BIND_DIR2)/$(BIND_BINARY)
|
||||
$(MAKE) $(TARGET_CONFIGURE_OPTS) -j1 DESTDIR=$(STAGING_DIR) -C $(BIND_DIR2)/lib install
|
||||
|
||||
$(TARGET_DIR)/lib/libdns.so: $(STAGING_DIR)/lib/libdns.so
|
||||
mkdir -p $(TARGET_DIR)/lib
|
||||
cd $(STAGING_DIR)/lib; \
|
||||
cp -a libdns*so* libisc*so* libbind9*so* \
|
||||
liblwres*so* $(TARGET_DIR)/lib
|
||||
|
||||
bind-lib: $(STAGING_DIR)/lib/libdns.so $(TARGET_DIR)/lib/libdns.so
|
||||
|
||||
bind: uclibc bind-bin bind-lib
|
||||
|
||||
bind-clean:
|
||||
-$(MAKE) -C $(BIND_DIR2) clean
|
||||
|
||||
bind-dirclean:
|
||||
rm -rf $(BIND_DIR2)
|
||||
|
||||
#############################################################
|
||||
#
|
||||
# Toplevel Makefile options
|
||||
#
|
||||
#############################################################
|
||||
ifeq ($(BR2_PACKAGE_BIND),y)
|
||||
TARGETS+=bind
|
||||
$(BIND_HOOK_POST_INSTALL):
|
||||
rm -f $(TARGET_DIR)/usr/bin/isc-config.sh
|
||||
ifneq ($(BR2_PACKAGE_BIND_TOOLS),y)
|
||||
rm -rf $(addprefix $(TARGET_DIR)/usr/bin/, $(BIND_TARGET_BINS))
|
||||
endif
|
||||
$(INSTALL) -m 0755 -D package/bind/bind.sysvinit $(TARGET_DIR)/etc/init.d/S81named
|
||||
touch $@
|
||||
|
||||
$(BIND_TARGET_UNINSTALL):
|
||||
$(call MESSAGE,"Uninstalling")
|
||||
rm -rf $(addprefix $(TARGET_DIR)/usr/sbin/, $(BIND_TARGET_SBINS))
|
||||
rm -rf $(addprefix $(TARGET_DIR)/usr/bin/, $(BIND_TARGET_BINS))
|
||||
rm -rf $(addprefix $(TARGET_DIR)/usr/lib/, $(BIND_TARGET_LIBS))
|
||||
rm -f $(TARGET_DIR)/etc/init.d/S81named
|
||||
rm -f $(BIND_TARGET_INSTALL_TARGET) $(BIND_HOOK_POST_INSTALL)
|
||||
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
config BR2_PACKAGE_BLACKBOX
|
||||
bool "blackbox"
|
||||
depends on BR2_PACKAGE_XORG||BR2_PACKAGE_XORG7
|
||||
depends on BR2_INSTALL_LIBSTDCPP
|
||||
help
|
||||
Blackbox is a fast, lightweight window manager for the X
|
||||
Window System.
|
||||
|
||||
106
package/blackbox/blackbox-0.70.1-gcc43.patch
Normal file
106
package/blackbox/blackbox-0.70.1-gcc43.patch
Normal file
@@ -0,0 +1,106 @@
|
||||
diff -Naupr blackbox-0.70.1.orig/lib/Image.cc blackbox-0.70.1/lib/Image.cc
|
||||
--- blackbox-0.70.1.orig/lib/Image.cc 2005-04-08 17:41:09.000000000 +0200
|
||||
+++ blackbox-0.70.1/lib/Image.cc 2008-02-24 08:31:28.000000000 +0100
|
||||
@@ -42,8 +42,9 @@
|
||||
|
||||
#include <assert.h>
|
||||
#include <math.h>
|
||||
-#include <stdio.h>
|
||||
-#include <stdlib.h>
|
||||
+#include <cstdio>
|
||||
+#include <cstdlib>
|
||||
+#include <cstring>
|
||||
|
||||
// #define COLORTABLE_DEBUG
|
||||
// #define MITSHM_DEBUG
|
||||
diff -Naupr blackbox-0.70.1.orig/lib/Resource.cc blackbox-0.70.1/lib/Resource.cc
|
||||
--- blackbox-0.70.1.orig/lib/Resource.cc 2005-04-06 23:16:50.000000000 +0200
|
||||
+++ blackbox-0.70.1/lib/Resource.cc 2008-02-24 08:33:11.000000000 +0100
|
||||
@@ -28,7 +28,8 @@
|
||||
#include <X11/Xlib.h>
|
||||
#include <X11/Xresource.h>
|
||||
|
||||
-#include <stdio.h>
|
||||
+#include <cstdio>
|
||||
+#include <cstring>
|
||||
|
||||
|
||||
bt::Resource::Resource(void)
|
||||
diff -Naupr blackbox-0.70.1.orig/lib/XDG.cc blackbox-0.70.1/lib/XDG.cc
|
||||
--- blackbox-0.70.1.orig/lib/XDG.cc 2005-04-06 16:04:38.000000000 +0200
|
||||
+++ blackbox-0.70.1/lib/XDG.cc 2008-02-24 08:34:11.000000000 +0100
|
||||
@@ -25,7 +25,8 @@
|
||||
#include "Util.hh"
|
||||
#include "XDG.hh"
|
||||
|
||||
-#include <stdlib.h>
|
||||
+#include <cstdlib>
|
||||
+#include <algorithm>
|
||||
|
||||
|
||||
// make sure directory names end with a slash
|
||||
diff -Naupr blackbox-0.70.1.orig/src/BlackboxResource.cc blackbox-0.70.1/src/BlackboxResource.cc
|
||||
--- blackbox-0.70.1.orig/src/BlackboxResource.cc 2005-10-18 09:34:46.000000000 +0200
|
||||
+++ blackbox-0.70.1/src/BlackboxResource.cc 2008-02-24 08:34:49.000000000 +0100
|
||||
@@ -33,6 +33,8 @@
|
||||
#include <X11/Xutil.h>
|
||||
#include <X11/cursorfont.h>
|
||||
|
||||
+#include <cstring>
|
||||
+
|
||||
|
||||
BlackboxResource::BlackboxResource(const std::string& rc): rc_file(rc) {
|
||||
screen_resources = 0;
|
||||
diff -Naupr blackbox-0.70.1.orig/src/main.cc blackbox-0.70.1/src/main.cc
|
||||
--- blackbox-0.70.1.orig/src/main.cc 2005-01-03 10:42:57.000000000 +0100
|
||||
+++ blackbox-0.70.1/src/main.cc 2008-02-24 08:37:16.000000000 +0100
|
||||
@@ -34,7 +34,8 @@
|
||||
#include "blackbox.hh"
|
||||
#include "../version.h"
|
||||
|
||||
-#include <stdio.h>
|
||||
+#include <cstdio>
|
||||
+#include <cstring>
|
||||
|
||||
|
||||
static void showHelp(int exitval) {
|
||||
diff -Naupr blackbox-0.70.1.orig/src/Screen.cc blackbox-0.70.1/src/Screen.cc
|
||||
--- blackbox-0.70.1.orig/src/Screen.cc 2005-10-18 10:07:22.000000000 +0200
|
||||
+++ blackbox-0.70.1/src/Screen.cc 2008-02-24 08:35:46.000000000 +0100
|
||||
@@ -45,8 +45,9 @@
|
||||
#include <sys/types.h>
|
||||
#include <sys/stat.h>
|
||||
#include <assert.h>
|
||||
-#include <ctype.h>
|
||||
#include <dirent.h>
|
||||
+#include <cctype>
|
||||
+#include <cstring>
|
||||
|
||||
|
||||
static bool running = true;
|
||||
diff -Naupr blackbox-0.70.1.orig/src/ScreenResource.cc blackbox-0.70.1/src/ScreenResource.cc
|
||||
--- blackbox-0.70.1.orig/src/ScreenResource.cc 2005-04-13 07:54:08.000000000 +0200
|
||||
+++ blackbox-0.70.1/src/ScreenResource.cc 2008-02-24 08:36:31.000000000 +0100
|
||||
@@ -33,6 +33,8 @@
|
||||
|
||||
#include <assert.h>
|
||||
|
||||
+#include <cstring>
|
||||
+
|
||||
|
||||
static const int iconify_width = 9;
|
||||
static const int iconify_height = 9;
|
||||
diff -Naupr blackbox-0.70.1.orig/util/bsetroot.cc blackbox-0.70.1/util/bsetroot.cc
|
||||
--- blackbox-0.70.1.orig/util/bsetroot.cc 2005-03-15 08:01:37.000000000 +0100
|
||||
+++ blackbox-0.70.1/util/bsetroot.cc 2008-02-24 08:38:41.000000000 +0100
|
||||
@@ -30,7 +30,9 @@
|
||||
#include <cctype>
|
||||
|
||||
#include <X11/Xatom.h>
|
||||
-#include <stdio.h>
|
||||
+#include <cstdio>
|
||||
+#include <cstdlib>
|
||||
+#include <cstring>
|
||||
|
||||
|
||||
// ignore all X errors
|
||||
@@ -11,7 +11,7 @@ BRIDGE_AUTORECONF:=YES
|
||||
BRIDGE_INSTALL_STAGING:=NO
|
||||
BRIDGE_INSTALL_TARGET:=YES
|
||||
BRIDGE_INSTALL_TARGET_OPT:=DESTDIR=$(TARGET_DIR) install
|
||||
BRIDGE_CONF_OPT:=--with-linux-headers=$(LINUX_HEADERS_DIR) $(DISABLE_NLS)
|
||||
BRIDGE_CONF_OPT:=--with-linux-headers=$(LINUX_HEADERS_DIR)
|
||||
BRIDGE_DEPENDENCIES:=uclibc
|
||||
|
||||
$(eval $(call AUTOTARGETS,package,bridge))
|
||||
|
||||
@@ -12,44 +12,20 @@ config BR2_PACKAGE_BUSYBOX
|
||||
choice
|
||||
prompt "BusyBox Version"
|
||||
depends on BR2_PACKAGE_BUSYBOX
|
||||
default BR2_BUSYBOX_VERSION_1_13_X
|
||||
default BR2_BUSYBOX_VERSION_1_14_X
|
||||
help
|
||||
Select the version of BusyBox you wish to use.
|
||||
|
||||
config BR2_BUSYBOX_VERSION_1_2_2_1
|
||||
bool "BusyBox 1.2.2.1"
|
||||
depends on BR2_DEPRECATED
|
||||
|
||||
config BR2_BUSYBOX_VERSION_1_6_1
|
||||
bool "BusyBox 1.6.1"
|
||||
depends on BR2_DEPRECATED
|
||||
|
||||
config BR2_BUSYBOX_VERSION_1_7_X
|
||||
bool "BusyBox 1.7.x"
|
||||
depends on BR2_DEPRECATED
|
||||
|
||||
config BR2_BUSYBOX_VERSION_1_8_X
|
||||
bool "BusyBox 1.8.x"
|
||||
depends on BR2_DEPRECATED
|
||||
|
||||
config BR2_BUSYBOX_VERSION_1_9_X
|
||||
bool "BusyBox 1.9.x"
|
||||
depends on BR2_DEPRECATED
|
||||
|
||||
config BR2_BUSYBOX_VERSION_1_10_X
|
||||
bool "BusyBox 1.10.x"
|
||||
depends on BR2_DEPRECATED
|
||||
|
||||
config BR2_BUSYBOX_VERSION_1_11_X
|
||||
bool "BusyBox 1.11.x"
|
||||
depends on BR2_DEPRECATED
|
||||
|
||||
config BR2_BUSYBOX_VERSION_1_12_X
|
||||
bool "BusyBox 1.12.x"
|
||||
depends on BR2_DEPRECATED || BR2_RECENT
|
||||
depends on BR2_DEPRECATED
|
||||
|
||||
config BR2_BUSYBOX_VERSION_1_13_X
|
||||
bool "BusyBox 1.13.x"
|
||||
depends on BR2_DEPRECATED || BR2_RECENT
|
||||
|
||||
config BR2_BUSYBOX_VERSION_1_14_X
|
||||
bool "BusyBox 1.14.x"
|
||||
|
||||
config BR2_PACKAGE_BUSYBOX_SNAPSHOT
|
||||
bool "daily snapshot"
|
||||
@@ -58,15 +34,9 @@ endchoice
|
||||
|
||||
config BR2_BUSYBOX_VERSION
|
||||
string
|
||||
default "1.2.2.1" if BR2_BUSYBOX_VERSION_1_2_2_1
|
||||
default "1.6.1" if BR2_BUSYBOX_VERSION_1_6_1
|
||||
default "1.7.5" if BR2_BUSYBOX_VERSION_1_7_X
|
||||
default "1.8.3" if BR2_BUSYBOX_VERSION_1_8_X
|
||||
default "1.9.2" if BR2_BUSYBOX_VERSION_1_9_X
|
||||
default "1.10.4" if BR2_BUSYBOX_VERSION_1_10_X
|
||||
default "1.11.3" if BR2_BUSYBOX_VERSION_1_11_X
|
||||
default "1.12.4" if BR2_BUSYBOX_VERSION_1_12_X
|
||||
default "1.13.2" if BR2_BUSYBOX_VERSION_1_13_X
|
||||
default "1.13.4" if BR2_BUSYBOX_VERSION_1_13_X
|
||||
default "1.14.1" if BR2_BUSYBOX_VERSION_1_14_X
|
||||
|
||||
config BR2_PACKAGE_BUSYBOX_FULLINSTALL
|
||||
bool "Run BusyBox's own full installation"
|
||||
@@ -85,15 +55,9 @@ config BR2_PACKAGE_BUSYBOX_CONFIG
|
||||
string "BusyBox configuration file to use?"
|
||||
depends on BR2_PACKAGE_BUSYBOX
|
||||
default "target/device/x86/i386/busybox.config" if BR2_PACKAGE_BUSYBOX_SNAPSHOT
|
||||
default "package/busybox/busybox-1.2.2.1.config" if BR2_BUSYBOX_VERSION_1_2_2_1
|
||||
default "package/busybox/busybox-1.6.0.config" if BR2_BUSYBOX_VERSION_1_6_1
|
||||
default "package/busybox/busybox-1.6.0.config" if BR2_BUSYBOX_VERSION_1_7_X
|
||||
default "package/busybox/busybox-1.6.0.config" if BR2_BUSYBOX_VERSION_1_8_X
|
||||
default "package/busybox/busybox-1.6.0.config" if BR2_BUSYBOX_VERSION_1_9_X
|
||||
default "package/busybox/busybox-1.6.0.config" if BR2_BUSYBOX_VERSION_1_10_X
|
||||
default "package/busybox/busybox-1.11.x.config" if BR2_BUSYBOX_VERSION_1_11_X
|
||||
default "package/busybox/busybox-1.11.x.config" if BR2_BUSYBOX_VERSION_1_12_X
|
||||
default "package/busybox/busybox-1.13.x.config" if BR2_BUSYBOX_VERSION_1_13_X
|
||||
default "package/busybox/busybox-1.13.x.config" if BR2_BUSYBOX_VERSION_1_14_X
|
||||
help
|
||||
Some people may wish to use their own modified BusyBox configuration
|
||||
file, and will specify their config file location with this option.
|
||||
|
||||
@@ -1,39 +0,0 @@
|
||||
--- busybox-1.13.2/testsuite/mdev.tests Sun Nov 9 18:28:19 2008
|
||||
+++ busybox-1.13.2-mdev/testsuite/mdev.tests Mon Jan 12 08:59:15 2009
|
||||
@@ -111,6 +111,22 @@
|
||||
|
||||
# continuing to use directory structure from prev test
|
||||
rm -rf mdev.testdir/dev/*
|
||||
+echo "sda 0:0 644 =block/ @echo @echo TEST" >mdev.testdir/etc/mdev.conf
|
||||
+testing "mdev move and command" \
|
||||
+ "env - PATH=$PATH ACTION=add DEVPATH=/block/sda chroot mdev.testdir /mdev 2>&1;
|
||||
+ ls -lnR mdev.testdir/dev | $FILTER_LS2" \
|
||||
+"\
|
||||
+@echo TEST
|
||||
+mdev.testdir/dev:
|
||||
+drwxr-xr-x 2 0 0 block
|
||||
+
|
||||
+mdev.testdir/dev/block:
|
||||
+brw-r--r-- 1 0 0 sda
|
||||
+" \
|
||||
+ "" ""
|
||||
+
|
||||
+# continuing to use directory structure from prev test
|
||||
+rm -rf mdev.testdir/dev/*
|
||||
echo "@8,0 :1 644" >mdev.testdir/etc/mdev.conf
|
||||
testing "mdev #maj,min and no explicit uid" \
|
||||
"env - PATH=$PATH ACTION=add DEVPATH=/block/sda chroot mdev.testdir /mdev 2>&1;
|
||||
--- busybox-1.13.2/util-linux/mdev.c Sun Nov 9 18:28:22 2008
|
||||
+++ busybox-1.13.2-mdev/util-linux/mdev.c Mon Jan 12 08:59:15 2009
|
||||
@@ -179,8 +179,9 @@
|
||||
unsigned i, n;
|
||||
#endif
|
||||
char *a = val;
|
||||
- s = strchr(val, ' ');
|
||||
- val = (s && s[1]) ? s+1 : NULL;
|
||||
+ s = strchrnul(val, ' ');
|
||||
+ val = (s[0] && s[1]) ? s+1 : NULL;
|
||||
+ s[0] = '\0';
|
||||
#if ENABLE_FEATURE_MDEV_RENAME_REGEXP
|
||||
/* substitute %1..9 with off[1..9], if any */
|
||||
n = 0;
|
||||
@@ -1,61 +0,0 @@
|
||||
diff -ur busybox-1.2.2.1/networking/dnsd.c busybox-1.2.2.1-patched/networking/dnsd.c
|
||||
--- busybox-1.2.2.1/networking/dnsd.c 2006-10-24 15:21:17.000000000 -0500
|
||||
+++ busybox-1.2.2.1-patched/networking/dnsd.c 2007-04-12 12:49:53.000000000 -0500
|
||||
@@ -31,11 +31,11 @@
|
||||
|
||||
#define is_daemon() (flags&16)
|
||||
#define is_verbose() (flags&32)
|
||||
-//#define DEBUG
|
||||
+#undef DEBUG
|
||||
|
||||
|
||||
enum {
|
||||
- MAX_HOST_LEN = 16, // longest host name allowed is 15
|
||||
+ MAX_HOST_LEN = 41, // longest host name allowed is 40
|
||||
IP_STRING_LEN = 18, // .xxx.xxx.xxx.xxx\0
|
||||
|
||||
//must be strlen('.in-addr.arpa') larger than IP_STRING_LEN
|
||||
@@ -229,19 +229,23 @@
|
||||
{
|
||||
int i;
|
||||
struct dns_entry *d = dnsentry;
|
||||
+ char *p,*q;
|
||||
+
|
||||
+ q = (char *)&(qs[1]);
|
||||
+ p = &(d->name[1]);
|
||||
|
||||
if(d) do {
|
||||
#ifdef DEBUG
|
||||
if(qs && d) {
|
||||
- char *p,*q;
|
||||
- q = (char *)&(qs[1]);
|
||||
- p = &(d->name[1]);
|
||||
fprintf(stderr, "\n%s: %d/%d p:%s q:%s %d",
|
||||
__FUNCTION__, strlen(p), (int)(d->name[0]),
|
||||
p, q, strlen(q));
|
||||
}
|
||||
#endif
|
||||
if (type == REQ_A) { /* search by host name */
|
||||
+ p = &(d->name[1]);
|
||||
+ if(strlen(q) != strlen(p))
|
||||
+ continue;
|
||||
for(i = 1; i <= (int)(d->name[0]); i++)
|
||||
if(tolower(qs[i]) != d->name[i])
|
||||
break;
|
||||
@@ -398,13 +402,15 @@
|
||||
fprintf(stderr,"fileconf: %s\n", fileconf);
|
||||
}
|
||||
|
||||
- if(is_daemon())
|
||||
+ if(is_daemon()) {
|
||||
#ifdef BB_NOMMU
|
||||
/* reexec for vfork() do continue parent */
|
||||
vfork_daemon_rexec(1, 0, argc, argv, "-d");
|
||||
#else
|
||||
bb_xdaemon(1, 0);
|
||||
#endif
|
||||
+ daemonmode = 1;
|
||||
+ }
|
||||
|
||||
dnsentryinit(is_verbose());
|
||||
|
||||
@@ -1,643 +0,0 @@
|
||||
#
|
||||
# Automatically generated make config: don't edit
|
||||
#
|
||||
HAVE_DOT_CONFIG=y
|
||||
|
||||
#
|
||||
# Busybox Settings
|
||||
#
|
||||
|
||||
#
|
||||
# General Configuration
|
||||
#
|
||||
# CONFIG_NITPICK is not set
|
||||
# CONFIG_FEATURE_BUFFERS_USE_MALLOC is not set
|
||||
# CONFIG_FEATURE_BUFFERS_GO_ON_STACK is not set
|
||||
# CONFIG_FEATURE_BUFFERS_GO_IN_BSS is not set
|
||||
CONFIG_SHOW_USAGE=y
|
||||
CONFIG_FEATURE_VERBOSE_USAGE=y
|
||||
# CONFIG_FEATURE_COMPRESS_USAGE is not set
|
||||
# CONFIG_FEATURE_INSTALLER is not set
|
||||
# CONFIG_LOCALE_SUPPORT is not set
|
||||
CONFIG_GETOPT_LONG=y
|
||||
CONFIG_FEATURE_DEVPTS=y
|
||||
# CONFIG_FEATURE_CLEAN_UP is not set
|
||||
CONFIG_FEATURE_SUID=y
|
||||
# CONFIG_FEATURE_SUID_CONFIG is not set
|
||||
# CONFIG_FEATURE_SUID_CONFIG_QUIET is not set
|
||||
# CONFIG_SELINUX is not set
|
||||
CONFIG_BUSYBOX_EXEC_PATH="/proc/self/exe"
|
||||
|
||||
#
|
||||
# Build Options
|
||||
#
|
||||
# CONFIG_STATIC is not set
|
||||
# CONFIG_BUILD_LIBBUSYBOX is not set
|
||||
# CONFIG_FEATURE_FULL_LIBBUSYBOX is not set
|
||||
# CONFIG_FEATURE_SHARED_BUSYBOX is not set
|
||||
CONFIG_LFS=y
|
||||
# USING_CROSS_COMPILER is not set
|
||||
CROSS_COMPILER_PREFIX=""
|
||||
# CONFIG_BUILD_AT_ONCE is not set
|
||||
|
||||
#
|
||||
# Debugging Options
|
||||
#
|
||||
# CONFIG_DEBUG is not set
|
||||
# CONFIG_DEBUG_PESSIMIZE is not set
|
||||
# CONFIG_NO_DEBUG_LIB is not set
|
||||
# CONFIG_DMALLOC is not set
|
||||
# CONFIG_EFENCE is not set
|
||||
CONFIG_DEBUG_YANK_SUSv2=y
|
||||
|
||||
#
|
||||
# Installation Options
|
||||
#
|
||||
# CONFIG_INSTALL_NO_USR is not set
|
||||
CONFIG_INSTALL_APPLET_SYMLINKS=y
|
||||
# CONFIG_INSTALL_APPLET_HARDLINKS is not set
|
||||
# CONFIG_INSTALL_APPLET_DONT is not set
|
||||
PREFIX="./_install"
|
||||
|
||||
#
|
||||
# Busybox Library Tuning
|
||||
#
|
||||
CONFIG_MD5_SIZE_VS_SPEED=2
|
||||
|
||||
#
|
||||
# Applets
|
||||
#
|
||||
|
||||
#
|
||||
# Archival Utilities
|
||||
#
|
||||
# CONFIG_AR is not set
|
||||
# CONFIG_FEATURE_AR_LONG_FILENAMES is not set
|
||||
CONFIG_BUNZIP2=y
|
||||
# CONFIG_CPIO is not set
|
||||
# CONFIG_DPKG is not set
|
||||
# CONFIG_DPKG_DEB is not set
|
||||
# CONFIG_FEATURE_DPKG_DEB_EXTRACT_ONLY is not set
|
||||
CONFIG_GUNZIP=y
|
||||
# CONFIG_FEATURE_GUNZIP_UNCOMPRESS is not set
|
||||
CONFIG_GZIP=y
|
||||
# CONFIG_RPM2CPIO is not set
|
||||
# CONFIG_RPM is not set
|
||||
CONFIG_TAR=y
|
||||
CONFIG_FEATURE_TAR_CREATE=y
|
||||
CONFIG_FEATURE_TAR_BZIP2=y
|
||||
# CONFIG_FEATURE_TAR_LZMA is not set
|
||||
# CONFIG_FEATURE_TAR_FROM is not set
|
||||
CONFIG_FEATURE_TAR_GZIP=y
|
||||
# CONFIG_FEATURE_TAR_COMPRESS is not set
|
||||
# CONFIG_FEATURE_TAR_OLDGNU_COMPATIBILITY is not set
|
||||
CONFIG_FEATURE_TAR_GNU_EXTENSIONS=y
|
||||
# CONFIG_FEATURE_TAR_LONG_OPTIONS is not set
|
||||
# CONFIG_UNCOMPRESS is not set
|
||||
# CONFIG_UNLZMA is not set
|
||||
# CONFIG_FEATURE_LZMA_FAST is not set
|
||||
CONFIG_UNZIP=y
|
||||
|
||||
#
|
||||
# Common options for cpio and tar
|
||||
#
|
||||
# CONFIG_FEATURE_UNARCHIVE_TAPE is not set
|
||||
# CONFIG_FEATURE_DEB_TAR_GZ is not set
|
||||
# CONFIG_FEATURE_DEB_TAR_BZ2 is not set
|
||||
# CONFIG_FEATURE_DEB_TAR_LZMA is not set
|
||||
|
||||
#
|
||||
# Coreutils
|
||||
#
|
||||
CONFIG_BASENAME=y
|
||||
# CONFIG_CAL is not set
|
||||
CONFIG_CAT=y
|
||||
# CONFIG_CATV is not set
|
||||
CONFIG_CHGRP=y
|
||||
CONFIG_CHMOD=y
|
||||
CONFIG_CHOWN=y
|
||||
CONFIG_CHROOT=y
|
||||
# CONFIG_CKSUM is not set
|
||||
CONFIG_CMP=y
|
||||
# CONFIG_COMM is not set
|
||||
CONFIG_CP=y
|
||||
CONFIG_CUT=y
|
||||
CONFIG_DATE=y
|
||||
CONFIG_FEATURE_DATE_ISOFMT=y
|
||||
CONFIG_DD=y
|
||||
# CONFIG_FEATURE_DD_SIGNAL_HANDLING is not set
|
||||
# CONFIG_FEATURE_DD_IBS_OBS is not set
|
||||
CONFIG_DF=y
|
||||
# CONFIG_DIFF is not set
|
||||
# CONFIG_FEATURE_DIFF_BINARY is not set
|
||||
# CONFIG_FEATURE_DIFF_DIR is not set
|
||||
# CONFIG_FEATURE_DIFF_MINIMAL is not set
|
||||
CONFIG_DIRNAME=y
|
||||
CONFIG_DOS2UNIX=y
|
||||
CONFIG_UNIX2DOS=y
|
||||
CONFIG_DU=y
|
||||
CONFIG_FEATURE_DU_DEFAULT_BLOCKSIZE_1K=y
|
||||
CONFIG_ECHO=y
|
||||
CONFIG_FEATURE_FANCY_ECHO=y
|
||||
CONFIG_ENV=y
|
||||
# CONFIG_FEATURE_ENV_LONG_OPTIONS is not set
|
||||
CONFIG_EXPR=y
|
||||
CONFIG_EXPR_MATH_SUPPORT_64=y
|
||||
CONFIG_FALSE=y
|
||||
# CONFIG_FOLD is not set
|
||||
CONFIG_HEAD=y
|
||||
# CONFIG_FEATURE_FANCY_HEAD is not set
|
||||
CONFIG_HOSTID=y
|
||||
CONFIG_ID=y
|
||||
CONFIG_INSTALL=y
|
||||
# CONFIG_FEATURE_INSTALL_LONG_OPTIONS is not set
|
||||
# CONFIG_LENGTH is not set
|
||||
CONFIG_LN=y
|
||||
CONFIG_LOGNAME=y
|
||||
CONFIG_LS=y
|
||||
CONFIG_FEATURE_LS_FILETYPES=y
|
||||
CONFIG_FEATURE_LS_FOLLOWLINKS=y
|
||||
CONFIG_FEATURE_LS_RECURSIVE=y
|
||||
CONFIG_FEATURE_LS_SORTFILES=y
|
||||
CONFIG_FEATURE_LS_TIMESTAMPS=y
|
||||
CONFIG_FEATURE_LS_USERNAME=y
|
||||
CONFIG_FEATURE_LS_COLOR=y
|
||||
CONFIG_FEATURE_LS_COLOR_IS_DEFAULT=y
|
||||
CONFIG_MD5SUM=y
|
||||
CONFIG_MKDIR=y
|
||||
# CONFIG_FEATURE_MKDIR_LONG_OPTIONS is not set
|
||||
# CONFIG_MKFIFO is not set
|
||||
CONFIG_MKNOD=y
|
||||
CONFIG_MV=y
|
||||
# CONFIG_FEATURE_MV_LONG_OPTIONS is not set
|
||||
# CONFIG_NICE is not set
|
||||
# CONFIG_NOHUP is not set
|
||||
# CONFIG_OD is not set
|
||||
# CONFIG_PRINTENV is not set
|
||||
# CONFIG_PRINTF is not set
|
||||
CONFIG_PWD=y
|
||||
# CONFIG_REALPATH is not set
|
||||
CONFIG_RM=y
|
||||
CONFIG_RMDIR=y
|
||||
# CONFIG_SEQ is not set
|
||||
CONFIG_SHA1SUM=y
|
||||
CONFIG_SLEEP=y
|
||||
# CONFIG_FEATURE_FANCY_SLEEP is not set
|
||||
CONFIG_SORT=y
|
||||
CONFIG_FEATURE_SORT_BIG=y
|
||||
# CONFIG_STAT is not set
|
||||
# CONFIG_FEATURE_STAT_FORMAT is not set
|
||||
CONFIG_STTY=y
|
||||
# CONFIG_SUM is not set
|
||||
CONFIG_SYNC=y
|
||||
CONFIG_TAIL=y
|
||||
CONFIG_FEATURE_FANCY_TAIL=y
|
||||
CONFIG_TEE=y
|
||||
CONFIG_FEATURE_TEE_USE_BLOCK_IO=y
|
||||
CONFIG_TEST=y
|
||||
CONFIG_FEATURE_TEST_64=y
|
||||
CONFIG_TOUCH=y
|
||||
# CONFIG_TR is not set
|
||||
# CONFIG_FEATURE_TR_CLASSES is not set
|
||||
# CONFIG_FEATURE_TR_EQUIV is not set
|
||||
CONFIG_TRUE=y
|
||||
CONFIG_TTY=y
|
||||
CONFIG_UNAME=y
|
||||
CONFIG_UNIQ=y
|
||||
CONFIG_USLEEP=y
|
||||
CONFIG_UUDECODE=y
|
||||
CONFIG_UUENCODE=y
|
||||
# CONFIG_WATCH is not set
|
||||
CONFIG_WC=y
|
||||
# CONFIG_WHO is not set
|
||||
CONFIG_WHOAMI=y
|
||||
CONFIG_YES=y
|
||||
|
||||
#
|
||||
# Common options for cp and mv
|
||||
#
|
||||
CONFIG_FEATURE_PRESERVE_HARDLINKS=y
|
||||
|
||||
#
|
||||
# Common options for ls, more and telnet
|
||||
#
|
||||
CONFIG_FEATURE_AUTOWIDTH=y
|
||||
|
||||
#
|
||||
# Common options for df, du, ls
|
||||
#
|
||||
CONFIG_FEATURE_HUMAN_READABLE=y
|
||||
|
||||
#
|
||||
# Common options for md5sum, sha1sum
|
||||
#
|
||||
CONFIG_FEATURE_MD5_SHA1_SUM_CHECK=y
|
||||
|
||||
#
|
||||
# Console Utilities
|
||||
#
|
||||
CONFIG_CHVT=y
|
||||
CONFIG_CLEAR=y
|
||||
CONFIG_DEALLOCVT=y
|
||||
# CONFIG_DUMPKMAP is not set
|
||||
# CONFIG_LOADFONT is not set
|
||||
# CONFIG_LOADKMAP is not set
|
||||
CONFIG_OPENVT=y
|
||||
CONFIG_RESET=y
|
||||
# CONFIG_SETCONSOLE is not set
|
||||
# CONFIG_FEATURE_SETCONSOLE_LONG_OPTIONS is not set
|
||||
# CONFIG_SETKEYCODES is not set
|
||||
# CONFIG_SETLOGCONS is not set
|
||||
|
||||
#
|
||||
# Debian Utilities
|
||||
#
|
||||
CONFIG_MKTEMP=y
|
||||
# CONFIG_PIPE_PROGRESS is not set
|
||||
CONFIG_READLINK=y
|
||||
CONFIG_FEATURE_READLINK_FOLLOW=y
|
||||
CONFIG_RUN_PARTS=y
|
||||
CONFIG_FEATURE_RUN_PARTS_LONG_OPTIONS=y
|
||||
CONFIG_START_STOP_DAEMON=y
|
||||
CONFIG_FEATURE_START_STOP_DAEMON_FANCY=y
|
||||
CONFIG_FEATURE_START_STOP_DAEMON_LONG_OPTIONS=y
|
||||
CONFIG_WHICH=y
|
||||
|
||||
#
|
||||
# Editors
|
||||
#
|
||||
# CONFIG_AWK is not set
|
||||
# CONFIG_FEATURE_AWK_MATH is not set
|
||||
# CONFIG_ED is not set
|
||||
# CONFIG_PATCH is not set
|
||||
CONFIG_SED=y
|
||||
CONFIG_VI=y
|
||||
CONFIG_FEATURE_VI_COLON=y
|
||||
CONFIG_FEATURE_VI_YANKMARK=y
|
||||
CONFIG_FEATURE_VI_SEARCH=y
|
||||
CONFIG_FEATURE_VI_USE_SIGNALS=y
|
||||
CONFIG_FEATURE_VI_DOT_CMD=y
|
||||
CONFIG_FEATURE_VI_READONLY=y
|
||||
CONFIG_FEATURE_VI_SETOPTS=y
|
||||
CONFIG_FEATURE_VI_SET=y
|
||||
CONFIG_FEATURE_VI_WIN_RESIZE=y
|
||||
CONFIG_FEATURE_VI_OPTIMIZE_CURSOR=y
|
||||
|
||||
#
|
||||
# Finding Utilities
|
||||
#
|
||||
CONFIG_FIND=y
|
||||
CONFIG_FEATURE_FIND_PRINT0=y
|
||||
CONFIG_FEATURE_FIND_MTIME=y
|
||||
# CONFIG_FEATURE_FIND_MMIN is not set
|
||||
CONFIG_FEATURE_FIND_PERM=y
|
||||
CONFIG_FEATURE_FIND_TYPE=y
|
||||
CONFIG_FEATURE_FIND_XDEV=y
|
||||
# CONFIG_FEATURE_FIND_NEWER is not set
|
||||
# CONFIG_FEATURE_FIND_INUM is not set
|
||||
CONFIG_FEATURE_FIND_EXEC=y
|
||||
CONFIG_GREP=y
|
||||
CONFIG_FEATURE_GREP_EGREP_ALIAS=y
|
||||
CONFIG_FEATURE_GREP_FGREP_ALIAS=y
|
||||
CONFIG_FEATURE_GREP_CONTEXT=y
|
||||
CONFIG_XARGS=y
|
||||
# CONFIG_FEATURE_XARGS_SUPPORT_CONFIRMATION is not set
|
||||
CONFIG_FEATURE_XARGS_SUPPORT_QUOTES=y
|
||||
CONFIG_FEATURE_XARGS_SUPPORT_TERMOPT=y
|
||||
CONFIG_FEATURE_XARGS_SUPPORT_ZERO_TERM=y
|
||||
|
||||
#
|
||||
# Init Utilities
|
||||
#
|
||||
CONFIG_INIT=y
|
||||
# CONFIG_DEBUG_INIT is not set
|
||||
CONFIG_FEATURE_USE_INITTAB=y
|
||||
CONFIG_FEATURE_INIT_SCTTY=y
|
||||
CONFIG_FEATURE_EXTRA_QUIET=y
|
||||
# CONFIG_FEATURE_INIT_COREDUMPS is not set
|
||||
CONFIG_FEATURE_INITRD=y
|
||||
CONFIG_HALT=y
|
||||
# CONFIG_MESG is not set
|
||||
|
||||
#
|
||||
# Login/Password Management Utilities
|
||||
#
|
||||
CONFIG_FEATURE_SHADOWPASSWDS=y
|
||||
# CONFIG_USE_BB_SHADOW is not set
|
||||
# CONFIG_USE_BB_PWD_GRP is not set
|
||||
CONFIG_ADDGROUP=y
|
||||
CONFIG_DELGROUP=y
|
||||
CONFIG_ADDUSER=y
|
||||
CONFIG_DELUSER=y
|
||||
CONFIG_GETTY=y
|
||||
# CONFIG_FEATURE_UTMP is not set
|
||||
# CONFIG_FEATURE_WTMP is not set
|
||||
CONFIG_LOGIN=y
|
||||
CONFIG_FEATURE_SECURETTY=y
|
||||
CONFIG_PASSWD=y
|
||||
CONFIG_SU=y
|
||||
CONFIG_SULOGIN=y
|
||||
CONFIG_VLOCK=y
|
||||
|
||||
#
|
||||
# Linux Ext2 FS Progs
|
||||
#
|
||||
# CONFIG_CHATTR is not set
|
||||
# CONFIG_E2FSCK is not set
|
||||
# CONFIG_FSCK is not set
|
||||
# CONFIG_LSATTR is not set
|
||||
# CONFIG_MKE2FS is not set
|
||||
# CONFIG_TUNE2FS is not set
|
||||
# CONFIG_E2LABEL is not set
|
||||
# CONFIG_FINDFS is not set
|
||||
|
||||
#
|
||||
# Linux Module Utilities
|
||||
#
|
||||
CONFIG_INSMOD=y
|
||||
# CONFIG_FEATURE_INSMOD_VERSION_CHECKING is not set
|
||||
# CONFIG_FEATURE_INSMOD_KSYMOOPS_SYMBOLS is not set
|
||||
# CONFIG_FEATURE_INSMOD_LOADINKMEM is not set
|
||||
# CONFIG_FEATURE_INSMOD_LOAD_MAP is not set
|
||||
# CONFIG_FEATURE_INSMOD_LOAD_MAP_FULL is not set
|
||||
CONFIG_RMMOD=y
|
||||
CONFIG_LSMOD=y
|
||||
CONFIG_FEATURE_LSMOD_PRETTY_2_6_OUTPUT=y
|
||||
CONFIG_MODPROBE=y
|
||||
CONFIG_FEATURE_MODPROBE_MULTIPLE_OPTIONS=y
|
||||
|
||||
#
|
||||
# Options common to multiple modutils
|
||||
#
|
||||
CONFIG_FEATURE_CHECK_TAINTED_MODULE=y
|
||||
CONFIG_FEATURE_2_4_MODULES=y
|
||||
CONFIG_FEATURE_2_6_MODULES=y
|
||||
# CONFIG_FEATURE_QUERY_MODULE_INTERFACE is not set
|
||||
|
||||
#
|
||||
# Linux System Utilities
|
||||
#
|
||||
CONFIG_DMESG=y
|
||||
# CONFIG_FBSET is not set
|
||||
# CONFIG_FEATURE_FBSET_FANCY is not set
|
||||
# CONFIG_FEATURE_FBSET_READMODE is not set
|
||||
# CONFIG_FDFLUSH is not set
|
||||
CONFIG_FDFORMAT=y
|
||||
CONFIG_FDISK=y
|
||||
FDISK_SUPPORT_LARGE_DISKS=y
|
||||
CONFIG_FEATURE_FDISK_WRITABLE=y
|
||||
# CONFIG_FEATURE_AIX_LABEL is not set
|
||||
# CONFIG_FEATURE_SGI_LABEL is not set
|
||||
# CONFIG_FEATURE_SUN_LABEL is not set
|
||||
# CONFIG_FEATURE_OSF_LABEL is not set
|
||||
# CONFIG_FEATURE_FDISK_ADVANCED is not set
|
||||
# CONFIG_FREERAMDISK is not set
|
||||
# CONFIG_FSCK_MINIX is not set
|
||||
# CONFIG_MKFS_MINIX is not set
|
||||
# CONFIG_FEATURE_MINIX2 is not set
|
||||
CONFIG_GETOPT=y
|
||||
CONFIG_HEXDUMP=y
|
||||
CONFIG_HWCLOCK=y
|
||||
# CONFIG_FEATURE_HWCLOCK_LONG_OPTIONS is not set
|
||||
# CONFIG_FEATURE_HWCLOCK_ADJTIME_FHS is not set
|
||||
# CONFIG_IPCRM is not set
|
||||
# CONFIG_IPCS is not set
|
||||
# CONFIG_LOSETUP is not set
|
||||
# CONFIG_MDEV is not set
|
||||
# CONFIG_FEATURE_MDEV_CONF is not set
|
||||
# CONFIG_FEATURE_MDEV_EXEC is not set
|
||||
# CONFIG_MKSWAP is not set
|
||||
# CONFIG_FEATURE_MKSWAP_V0 is not set
|
||||
CONFIG_MORE=y
|
||||
CONFIG_FEATURE_USE_TERMIOS=y
|
||||
CONFIG_MOUNT=y
|
||||
CONFIG_FEATURE_MOUNT_NFS=y
|
||||
CONFIG_PIVOT_ROOT=y
|
||||
CONFIG_RDATE=y
|
||||
# CONFIG_READPROFILE is not set
|
||||
# CONFIG_SETARCH is not set
|
||||
CONFIG_SWAPONOFF=y
|
||||
CONFIG_SWITCH_ROOT=y
|
||||
CONFIG_UMOUNT=y
|
||||
CONFIG_FEATURE_UMOUNT_ALL=y
|
||||
|
||||
#
|
||||
# Common options for mount/umount
|
||||
#
|
||||
CONFIG_FEATURE_MOUNT_LOOP=y
|
||||
# CONFIG_FEATURE_MTAB_SUPPORT is not set
|
||||
|
||||
#
|
||||
# Miscellaneous Utilities
|
||||
#
|
||||
# CONFIG_ADJTIMEX is not set
|
||||
# CONFIG_BBCONFIG is not set
|
||||
# CONFIG_CROND is not set
|
||||
# CONFIG_DEBUG_CROND_OPTION is not set
|
||||
# CONFIG_FEATURE_CROND_CALL_SENDMAIL is not set
|
||||
# CONFIG_CRONTAB is not set
|
||||
CONFIG_DC=y
|
||||
# CONFIG_DEVFSD is not set
|
||||
# CONFIG_DEVFSD_MODLOAD is not set
|
||||
# CONFIG_DEVFSD_FG_NP is not set
|
||||
# CONFIG_DEVFSD_VERBOSE is not set
|
||||
# CONFIG_FEATURE_DEVFS is not set
|
||||
# CONFIG_EJECT is not set
|
||||
# CONFIG_LAST is not set
|
||||
CONFIG_LESS=y
|
||||
# CONFIG_FEATURE_LESS_BRACKETS is not set
|
||||
# CONFIG_FEATURE_LESS_FLAGS is not set
|
||||
# CONFIG_FEATURE_LESS_FLAGCS is not set
|
||||
# CONFIG_FEATURE_LESS_MARKS is not set
|
||||
CONFIG_FEATURE_LESS_REGEXP=y
|
||||
# CONFIG_HDPARM is not set
|
||||
# CONFIG_FEATURE_HDPARM_GET_IDENTITY is not set
|
||||
# CONFIG_FEATURE_HDPARM_HDIO_SCAN_HWIF is not set
|
||||
# CONFIG_FEATURE_HDPARM_HDIO_UNREGISTER_HWIF is not set
|
||||
# CONFIG_FEATURE_HDPARM_HDIO_DRIVE_RESET is not set
|
||||
# CONFIG_FEATURE_HDPARM_HDIO_TRISTATE_HWIF is not set
|
||||
# CONFIG_FEATURE_HDPARM_HDIO_GETSET_DMA is not set
|
||||
# CONFIG_MAKEDEVS is not set
|
||||
# CONFIG_FEATURE_MAKEDEVS_LEAF is not set
|
||||
# CONFIG_FEATURE_MAKEDEVS_TABLE is not set
|
||||
# CONFIG_MOUNTPOINT is not set
|
||||
CONFIG_MT=y
|
||||
# CONFIG_RUNLEVEL is not set
|
||||
# CONFIG_RX is not set
|
||||
CONFIG_STRINGS=y
|
||||
# CONFIG_SETSID is not set
|
||||
# CONFIG_TASKSET is not set
|
||||
CONFIG_TIME=y
|
||||
# CONFIG_WATCHDOG is not set
|
||||
|
||||
#
|
||||
# Networking Utilities
|
||||
#
|
||||
# CONFIG_FEATURE_IPV6 is not set
|
||||
# CONFIG_ARPING is not set
|
||||
# CONFIG_DNSD is not set
|
||||
# CONFIG_ETHER_WAKE is not set
|
||||
# CONFIG_FAKEIDENTD is not set
|
||||
# CONFIG_FTPGET is not set
|
||||
# CONFIG_FTPPUT is not set
|
||||
# CONFIG_FEATURE_FTPGETPUT_LONG_OPTIONS is not set
|
||||
CONFIG_HOSTNAME=y
|
||||
# CONFIG_HTTPD is not set
|
||||
# CONFIG_FEATURE_HTTPD_WITHOUT_INETD is not set
|
||||
# CONFIG_FEATURE_HTTPD_RELOAD_CONFIG_SIGHUP is not set
|
||||
# CONFIG_FEATURE_HTTPD_SETUID is not set
|
||||
# CONFIG_FEATURE_HTTPD_BASIC_AUTH is not set
|
||||
# CONFIG_FEATURE_HTTPD_AUTH_MD5 is not set
|
||||
# CONFIG_FEATURE_HTTPD_CONFIG_WITH_MIME_TYPES is not set
|
||||
# CONFIG_FEATURE_HTTPD_CGI is not set
|
||||
# CONFIG_FEATURE_HTTPD_CONFIG_WITH_SCRIPT_INTERPR is not set
|
||||
# CONFIG_FEATURE_HTTPD_SET_REMOTE_PORT_TO_ENV is not set
|
||||
# CONFIG_FEATURE_HTTPD_ENCODE_URL_STR is not set
|
||||
CONFIG_IFCONFIG=y
|
||||
CONFIG_FEATURE_IFCONFIG_STATUS=y
|
||||
# CONFIG_FEATURE_IFCONFIG_SLIP is not set
|
||||
# CONFIG_FEATURE_IFCONFIG_MEMSTART_IOADDR_IRQ is not set
|
||||
# CONFIG_FEATURE_IFCONFIG_HW is not set
|
||||
# CONFIG_FEATURE_IFCONFIG_BROADCAST_PLUS is not set
|
||||
CONFIG_IFUPDOWN=y
|
||||
# CONFIG_FEATURE_IFUPDOWN_IP is not set
|
||||
CONFIG_FEATURE_IFUPDOWN_IP_BUILTIN=y
|
||||
CONFIG_FEATURE_IFUPDOWN_IPV4=y
|
||||
# CONFIG_FEATURE_IFUPDOWN_IPV6 is not set
|
||||
# CONFIG_FEATURE_IFUPDOWN_IPX is not set
|
||||
# CONFIG_FEATURE_IFUPDOWN_MAPPING is not set
|
||||
# CONFIG_INETD is not set
|
||||
# CONFIG_FEATURE_INETD_SUPPORT_BUILTIN_ECHO is not set
|
||||
# CONFIG_FEATURE_INETD_SUPPORT_BUILTIN_DISCARD is not set
|
||||
# CONFIG_FEATURE_INETD_SUPPORT_BUILTIN_TIME is not set
|
||||
# CONFIG_FEATURE_INETD_SUPPORT_BUILTIN_DAYTIME is not set
|
||||
# CONFIG_FEATURE_INETD_SUPPORT_BUILTIN_CHARGEN is not set
|
||||
# CONFIG_FEATURE_INETD_RPC is not set
|
||||
# CONFIG_IP is not set
|
||||
# CONFIG_FEATURE_IP_ADDRESS is not set
|
||||
# CONFIG_FEATURE_IP_LINK is not set
|
||||
# CONFIG_FEATURE_IP_ROUTE is not set
|
||||
# CONFIG_FEATURE_IP_TUNNEL is not set
|
||||
# CONFIG_FEATURE_IP_SHORT_FORMS is not set
|
||||
# CONFIG_IPADDR is not set
|
||||
# CONFIG_IPLINK is not set
|
||||
# CONFIG_IPROUTE is not set
|
||||
# CONFIG_IPTUNNEL is not set
|
||||
# CONFIG_IPCALC is not set
|
||||
# CONFIG_FEATURE_IPCALC_FANCY is not set
|
||||
# CONFIG_FEATURE_IPCALC_LONG_OPTIONS is not set
|
||||
# CONFIG_NAMEIF is not set
|
||||
# CONFIG_NC is not set
|
||||
# CONFIG_NC_GAPING_SECURITY_HOLE is not set
|
||||
CONFIG_NETSTAT=y
|
||||
CONFIG_NSLOOKUP=y
|
||||
CONFIG_PING=y
|
||||
CONFIG_FEATURE_FANCY_PING=y
|
||||
# CONFIG_PING6 is not set
|
||||
# CONFIG_FEATURE_FANCY_PING6 is not set
|
||||
CONFIG_ROUTE=y
|
||||
CONFIG_TELNET=y
|
||||
CONFIG_FEATURE_TELNET_TTYPE=y
|
||||
# CONFIG_FEATURE_TELNET_AUTOLOGIN is not set
|
||||
# CONFIG_TELNETD is not set
|
||||
# CONFIG_FEATURE_TELNETD_INETD is not set
|
||||
# CONFIG_TFTP is not set
|
||||
# CONFIG_FEATURE_TFTP_GET is not set
|
||||
# CONFIG_FEATURE_TFTP_PUT is not set
|
||||
# CONFIG_FEATURE_TFTP_BLOCKSIZE is not set
|
||||
# CONFIG_DEBUG_TFTP is not set
|
||||
# CONFIG_TRACEROUTE is not set
|
||||
# CONFIG_FEATURE_TRACEROUTE_VERBOSE is not set
|
||||
# CONFIG_FEATURE_TRACEROUTE_SOURCE_ROUTE is not set
|
||||
# CONFIG_FEATURE_TRACEROUTE_USE_ICMP is not set
|
||||
|
||||
#
|
||||
# udhcp Server/Client
|
||||
#
|
||||
# CONFIG_APP_UDHCPD is not set
|
||||
CONFIG_APP_UDHCPC=y
|
||||
# CONFIG_APP_DUMPLEASES is not set
|
||||
CONFIG_FEATURE_UDHCP_SYSLOG=y
|
||||
# CONFIG_FEATURE_UDHCP_DEBUG is not set
|
||||
# CONFIG_VCONFIG is not set
|
||||
CONFIG_WGET=y
|
||||
CONFIG_FEATURE_WGET_STATUSBAR=y
|
||||
CONFIG_FEATURE_WGET_AUTHENTICATION=y
|
||||
# CONFIG_FEATURE_WGET_IP6_LITERAL is not set
|
||||
# CONFIG_FEATURE_WGET_LONG_OPTIONS is not set
|
||||
# CONFIG_ZCIP is not set
|
||||
|
||||
#
|
||||
# Process Utilities
|
||||
#
|
||||
CONFIG_FREE=y
|
||||
# CONFIG_FUSER is not set
|
||||
CONFIG_KILL=y
|
||||
CONFIG_KILLALL=y
|
||||
CONFIG_PIDOF=y
|
||||
# CONFIG_FEATURE_PIDOF_SINGLE is not set
|
||||
# CONFIG_FEATURE_PIDOF_OMIT is not set
|
||||
CONFIG_PS=y
|
||||
CONFIG_FEATURE_PS_WIDE=y
|
||||
# CONFIG_RENICE is not set
|
||||
# CONFIG_BB_SYSCTL is not set
|
||||
# CONFIG_TOP is not set
|
||||
# CONFIG_FEATURE_TOP_CPU_USAGE_PERCENTAGE is not set
|
||||
CONFIG_UPTIME=y
|
||||
|
||||
#
|
||||
# Shells
|
||||
#
|
||||
CONFIG_FEATURE_SH_IS_ASH=y
|
||||
# CONFIG_FEATURE_SH_IS_HUSH is not set
|
||||
# CONFIG_FEATURE_SH_IS_LASH is not set
|
||||
# CONFIG_FEATURE_SH_IS_MSH is not set
|
||||
# CONFIG_FEATURE_SH_IS_NONE is not set
|
||||
CONFIG_ASH=y
|
||||
|
||||
#
|
||||
# Ash Shell Options
|
||||
#
|
||||
CONFIG_ASH_JOB_CONTROL=y
|
||||
CONFIG_ASH_READ_NCHARS=y
|
||||
CONFIG_ASH_READ_TIMEOUT=y
|
||||
CONFIG_ASH_ALIAS=y
|
||||
CONFIG_ASH_MATH_SUPPORT=y
|
||||
CONFIG_ASH_MATH_SUPPORT_64=y
|
||||
# CONFIG_ASH_GETOPTS is not set
|
||||
CONFIG_ASH_BUILTIN_ECHO=y
|
||||
CONFIG_ASH_BUILTIN_TEST=y
|
||||
# CONFIG_ASH_CMDCMD is not set
|
||||
# CONFIG_ASH_MAIL is not set
|
||||
CONFIG_ASH_OPTIMIZE_FOR_SIZE=y
|
||||
# CONFIG_ASH_RANDOM_SUPPORT is not set
|
||||
CONFIG_ASH_EXPAND_PRMT=y
|
||||
# CONFIG_HUSH is not set
|
||||
# CONFIG_LASH is not set
|
||||
# CONFIG_MSH is not set
|
||||
|
||||
#
|
||||
# Bourne Shell Options
|
||||
#
|
||||
# CONFIG_FEATURE_SH_EXTRA_QUIET is not set
|
||||
# CONFIG_FEATURE_SH_STANDALONE_SHELL is not set
|
||||
CONFIG_FEATURE_COMMAND_EDITING=y
|
||||
# CONFIG_FEATURE_COMMAND_EDITING_VI is not set
|
||||
CONFIG_FEATURE_COMMAND_HISTORY=15
|
||||
CONFIG_FEATURE_COMMAND_SAVEHISTORY=y
|
||||
CONFIG_FEATURE_COMMAND_TAB_COMPLETION=y
|
||||
# CONFIG_FEATURE_COMMAND_USERNAME_COMPLETION is not set
|
||||
CONFIG_FEATURE_SH_FANCY_PROMPT=y
|
||||
|
||||
#
|
||||
# System Logging Utilities
|
||||
#
|
||||
CONFIG_SYSLOGD=y
|
||||
CONFIG_FEATURE_ROTATE_LOGFILE=y
|
||||
# CONFIG_FEATURE_REMOTE_LOG is not set
|
||||
# CONFIG_FEATURE_IPC_SYSLOG is not set
|
||||
CONFIG_FEATURE_IPC_SYSLOG_BUFFER_SIZE=0
|
||||
# CONFIG_LOGREAD is not set
|
||||
# CONFIG_FEATURE_LOGREAD_REDUCED_LOCKING is not set
|
||||
CONFIG_KLOGD=y
|
||||
CONFIG_LOGGER=y
|
||||
@@ -1,690 +0,0 @@
|
||||
#
|
||||
# Automatically generated make config: don't edit
|
||||
# Busybox version: 1.5.0
|
||||
# Wed Mar 14 13:42:28 2007
|
||||
#
|
||||
CONFIG_HAVE_DOT_CONFIG=y
|
||||
|
||||
#
|
||||
# Busybox Settings
|
||||
#
|
||||
|
||||
#
|
||||
# General Configuration
|
||||
#
|
||||
CONFIG_NITPICK=y
|
||||
CONFIG_DESKTOP=y
|
||||
CONFIG_FEATURE_BUFFERS_USE_MALLOC=y
|
||||
# CONFIG_FEATURE_BUFFERS_GO_ON_STACK is not set
|
||||
# CONFIG_FEATURE_BUFFERS_GO_IN_BSS is not set
|
||||
CONFIG_SHOW_USAGE=y
|
||||
CONFIG_FEATURE_VERBOSE_USAGE=y
|
||||
# CONFIG_FEATURE_COMPRESS_USAGE is not set
|
||||
CONFIG_FEATURE_INSTALLER=y
|
||||
# CONFIG_LOCALE_SUPPORT is not set
|
||||
CONFIG_GETOPT_LONG=y
|
||||
CONFIG_FEATURE_DEVPTS=y
|
||||
CONFIG_FEATURE_CLEAN_UP=y
|
||||
CONFIG_FEATURE_SUID=y
|
||||
CONFIG_FEATURE_SYSLOG=y
|
||||
# CONFIG_FEATURE_SUID_CONFIG is not set
|
||||
# CONFIG_FEATURE_SUID_CONFIG_QUIET is not set
|
||||
# CONFIG_FEATURE_HAVE_RPC is not set
|
||||
# CONFIG_SELINUX is not set
|
||||
# CONFIG_FEATURE_EXEC_PREFER_APPLETS is not set
|
||||
CONFIG_BUSYBOX_EXEC_PATH="/proc/self/exe"
|
||||
|
||||
#
|
||||
# Build Options
|
||||
#
|
||||
# CONFIG_STATIC is not set
|
||||
# CONFIG_BUILD_LIBBUSYBOX is not set
|
||||
# CONFIG_FEATURE_FULL_LIBBUSYBOX is not set
|
||||
# CONFIG_FEATURE_SHARED_BUSYBOX is not set
|
||||
# CONFIG_LFS is not set
|
||||
CONFIG_BUILD_AT_ONCE=y
|
||||
|
||||
#
|
||||
# Debugging Options
|
||||
#
|
||||
# CONFIG_DEBUG is not set
|
||||
# CONFIG_WERROR is not set
|
||||
# CONFIG_NO_DEBUG_LIB is not set
|
||||
# CONFIG_DMALLOC is not set
|
||||
# CONFIG_EFENCE is not set
|
||||
CONFIG_INCLUDE_SUSv2=y
|
||||
|
||||
#
|
||||
# Installation Options
|
||||
#
|
||||
# CONFIG_INSTALL_NO_USR is not set
|
||||
CONFIG_INSTALL_APPLET_SYMLINKS=y
|
||||
# CONFIG_INSTALL_APPLET_HARDLINKS is not set
|
||||
# CONFIG_INSTALL_APPLET_DONT is not set
|
||||
CONFIG_PREFIX="./_install"
|
||||
|
||||
#
|
||||
# Busybox Library Tuning
|
||||
#
|
||||
CONFIG_PASSWORD_MINLEN=6
|
||||
CONFIG_MD5_SIZE_VS_SPEED=2
|
||||
CONFIG_FEATURE_EDITING=y
|
||||
CONFIG_FEATURE_EDITING_FANCY_KEYS=y
|
||||
CONFIG_FEATURE_EDITING_VI=y
|
||||
CONFIG_FEATURE_EDITING_HISTORY=999
|
||||
CONFIG_FEATURE_EDITING_SAVEHISTORY=y
|
||||
CONFIG_FEATURE_TAB_COMPLETION=y
|
||||
# CONFIG_FEATURE_USERNAME_COMPLETION is not set
|
||||
CONFIG_FEATURE_EDITING_FANCY_PROMPT=y
|
||||
|
||||
#
|
||||
# Applets
|
||||
#
|
||||
|
||||
#
|
||||
# Archival Utilities
|
||||
#
|
||||
CONFIG_AR=y
|
||||
# CONFIG_FEATURE_AR_LONG_FILENAMES is not set
|
||||
CONFIG_BUNZIP2=y
|
||||
CONFIG_CPIO=y
|
||||
# CONFIG_DPKG is not set
|
||||
# CONFIG_DPKG_DEB is not set
|
||||
# CONFIG_FEATURE_DPKG_DEB_EXTRACT_ONLY is not set
|
||||
CONFIG_GUNZIP=y
|
||||
# CONFIG_FEATURE_GUNZIP_UNCOMPRESS is not set
|
||||
CONFIG_GZIP=y
|
||||
# CONFIG_RPM2CPIO is not set
|
||||
# CONFIG_RPM is not set
|
||||
CONFIG_TAR=y
|
||||
CONFIG_FEATURE_TAR_CREATE=y
|
||||
CONFIG_FEATURE_TAR_BZIP2=y
|
||||
CONFIG_FEATURE_TAR_LZMA=y
|
||||
CONFIG_FEATURE_TAR_FROM=y
|
||||
CONFIG_FEATURE_TAR_GZIP=y
|
||||
# CONFIG_FEATURE_TAR_COMPRESS is not set
|
||||
# CONFIG_FEATURE_TAR_OLDGNU_COMPATIBILITY is not set
|
||||
CONFIG_FEATURE_TAR_GNU_EXTENSIONS=y
|
||||
CONFIG_FEATURE_TAR_LONG_OPTIONS=y
|
||||
# CONFIG_UNCOMPRESS is not set
|
||||
CONFIG_UNLZMA=y
|
||||
# CONFIG_FEATURE_LZMA_FAST is not set
|
||||
CONFIG_UNZIP=y
|
||||
|
||||
#
|
||||
# Common options for cpio and tar
|
||||
#
|
||||
# CONFIG_FEATURE_UNARCHIVE_TAPE is not set
|
||||
# CONFIG_FEATURE_DEB_TAR_GZ is not set
|
||||
# CONFIG_FEATURE_DEB_TAR_BZ2 is not set
|
||||
# CONFIG_FEATURE_DEB_TAR_LZMA is not set
|
||||
|
||||
#
|
||||
# Coreutils
|
||||
#
|
||||
CONFIG_BASENAME=y
|
||||
# CONFIG_CAL is not set
|
||||
CONFIG_CAT=y
|
||||
CONFIG_CATV=y
|
||||
CONFIG_CHGRP=y
|
||||
CONFIG_CHMOD=y
|
||||
CONFIG_CHOWN=y
|
||||
CONFIG_CHROOT=y
|
||||
CONFIG_CKSUM=y
|
||||
CONFIG_CMP=y
|
||||
# CONFIG_COMM is not set
|
||||
CONFIG_CP=y
|
||||
CONFIG_CUT=y
|
||||
CONFIG_DATE=y
|
||||
CONFIG_FEATURE_DATE_ISOFMT=y
|
||||
CONFIG_DD=y
|
||||
CONFIG_FEATURE_DD_SIGNAL_HANDLING=y
|
||||
CONFIG_FEATURE_DD_IBS_OBS=y
|
||||
CONFIG_DF=y
|
||||
CONFIG_DIFF=y
|
||||
CONFIG_FEATURE_DIFF_BINARY=y
|
||||
CONFIG_FEATURE_DIFF_DIR=y
|
||||
# CONFIG_FEATURE_DIFF_MINIMAL is not set
|
||||
CONFIG_DIRNAME=y
|
||||
CONFIG_DOS2UNIX=y
|
||||
CONFIG_UNIX2DOS=y
|
||||
CONFIG_DU=y
|
||||
CONFIG_FEATURE_DU_DEFAULT_BLOCKSIZE_1K=y
|
||||
CONFIG_ECHO=y
|
||||
CONFIG_FEATURE_FANCY_ECHO=y
|
||||
CONFIG_ENV=y
|
||||
# CONFIG_FEATURE_ENV_LONG_OPTIONS is not set
|
||||
CONFIG_EXPR=y
|
||||
CONFIG_EXPR_MATH_SUPPORT_64=y
|
||||
CONFIG_FALSE=y
|
||||
CONFIG_FOLD=y
|
||||
CONFIG_HEAD=y
|
||||
CONFIG_FEATURE_FANCY_HEAD=y
|
||||
CONFIG_HOSTID=y
|
||||
CONFIG_ID=y
|
||||
CONFIG_INSTALL=y
|
||||
CONFIG_FEATURE_INSTALL_LONG_OPTIONS=y
|
||||
CONFIG_LENGTH=y
|
||||
CONFIG_LN=y
|
||||
CONFIG_LOGNAME=y
|
||||
CONFIG_LS=y
|
||||
CONFIG_FEATURE_LS_FILETYPES=y
|
||||
CONFIG_FEATURE_LS_FOLLOWLINKS=y
|
||||
CONFIG_FEATURE_LS_RECURSIVE=y
|
||||
CONFIG_FEATURE_LS_SORTFILES=y
|
||||
CONFIG_FEATURE_LS_TIMESTAMPS=y
|
||||
CONFIG_FEATURE_LS_USERNAME=y
|
||||
CONFIG_FEATURE_LS_COLOR=y
|
||||
CONFIG_FEATURE_LS_COLOR_IS_DEFAULT=y
|
||||
CONFIG_MD5SUM=y
|
||||
CONFIG_MKDIR=y
|
||||
CONFIG_FEATURE_MKDIR_LONG_OPTIONS=y
|
||||
CONFIG_MKFIFO=y
|
||||
CONFIG_MKNOD=y
|
||||
CONFIG_MV=y
|
||||
CONFIG_FEATURE_MV_LONG_OPTIONS=y
|
||||
CONFIG_NICE=y
|
||||
CONFIG_NOHUP=y
|
||||
CONFIG_OD=y
|
||||
CONFIG_PRINTENV=y
|
||||
CONFIG_PRINTF=y
|
||||
CONFIG_PWD=y
|
||||
CONFIG_REALPATH=y
|
||||
CONFIG_RM=y
|
||||
CONFIG_RMDIR=y
|
||||
CONFIG_SEQ=y
|
||||
CONFIG_SHA1SUM=y
|
||||
CONFIG_SLEEP=y
|
||||
# CONFIG_FEATURE_FANCY_SLEEP is not set
|
||||
CONFIG_SORT=y
|
||||
CONFIG_FEATURE_SORT_BIG=y
|
||||
# CONFIG_STAT is not set
|
||||
# CONFIG_FEATURE_STAT_FORMAT is not set
|
||||
CONFIG_STTY=y
|
||||
# CONFIG_SUM is not set
|
||||
CONFIG_SYNC=y
|
||||
CONFIG_TAIL=y
|
||||
CONFIG_FEATURE_FANCY_TAIL=y
|
||||
CONFIG_TEE=y
|
||||
CONFIG_FEATURE_TEE_USE_BLOCK_IO=y
|
||||
CONFIG_TEST=y
|
||||
CONFIG_FEATURE_TEST_64=y
|
||||
CONFIG_TOUCH=y
|
||||
CONFIG_TR=y
|
||||
CONFIG_FEATURE_TR_CLASSES=y
|
||||
CONFIG_FEATURE_TR_EQUIV=y
|
||||
CONFIG_TRUE=y
|
||||
CONFIG_TTY=y
|
||||
CONFIG_UNAME=y
|
||||
CONFIG_UNIQ=y
|
||||
CONFIG_USLEEP=y
|
||||
CONFIG_UUDECODE=y
|
||||
CONFIG_UUENCODE=y
|
||||
CONFIG_WATCH=y
|
||||
CONFIG_WC=y
|
||||
# CONFIG_FEATURE_WC_LARGE is not set
|
||||
CONFIG_WHO=y
|
||||
CONFIG_WHOAMI=y
|
||||
CONFIG_YES=y
|
||||
|
||||
#
|
||||
# Common options for cp and mv
|
||||
#
|
||||
CONFIG_FEATURE_PRESERVE_HARDLINKS=y
|
||||
|
||||
#
|
||||
# Common options for ls, more and telnet
|
||||
#
|
||||
CONFIG_FEATURE_AUTOWIDTH=y
|
||||
|
||||
#
|
||||
# Common options for df, du, ls
|
||||
#
|
||||
CONFIG_FEATURE_HUMAN_READABLE=y
|
||||
|
||||
#
|
||||
# Common options for md5sum, sha1sum
|
||||
#
|
||||
CONFIG_FEATURE_MD5_SHA1_SUM_CHECK=y
|
||||
|
||||
#
|
||||
# Console Utilities
|
||||
#
|
||||
CONFIG_CHVT=y
|
||||
CONFIG_CLEAR=y
|
||||
CONFIG_DEALLOCVT=y
|
||||
CONFIG_DUMPKMAP=y
|
||||
CONFIG_LOADFONT=y
|
||||
CONFIG_LOADKMAP=y
|
||||
CONFIG_OPENVT=y
|
||||
CONFIG_RESET=y
|
||||
CONFIG_RESIZE=y
|
||||
CONFIG_FEATURE_RESIZE_PRINT=y
|
||||
CONFIG_SETCONSOLE=y
|
||||
# CONFIG_FEATURE_SETCONSOLE_LONG_OPTIONS is not set
|
||||
CONFIG_SETKEYCODES=y
|
||||
CONFIG_SETLOGCONS=y
|
||||
|
||||
#
|
||||
# Debian Utilities
|
||||
#
|
||||
CONFIG_MKTEMP=y
|
||||
CONFIG_PIPE_PROGRESS=y
|
||||
CONFIG_READLINK=y
|
||||
CONFIG_FEATURE_READLINK_FOLLOW=y
|
||||
CONFIG_RUN_PARTS=y
|
||||
CONFIG_FEATURE_RUN_PARTS_LONG_OPTIONS=y
|
||||
CONFIG_START_STOP_DAEMON=y
|
||||
CONFIG_FEATURE_START_STOP_DAEMON_FANCY=y
|
||||
CONFIG_FEATURE_START_STOP_DAEMON_LONG_OPTIONS=y
|
||||
CONFIG_WHICH=y
|
||||
|
||||
#
|
||||
# Editors
|
||||
#
|
||||
CONFIG_AWK=y
|
||||
CONFIG_FEATURE_AWK_MATH=y
|
||||
# CONFIG_ED is not set
|
||||
CONFIG_PATCH=y
|
||||
CONFIG_SED=y
|
||||
CONFIG_VI=y
|
||||
CONFIG_FEATURE_VI_COLON=y
|
||||
CONFIG_FEATURE_VI_YANKMARK=y
|
||||
CONFIG_FEATURE_VI_SEARCH=y
|
||||
CONFIG_FEATURE_VI_USE_SIGNALS=y
|
||||
CONFIG_FEATURE_VI_DOT_CMD=y
|
||||
CONFIG_FEATURE_VI_READONLY=y
|
||||
CONFIG_FEATURE_VI_SETOPTS=y
|
||||
CONFIG_FEATURE_VI_SET=y
|
||||
CONFIG_FEATURE_VI_WIN_RESIZE=y
|
||||
CONFIG_FEATURE_VI_OPTIMIZE_CURSOR=y
|
||||
CONFIG_FEATURE_ALLOW_EXEC=y
|
||||
|
||||
#
|
||||
# Finding Utilities
|
||||
#
|
||||
CONFIG_FIND=y
|
||||
CONFIG_FEATURE_FIND_PRINT0=y
|
||||
CONFIG_FEATURE_FIND_MTIME=y
|
||||
CONFIG_FEATURE_FIND_MMIN=y
|
||||
CONFIG_FEATURE_FIND_PERM=y
|
||||
CONFIG_FEATURE_FIND_TYPE=y
|
||||
CONFIG_FEATURE_FIND_XDEV=y
|
||||
CONFIG_FEATURE_FIND_NEWER=y
|
||||
# CONFIG_FEATURE_FIND_INUM is not set
|
||||
CONFIG_FEATURE_FIND_EXEC=y
|
||||
CONFIG_FEATURE_FIND_USER=y
|
||||
CONFIG_FEATURE_FIND_NOT=y
|
||||
CONFIG_GREP=y
|
||||
CONFIG_FEATURE_GREP_EGREP_ALIAS=y
|
||||
CONFIG_FEATURE_GREP_FGREP_ALIAS=y
|
||||
CONFIG_FEATURE_GREP_CONTEXT=y
|
||||
CONFIG_XARGS=y
|
||||
# CONFIG_FEATURE_XARGS_SUPPORT_CONFIRMATION is not set
|
||||
CONFIG_FEATURE_XARGS_SUPPORT_QUOTES=y
|
||||
CONFIG_FEATURE_XARGS_SUPPORT_TERMOPT=y
|
||||
CONFIG_FEATURE_XARGS_SUPPORT_ZERO_TERM=y
|
||||
|
||||
#
|
||||
# Init Utilities
|
||||
#
|
||||
CONFIG_INIT=y
|
||||
# CONFIG_DEBUG_INIT is not set
|
||||
CONFIG_FEATURE_USE_INITTAB=y
|
||||
CONFIG_FEATURE_INIT_SCTTY=y
|
||||
CONFIG_FEATURE_INIT_SYSLOG=y
|
||||
CONFIG_FEATURE_EXTRA_QUIET=y
|
||||
# CONFIG_FEATURE_INIT_COREDUMPS is not set
|
||||
CONFIG_FEATURE_INITRD=y
|
||||
CONFIG_HALT=y
|
||||
CONFIG_MESG=y
|
||||
|
||||
#
|
||||
# Login/Password Management Utilities
|
||||
#
|
||||
CONFIG_FEATURE_SHADOWPASSWDS=y
|
||||
# CONFIG_USE_BB_SHADOW is not set
|
||||
# CONFIG_USE_BB_PWD_GRP is not set
|
||||
CONFIG_ADDGROUP=y
|
||||
CONFIG_DELGROUP=y
|
||||
CONFIG_ADDUSER=y
|
||||
CONFIG_DELUSER=y
|
||||
CONFIG_GETTY=y
|
||||
CONFIG_FEATURE_UTMP=y
|
||||
CONFIG_FEATURE_WTMP=y
|
||||
CONFIG_LOGIN=y
|
||||
# CONFIG_LOGIN_SCRIPTS is not set
|
||||
CONFIG_FEATURE_SECURETTY=y
|
||||
CONFIG_PASSWD=y
|
||||
CONFIG_FEATURE_PASSWD_WEAK_CHECK=y
|
||||
CONFIG_SU=y
|
||||
CONFIG_FEATURE_SU_SYSLOG=y
|
||||
CONFIG_FEATURE_SU_CHECKS_SHELLS=y
|
||||
CONFIG_SULOGIN=y
|
||||
CONFIG_VLOCK=y
|
||||
|
||||
#
|
||||
# Linux Ext2 FS Progs
|
||||
#
|
||||
CONFIG_CHATTR=y
|
||||
CONFIG_FSCK=y
|
||||
CONFIG_LSATTR=y
|
||||
|
||||
#
|
||||
# Linux Module Utilities
|
||||
#
|
||||
CONFIG_INSMOD=y
|
||||
# CONFIG_FEATURE_INSMOD_VERSION_CHECKING is not set
|
||||
# CONFIG_FEATURE_INSMOD_KSYMOOPS_SYMBOLS is not set
|
||||
# CONFIG_FEATURE_INSMOD_LOADINKMEM is not set
|
||||
CONFIG_FEATURE_INSMOD_LOAD_MAP=y
|
||||
CONFIG_FEATURE_INSMOD_LOAD_MAP_FULL=y
|
||||
CONFIG_RMMOD=y
|
||||
CONFIG_LSMOD=y
|
||||
CONFIG_FEATURE_LSMOD_PRETTY_2_6_OUTPUT=y
|
||||
CONFIG_MODPROBE=y
|
||||
CONFIG_FEATURE_MODPROBE_MULTIPLE_OPTIONS=y
|
||||
CONFIG_FEATURE_MODPROBE_FANCY_ALIAS=y
|
||||
|
||||
#
|
||||
# Options common to multiple modutils
|
||||
#
|
||||
CONFIG_FEATURE_CHECK_TAINTED_MODULE=y
|
||||
# CONFIG_FEATURE_2_4_MODULES is not set
|
||||
CONFIG_FEATURE_2_6_MODULES=y
|
||||
# CONFIG_FEATURE_QUERY_MODULE_INTERFACE is not set
|
||||
|
||||
#
|
||||
# Linux System Utilities
|
||||
#
|
||||
CONFIG_DMESG=y
|
||||
CONFIG_FEATURE_DMESG_PRETTY=y
|
||||
# CONFIG_FBSET is not set
|
||||
# CONFIG_FEATURE_FBSET_FANCY is not set
|
||||
# CONFIG_FEATURE_FBSET_READMODE is not set
|
||||
CONFIG_FDFLUSH=y
|
||||
CONFIG_FDFORMAT=y
|
||||
# CONFIG_FDISK is not set
|
||||
CONFIG_FDISK_SUPPORT_LARGE_DISKS=y
|
||||
CONFIG_FEATURE_FDISK_WRITABLE=y
|
||||
# CONFIG_FEATURE_AIX_LABEL is not set
|
||||
# CONFIG_FEATURE_SGI_LABEL is not set
|
||||
# CONFIG_FEATURE_SUN_LABEL is not set
|
||||
# CONFIG_FEATURE_OSF_LABEL is not set
|
||||
# CONFIG_FEATURE_FDISK_ADVANCED is not set
|
||||
CONFIG_FREERAMDISK=y
|
||||
# CONFIG_FSCK_MINIX is not set
|
||||
# CONFIG_MKFS_MINIX is not set
|
||||
# CONFIG_FEATURE_MINIX2 is not set
|
||||
CONFIG_GETOPT=y
|
||||
CONFIG_HEXDUMP=y
|
||||
CONFIG_HWCLOCK=y
|
||||
CONFIG_FEATURE_HWCLOCK_LONG_OPTIONS=y
|
||||
CONFIG_FEATURE_HWCLOCK_ADJTIME_FHS=y
|
||||
CONFIG_IPCRM=y
|
||||
CONFIG_IPCS=y
|
||||
CONFIG_LOSETUP=y
|
||||
CONFIG_MDEV=y
|
||||
CONFIG_FEATURE_MDEV_CONF=y
|
||||
CONFIG_FEATURE_MDEV_EXEC=y
|
||||
CONFIG_MKSWAP=y
|
||||
# CONFIG_FEATURE_MKSWAP_V0 is not set
|
||||
CONFIG_MORE=y
|
||||
CONFIG_FEATURE_USE_TERMIOS=y
|
||||
CONFIG_MOUNT=y
|
||||
# CONFIG_FEATURE_MOUNT_NFS is not set
|
||||
CONFIG_FEATURE_MOUNT_CIFS=y
|
||||
CONFIG_FEATURE_MOUNT_FLAGS=y
|
||||
CONFIG_FEATURE_MOUNT_FSTAB=y
|
||||
CONFIG_PIVOT_ROOT=y
|
||||
CONFIG_RDATE=y
|
||||
CONFIG_READPROFILE=y
|
||||
CONFIG_SETARCH=y
|
||||
CONFIG_SWAPONOFF=y
|
||||
CONFIG_SWITCH_ROOT=y
|
||||
CONFIG_UMOUNT=y
|
||||
CONFIG_FEATURE_UMOUNT_ALL=y
|
||||
|
||||
#
|
||||
# Common options for mount/umount
|
||||
#
|
||||
CONFIG_FEATURE_MOUNT_LOOP=y
|
||||
# CONFIG_FEATURE_MTAB_SUPPORT is not set
|
||||
|
||||
#
|
||||
# Miscellaneous Utilities
|
||||
#
|
||||
# CONFIG_ADJTIMEX is not set
|
||||
# CONFIG_BBCONFIG is not set
|
||||
CONFIG_CHRT=y
|
||||
CONFIG_CROND=y
|
||||
CONFIG_DEBUG_CROND_OPTION=y
|
||||
# CONFIG_FEATURE_CROND_CALL_SENDMAIL is not set
|
||||
CONFIG_CRONTAB=y
|
||||
CONFIG_DC=y
|
||||
# CONFIG_DEVFSD is not set
|
||||
# CONFIG_DEVFSD_MODLOAD is not set
|
||||
# CONFIG_DEVFSD_FG_NP is not set
|
||||
# CONFIG_DEVFSD_VERBOSE is not set
|
||||
# CONFIG_FEATURE_DEVFS is not set
|
||||
CONFIG_EJECT=y
|
||||
CONFIG_LAST=y
|
||||
CONFIG_LESS=y
|
||||
CONFIG_FEATURE_LESS_MAXLINES=9999999
|
||||
CONFIG_FEATURE_LESS_BRACKETS=y
|
||||
CONFIG_FEATURE_LESS_FLAGS=y
|
||||
CONFIG_FEATURE_LESS_FLAGCS=y
|
||||
# CONFIG_FEATURE_LESS_MARKS is not set
|
||||
CONFIG_FEATURE_LESS_REGEXP=y
|
||||
CONFIG_HDPARM=y
|
||||
CONFIG_FEATURE_HDPARM_GET_IDENTITY=y
|
||||
# CONFIG_FEATURE_HDPARM_HDIO_SCAN_HWIF is not set
|
||||
# CONFIG_FEATURE_HDPARM_HDIO_UNREGISTER_HWIF is not set
|
||||
# CONFIG_FEATURE_HDPARM_HDIO_DRIVE_RESET is not set
|
||||
# CONFIG_FEATURE_HDPARM_HDIO_TRISTATE_HWIF is not set
|
||||
# CONFIG_FEATURE_HDPARM_HDIO_GETSET_DMA is not set
|
||||
CONFIG_MAKEDEVS=y
|
||||
# CONFIG_FEATURE_MAKEDEVS_LEAF is not set
|
||||
CONFIG_FEATURE_MAKEDEVS_TABLE=y
|
||||
CONFIG_MOUNTPOINT=y
|
||||
CONFIG_MT=y
|
||||
# CONFIG_NMETER is not set
|
||||
# CONFIG_RAIDAUTORUN is not set
|
||||
# CONFIG_READAHEAD is not set
|
||||
CONFIG_RUNLEVEL=y
|
||||
# CONFIG_RX is not set
|
||||
CONFIG_STRINGS=y
|
||||
CONFIG_SETSID=y
|
||||
# CONFIG_TASKSET is not set
|
||||
CONFIG_FEATURE_TASKSET_FANCY=y
|
||||
CONFIG_TIME=y
|
||||
CONFIG_WATCHDOG=y
|
||||
|
||||
#
|
||||
# Networking Utilities
|
||||
#
|
||||
# CONFIG_FEATURE_IPV6 is not set
|
||||
# CONFIG_VERBOSE_RESOLUTION_ERRORS is not set
|
||||
# CONFIG_ARP is not set
|
||||
CONFIG_ARPING=y
|
||||
CONFIG_DNSD=y
|
||||
CONFIG_ETHER_WAKE=y
|
||||
# CONFIG_FAKEIDENTD is not set
|
||||
# CONFIG_FTPGET is not set
|
||||
# CONFIG_FTPPUT is not set
|
||||
# CONFIG_FEATURE_FTPGETPUT_LONG_OPTIONS is not set
|
||||
CONFIG_HOSTNAME=y
|
||||
# CONFIG_HTTPD is not set
|
||||
# CONFIG_FEATURE_HTTPD_RELOAD_CONFIG_SIGHUP is not set
|
||||
# CONFIG_FEATURE_HTTPD_SETUID is not set
|
||||
# CONFIG_FEATURE_HTTPD_BASIC_AUTH is not set
|
||||
# CONFIG_FEATURE_HTTPD_AUTH_MD5 is not set
|
||||
# CONFIG_FEATURE_HTTPD_CONFIG_WITH_MIME_TYPES is not set
|
||||
# CONFIG_FEATURE_HTTPD_CGI is not set
|
||||
# CONFIG_FEATURE_HTTPD_CONFIG_WITH_SCRIPT_INTERPR is not set
|
||||
# CONFIG_FEATURE_HTTPD_SET_REMOTE_PORT_TO_ENV is not set
|
||||
# CONFIG_FEATURE_HTTPD_ENCODE_URL_STR is not set
|
||||
CONFIG_IFCONFIG=y
|
||||
CONFIG_FEATURE_IFCONFIG_STATUS=y
|
||||
CONFIG_FEATURE_IFCONFIG_SLIP=y
|
||||
CONFIG_FEATURE_IFCONFIG_MEMSTART_IOADDR_IRQ=y
|
||||
CONFIG_FEATURE_IFCONFIG_HW=y
|
||||
# CONFIG_FEATURE_IFCONFIG_BROADCAST_PLUS is not set
|
||||
CONFIG_IFUPDOWN=y
|
||||
CONFIG_FEATURE_IFUPDOWN_IP=y
|
||||
# CONFIG_FEATURE_IFUPDOWN_IP_BUILTIN is not set
|
||||
# CONFIG_FEATURE_IFUPDOWN_IFCONFIG_BUILTIN is not set
|
||||
CONFIG_FEATURE_IFUPDOWN_IPV4=y
|
||||
# CONFIG_FEATURE_IFUPDOWN_IPV6 is not set
|
||||
# CONFIG_FEATURE_IFUPDOWN_IPX is not set
|
||||
CONFIG_FEATURE_IFUPDOWN_MAPPING=y
|
||||
CONFIG_INETD=y
|
||||
CONFIG_FEATURE_INETD_SUPPORT_BUILTIN_ECHO=y
|
||||
CONFIG_FEATURE_INETD_SUPPORT_BUILTIN_DISCARD=y
|
||||
CONFIG_FEATURE_INETD_SUPPORT_BUILTIN_TIME=y
|
||||
CONFIG_FEATURE_INETD_SUPPORT_BUILTIN_DAYTIME=y
|
||||
CONFIG_FEATURE_INETD_SUPPORT_BUILTIN_CHARGEN=y
|
||||
# CONFIG_FEATURE_INETD_RPC is not set
|
||||
CONFIG_IP=y
|
||||
CONFIG_FEATURE_IP_ADDRESS=y
|
||||
CONFIG_FEATURE_IP_LINK=y
|
||||
CONFIG_FEATURE_IP_ROUTE=y
|
||||
CONFIG_FEATURE_IP_TUNNEL=y
|
||||
CONFIG_FEATURE_IP_RULE=y
|
||||
CONFIG_FEATURE_IP_SHORT_FORMS=y
|
||||
CONFIG_IPADDR=y
|
||||
CONFIG_IPLINK=y
|
||||
CONFIG_IPROUTE=y
|
||||
CONFIG_IPTUNNEL=y
|
||||
CONFIG_IPRULE=y
|
||||
# CONFIG_IPCALC is not set
|
||||
# CONFIG_FEATURE_IPCALC_FANCY is not set
|
||||
# CONFIG_FEATURE_IPCALC_LONG_OPTIONS is not set
|
||||
CONFIG_NAMEIF=y
|
||||
# CONFIG_NC is not set
|
||||
# CONFIG_NC_SERVER is not set
|
||||
# CONFIG_NC_EXTRA is not set
|
||||
CONFIG_NETSTAT=y
|
||||
CONFIG_NSLOOKUP=y
|
||||
CONFIG_PING=y
|
||||
# CONFIG_PING6 is not set
|
||||
CONFIG_FEATURE_FANCY_PING=y
|
||||
CONFIG_ROUTE=y
|
||||
CONFIG_TELNET=y
|
||||
CONFIG_FEATURE_TELNET_TTYPE=y
|
||||
CONFIG_FEATURE_TELNET_AUTOLOGIN=y
|
||||
# CONFIG_TELNETD is not set
|
||||
# CONFIG_FEATURE_TELNETD_STANDALONE is not set
|
||||
CONFIG_TFTP=y
|
||||
CONFIG_FEATURE_TFTP_GET=y
|
||||
CONFIG_FEATURE_TFTP_PUT=y
|
||||
CONFIG_FEATURE_TFTP_BLOCKSIZE=y
|
||||
# CONFIG_DEBUG_TFTP is not set
|
||||
CONFIG_TRACEROUTE=y
|
||||
# CONFIG_FEATURE_TRACEROUTE_VERBOSE is not set
|
||||
# CONFIG_FEATURE_TRACEROUTE_SOURCE_ROUTE is not set
|
||||
# CONFIG_FEATURE_TRACEROUTE_USE_ICMP is not set
|
||||
CONFIG_APP_UDHCPD=y
|
||||
CONFIG_APP_DHCPRELAY=y
|
||||
CONFIG_APP_DUMPLEASES=y
|
||||
CONFIG_APP_UDHCPC=y
|
||||
CONFIG_FEATURE_UDHCP_SYSLOG=y
|
||||
# CONFIG_FEATURE_UDHCP_DEBUG is not set
|
||||
# CONFIG_FEATURE_RFC3397 is not set
|
||||
CONFIG_VCONFIG=y
|
||||
CONFIG_WGET=y
|
||||
CONFIG_FEATURE_WGET_STATUSBAR=y
|
||||
CONFIG_FEATURE_WGET_AUTHENTICATION=y
|
||||
CONFIG_FEATURE_WGET_LONG_OPTIONS=y
|
||||
# CONFIG_ZCIP is not set
|
||||
|
||||
#
|
||||
# Process Utilities
|
||||
#
|
||||
CONFIG_FREE=y
|
||||
CONFIG_FUSER=y
|
||||
CONFIG_KILL=y
|
||||
CONFIG_KILLALL=y
|
||||
CONFIG_KILLALL5=y
|
||||
CONFIG_PIDOF=y
|
||||
CONFIG_FEATURE_PIDOF_SINGLE=y
|
||||
CONFIG_FEATURE_PIDOF_OMIT=y
|
||||
CONFIG_PS=y
|
||||
CONFIG_FEATURE_PS_WIDE=y
|
||||
CONFIG_RENICE=y
|
||||
CONFIG_BB_SYSCTL=y
|
||||
CONFIG_TOP=y
|
||||
CONFIG_FEATURE_TOP_CPU_USAGE_PERCENTAGE=y
|
||||
CONFIG_UPTIME=y
|
||||
|
||||
#
|
||||
# Shells
|
||||
#
|
||||
CONFIG_FEATURE_SH_IS_ASH=y
|
||||
# CONFIG_FEATURE_SH_IS_HUSH is not set
|
||||
# CONFIG_FEATURE_SH_IS_LASH is not set
|
||||
# CONFIG_FEATURE_SH_IS_MSH is not set
|
||||
# CONFIG_FEATURE_SH_IS_NONE is not set
|
||||
CONFIG_ASH=y
|
||||
|
||||
#
|
||||
# Ash Shell Options
|
||||
#
|
||||
CONFIG_ASH_JOB_CONTROL=y
|
||||
CONFIG_ASH_READ_NCHARS=y
|
||||
CONFIG_ASH_READ_TIMEOUT=y
|
||||
CONFIG_ASH_ALIAS=y
|
||||
CONFIG_ASH_MATH_SUPPORT=y
|
||||
CONFIG_ASH_MATH_SUPPORT_64=y
|
||||
# CONFIG_ASH_GETOPTS is not set
|
||||
CONFIG_ASH_BUILTIN_ECHO=y
|
||||
CONFIG_ASH_BUILTIN_TEST=y
|
||||
CONFIG_ASH_CMDCMD=y
|
||||
# CONFIG_ASH_MAIL is not set
|
||||
CONFIG_ASH_OPTIMIZE_FOR_SIZE=y
|
||||
CONFIG_ASH_RANDOM_SUPPORT=y
|
||||
CONFIG_ASH_EXPAND_PRMT=y
|
||||
# CONFIG_HUSH is not set
|
||||
# CONFIG_LASH is not set
|
||||
# CONFIG_MSH is not set
|
||||
|
||||
#
|
||||
# Bourne Shell Options
|
||||
#
|
||||
CONFIG_FEATURE_SH_EXTRA_QUIET=y
|
||||
# CONFIG_FEATURE_SH_STANDALONE_SHELL is not set
|
||||
|
||||
#
|
||||
# System Logging Utilities
|
||||
#
|
||||
CONFIG_SYSLOGD=y
|
||||
CONFIG_FEATURE_ROTATE_LOGFILE=y
|
||||
CONFIG_FEATURE_REMOTE_LOG=y
|
||||
# CONFIG_FEATURE_IPC_SYSLOG is not set
|
||||
CONFIG_FEATURE_IPC_SYSLOG_BUFFER_SIZE=
|
||||
# CONFIG_LOGREAD is not set
|
||||
# CONFIG_FEATURE_LOGREAD_REDUCED_LOCKING is not set
|
||||
CONFIG_KLOGD=y
|
||||
CONFIG_LOGGER=y
|
||||
|
||||
#
|
||||
# Runit Utilities
|
||||
#
|
||||
# CONFIG_RUNSV is not set
|
||||
# CONFIG_RUNSVDIR is not set
|
||||
# CONFIG_SV is not set
|
||||
# CONFIG_SVLOGD is not set
|
||||
# CONFIG_CHPST is not set
|
||||
# CONFIG_SETUIDGID is not set
|
||||
# CONFIG_ENVUIDGID is not set
|
||||
# CONFIG_ENVDIR is not set
|
||||
# CONFIG_SOFTLIMIT is not set
|
||||
# CONFIG_CHCON is not set
|
||||
# CONFIG_FEATURE_CHCON_LONG_OPTIONS is not set
|
||||
# CONFIG_GETENFORCE is not set
|
||||
# CONFIG_GETSEBOOL is not set
|
||||
# CONFIG_MATCHPATHCON is not set
|
||||
# CONFIG_RUNCON is not set
|
||||
# CONFIG_FEATURE_RUNCON_LONG_OPTIONS is not set
|
||||
# CONFIG_SELINUXENABLED is not set
|
||||
# CONFIG_SETENFORCE is not set
|
||||
@@ -42,26 +42,12 @@ else
|
||||
endif
|
||||
touch $@
|
||||
|
||||
$(BUSYBOX_DIR)/.configured: $(BUSYBOX_DIR)/.unpacked $(BUSYBOX_CONFIG_FILE)
|
||||
$(BUSYBOX_DIR)/.config: $(BUSYBOX_DIR)/.unpacked $(BUSYBOX_CONFIG_FILE)
|
||||
cp -f $(BUSYBOX_CONFIG_FILE) $(BUSYBOX_DIR)/.config
|
||||
$(SED) s,^CONFIG_PREFIX=.*,CONFIG_PREFIX=\"$(TARGET_DIR)\", \
|
||||
$(BUSYBOX_DIR)/.config
|
||||
ifeq ($(BR2_BUSYBOX_VERSION_1_0_1),y)
|
||||
$(SED) "s,^CROSS.*,CROSS=$(TARGET_CROSS)\n\PREFIX=$(TARGET_DIR),;" \
|
||||
$(BUSYBOX_DIR)/Rules.mak
|
||||
endif
|
||||
ifeq ($(BR2_BUSYBOX_VERSION_1_1_3),y)
|
||||
$(SED) s,^PREFIX=.*,CONFIG_PREFIX=\"$(TARGET_DIR)\", \
|
||||
$(BUSYBOX_DIR)/.config
|
||||
endif
|
||||
ifeq ($(BR2_BUSYBOX_VERSION_1_2_2_1),y)
|
||||
$(SED) s,^CROSS_COMPILER_PREFIX=.*,CROSS_COMPILER_PREFIX=\"$(TARGET_CROSS)\", \
|
||||
$(BUSYBOX_DIR)/.config
|
||||
$(SED) s,^PREFIX=.*,CROSS_COMPILER_PREFIX=\"$(TARGET_CROSS)\", \
|
||||
$(BUSYBOX_DIR)/.config
|
||||
endif
|
||||
# id applet breaks on 1.13.0 with old uclibc unless the bb pwd routines are used
|
||||
ifeq ($(BR2_BUSYBOX_VERSION_1_13_X)$(BR2_UCLIBC_VERSION_0_9_28_3)$(BR2_UCLIBC_VERSION_0_9_29),yy)
|
||||
# id applet breaks on >=1.13.0 with old uclibc unless the bb pwd routines are used
|
||||
ifeq ($(BR2_BUSYBOX_VERSION_1_13_X)$(BR2_BUSYBOX_VERSION_1_14_X)$(BR2_UCLIBC_VERSION_0_9_28_3)$(BR2_UCLIBC_VERSION_0_9_29),yy)
|
||||
if grep -q 'CONFIG_ID=y' $(BUSYBOX_DIR)/.config; \
|
||||
then \
|
||||
echo 'warning: CONFIG_ID needs BB_PWD_GRP with old uclibc, enabling' >&2;\
|
||||
@@ -105,7 +91,7 @@ endif
|
||||
touch $@
|
||||
|
||||
|
||||
$(BUSYBOX_DIR)/busybox: $(BUSYBOX_DIR)/.configured
|
||||
$(BUSYBOX_DIR)/busybox: $(BUSYBOX_DIR)/.config
|
||||
$(MAKE) CC=$(TARGET_CC) CROSS_COMPILE="$(TARGET_CROSS)" \
|
||||
CROSS="$(TARGET_CROSS)" PREFIX="$(TARGET_DIR)" \
|
||||
ARCH=$(KERNEL_ARCH) \
|
||||
@@ -137,9 +123,9 @@ busybox-source: $(DL_DIR)/$(BUSYBOX_SOURCE)
|
||||
|
||||
busybox-unpacked: host-sed $(PROJECT_BUILD_DIR) $(BUSYBOX_DIR)/.unpacked
|
||||
|
||||
busybox-config: host-sed $(PROJECT_BUILD_DIR) $(BUSYBOX_DIR)/.configured
|
||||
busybox-config: host-sed $(PROJECT_BUILD_DIR) $(BUSYBOX_DIR)/.config
|
||||
|
||||
busybox-menuconfig: host-sed $(PROJECT_BUILD_DIR) busybox-source $(BUSYBOX_DIR)/.configured
|
||||
busybox-menuconfig: host-sed $(PROJECT_BUILD_DIR) busybox-source $(BUSYBOX_DIR)/.config
|
||||
$(MAKE) __TARGET_ARCH=$(ARCH) -C $(BUSYBOX_DIR) menuconfig
|
||||
|
||||
busybox-update:
|
||||
|
||||
@@ -111,11 +111,11 @@ $(BB_INITRAMFS_TARGET): host-fakeroot $(BR2_INITRAMFS_DIR)/bin/busybox
|
||||
$(PROJECT_BUILD_DIR)/initramfs/etc/inittab
|
||||
rm -f $(PROJECT_BUILD_DIR)/_fakeroot.$(notdir $(BB_INITRAMFS_TARGET))
|
||||
(echo "chown -R 0:0 $(PROJECT_BUILD_DIR)/initramfs"; \
|
||||
echo "$(STAGING_DIR)/bin/makedevs -d $(TARGET_DEVICE_TABLE) $(PROJECT_BUILD_DIR)/initramfs"; \
|
||||
echo "$(HOST_DIR)/usr/bin/makedevs -d $(TARGET_DEVICE_TABLE) $(PROJECT_BUILD_DIR)/initramfs"; \
|
||||
echo "$(SHELL) target/initramfs/gen_initramfs_list.sh -u 0 -g 0 $(PROJECT_BUILD_DIR)/initramfs > $(BB_INITRAMFS_TARGET)"; \
|
||||
) > $(PROJECT_BUILD_DIR)/_fakeroot.$(notdir $(BB_INITRAMFS_TARGET))
|
||||
chmod +x $(PROJECT_BUILD_DIR)/_fakeroot.$(notdir $(BB_INITRAMFS_TARGET))
|
||||
$(STAGING_DIR)/usr/bin/fakeroot -- \
|
||||
$(HOST_DIR)/usr/bin/fakeroot -- \
|
||||
$(PROJECT_BUILD_DIR)/_fakeroot.$(notdir $(BB_INITRAMFS_TARGET))
|
||||
rm -f $(PROJECT_BUILD_DIR)/_fakeroot.$(notdir $(BB_INITRAMFS_TARGET))
|
||||
touch -c $@
|
||||
|
||||
@@ -40,7 +40,7 @@ $(STAGING_DIR)/usr/lib/libbz2.so.$(BZIP2_VERSION): $(BZIP2_DIR)/.unpacked
|
||||
cp $(BZIP2_DIR)/libbz2.so.$(BZIP2_VERSION) $(STAGING_DIR)/usr/lib/
|
||||
cp $(BZIP2_DIR)/libbz2.a $(STAGING_DIR)/usr/lib/
|
||||
(cd $(STAGING_DIR)/usr/lib/; \
|
||||
ln -snf ../../lib/libbz2.so.$(BZIP2_VERSION) libbz2.so; \
|
||||
ln -snf libbz2.so.$(BZIP2_VERSION) libbz2.so; \
|
||||
)
|
||||
(cd $(STAGING_DIR)/usr/lib; \
|
||||
ln -snf libbz2.so.$(BZIP2_VERSION) libbz2.so.1.0; \
|
||||
|
||||
@@ -1,11 +1,7 @@
|
||||
config BR2_PACKAGE_CAIRO
|
||||
bool "cairo"
|
||||
select BR2_PACKAGE_PKGCONFIG
|
||||
select BR2_PACKAGE_LIBPNG
|
||||
select BR2_PACKAGE_ZLIB
|
||||
select BR2_PACKAGE_PIXMAN
|
||||
select BR2_PACKAGE_FONTCONFIG
|
||||
depends on BR2_PACKAGE_XORG||BR2_PACKAGE_XORG7||BR2_PACKAGE_TINYX||BR2_PACKAGE_DIRECTFB
|
||||
help
|
||||
Cairo is a 2D graphics library with support for multiple
|
||||
output devices. Currently supported output targets include
|
||||
@@ -14,3 +10,24 @@ config BR2_PACKAGE_CAIRO
|
||||
OpenGL (through glitz), Quartz, and XCB.
|
||||
|
||||
http://cairographics.org/
|
||||
|
||||
if BR2_PACKAGE_CAIRO
|
||||
|
||||
config BR2_PACKAGE_CAIRO_PS
|
||||
bool "postscript support"
|
||||
select BR2_PACKAGE_ZLIB
|
||||
|
||||
config BR2_PACKAGE_CAIRO_PDF
|
||||
bool "pdf support"
|
||||
select BR2_PACKAGE_ZLIB
|
||||
|
||||
config BR2_PACKAGE_CAIRO_PNG
|
||||
bool "png support"
|
||||
select BR2_PACKAGE_LIBPNG
|
||||
select BR2_PACKAGE_ZLIB
|
||||
|
||||
config BR2_PACKAGE_CAIRO_SVG
|
||||
bool "svg support"
|
||||
select BR2_PACKAGE_CAIRO_PNG
|
||||
|
||||
endif
|
||||
|
||||
@@ -9,7 +9,6 @@ CAIRO_SITE = http://cairographics.org/releases
|
||||
CAIRO_AUTORECONF = NO
|
||||
CAIRO_INSTALL_STAGING = YES
|
||||
CAIRO_INSTALL_TARGET = YES
|
||||
CAIRO_INSTALL_STAGING_OPT = DESTDIR=$(STAGING_DIR) install
|
||||
|
||||
CAIRO_CONF_ENV = ac_cv_func_posix_getpwuid_r=yes glib_cv_stack_grows=no \
|
||||
glib_cv_uscore=no ac_cv_func_strtod=yes \
|
||||
@@ -38,16 +37,98 @@ CAIRO_CONF_ENV = ac_cv_func_posix_getpwuid_r=yes glib_cv_stack_grows=no \
|
||||
am_getline_needs_run_time_check=no am_cv_func_working_getline=yes \
|
||||
gl_cv_func_mkdir_trailing_slash_bug=no gl_cv_func_mkstemp_limitations=no \
|
||||
ac_cv_func_working_mktime=yes jm_cv_func_working_re_compile_pattern=yes \
|
||||
ac_use_included_regex=no gl_cv_c_restrict=no \
|
||||
ac_cv_path_GLIB_GENMARSHAL=$(HOST_GLIB)/bin/glib-genmarshal
|
||||
ac_use_included_regex=no gl_cv_c_restrict=no
|
||||
|
||||
CAIRO_DEPENDENCIES = uclibc host-pkgconfig fontconfig pixman
|
||||
|
||||
ifeq ($(BR2_PACKAGE_DIRECTFB),y)
|
||||
CAIRO_CONF_OPT = --disable-xlib --without-x --enable-directfb
|
||||
CAIRO_DEPENDENCIES_EXTRA = directfb
|
||||
CAIRO_CONF_OPT += --enable-directfb
|
||||
CAIRO_DEPENDENCIES += directfb
|
||||
else
|
||||
CAIRO_CONF_OPT += --disable-directfb
|
||||
endif
|
||||
CAIRO_CONF_OPT += --disable-gtk-doc --without-html-dir
|
||||
|
||||
CAIRO_DEPENDENCIES = uclibc gettext libintl pkgconfig zlib libpng fontconfig $(CAIRO_DEPENDENCIES_EXTRA) pixman $(XSERVER)
|
||||
ifneq ($(BR2_PACKAGE_XSERVER_none),y)
|
||||
CAIRO_CONF_OPT += --enable-xlib --with-x
|
||||
CAIRO_DEPENDENCIES += $(XSERVER)
|
||||
else
|
||||
CAIRO_CONF_OPT += --disable-xlib --without-x
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_CAIRO_PS),y)
|
||||
CAIRO_CONF_OPT += --enable-ps
|
||||
CAIRO_DEPENDENCIES += zlib
|
||||
else
|
||||
CAIRO_CONF_OPT += --disable-ps
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_CAIRO_PDF),y)
|
||||
CAIRO_CONF_OPT += --enable-pdf
|
||||
CAIRO_DEPENDENCIES += zlib
|
||||
else
|
||||
CAIRO_CONF_OPT += --disable-pdf
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_CAIRO_PNG),y)
|
||||
CAIRO_CONF_OPT += --enable-png
|
||||
CAIRO_DEPENDENCIES += libpng
|
||||
else
|
||||
CAIRO_CONF_OPT += --disable-png
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_CAIRO_SVG),y)
|
||||
CAIRO_CONF_OPT += --enable-svg
|
||||
else
|
||||
CAIRO_CONF_OPT += --disable-svg
|
||||
endif
|
||||
|
||||
$(eval $(call AUTOTARGETS,package,cairo))
|
||||
|
||||
# cairo for the host
|
||||
CAIRO_HOST_DIR:=$(BUILD_DIR)/cairo-$(CAIRO_VERSION)-host
|
||||
|
||||
$(DL_DIR)/$(CAIRO_SOURCE):
|
||||
$(call DOWNLOAD,$(CAIRO_SITE),$(CAIRO_SOURCE))
|
||||
|
||||
$(STAMP_DIR)/host_cairo_unpacked: $(DL_DIR)/$(CAIRO_SOURCE)
|
||||
mkdir -p $(CAIRO_HOST_DIR)
|
||||
$(INFLATE$(suffix $(CAIRO_SOURCE))) $< | \
|
||||
$(TAR) $(TAR_STRIP_COMPONENTS)=1 -C $(CAIRO_HOST_DIR) $(TAR_OPTIONS) -
|
||||
touch $@
|
||||
|
||||
$(STAMP_DIR)/host_cairo_configured: $(STAMP_DIR)/host_cairo_unpacked $(STAMP_DIR)/host_pkgconfig_installed $(STAMP_DIR)/host_fontconfig_installed $(STAMP_DIR)/host_pixman_installed
|
||||
(cd $(CAIRO_HOST_DIR); rm -rf config.cache; \
|
||||
$(HOST_CONFIGURE_OPTS) \
|
||||
CFLAGS="$(HOST_CFLAGS)" \
|
||||
LDFLAGS="$(HOST_LDFLAGS)" \
|
||||
./configure \
|
||||
--prefix="$(HOST_DIR)/usr" \
|
||||
--sysconfdir="$(HOST_DIR)/etc" \
|
||||
--enable-ps \
|
||||
--enable-pdf \
|
||||
--enable-xlib \
|
||||
--with-x \
|
||||
--disable-png \
|
||||
--disable-svg \
|
||||
)
|
||||
touch $@
|
||||
|
||||
$(STAMP_DIR)/host_cairo_compiled: $(STAMP_DIR)/host_cairo_configured
|
||||
$(HOST_MAKE_ENV) $(MAKE) -C $(CAIRO_HOST_DIR)
|
||||
touch $@
|
||||
|
||||
$(STAMP_DIR)/host_cairo_installed: $(STAMP_DIR)/host_cairo_compiled
|
||||
$(HOST_MAKE_ENV) $(MAKE) -C $(CAIRO_HOST_DIR) install
|
||||
touch $@
|
||||
|
||||
host-cairo: $(STAMP_DIR)/host_cairo_installed
|
||||
|
||||
host-cairo-source: cairo-source
|
||||
|
||||
host-cairo-clean:
|
||||
rm -f $(addprefix $(STAMP_DIR)/host_cairo_,unpacked configured compiled installed)
|
||||
-$(MAKE) -C $(CAIRO_HOST_DIR) uninstall
|
||||
-$(MAKE) -C $(CAIRO_HOST_DIR) clean
|
||||
|
||||
host-cairo-dirclean:
|
||||
rm -rf $(CAIRO_HOST_DIR)
|
||||
|
||||
6
package/config/.gitignore
vendored
Normal file
6
package/config/.gitignore
vendored
Normal file
@@ -0,0 +1,6 @@
|
||||
/buildroot-config
|
||||
/conf
|
||||
/mconf
|
||||
/lex.zconf.c
|
||||
/zconf.hash.c
|
||||
/zconf.tab.c
|
||||
@@ -1,7 +1,6 @@
|
||||
config BR2_PACKAGE_COREUTILS
|
||||
bool "coreutils"
|
||||
depends on BR2_USE_WCHAR
|
||||
select BR2_UCLIBC_PROGRAM_INVOCATION
|
||||
depends on BR2_USE_WCHAR && BR2_UCLIBC_PROGRAM_INVOCATION
|
||||
help
|
||||
All of the basic file/text/shell utilities. These are the
|
||||
core utilities which are expected to exist on every system.
|
||||
@@ -13,3 +12,6 @@ config BR2_PACKAGE_COREUTILS
|
||||
- whoami, who, etc...
|
||||
|
||||
http://www.gnu.org/software/coreutils/
|
||||
|
||||
comment "coreutils requires a toolchain with WCHAR and PROGRAM_INVOCATION support"
|
||||
depends on !(BR2_USE_WCHAR && BR2_UCLIBC_PROGRAM_INVOCATION)
|
||||
|
||||
@@ -4,3 +4,16 @@ config BR2_PACKAGE_CUPS
|
||||
The Common Unix Printing System
|
||||
|
||||
http://www.cups.org
|
||||
|
||||
if BR2_PACKAGE_CUPS
|
||||
|
||||
config BR2_PACKAGE_CUPS_PDFTOPS
|
||||
bool "pdftops support"
|
||||
depends on BR2_INSTALL_LIBSTDCPP
|
||||
help
|
||||
Enable pdftops support
|
||||
|
||||
comment "pdftops support requires a toolchain with C++ support enabled"
|
||||
depends on !BR2_INSTALL_LIBSTDCPP
|
||||
|
||||
endif
|
||||
|
||||
25
package/cups/cups-fix-stack-protector-check.patch
Normal file
25
package/cups/cups-fix-stack-protector-check.patch
Normal file
@@ -0,0 +1,25 @@
|
||||
[PATCH]: use AC_TRY_LINK for stack protector check
|
||||
|
||||
Actually try to link an executable to test for stack protector support,
|
||||
as gcc seems to accept the -fstack-protector argument even when it's
|
||||
compiled with --disable-libssp (but linking fails with a error
|
||||
finding -lssp_nonshared).
|
||||
|
||||
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
|
||||
---
|
||||
config-scripts/cups-compiler.m4 | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
Index: cups-1.3.9/config-scripts/cups-compiler.m4
|
||||
===================================================================
|
||||
--- cups-1.3.9.orig/config-scripts/cups-compiler.m4
|
||||
+++ cups-1.3.9/config-scripts/cups-compiler.m4
|
||||
@@ -109,7 +109,7 @@ if test -n "$GCC"; then
|
||||
AC_MSG_CHECKING(if GCC supports -fstack-protector)
|
||||
OLDCFLAGS="$CFLAGS"
|
||||
CFLAGS="$CFLAGS -fstack-protector"
|
||||
- AC_TRY_COMPILE(,,
|
||||
+ AC_TRY_LINK(,,
|
||||
OPTIM="$OPTIM -fstack-protector"
|
||||
AC_MSG_RESULT(yes),
|
||||
AC_MSG_RESULT(no))
|
||||
@@ -3,23 +3,65 @@
|
||||
# cups
|
||||
#
|
||||
################################################################################
|
||||
CUPS_VERSION = 1.3.5
|
||||
CUPS_VERSION = 1.3.9
|
||||
CUPS_NAME = cups-$(CUPS_VERSION)
|
||||
CUPS_DIR = $(BUILD_DIR)/$(CUPS_NAME)
|
||||
CUPS_SITE = http://ftp.easysw.com/pub/cups/1.3.5
|
||||
CUPS_SITE = http://ftp.easysw.com/pub/cups/$(CUPS_VERSION)
|
||||
CUPS_SOURCE:=$(CUPS_NAME)-source.tar.bz2
|
||||
CUPS_DESTDIR:=$(STAGING_DIR)/usr/lib
|
||||
CUPS_CAT:=$(BZCAT)
|
||||
|
||||
ifeq ($(BR2_PACKAGE_DBUS),y)
|
||||
CUPS_CONF_OPT_DBUS =--enable-dbus
|
||||
CUPS_DEPENDENCIES_DBUS = dbus
|
||||
CUPS_CONF_OPT += --enable-dbus
|
||||
CUPS_DEPENDENCIES += dbus
|
||||
else
|
||||
CUPS_CONF_OPT_DBUS =--disable-dbus
|
||||
CUPS_CONF_OPT += --disable-dbus
|
||||
endif
|
||||
|
||||
ifneq ($(BR2_PACKAGE_XSERVER_none),y)
|
||||
CUPS_DEPENDENCIES_X = xlib_libX11
|
||||
CUPS_DEPENDENCIES += xlib_libX11
|
||||
endif
|
||||
|
||||
CUPS_CONF_OPT += --disable-perl
|
||||
CUPS_CONF_OPT += --disable-java
|
||||
CUPS_CFLAGS = $(TARGET_CFLAGS)
|
||||
|
||||
|
||||
ifeq ($(BR2_PACKAGE_PERL),disabled) # We do not provide perl (yet)
|
||||
CUPS_CONF_ENV += ac_cv_path_perl=$(STAGING_DIR)/usr/bin/perl
|
||||
CUPS_CONF_OPT += --with-perl
|
||||
CUPS_DEPENDENCIES += microperl
|
||||
else
|
||||
CUPS_CONF_OPT += --disable-perl
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_PHP),y)
|
||||
CUPS_CFLAGS += -I$(STAGING_DIR)/usr/include/php
|
||||
CUPS_CFLAGS += -I$(STAGING_DIR)/usr/include/php/main
|
||||
CUPS_CFLAGS += -I$(STAGING_DIR)/usr/include/php/regex
|
||||
CUPS_CFLAGS += -I$(STAGING_DIR)/usr/include/php/TSRM
|
||||
CUPS_CFLAGS += -I$(STAGING_DIR)/usr/include/php/Zend
|
||||
CUPS_CFLAGS += -I$(STAGING_DIR)/usr/include/php/ext
|
||||
CUPS_CONF_ENV += ac_cv_path_php=$(STAGING_DIR)/usr/bin/php
|
||||
CUPS_CONF_OPT += --with-php
|
||||
CUPS_DEPENDENCIES += php
|
||||
else
|
||||
CUPS_CONF_OPT += --disable-php
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_PYTHON),y)
|
||||
CUPS_CFLAGS += -I$(STAGING_DIR)/usr/include/python$(PYTHON_VERSION_MAJOR)
|
||||
CUPS_CONF_ENV += ac_cv_path_python=$(STAGING_DIR)/usr/bin/python
|
||||
CUPS_CONF_OPT += --with-python
|
||||
CUPS_DEPENDENCIES += python
|
||||
else
|
||||
CUPS_CONF_OPT += --disable-python
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_CUPS_PDFTOPS),y)
|
||||
CUPS_CONF_OPT += --enable-pdftops
|
||||
else
|
||||
CUPS_CONF_OPT += --disable-pdftops
|
||||
endif
|
||||
|
||||
$(DL_DIR)/$(CUPS_SOURCE):
|
||||
@@ -32,16 +74,29 @@ $(CUPS_DIR)/.unpacked: $(DL_DIR)/$(CUPS_SOURCE)
|
||||
touch $@
|
||||
|
||||
$(CUPS_DIR)/.configured: $(CUPS_DIR)/.unpacked
|
||||
cd $(CUPS_DIR) && $(AUTOCONF)
|
||||
(cd $(CUPS_DIR) && \
|
||||
$(TARGET_CONFIGURE_OPTS) \
|
||||
$(TARGET_CONFIGURE_ARGS) \
|
||||
$(CUPS_CONF_ENV) \
|
||||
CFLAGS="$(CUPS_CFLAGS)" \
|
||||
./configure \
|
||||
--prefix=/usr $(CUPS_CONF_OPT_DBUS) --includedir=/usr/include \
|
||||
--libdir=/usr/lib --disable-gnutls --disable-gssapi --host=$(ARCH) \ )
|
||||
--target=$(GNU_TARGET_NAME) \
|
||||
--host=$(GNU_TARGET_NAME) \
|
||||
--build=$(GNU_HOST_NAME) \
|
||||
--prefix=/usr \
|
||||
--exec-prefix=/usr \
|
||||
--sysconfdir=/etc \
|
||||
--localstatedir=/var \
|
||||
--with-config-file-path=/etc \
|
||||
--disable-gnutls \
|
||||
--disable-gssapi \
|
||||
$(CUPS_CONF_OPT) \
|
||||
)
|
||||
touch $@
|
||||
|
||||
$(CUPS_DIR)/.compiled: $(CUPS_DIR)/.configured
|
||||
$(MAKE) -C $(CUPS_DIR) cups backend berkeley cgi-bin filter \
|
||||
$(MAKE) CFLAGS="$(CUPS_CFLAGS)" -C $(CUPS_DIR) cups backend berkeley cgi-bin filter \
|
||||
locale monitor notifier pdftops scheduler systemv scripting/php \
|
||||
conf data doc fonts ppd templates
|
||||
touch $@
|
||||
@@ -55,11 +110,16 @@ $(CUPS_DIR)/.installed: $(CUPS_DIR)/.compiled
|
||||
$(SED) "s,^libdir=.*,libdir=\'$(STAGING_DIR)/usr/lib\',g" $(STAGING_DIR)/usr/bin/cups-config
|
||||
touch $@
|
||||
|
||||
cups: uclibc $(CUPS_DEPENDENCIES_DBUS) $(CUPS_DEPENDENCIES_X) $(CUPS_DIR)/.installed
|
||||
cups: uclibc host-autoconf $(CUPS_DEPENDENCIES) $(CUPS_DIR)/.installed
|
||||
|
||||
cups-source: $(DL_DIR)/$(CUPS_SOURCE)
|
||||
|
||||
cups-clean:
|
||||
-$(MAKE) -C $(CUPS_DIR) clean
|
||||
|
||||
cups-dirclean:
|
||||
rm -fr $(CUPS_DIR)
|
||||
|
||||
#############################################################
|
||||
#
|
||||
# Toplevel Makefile options
|
||||
@@ -67,4 +127,5 @@ cups-clean:
|
||||
#############################################################
|
||||
ifeq ($(BR2_PACKAGE_CUPS),y)
|
||||
TARGETS+=cups
|
||||
endif
|
||||
endif
|
||||
|
||||
|
||||
@@ -1,4 +1,10 @@
|
||||
config BR2_PACKAGE_MYSQL_CLIENT
|
||||
bool "MySQL 5.1 client"
|
||||
depends on BR2_INSTALL_LIBSTDCPP
|
||||
select BR2_PACKAGE_NCURSES
|
||||
select BR2_PACKAGE_READLINE
|
||||
help
|
||||
MySQL client
|
||||
|
||||
comment "Mysql client requires a toolchain with C++ support enabled"
|
||||
depends on !BR2_INSTALL_LIBSTDCPP
|
||||
|
||||
@@ -8,23 +8,24 @@ MYSQL_CLIENT_SOURCE = mysql-$(MYSQL_CLIENT_VERSION).tar.gz
|
||||
MYSQL_CLIENT_SITE = http://mirrors.24-7-solutions.net/pub/mysql/Downloads/MySQL-5.1
|
||||
MYSQL_CLIENT_INSTALL_TARGET = YES
|
||||
MYSQL_CLIENT_INSTALL_STAGING = YES
|
||||
MYSQL_CLIENT_DEPENDENCIES = uclibc readline
|
||||
MYSQL_CLIENT_DEPENDENCIES = uclibc readline ncurses
|
||||
|
||||
MYSQL_CLIENT_CONF_ENV = ac_cv_sys_restartable_syscalls=yes
|
||||
MYSQL_CLIENT_CONF_OPT = \
|
||||
--target=$(GNU_TARGET_NAME) \
|
||||
--host=$(GNU_TARGET_NAME) \
|
||||
--build=$(GNU_HOST_NAME) \
|
||||
--program-prefix="" \
|
||||
--prefix=/usr \
|
||||
--without-ndb-binlog \
|
||||
--without-server \
|
||||
--without-docs \
|
||||
--without-man \
|
||||
--without-readline \
|
||||
--without-libedit \
|
||||
--with-readline=$(STAGING_DIR)/usr \
|
||||
--with-low-memory \
|
||||
--enable-thread-safe-client \
|
||||
$(ENABLE_DEBUG)
|
||||
|
||||
$(eval $(call AUTOTARGETS,package/database,mysql_client))
|
||||
|
||||
$(MYSQL_CLIENT_HOOK_POST_INSTALL):
|
||||
rm -rf $(TARGET_DIR)/usr/mysql-test $(TARGET_DIR)/usr/sql-bench
|
||||
touch $@
|
||||
|
||||
@@ -1,9 +1,16 @@
|
||||
config BR2_PACKAGE_SQLITE
|
||||
bool "sqlite"
|
||||
select BR2_PACKAGE_NCURSES
|
||||
select BR2_READLINE
|
||||
help
|
||||
SQLite is a small C library that implements a self-contained,
|
||||
embeddable, zero-configuration SQL database engine.
|
||||
|
||||
http://www.sqlite.org/
|
||||
|
||||
config BR2_PACKAGE_SQLITE_READLINE
|
||||
bool "Command-line editing"
|
||||
depends on BR2_PACKAGE_SQLITE
|
||||
select BR2_PACKAGE_NCURSES
|
||||
select BR2_PACKAGE_READLINE
|
||||
help
|
||||
Enable command-line editing. This requires ncurses and readline.
|
||||
|
||||
|
||||
@@ -4,77 +4,38 @@
|
||||
#
|
||||
#############################################################
|
||||
|
||||
SQLITE_VERSION:=3.6.4
|
||||
SQLITE_SOURCE:=sqlite-$(SQLITE_VERSION).tar.gz
|
||||
SQLITE_SITE:=http://www.sqlite.org
|
||||
SQLITE_DIR:=$(BUILD_DIR)/sqlite-$(SQLITE_VERSION)
|
||||
SQLITE_CAT:=$(ZCAT)
|
||||
SQLITE_VERSION = 3.6.13
|
||||
SQLITE_SOURCE = sqlite-$(SQLITE_VERSION).tar.gz
|
||||
SQLITE_SITE = http://www.sqlite.org
|
||||
SQLITE_INSTALL_STAGING = YES
|
||||
SQLITE_INSTALL_TARGET_OPT = DESTDIR=$(TARGET_DIR) install
|
||||
SQLITE_LIBTOOL_PATCH = NO
|
||||
SQLITE_DEPENDENCIES = uclibc
|
||||
|
||||
$(DL_DIR)/$(SQLITE_SOURCE):
|
||||
$(call DOWNLOAD,$(SQLITE_SITE),$(SQLITE_SOURCE))
|
||||
SQLITE_CONF_OPT = --enable-shared \
|
||||
--enable-static \
|
||||
--enable-tempstore=yes \
|
||||
--enable-threadsafe \
|
||||
--enable-releasemode \
|
||||
--disable-tcl \
|
||||
--localstatedir=/var
|
||||
|
||||
$(SQLITE_DIR)/.unpacked: $(DL_DIR)/$(SQLITE_SOURCE)
|
||||
$(SQLITE_CAT) $(DL_DIR)/$(SQLITE_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
|
||||
touch $(SQLITE_DIR)/.unpacked
|
||||
|
||||
$(SQLITE_DIR)/.configured: $(SQLITE_DIR)/.unpacked
|
||||
(cd $(SQLITE_DIR); rm -rf config.cache; \
|
||||
$(TARGET_CONFIGURE_OPTS) \
|
||||
$(TARGET_CONFIGURE_ARGS) \
|
||||
config_BUILD_CC="$(HOSTCC)" \
|
||||
config_TARGET_CFLAGS="$(TARGET_CFLAGS)" \
|
||||
config_TARGET_CC="$(TARGET_CC)" \
|
||||
config_TARGET_READLINE_LIBS="-L$(TARGET_DIR)/usr/lib -L$(TARGET_DIR)/lib -lncurses -lreadline" \
|
||||
config_TARGET_READLINE_INC="-I$(STAGING_DIR)/usr/include" \
|
||||
./configure \
|
||||
--target=$(GNU_TARGET_NAME) \
|
||||
--host=$(GNU_TARGET_NAME) \
|
||||
--build=$(GNU_HOST_NAME) \
|
||||
--prefix=/usr \
|
||||
--sysconfdir=/etc \
|
||||
--localstatedir=/var \
|
||||
--enable-shared \
|
||||
--enable-static \
|
||||
--disable-tcl \
|
||||
--enable-tempstore \
|
||||
--enable-threadsafe \
|
||||
--enable-releasemode \
|
||||
)
|
||||
touch $(SQLITE_DIR)/.configured
|
||||
|
||||
$(SQLITE_DIR)/sqlite3: $(SQLITE_DIR)/.configured
|
||||
$(MAKE) -C $(SQLITE_DIR)
|
||||
|
||||
$(STAGING_DIR)/usr/bin/sqlite3: $(SQLITE_DIR)/sqlite3
|
||||
$(MAKE) DESTDIR=$(STAGING_DIR) -C $(SQLITE_DIR) install
|
||||
$(SED) "s,^libdir=.*,libdir=\'$(STAGING_DIR)/usr/lib\',g" $(STAGING_DIR)/usr/lib/libsqlite3.la
|
||||
|
||||
$(TARGET_DIR)/usr/bin/sqlite3: $(STAGING_DIR)/usr/bin/sqlite3
|
||||
$(INSTALL) -m 0755 -D $^ $@
|
||||
$(STRIPCMD) $(STRIP_STRIP_ALL) $@
|
||||
cp -dpf $(STAGING_DIR)/usr/lib/libsqlite3*.so* $(TARGET_DIR)/usr/lib/
|
||||
$(STRIPCMD) $(STRIP_STRIP_UNNEEDED) $(TARGET_DIR)/usr/lib/libsqlite3.so
|
||||
|
||||
sqlite: uclibc readline-target ncurses $(TARGET_DIR)/usr/bin/sqlite3
|
||||
|
||||
sqlite-source: $(DL_DIR)/$(SQLITE_SOURCE)
|
||||
|
||||
sqlite-clean:
|
||||
-$(MAKE) -C $(SQLITE_DIR) clean
|
||||
-rm -rf $(STAGING_DIR)/usr/lib/libsqlite*
|
||||
-rm -rf $(STAGING_DIR)/usr/bin/sqlite3
|
||||
-rm -rf $(STAGING_DIR)/usr/include/sqlite*
|
||||
-rm -rf $(STAGING_DIR)/usr/lib/pkgconfig/sqlite*
|
||||
-rm -rf $(TARGET_DIR)/usr/lib/libsqlite*
|
||||
-rm -rf $(TARGET_DIR)/usr/bin/sqlite3
|
||||
|
||||
sqlite-dirclean:
|
||||
rm -rf $(SQLITE_DIR)
|
||||
#############################################################
|
||||
#
|
||||
# Toplevel Makefile options
|
||||
#
|
||||
#############################################################
|
||||
ifeq ($(BR2_PACKAGE_SQLITE),y)
|
||||
TARGETS+=sqlite
|
||||
ifeq ($(BR2_PACKAGE_SQLITE_READLINE),y)
|
||||
SQLITE_DEPENDENCIES += ncurses readline
|
||||
SQLITE_CONF_OPT += --with-readline-inc="-I$(STAGING_DIR)/usr/include"
|
||||
else
|
||||
SQLITE_CONF_OPT += --disable-readline
|
||||
endif
|
||||
|
||||
$(eval $(call AUTOTARGETS,package,sqlite))
|
||||
|
||||
$(SQLITE_TARGET_UNINSTALL):
|
||||
$(call MESSAGE,"Uninstalling")
|
||||
rm -f $(TARGET_DIR)/usr/bin/sqlite3
|
||||
rm -f $(TARGET_DIR)/usr/lib/libsqlite3*
|
||||
rm -f $(STAGING_DIR)/usr/bin/sqlite3
|
||||
rm -f $(STAGING_DIR)/usr/lib/libsqlite3*
|
||||
rm -f $(STAGING_DIR)/usr/lib/pkgconfig/sqlite3.pc
|
||||
rm -f $(STAGING_DIR)/usr/include/sqlite3*.h
|
||||
rm -f $(SQLITE_TARGET_INSTALL_TARGET) $(SQLITE_HOOK_POST_INSTALL)
|
||||
|
||||
|
||||
@@ -1,9 +1,12 @@
|
||||
config BR2_PACKAGE_DBUS_GLIB
|
||||
bool "dbus-glib"
|
||||
depends on BR2_PACKAGE_DBUS
|
||||
depends on BR2_PACKAGE_EXPAT
|
||||
select BR2_PACKAGE_LIBGLIB2
|
||||
select BR2_PACKAGE_PKGCONFIG
|
||||
help
|
||||
GLib bindings for D-Bus.
|
||||
|
||||
http://www.freedesktop.org/software/dbus
|
||||
|
||||
comment "dbus-glib needs dbus to be compiled with expat support"
|
||||
depends on !BR2_PACKAGE_EXPAT
|
||||
|
||||
@@ -1,77 +0,0 @@
|
||||
--- dbus-glib-0.70/tools/dbus-bus-introspect.xml.dontgenerate 2006-07-18 15:14:38.000000000 -0400
|
||||
+++ dbus-glib-0.70/tools/dbus-bus-introspect.xml 2006-07-18 15:13:17.000000000 -0400
|
||||
@@ -0,0 +1,74 @@
|
||||
+ <!DOCTYPE node PUBLIC "-//freedesktop//DTD D-BUS Object Introspection 1.0//EN"
|
||||
+"http://www.freedesktop.org/standards/dbus/1.0/introspect.dtd">
|
||||
+<node>
|
||||
+ <interface name="org.freedesktop.DBus.Introspectable">
|
||||
+ <method name="Introspect">
|
||||
+ <arg name="data" direction="out" type="s"/>
|
||||
+ </method>
|
||||
+ </interface>
|
||||
+ <interface name="org.freedesktop.DBus">
|
||||
+ <method name="RequestName">
|
||||
+ <arg direction="in" type="s"/>
|
||||
+ <arg direction="in" type="u"/>
|
||||
+ <arg direction="out" type="u"/>
|
||||
+ </method>
|
||||
+ <method name="ReleaseName">
|
||||
+ <arg direction="in" type="s"/>
|
||||
+ <arg direction="out" type="u"/>
|
||||
+ </method>
|
||||
+ <method name="StartServiceByName">
|
||||
+ <arg direction="in" type="s"/>
|
||||
+ <arg direction="in" type="u"/>
|
||||
+ <arg direction="out" type="u"/>
|
||||
+ </method>
|
||||
+ <method name="Hello">
|
||||
+ <arg direction="out" type="s"/>
|
||||
+ </method>
|
||||
+ <method name="NameHasOwner">
|
||||
+ <arg direction="in" type="s"/>
|
||||
+ <arg direction="out" type="b"/>
|
||||
+ </method>
|
||||
+ <method name="ListNames">
|
||||
+ <arg direction="out" type="as"/>
|
||||
+ </method>
|
||||
+ <method name="AddMatch">
|
||||
+ <arg direction="in" type="s"/>
|
||||
+ </method>
|
||||
+ <method name="RemoveMatch">
|
||||
+ <arg direction="in" type="s"/>
|
||||
+ </method>
|
||||
+ <method name="GetNameOwner">
|
||||
+ <arg direction="in" type="s"/>
|
||||
+ <arg direction="out" type="s"/>
|
||||
+ </method>
|
||||
+ <method name="ListQueuedOwners">
|
||||
+ <arg direction="in" type="s"/>
|
||||
+ <arg direction="out" type="as"/>
|
||||
+ </method>
|
||||
+ <method name="GetConnectionUnixUser">
|
||||
+ <arg direction="in" type="s"/>
|
||||
+ <arg direction="out" type="u"/>
|
||||
+ </method>
|
||||
+ <method name="GetConnectionUnixProcessID">
|
||||
+ <arg direction="in" type="s"/>
|
||||
+ <arg direction="out" type="u"/>
|
||||
+ </method>
|
||||
+ <method name="GetConnectionSELinuxSecurityContext">
|
||||
+ <arg direction="in" type="s"/>
|
||||
+ <arg direction="out" type="ay"/>
|
||||
+ </method>
|
||||
+ <method name="ReloadConfig">
|
||||
+ </method>
|
||||
+ <signal name="NameOwnerChanged">
|
||||
+ <arg type="s"/>
|
||||
+ <arg type="s"/>
|
||||
+ <arg type="s"/>
|
||||
+ </signal>
|
||||
+ <signal name="NameLost">
|
||||
+ <arg type="s"/>
|
||||
+ </signal>
|
||||
+ <signal name="NameAcquired">
|
||||
+ <arg type="s"/>
|
||||
+ </signal>
|
||||
+ </interface>
|
||||
+</node>
|
||||
215
package/dbus-glib/dbus-glib-autoreconf.patch
Normal file
215
package/dbus-glib/dbus-glib-autoreconf.patch
Normal file
@@ -0,0 +1,215 @@
|
||||
dbus-glib: result of autoreconf after the --with-dbus-binding-tool addition
|
||||
|
||||
autoreconf on dbus-glib fails with the autoconf version we currently have
|
||||
in BR, so do it in patch form instead.
|
||||
|
||||
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
|
||||
---
|
||||
configure | 14 ++++++++++++++
|
||||
dbus/Makefile.in | 1 +
|
||||
dbus/examples/Makefile.in | 5 +++--
|
||||
dbus/examples/statemachine/Makefile.in | 5 +++--
|
||||
test/core/Makefile.in | 7 ++++---
|
||||
test/interfaces/Makefile.in | 13 +++++++------
|
||||
tools/Makefile.in | 3 ++-
|
||||
7 files changed, 34 insertions(+), 14 deletions(-)
|
||||
|
||||
Index: dbus-glib-0.80/configure
|
||||
===================================================================
|
||||
--- dbus-glib-0.80.orig/configure
|
||||
+++ dbus-glib-0.80/configure
|
||||
@@ -882,6 +882,7 @@
|
||||
SED
|
||||
DBUS_BUILD_TESTS_FALSE
|
||||
DBUS_BUILD_TESTS_TRUE
|
||||
+DBUS_BINDING_TOOL
|
||||
DBUS_BASH_COMPLETION_FALSE
|
||||
DBUS_BASH_COMPLETION_TRUE
|
||||
EGREP
|
||||
@@ -1003,6 +1004,7 @@
|
||||
enable_bash_completion
|
||||
with_test_socket_dir
|
||||
with_introspect_xml
|
||||
+with_dbus_binding_tool
|
||||
enable_shared
|
||||
enable_static
|
||||
enable_fast_install
|
||||
@@ -1696,6 +1698,8 @@
|
||||
Pass in a pregenerated dbus daemon introspection xml
|
||||
file (as generated by 'dbus-daemon --introspect') to
|
||||
use instead of querying the installed dbus daemon
|
||||
+ --with-dbus-binding-tool=filename
|
||||
+ Use external dbus-binding-tool program
|
||||
--with-gnu-ld assume the C compiler uses GNU ld [default=no]
|
||||
--with-pic try to use only PIC/non-PIC objects [default=use
|
||||
both]
|
||||
@@ -5174,6 +5178,16 @@
|
||||
fi
|
||||
|
||||
|
||||
+# Check whether --with-dbus-binding-tool was given.
|
||||
+if test "${with_dbus_binding_tool+set}" = set; then
|
||||
+ withval=$with_dbus_binding_tool; DBUS_BINDING_TOOL=$withval
|
||||
+else
|
||||
+ DBUS_BINDING_TOOL=\$\(top_builddir\)/dbus/dbus-binding-tool
|
||||
+fi
|
||||
+
|
||||
+
|
||||
+
|
||||
+
|
||||
if test x$enable_tests = xyes; then
|
||||
DBUS_BUILD_TESTS_TRUE=
|
||||
DBUS_BUILD_TESTS_FALSE='#'
|
||||
Index: dbus-glib-0.80/dbus/examples/Makefile.in
|
||||
===================================================================
|
||||
--- dbus-glib-0.80.orig/dbus/examples/Makefile.in
|
||||
+++ dbus-glib-0.80/dbus/examples/Makefile.in
|
||||
@@ -114,6 +114,7 @@
|
||||
CXXFLAGS = @CXXFLAGS@
|
||||
CYGPATH_W = @CYGPATH_W@
|
||||
DATADIRNAME = @DATADIRNAME@
|
||||
+DBUS_BINDING_TOOL = @DBUS_BINDING_TOOL@
|
||||
DBUS_BUS_CFLAGS = @DBUS_BUS_CFLAGS@
|
||||
DBUS_BUS_LIBS = @DBUS_BUS_LIBS@
|
||||
DBUS_CFLAGS = @DBUS_CFLAGS@
|
||||
@@ -668,10 +669,10 @@
|
||||
|
||||
|
||||
example-service-glue.h: example-service.xml
|
||||
- $(LIBTOOL) --mode=execute $(top_builddir)/dbus/dbus-binding-tool --prefix=some_object --mode=glib-server --output=example-service-glue.h $(srcdir)/example-service.xml
|
||||
+ $(LIBTOOL) --mode=execute $(DBUS_BINDING_TOOL) --prefix=some_object --mode=glib-server --output=example-service-glue.h $(srcdir)/example-service.xml
|
||||
|
||||
example-signal-emitter-glue.h: example-signal-emitter.xml
|
||||
- $(LIBTOOL) --mode=execute $(top_builddir)/dbus/dbus-binding-tool --prefix=test_object --mode=glib-server --output=example-signal-emitter-glue.h $(srcdir)/example-signal-emitter.xml
|
||||
+ $(LIBTOOL) --mode=execute $(DBUS_BINDING_TOOL) --prefix=test_object --mode=glib-server --output=example-signal-emitter-glue.h $(srcdir)/example-signal-emitter.xml
|
||||
# Tell versions [3.59,3.63) of GNU make to not export all variables.
|
||||
# Otherwise a system limit (for SysV at least) may be exceeded.
|
||||
.NOEXPORT:
|
||||
Index: dbus-glib-0.80/dbus/examples/statemachine/Makefile.in
|
||||
===================================================================
|
||||
--- dbus-glib-0.80.orig/dbus/examples/statemachine/Makefile.in
|
||||
+++ dbus-glib-0.80/dbus/examples/statemachine/Makefile.in
|
||||
@@ -87,6 +87,7 @@
|
||||
CXXFLAGS = @CXXFLAGS@
|
||||
CYGPATH_W = @CYGPATH_W@
|
||||
DATADIRNAME = @DATADIRNAME@
|
||||
+DBUS_BINDING_TOOL = @DBUS_BINDING_TOOL@
|
||||
DBUS_BUS_CFLAGS = @DBUS_BUS_CFLAGS@
|
||||
DBUS_BUS_LIBS = @DBUS_BUS_LIBS@
|
||||
DBUS_CFLAGS = @DBUS_CFLAGS@
|
||||
@@ -529,10 +530,10 @@
|
||||
|
||||
|
||||
statemachine-server-glue.h: statemachine-server.xml
|
||||
- $(LIBTOOL) --mode=execute $(top_builddir)/dbus/dbus-binding-tool --prefix=sm_server --mode=glib-server --output=$@ $<
|
||||
+ $(LIBTOOL) --mode=execute $(DBUS_BINDING_TOOL) --prefix=sm_server --mode=glib-server --output=$@ $<
|
||||
|
||||
statemachine-glue.h: statemachine.xml
|
||||
- $(LIBTOOL) --mode=execute $(top_builddir)/dbus/dbus-binding-tool --prefix=sm_object --mode=glib-server --output=$@ $<
|
||||
+ $(LIBTOOL) --mode=execute $(DBUS_BINDING_TOOL) --prefix=sm_object --mode=glib-server --output=$@ $<
|
||||
|
||||
sm-marshal.c: Makefile sm-marshal.list
|
||||
@GLIB_GENMARSHAL@ --prefix=sm_marshal $(srcdir)/sm-marshal.list --header --body > $@.tmp && mv $@.tmp $@
|
||||
Index: dbus-glib-0.80/test/core/Makefile.in
|
||||
===================================================================
|
||||
--- dbus-glib-0.80.orig/test/core/Makefile.in
|
||||
+++ dbus-glib-0.80/test/core/Makefile.in
|
||||
@@ -175,6 +175,7 @@
|
||||
CXXFLAGS = @CXXFLAGS@
|
||||
CYGPATH_W = @CYGPATH_W@
|
||||
DATADIRNAME = @DATADIRNAME@
|
||||
+DBUS_BINDING_TOOL = @DBUS_BINDING_TOOL@
|
||||
DBUS_BUS_CFLAGS = @DBUS_BUS_CFLAGS@
|
||||
DBUS_BUS_LIBS = @DBUS_BUS_LIBS@
|
||||
DBUS_CFLAGS = @DBUS_CFLAGS@
|
||||
@@ -767,13 +768,13 @@
|
||||
|
||||
|
||||
@DBUS_BUILD_TESTS_TRUE@test-service-glib-glue.h: test-service-glib.xml $(top_builddir)/dbus/dbus-binding-tool
|
||||
-@DBUS_BUILD_TESTS_TRUE@ $(DEBUG) $(top_builddir)/dbus/dbus-binding-tool --prefix=my_object --mode=glib-server --output=test-service-glib-glue.h $(srcdir)/test-service-glib.xml
|
||||
+@DBUS_BUILD_TESTS_TRUE@ $(DEBUG) $(DBUS_BINDING_TOOL) --prefix=my_object --mode=glib-server --output=test-service-glib-glue.h $(srcdir)/test-service-glib.xml
|
||||
|
||||
@DBUS_BUILD_TESTS_TRUE@test-service-glib-subclass-glue.h: test-service-glib-subclass.xml $(top_builddir)/dbus/dbus-binding-tool
|
||||
-@DBUS_BUILD_TESTS_TRUE@ $(DEBUG) $(top_builddir)/dbus/dbus-binding-tool --prefix=my_object_subclass --mode=glib-server --output=test-service-glib-subclass-glue.h $(srcdir)/test-service-glib-subclass.xml
|
||||
+@DBUS_BUILD_TESTS_TRUE@ $(DEBUG) $(DBUS_BINDING_TOOL) --prefix=my_object_subclass --mode=glib-server --output=test-service-glib-subclass-glue.h $(srcdir)/test-service-glib-subclass.xml
|
||||
|
||||
@DBUS_BUILD_TESTS_TRUE@test-service-glib-bindings.h: test-service-glib.xml $(top_builddir)/dbus/dbus-binding-tool
|
||||
-@DBUS_BUILD_TESTS_TRUE@ $(DEBUG) $(top_builddir)/dbus/dbus-binding-tool --prefix=my_object --mode=glib-client --output=test-service-glib-bindings.h $(srcdir)/test-service-glib.xml
|
||||
+@DBUS_BUILD_TESTS_TRUE@ $(DEBUG) $(DBUS_BINDING_TOOL) --prefix=my_object --mode=glib-client --output=test-service-glib-bindings.h $(srcdir)/test-service-glib.xml
|
||||
|
||||
@DBUS_BUILD_TESTS_TRUE@my-object-marshal.c: Makefile my-object-marshal.list
|
||||
@DBUS_BUILD_TESTS_TRUE@ @GLIB_GENMARSHAL@ --prefix=my_object_marshal $(srcdir)/my-object-marshal.list --header --body > my-object-marshal.c
|
||||
Index: dbus-glib-0.80/test/interfaces/Makefile.in
|
||||
===================================================================
|
||||
--- dbus-glib-0.80.orig/test/interfaces/Makefile.in
|
||||
+++ dbus-glib-0.80/test/interfaces/Makefile.in
|
||||
@@ -104,6 +104,7 @@
|
||||
CXXFLAGS = @CXXFLAGS@
|
||||
CYGPATH_W = @CYGPATH_W@
|
||||
DATADIRNAME = @DATADIRNAME@
|
||||
+DBUS_BINDING_TOOL = @DBUS_BINDING_TOOL@
|
||||
DBUS_BUS_CFLAGS = @DBUS_BUS_CFLAGS@
|
||||
DBUS_BUS_LIBS = @DBUS_BUS_LIBS@
|
||||
DBUS_CFLAGS = @DBUS_CFLAGS@
|
||||
@@ -637,22 +638,22 @@
|
||||
|
||||
|
||||
@DBUS_BUILD_TESTS_TRUE@test-song-glue.h: test-song.xml $(top_builddir)/dbus/dbus-binding-tool
|
||||
-@DBUS_BUILD_TESTS_TRUE@ $(top_builddir)/dbus/dbus-binding-tool --prefix=test_song --mode=glib-server --output=test-song-glue.h $(srcdir)/test-song.xml
|
||||
+@DBUS_BUILD_TESTS_TRUE@ $(DBUS_BINDING_TOOL) --prefix=test_song --mode=glib-server --output=test-song-glue.h $(srcdir)/test-song.xml
|
||||
|
||||
@DBUS_BUILD_TESTS_TRUE@test-song-bindings.h: test-song.xml $(top_builddir)/dbus/dbus-binding-tool
|
||||
-@DBUS_BUILD_TESTS_TRUE@ $(top_builddir)/dbus/dbus-binding-tool --prefix=test_song --mode=glib-client --output=test-song-bindings.h $(srcdir)/test-song.xml
|
||||
+@DBUS_BUILD_TESTS_TRUE@ $(DBUS_BINDING_TOOL) --prefix=test_song --mode=glib-client --output=test-song-bindings.h $(srcdir)/test-song.xml
|
||||
|
||||
@DBUS_BUILD_TESTS_TRUE@test-hello-glue.h: test-hello.xml $(top_builddir)/dbus/dbus-binding-tool
|
||||
-@DBUS_BUILD_TESTS_TRUE@ $(top_builddir)/dbus/dbus-binding-tool --prefix=test_hello --mode=glib-server --output=test-hello-glue.h $(srcdir)/test-hello.xml
|
||||
+@DBUS_BUILD_TESTS_TRUE@ $(DBUS_BINDING_TOOL) --prefix=test_hello --mode=glib-server --output=test-hello-glue.h $(srcdir)/test-hello.xml
|
||||
|
||||
@DBUS_BUILD_TESTS_TRUE@test-hello-bindings.h: test-hello.xml $(top_builddir)/dbus/dbus-binding-tool
|
||||
-@DBUS_BUILD_TESTS_TRUE@ $(top_builddir)/dbus/dbus-binding-tool --prefix=test_hello --mode=glib-client --output=test-hello-bindings.h $(srcdir)/test-hello.xml
|
||||
+@DBUS_BUILD_TESTS_TRUE@ $(DBUS_BINDING_TOOL) --prefix=test_hello --mode=glib-client --output=test-hello-bindings.h $(srcdir)/test-hello.xml
|
||||
|
||||
@DBUS_BUILD_TESTS_TRUE@test-goodbye-glue.h: test-goodbye.xml $(top_builddir)/dbus/dbus-binding-tool
|
||||
-@DBUS_BUILD_TESTS_TRUE@ $(top_builddir)/dbus/dbus-binding-tool --prefix=test_goodbye --mode=glib-server --output=test-goodbye-glue.h $(srcdir)/test-goodbye.xml
|
||||
+@DBUS_BUILD_TESTS_TRUE@ $(DBUS_BINDING_TOOL) --prefix=test_goodbye --mode=glib-server --output=test-goodbye-glue.h $(srcdir)/test-goodbye.xml
|
||||
|
||||
@DBUS_BUILD_TESTS_TRUE@test-goodbye-bindings.h: test-goodbye.xml $(top_builddir)/dbus/dbus-binding-tool
|
||||
-@DBUS_BUILD_TESTS_TRUE@ $(top_builddir)/dbus/dbus-binding-tool --prefix=test_goodbye --mode=glib-client --output=test-goodbye-bindings.h $(srcdir)/test-goodbye.xml
|
||||
+@DBUS_BUILD_TESTS_TRUE@ $(DBUS_BINDING_TOOL) --prefix=test_goodbye --mode=glib-client --output=test-goodbye-bindings.h $(srcdir)/test-goodbye.xml
|
||||
|
||||
### not building tests
|
||||
# Tell versions [3.59,3.63) of GNU make to not export all variables.
|
||||
Index: dbus-glib-0.80/tools/Makefile.in
|
||||
===================================================================
|
||||
--- dbus-glib-0.80.orig/tools/Makefile.in
|
||||
+++ dbus-glib-0.80/tools/Makefile.in
|
||||
@@ -77,6 +77,7 @@
|
||||
CXXFLAGS = @CXXFLAGS@
|
||||
CYGPATH_W = @CYGPATH_W@
|
||||
DATADIRNAME = @DATADIRNAME@
|
||||
+DBUS_BINDING_TOOL = @DBUS_BINDING_TOOL@
|
||||
DBUS_BUS_CFLAGS = @DBUS_BUS_CFLAGS@
|
||||
DBUS_BUS_LIBS = @DBUS_BUS_LIBS@
|
||||
DBUS_CFLAGS = @DBUS_CFLAGS@
|
||||
@@ -481,7 +482,7 @@
|
||||
|
||||
|
||||
dbus-glib-bindings.h: dbus-bus-introspect.xml $(top_builddir)/dbus/dbus-binding-tool$(EXEEXT)
|
||||
- $(top_builddir)/dbus/dbus-binding-tool --mode=glib-client --prefix=dbus_bus --output=dbus-glib-bindings.h dbus-bus-introspect.xml
|
||||
+ $(DBUS_BINDING_TOOL) --mode=glib-client --prefix=dbus_bus --output=dbus-glib-bindings.h dbus-bus-introspect.xml
|
||||
|
||||
@USE_INTROSPECT_XML_TRUE@dbus-bus-introspect.xml: $(INTROSPECT_XML_PATH)
|
||||
@USE_INTROSPECT_XML_TRUE@ cp $(INTROSPECT_XML_PATH) dbus-bus-introspect.xml
|
||||
Index: dbus-glib-0.80/dbus/Makefile.in
|
||||
===================================================================
|
||||
--- dbus-glib-0.80.orig/dbus/Makefile.in
|
||||
+++ dbus-glib-0.80/dbus/Makefile.in
|
||||
@@ -158,6 +158,7 @@
|
||||
CXXFLAGS = @CXXFLAGS@
|
||||
CYGPATH_W = @CYGPATH_W@
|
||||
DATADIRNAME = @DATADIRNAME@
|
||||
+DBUS_BINDING_TOOL = @DBUS_BINDING_TOOL@
|
||||
DBUS_BUS_CFLAGS = @DBUS_BUS_CFLAGS@
|
||||
DBUS_BUS_LIBS = @DBUS_BUS_LIBS@
|
||||
DBUS_CFLAGS = @DBUS_CFLAGS@
|
||||
@@ -1,129 +0,0 @@
|
||||
diff -ur dbus-glib-0.72/configure.ac dbus-glib-0.72-patched/configure.ac
|
||||
--- dbus-glib-0.72/configure.ac 2006-10-25 15:53:55.000000000 -0500
|
||||
+++ dbus-glib-0.72-patched/configure.ac 2006-11-15 14:15:09.000000000 -0600
|
||||
@@ -431,42 +431,6 @@
|
||||
|
||||
AC_CHECK_HEADERS(execinfo.h, [AC_CHECK_FUNCS(backtrace)])
|
||||
|
||||
-AC_CACHE_CHECK([for posix getpwnam_r],
|
||||
- ac_cv_func_posix_getpwnam_r,
|
||||
- [AC_TRY_RUN([
|
||||
-#include <errno.h>
|
||||
-#include <pwd.h>
|
||||
-int main () {
|
||||
- char buffer[10000];
|
||||
- struct passwd pwd, *pwptr = &pwd;
|
||||
- int error;
|
||||
- errno = 0;
|
||||
- error = getpwnam_r ("", &pwd, buffer,
|
||||
- sizeof (buffer), &pwptr);
|
||||
- return (error < 0 && errno == ENOSYS)
|
||||
- || error == ENOSYS;
|
||||
-} ],
|
||||
- [ac_cv_func_posix_getpwnam_r=yes],
|
||||
- [ac_cv_func_posix_getpwnam_r=no])])
|
||||
-if test "$ac_cv_func_posix_getpwnam_r" = yes; then
|
||||
- AC_DEFINE(HAVE_POSIX_GETPWNAM_R,1,
|
||||
- [Have POSIX function getpwnam_r])
|
||||
-else
|
||||
- AC_CACHE_CHECK([for nonposix getpwnam_r],
|
||||
- ac_cv_func_nonposix_getpwnam_r,
|
||||
- [AC_TRY_LINK([#include <pwd.h>],
|
||||
- [char buffer[10000];
|
||||
- struct passwd pwd;
|
||||
- getpwnam_r ("", &pwd, buffer,
|
||||
- sizeof (buffer));],
|
||||
- [ac_cv_func_nonposix_getpwnam_r=yes],
|
||||
- [ac_cv_func_nonposix_getpwnam_r=no])])
|
||||
- if test "$ac_cv_func_nonposix_getpwnam_r" = yes; then
|
||||
- AC_DEFINE(HAVE_NONPOSIX_GETPWNAM_R,1,
|
||||
- [Have non-POSIX function getpwnam_r])
|
||||
- fi
|
||||
-fi
|
||||
-
|
||||
dnl check for socklen_t
|
||||
AC_MSG_CHECKING(whether socklen_t is defined)
|
||||
AC_TRY_COMPILE([
|
||||
@@ -532,49 +496,6 @@
|
||||
|
||||
#### Abstract sockets
|
||||
|
||||
-AC_MSG_CHECKING(abstract socket namespace)
|
||||
-AC_LANG_PUSH(C)
|
||||
-AC_RUN_IFELSE([AC_LANG_PROGRAM(
|
||||
-[[
|
||||
-#include <sys/types.h>
|
||||
-#include <stdlib.h>
|
||||
-#include <string.h>
|
||||
-#include <stdio.h>
|
||||
-#include <sys/socket.h>
|
||||
-#include <sys/un.h>
|
||||
-#include <errno.h>
|
||||
-]],
|
||||
-[[
|
||||
- int listen_fd;
|
||||
- struct sockaddr_un addr;
|
||||
-
|
||||
- listen_fd = socket (PF_UNIX, SOCK_STREAM, 0);
|
||||
-
|
||||
- if (listen_fd < 0)
|
||||
- {
|
||||
- fprintf (stderr, "socket() failed: %s\n", strerror (errno));
|
||||
- exit (1);
|
||||
- }
|
||||
-
|
||||
- memset (&addr, '\0', sizeof (addr));
|
||||
- addr.sun_family = AF_UNIX;
|
||||
- strcpy (addr.sun_path, "X/tmp/dbus-fake-socket-path-used-in-configure-test");
|
||||
- addr.sun_path[0] = '\0'; /* this is what makes it abstract */
|
||||
-
|
||||
- if (bind (listen_fd, (struct sockaddr*) &addr, SUN_LEN (&addr)) < 0)
|
||||
- {
|
||||
- fprintf (stderr, "Abstract socket namespace bind() failed: %s\n",
|
||||
- strerror (errno));
|
||||
- exit (1);
|
||||
- }
|
||||
- else
|
||||
- exit (0);
|
||||
-]])],
|
||||
- [have_abstract_sockets=yes],
|
||||
- [have_abstract_sockets=no])
|
||||
-AC_LANG_POP(C)
|
||||
-AC_MSG_RESULT($have_abstract_sockets)
|
||||
-
|
||||
if test x$enable_abstract_sockets = xyes; then
|
||||
if test x$have_abstract_sockets = xno; then
|
||||
AC_MSG_ERROR([Abstract sockets explicitly required, and support not detected.])
|
||||
diff -ur dbus-glib-0.72/dbus/Makefile.in dbus-glib-0.72-patched/dbus/Makefile.in
|
||||
--- dbus-glib-0.72/dbus/Makefile.in 2006-10-25 16:14:31.000000000 -0500
|
||||
+++ dbus-glib-0.72-patched/dbus/Makefile.in 2006-11-15 14:15:09.000000000 -0600
|
||||
@@ -303,7 +303,7 @@
|
||||
target_cpu = @target_cpu@
|
||||
target_os = @target_os@
|
||||
target_vendor = @target_vendor@
|
||||
-SUBDIRS = . examples
|
||||
+SUBDIRS = .
|
||||
INCLUDES = \
|
||||
-I$(top_srcdir) \
|
||||
-I$(top_builddir) \
|
||||
@@ -371,7 +371,7 @@
|
||||
dbus-glib-tool.h \
|
||||
dbus-glib-tool.c
|
||||
|
||||
-dbus_binding_tool_LDADD = libdbus-gtool.la libdbus-glib-1.la $(DBUS_LIBS) $(DBUS_GLIB_LIBS) -lexpat
|
||||
+dbus_binding_tool_LDADD = libdbus-gtool.la libdbus-glib-1.la $(DBUS_LIBS) $(DBUS_GLIB_LIBS) $(DBUS_BUS_LIBS)
|
||||
EXTRA_DIST = dbus-gmarshal.list make-dbus-glib-error-switch.sh make-dbus-glib-error-enum.sh
|
||||
@DBUS_BUILD_TESTS_TRUE@TESTS_ENVIRONMENT = DBUS_TEST_DATA=$(top_builddir)/test/data DBUS_TEST_HOMEDIR=$(top_builddir)/dbus
|
||||
|
||||
diff -ur dbus-glib-0.72/Makefile.in dbus-glib-0.72-patched/Makefile.in
|
||||
--- dbus-glib-0.72/Makefile.in 2006-10-25 16:14:33.000000000 -0500
|
||||
+++ dbus-glib-0.72-patched/Makefile.in 2006-11-15 14:15:28.000000000 -0600
|
||||
@@ -277,7 +277,7 @@
|
||||
target_os = @target_os@
|
||||
target_vendor = @target_vendor@
|
||||
GLIB_PC = dbus-glib-1.pc
|
||||
-SUBDIRS = dbus tools test doc
|
||||
+SUBDIRS = dbus
|
||||
DIST_SUBDIRS = dbus tools test doc m4
|
||||
pkgconfigdir = $(libdir)/pkgconfig
|
||||
pkgconfig_DATA = $(GLIB_PC)
|
||||
140
package/dbus-glib/dbus-glib-dbus-binding-tool.patch
Normal file
140
package/dbus-glib/dbus-glib-dbus-binding-tool.patch
Normal file
@@ -0,0 +1,140 @@
|
||||
[PATCH]: add --with-dbus-binding-tool option to use an external dbus-binding-tool
|
||||
|
||||
Cross compilation fix. dbus-binding-tool needs to run on the host, but gets
|
||||
compiled for the target. Add an option to use an external program
|
||||
(host version) instead.
|
||||
|
||||
Based on similar patch in ptxdist.
|
||||
|
||||
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
|
||||
---
|
||||
configure.ac | 5 +++++
|
||||
dbus/examples/Makefile.am | 4 ++--
|
||||
dbus/examples/statemachine/Makefile.am | 4 ++--
|
||||
test/core/Makefile.am | 6 +++---
|
||||
test/interfaces/Makefile.am | 12 ++++++------
|
||||
tools/Makefile.am | 2 +-
|
||||
6 files changed, 19 insertions(+), 14 deletions(-)
|
||||
|
||||
Index: dbus-glib-0.80/configure.ac
|
||||
===================================================================
|
||||
--- dbus-glib-0.80.orig/configure.ac
|
||||
+++ dbus-glib-0.80/configure.ac
|
||||
@@ -70,6 +70,11 @@
|
||||
AC_DEFINE(DBUS_ENABLE_VERBOSE_MODE,1,[Support a verbose mode])
|
||||
fi
|
||||
|
||||
+AC_ARG_WITH(dbus-binding-tool,
|
||||
+ AS_HELP_STRING([--with-dbus-binding-tool=[filename]],[Use external dbus-binding-tool program]),
|
||||
+ [DBUS_BINDING_TOOL=$withval],[DBUS_BINDING_TOOL=\$\(top_builddir\)/dbus/dbus-binding-tool])
|
||||
+AC_SUBST(DBUS_BINDING_TOOL)
|
||||
+
|
||||
|
||||
dnl DBUS_BUILD_TESTS controls unit tests built in to .c files
|
||||
dnl and also some stuff in the test/ subdir
|
||||
Index: dbus-glib-0.80/dbus/examples/Makefile.am
|
||||
===================================================================
|
||||
--- dbus-glib-0.80.orig/dbus/examples/Makefile.am
|
||||
+++ dbus-glib-0.80/dbus/examples/Makefile.am
|
||||
@@ -21,7 +21,7 @@
|
||||
BUILT_SOURCES = example-service-glue.h
|
||||
|
||||
example-service-glue.h: example-service.xml
|
||||
- $(LIBTOOL) --mode=execute $(top_builddir)/dbus/dbus-binding-tool --prefix=some_object --mode=glib-server --output=example-service-glue.h $(srcdir)/example-service.xml
|
||||
+ $(LIBTOOL) --mode=execute $(DBUS_BINDING_TOOL) --prefix=some_object --mode=glib-server --output=example-service-glue.h $(srcdir)/example-service.xml
|
||||
|
||||
|
||||
## Makefile.am bits for another client/server pair
|
||||
@@ -37,7 +37,7 @@
|
||||
BUILT_SOURCES += example-signal-emitter-glue.h
|
||||
|
||||
example-signal-emitter-glue.h: example-signal-emitter.xml
|
||||
- $(LIBTOOL) --mode=execute $(top_builddir)/dbus/dbus-binding-tool --prefix=test_object --mode=glib-server --output=example-signal-emitter-glue.h $(srcdir)/example-signal-emitter.xml
|
||||
+ $(LIBTOOL) --mode=execute $(DBUS_BINDING_TOOL) --prefix=test_object --mode=glib-server --output=example-signal-emitter-glue.h $(srcdir)/example-signal-emitter.xml
|
||||
|
||||
CLEANFILES = $(BUILT_SOURCES)
|
||||
|
||||
Index: dbus-glib-0.80/dbus/examples/statemachine/Makefile.am
|
||||
===================================================================
|
||||
--- dbus-glib-0.80.orig/dbus/examples/statemachine/Makefile.am
|
||||
+++ dbus-glib-0.80/dbus/examples/statemachine/Makefile.am
|
||||
@@ -26,10 +26,10 @@
|
||||
BUILT_SOURCES = statemachine-server-glue.h statemachine-glue.h
|
||||
|
||||
statemachine-server-glue.h: statemachine-server.xml
|
||||
- $(LIBTOOL) --mode=execute $(top_builddir)/dbus/dbus-binding-tool --prefix=sm_server --mode=glib-server --output=$@ $<
|
||||
+ $(LIBTOOL) --mode=execute $(DBUS_BINDING_TOOL) --prefix=sm_server --mode=glib-server --output=$@ $<
|
||||
|
||||
statemachine-glue.h: statemachine.xml
|
||||
- $(LIBTOOL) --mode=execute $(top_builddir)/dbus/dbus-binding-tool --prefix=sm_object --mode=glib-server --output=$@ $<
|
||||
+ $(LIBTOOL) --mode=execute $(DBUS_BINDING_TOOL) --prefix=sm_object --mode=glib-server --output=$@ $<
|
||||
|
||||
sm-marshal.c: Makefile sm-marshal.list
|
||||
@GLIB_GENMARSHAL@ --prefix=sm_marshal $(srcdir)/sm-marshal.list --header --body > $@.tmp && mv $@.tmp $@
|
||||
Index: dbus-glib-0.80/test/core/Makefile.am
|
||||
===================================================================
|
||||
--- dbus-glib-0.80.orig/test/core/Makefile.am
|
||||
+++ dbus-glib-0.80/test/core/Makefile.am
|
||||
@@ -63,13 +63,13 @@
|
||||
test_service_glib_LDADD= $(top_builddir)/dbus/libdbus-glib-1.la $(DBUS_GLIB_THREADS_LIBS)
|
||||
|
||||
test-service-glib-glue.h: test-service-glib.xml $(top_builddir)/dbus/dbus-binding-tool
|
||||
- $(DEBUG) $(top_builddir)/dbus/dbus-binding-tool --prefix=my_object --mode=glib-server --output=test-service-glib-glue.h $(srcdir)/test-service-glib.xml
|
||||
+ $(DEBUG) $(DBUS_BINDING_TOOL) --prefix=my_object --mode=glib-server --output=test-service-glib-glue.h $(srcdir)/test-service-glib.xml
|
||||
|
||||
test-service-glib-subclass-glue.h: test-service-glib-subclass.xml $(top_builddir)/dbus/dbus-binding-tool
|
||||
- $(DEBUG) $(top_builddir)/dbus/dbus-binding-tool --prefix=my_object_subclass --mode=glib-server --output=test-service-glib-subclass-glue.h $(srcdir)/test-service-glib-subclass.xml
|
||||
+ $(DEBUG) $(DBUS_BINDING_TOOL) --prefix=my_object_subclass --mode=glib-server --output=test-service-glib-subclass-glue.h $(srcdir)/test-service-glib-subclass.xml
|
||||
|
||||
test-service-glib-bindings.h: test-service-glib.xml $(top_builddir)/dbus/dbus-binding-tool
|
||||
- $(DEBUG) $(top_builddir)/dbus/dbus-binding-tool --prefix=my_object --mode=glib-client --output=test-service-glib-bindings.h $(srcdir)/test-service-glib.xml
|
||||
+ $(DEBUG) $(DBUS_BINDING_TOOL) --prefix=my_object --mode=glib-client --output=test-service-glib-bindings.h $(srcdir)/test-service-glib.xml
|
||||
|
||||
my-object-marshal.c: Makefile my-object-marshal.list
|
||||
@GLIB_GENMARSHAL@ --prefix=my_object_marshal $(srcdir)/my-object-marshal.list --header --body > my-object-marshal.c
|
||||
Index: dbus-glib-0.80/test/interfaces/Makefile.am
|
||||
===================================================================
|
||||
--- dbus-glib-0.80.orig/test/interfaces/Makefile.am
|
||||
+++ dbus-glib-0.80/test/interfaces/Makefile.am
|
||||
@@ -47,22 +47,22 @@
|
||||
test-goodbye-bindings.h
|
||||
|
||||
test-song-glue.h: test-song.xml $(top_builddir)/dbus/dbus-binding-tool
|
||||
- $(top_builddir)/dbus/dbus-binding-tool --prefix=test_song --mode=glib-server --output=test-song-glue.h $(srcdir)/test-song.xml
|
||||
+ $(DBUS_BINDING_TOOL) --prefix=test_song --mode=glib-server --output=test-song-glue.h $(srcdir)/test-song.xml
|
||||
|
||||
test-song-bindings.h: test-song.xml $(top_builddir)/dbus/dbus-binding-tool
|
||||
- $(top_builddir)/dbus/dbus-binding-tool --prefix=test_song --mode=glib-client --output=test-song-bindings.h $(srcdir)/test-song.xml
|
||||
+ $(DBUS_BINDING_TOOL) --prefix=test_song --mode=glib-client --output=test-song-bindings.h $(srcdir)/test-song.xml
|
||||
|
||||
test-hello-glue.h: test-hello.xml $(top_builddir)/dbus/dbus-binding-tool
|
||||
- $(top_builddir)/dbus/dbus-binding-tool --prefix=test_hello --mode=glib-server --output=test-hello-glue.h $(srcdir)/test-hello.xml
|
||||
+ $(DBUS_BINDING_TOOL) --prefix=test_hello --mode=glib-server --output=test-hello-glue.h $(srcdir)/test-hello.xml
|
||||
|
||||
test-hello-bindings.h: test-hello.xml $(top_builddir)/dbus/dbus-binding-tool
|
||||
- $(top_builddir)/dbus/dbus-binding-tool --prefix=test_hello --mode=glib-client --output=test-hello-bindings.h $(srcdir)/test-hello.xml
|
||||
+ $(DBUS_BINDING_TOOL) --prefix=test_hello --mode=glib-client --output=test-hello-bindings.h $(srcdir)/test-hello.xml
|
||||
|
||||
test-goodbye-glue.h: test-goodbye.xml $(top_builddir)/dbus/dbus-binding-tool
|
||||
- $(top_builddir)/dbus/dbus-binding-tool --prefix=test_goodbye --mode=glib-server --output=test-goodbye-glue.h $(srcdir)/test-goodbye.xml
|
||||
+ $(DBUS_BINDING_TOOL) --prefix=test_goodbye --mode=glib-server --output=test-goodbye-glue.h $(srcdir)/test-goodbye.xml
|
||||
|
||||
test-goodbye-bindings.h: test-goodbye.xml $(top_builddir)/dbus/dbus-binding-tool
|
||||
- $(top_builddir)/dbus/dbus-binding-tool --prefix=test_goodbye --mode=glib-client --output=test-goodbye-bindings.h $(srcdir)/test-goodbye.xml
|
||||
+ $(DBUS_BINDING_TOOL) --prefix=test_goodbye --mode=glib-client --output=test-goodbye-bindings.h $(srcdir)/test-goodbye.xml
|
||||
|
||||
|
||||
CLEANFILES = \
|
||||
Index: dbus-glib-0.80/tools/Makefile.am
|
||||
===================================================================
|
||||
--- dbus-glib-0.80.orig/tools/Makefile.am
|
||||
+++ dbus-glib-0.80/tools/Makefile.am
|
||||
@@ -4,7 +4,7 @@
|
||||
libdbus_glibdir = $(includedir)/dbus-1.0/dbus
|
||||
|
||||
dbus-glib-bindings.h: dbus-bus-introspect.xml $(top_builddir)/dbus/dbus-binding-tool$(EXEEXT)
|
||||
- $(top_builddir)/dbus/dbus-binding-tool --mode=glib-client --prefix=dbus_bus --output=dbus-glib-bindings.h dbus-bus-introspect.xml
|
||||
+ $(DBUS_BINDING_TOOL) --mode=glib-client --prefix=dbus_bus --output=dbus-glib-bindings.h dbus-bus-introspect.xml
|
||||
|
||||
BUILT_SOURCES = dbus-glib-bindings.h dbus-bus-introspect.xml
|
||||
|
||||
@@ -1,12 +0,0 @@
|
||||
diff -ur dbus-glib-0.72/dbus/Makefile.in dbus-glib-0.72-patched/dbus/Makefile.in
|
||||
--- dbus-glib-0.72/dbus/Makefile.in 2006-10-25 16:14:31.000000000 -0500
|
||||
+++ dbus-glib-0.72-patched/dbus/Makefile.in 2007-01-17 08:37:22.000000000 -0600
|
||||
@@ -493,7 +493,7 @@
|
||||
done
|
||||
dbus-binding-tool$(EXEEXT): $(dbus_binding_tool_OBJECTS) $(dbus_binding_tool_DEPENDENCIES)
|
||||
@rm -f dbus-binding-tool$(EXEEXT)
|
||||
- $(LINK) $(dbus_binding_tool_LDFLAGS) $(dbus_binding_tool_OBJECTS) $(dbus_binding_tool_LDADD) $(LIBS)
|
||||
+ $(LINK) $(dbus_binding_tool_LDFLAGS) $(dbus_binding_tool_OBJECTS) $(dbus_binding_tool_LDADD) $(LIBS) $(INTLLIBS)
|
||||
dbus-glib-test$(EXEEXT): $(dbus_glib_test_OBJECTS) $(dbus_glib_test_DEPENDENCIES)
|
||||
@rm -f dbus-glib-test$(EXEEXT)
|
||||
$(LINK) $(dbus_glib_test_LDFLAGS) $(dbus_glib_test_OBJECTS) $(dbus_glib_test_LDADD) $(LIBS)
|
||||
@@ -3,77 +3,75 @@
|
||||
# dbus-glib
|
||||
#
|
||||
#############################################################
|
||||
DBUS_GLIB_VERSION:=0.72
|
||||
DBUS_GLIB_SOURCE:=dbus-glib-$(DBUS_GLIB_VERSION).tar.gz
|
||||
DBUS_GLIB_SITE:=http://dbus.freedesktop.org/releases/dbus-glib/
|
||||
DBUS_GLIB_DIR:=$(BUILD_DIR)/dbus-glib-$(DBUS_GLIB_VERSION)
|
||||
DBUS_GLIB_CAT:=$(ZCAT)
|
||||
DBUS_GLIB_BINARY:=dbus/.libs/dbus-binding-tool
|
||||
DBUS_GLIB_TARGET_BINARY:=usr/bin/dbus-binding-tool
|
||||
DBUS_GLIB_VERSION = 0.80
|
||||
DBUS_GLIB_SOURCE = dbus-glib-$(DBUS_GLIB_VERSION).tar.gz
|
||||
DBUS_GLIB_SITE = http://dbus.freedesktop.org/releases/dbus-glib/
|
||||
DBUS_GLIB_INSTALL_STAGING = YES
|
||||
DBUS_GLIB_INSTALL_TARGET = YES
|
||||
|
||||
DBUS_GLIB_CONF_ENV = ac_cv_have_abstract_sockets=yes \
|
||||
ac_cv_func_posix_getpwnam_r=yes \
|
||||
have_abstract_sockets=yes
|
||||
|
||||
DBUS_GLIB_CONF_OPT = --localstatedir=/var \
|
||||
--program-prefix="" \
|
||||
--disable-tests \
|
||||
--disable-xml-docs \
|
||||
--with-introspect-xml=$(DBUS_HOST_INTROSPECT) \
|
||||
--with-dbus-binding-tool=$(DBUS_GLIB_HOST_BINARY) \
|
||||
--disable-bash-completion \
|
||||
--disable-doxygen-docs \
|
||||
--enable-asserts=yes
|
||||
|
||||
DBUS_GLIB_DEPENDENCIES = uclibc host-pkgconfig dbus host-dbus host-dbus-glib libglib2 expat
|
||||
|
||||
$(eval $(call AUTOTARGETS,package,dbus-glib))
|
||||
|
||||
# dbus-glib for the host
|
||||
DBUS_GLIB_HOST_DIR:=$(BUILD_DIR)/dbus-glib-$(DBUS_GLIB_VERSION)-host
|
||||
DBUS_GLIB_HOST_BINARY:=$(HOST_DIR)/usr/bin/dbus-binding-tool
|
||||
|
||||
$(DL_DIR)/$(DBUS_GLIB_SOURCE):
|
||||
$(call DOWNLOAD,$(DBUS_GLIB_SITE),$(DBUS_GLIB_SOURCE))
|
||||
|
||||
dbus-glib-source: $(DL_DIR)/$(DBUS_GLIB_SOURCE)
|
||||
$(STAMP_DIR)/host_dbusglib_unpacked: $(DL_DIR)/$(DBUS_GLIB_SOURCE)
|
||||
mkdir -p $(DBUS_GLIB_HOST_DIR)
|
||||
$(INFLATE$(suffix $(DBUS_GLIB_SOURCE))) $< | \
|
||||
$(TAR) $(TAR_STRIP_COMPONENTS)=1 -C $(DBUS_GLIB_HOST_DIR) $(TAR_OPTIONS) -
|
||||
touch $@
|
||||
|
||||
$(DBUS_GLIB_DIR)/.unpacked: $(DL_DIR)/$(DBUS_GLIB_SOURCE)
|
||||
$(DBUS_GLIB_CAT) $(DL_DIR)/$(DBUS_GLIB_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
|
||||
toolchain/patch-kernel.sh $(DBUS_GLIB_DIR) package/dbus-glib/ \*.patch
|
||||
touch $(DBUS_GLIB_DIR)/.unpacked
|
||||
|
||||
$(DBUS_GLIB_DIR)/.configured: $(DBUS_GLIB_DIR)/.unpacked
|
||||
(cd $(DBUS_GLIB_DIR); rm -rf config.cache; autoconf; \
|
||||
$(TARGET_CONFIGURE_OPTS) \
|
||||
$(TARGET_CONFIGURE_ARGS) \
|
||||
ac_cv_have_abstract_sockets=yes \
|
||||
ac_cv_func_posix_getpwnam_r=yes \
|
||||
have_abstract_sockets=yes \
|
||||
DBUS_CFLAGS="-I$(STAGING_DIR)/usr/include/dbus-1.0 -I$(STAGING_DIR)/usr/lib/dbus-1.0/include" \
|
||||
DBUS_LIBS="$(STAGING_DIR)/usr/lib/libdbus-1.so" \
|
||||
DBUS_GLIB_CFLAGS="-I$(STAGING_DIR)/usr/include/glib-2.0 -I$(STAGING_DIR)/usr/lib/glib-2.0/include" \
|
||||
DBUS_GLIB_LIBS="$(STAGING_DIR)/lib/libglib-2.0.so $(STAGING_DIR)/lib/libgobject-2.0.so $(STAGING_DIR)/lib/libgmodule-2.0.so $(STAGING_DIR)/lib/libgthread-2.0.so" \
|
||||
$(STAMP_DIR)/host_dbusglib_configured: $(STAMP_DIR)/host_dbusglib_unpacked $(STAMP_DIR)/host_dbus_installed $(STAMP_DIR)/host_expat_installed $(STAMP_DIR)/host_libglib2_installed
|
||||
(cd $(DBUS_GLIB_HOST_DIR); rm -rf config.cache; \
|
||||
$(HOST_CONFIGURE_OPTS) \
|
||||
CFLAGS="$(HOST_CFLAGS)" \
|
||||
LDFLAGS="$(HOST_LDFLAGS)" \
|
||||
./configure \
|
||||
--target=$(GNU_TARGET_NAME) \
|
||||
--host=$(GNU_TARGET_NAME) \
|
||||
--build=$(GNU_HOST_NAME) \
|
||||
--prefix=/usr \
|
||||
--localstatedir=/var \
|
||||
--program-prefix="" \
|
||||
--prefix="$(HOST_DIR)/usr" \
|
||||
--sysconfdir="$(HOST_DIR)/etc" \
|
||||
--disable-tests \
|
||||
--disable-xml-docs \
|
||||
--disable-bash-completion \
|
||||
--disable-doxygen-docs \
|
||||
--enable-asserts=yes \
|
||||
)
|
||||
touch $(DBUS_GLIB_DIR)/.configured
|
||||
touch $@
|
||||
|
||||
$(DBUS_GLIB_DIR)/$(DBUS_GLIB_BINARY): $(DBUS_GLIB_DIR)/.configured
|
||||
$(MAKE) DBUS_BUS_LIBS="$(STAGING_DIR)/lib/libexpat.so" -C $(DBUS_GLIB_DIR) all
|
||||
$(STAMP_DIR)/host_dbusglib_compiled: $(STAMP_DIR)/host_dbusglib_configured
|
||||
$(HOST_MAKE_ENV) $(MAKE) -C $(DBUS_GLIB_HOST_DIR)
|
||||
touch $@
|
||||
|
||||
$(STAGING_DIR)/usr/lib/libdbus-glib-1.so.2.0.0: $(DBUS_GLIB_DIR)/$(DBUS_GLIB_BINARY)
|
||||
cp -a $(DBUS_GLIB_DIR)/dbus/.libs/libdbus-glib-1.so* $(STAGING_DIR)/usr/lib
|
||||
-touch -c $(STAGING_DIR)/usr/lib/libdbus-glib-1.so.2.0.0
|
||||
$(STAMP_DIR)/host_dbusglib_installed: $(STAMP_DIR)/host_dbusglib_compiled
|
||||
$(HOST_MAKE_ENV) $(MAKE) -C $(DBUS_GLIB_HOST_DIR) install
|
||||
touch $@
|
||||
|
||||
$(TARGET_DIR)/$(DBUS_GLIB_TARGET_BINARY): $(STAGING_DIR)/usr/lib/libdbus-glib-1.so.2.0.0
|
||||
cp -a $(DBUS_GLIB_DIR)/dbus/.libs/libdbus-glib-1.so.2* $(TARGET_DIR)/usr/lib
|
||||
cp -a $(DBUS_GLIB_DIR)/dbus/.libs/dbus-binding-tool $(TARGET_DIR)/usr/bin
|
||||
-$(STRIPCMD) $(STRIP_STRIP_UNNEEDED) $(TARGET_DIR)/usr/lib/libdbus-glib-1.so.2.0.0
|
||||
host-dbus-glib: $(STAMP_DIR)/host_dbusglib_installed
|
||||
|
||||
dbus-glib: uclibc pkgconfig dbus libglib2 $(TARGET_DIR)/$(DBUS_GLIB_TARGET_BINARY)
|
||||
host-dbus-glib-source: dbus-glib-source
|
||||
|
||||
dbus-glib-clean:
|
||||
rm -f $(TARGET_DIR)/usr/lib/libdbus-glib-1.so.2*
|
||||
rm -f $(TARGET_DIR)/usr/bin/dbus-binding-tool
|
||||
rm -f $(STAGING_DIR)/usr/lib/libdbus-glib-1.so*
|
||||
-$(MAKE) -C $(DBUS_GLIB_DIR) clean
|
||||
host-dbus-glib-clean:
|
||||
rm -f $(addprefix $(STAMP_DIR)/host_dbusglib_,unpacked configured compiled installed)
|
||||
-$(MAKE) -C $(DBUS_GLIB_HOST_DIR) uninstall
|
||||
-$(MAKE) -C $(DBUS_GLIB_HOST_DIR) clean
|
||||
|
||||
dbus-glib-dirclean:
|
||||
rm -rf $(DBUS_GLIB_DIR)
|
||||
|
||||
#############################################################
|
||||
#
|
||||
# Toplevel Makefile options
|
||||
#
|
||||
#############################################################
|
||||
ifeq ($(BR2_PACKAGE_DBUS_GLIB),y)
|
||||
TARGETS+=dbus-glib
|
||||
endif
|
||||
host-dbus-glib-dirclean:
|
||||
rm -rf $(DBUS_GLIB_HOST_DIR)
|
||||
|
||||
9
package/dbus-python/Config.in
Normal file
9
package/dbus-python/Config.in
Normal file
@@ -0,0 +1,9 @@
|
||||
config BR2_PACKAGE_DBUS_PYTHON
|
||||
bool "dbus-python"
|
||||
depends on BR2_PACKAGE_DBUS
|
||||
depends on BR2_PACKAGE_PYTHON
|
||||
select BR2_PACKAGE_DBUS_GLIB
|
||||
help
|
||||
Python bindings for D-Bus
|
||||
|
||||
http://dbus.freedesktop.org/doc/dbus-python/
|
||||
@@ -0,0 +1,30 @@
|
||||
Python: add am_cv_python_includes to override runtime python-config check
|
||||
---
|
||||
configure | 7 +++++++
|
||||
1 file changed, 7 insertions(+)
|
||||
|
||||
Index: dbus-python-0.83.0/configure
|
||||
===================================================================
|
||||
--- dbus-python-0.83.0.orig/configure
|
||||
+++ dbus-python-0.83.0/configure
|
||||
@@ -10176,6 +10176,12 @@
|
||||
|
||||
{ echo "$as_me:$LINENO: checking for Python headers using $PYTHON-config --includes" >&5
|
||||
echo $ECHO_N "checking for Python headers using $PYTHON-config --includes... $ECHO_C" >&6; }
|
||||
+if test "${am_cv_python_includes+set}" = set; then
|
||||
+ echo $ECHO_N "(cached) $ECHO_C" >&6
|
||||
+ PYTHON_INCLUDES=${am_cv_python_includes}
|
||||
+ { echo "$as_me:$LINENO: result: $PYTHON_INCLUDES" >&5
|
||||
+echo "${ECHO_T}$PYTHON_INCLUDES" >&6; }
|
||||
+else
|
||||
PYTHON_INCLUDES=`$PYTHON-config --includes`
|
||||
if test $? = 0; then
|
||||
{ echo "$as_me:$LINENO: result: $PYTHON_INCLUDES" >&5
|
||||
@@ -10194,6 +10200,7 @@
|
||||
{ echo "$as_me:$LINENO: result: $PYTHON_INCLUDES" >&5
|
||||
echo "${ECHO_T}$PYTHON_INCLUDES" >&6; }
|
||||
fi
|
||||
+fi
|
||||
|
||||
{ echo "$as_me:$LINENO: checking whether those headers are sufficient" >&5
|
||||
echo $ECHO_N "checking whether those headers are sufficient... $ECHO_C" >&6; }
|
||||
24
package/dbus-python/dbus-python.mk
Normal file
24
package/dbus-python/dbus-python.mk
Normal file
@@ -0,0 +1,24 @@
|
||||
#############################################################
|
||||
#
|
||||
# dbus-python
|
||||
#
|
||||
#############################################################
|
||||
DBUS_PYTHON_VERSION = 0.83.0
|
||||
DBUS_PYTHON_SOURCE = dbus-python-$(DBUS_PYTHON_VERSION).tar.gz
|
||||
DBUS_PYTHON_SITE = http://dbus.freedesktop.org/releases/dbus-python/
|
||||
DBUS_PYTHON_INSTALL_STAGING = YES
|
||||
DBUS_PYTHON_INSTALL_TARGET = YES
|
||||
|
||||
DBUS_PYTHON_CONF_ENV = am_cv_pathless_PYTHON=python \
|
||||
ac_cv_path_PYTHON=$(PYTHON_DIR)/hostpython \
|
||||
am_cv_python_version=$(PYTHON_VERSION) \
|
||||
am_cv_python_platform=linux2 \
|
||||
am_cv_python_pythondir=/usr/lib/python$(PYTHON_VERSION_MAJOR)/site-packages \
|
||||
am_cv_python_pyexecdir=/usr/lib/python$(PYTHON_VERSION_MAJOR)/site-packages \
|
||||
am_cv_python_includes=-I$(STAGING_DIR)/usr/include/python$(PYTHON_VERSION_MAJOR)
|
||||
|
||||
DBUS_PYTHON_CONF_OPT = --disable-html-docs --disable-api-docs
|
||||
|
||||
DBUS_PYTHON_DEPENDENCIES = uclibc dbus-glib libpython
|
||||
|
||||
$(eval $(call AUTOTARGETS,package,dbus-python))
|
||||
@@ -1,7 +1,6 @@
|
||||
config BR2_PACKAGE_DBUS
|
||||
bool "dbus"
|
||||
depends on BR2_PACKAGE_EXPAT || BR2_PACKAGE_LIBXML2
|
||||
select BR2_PACKAGE_PKGCONFIG
|
||||
help
|
||||
The D-Bus message bus system.
|
||||
|
||||
|
||||
@@ -16,6 +16,7 @@
|
||||
# Create needed directories.
|
||||
[ -d /var/run/dbus ] || mkdir -p /var/run/dbus
|
||||
[ -d /var/lock/subsys ] || mkdir -p /var/lock/subsys
|
||||
[ -d /tmp/dbus ] || mkdir -p /tmp/dbus
|
||||
|
||||
RETVAL=0
|
||||
|
||||
|
||||
33
package/dbus/dbus-1.2.12-launch-helper-xml-fix.patch
Normal file
33
package/dbus/dbus-1.2.12-launch-helper-xml-fix.patch
Normal file
@@ -0,0 +1,33 @@
|
||||
dbus-daemon-launch-helper: fix build with libxml
|
||||
|
||||
dbus-daemon-launch-helper links with the trival config parser, which
|
||||
doesn't provide bus_config_parser_check_doctype(), like the big parser does.
|
||||
The libxml loader unfortunately wants to call it, so this breaks the build.
|
||||
|
||||
Fix it by including a dummy bus_config_parser_check_doctype() in the trivial
|
||||
config parser.
|
||||
|
||||
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
|
||||
---
|
||||
bus/config-parser-trivial.c | 8 ++++++++
|
||||
1 file changed, 8 insertions(+)
|
||||
|
||||
Index: dbus-1.2.12/bus/config-parser-trivial.c
|
||||
===================================================================
|
||||
--- dbus-1.2.12.orig/bus/config-parser-trivial.c
|
||||
+++ dbus-1.2.12/bus/config-parser-trivial.c
|
||||
@@ -310,6 +310,14 @@
|
||||
return &parser->service_dirs;
|
||||
}
|
||||
|
||||
+dbus_bool_t
|
||||
+bus_config_parser_check_doctype (BusConfigParser *parser,
|
||||
+ const char *doctype,
|
||||
+ DBusError *error)
|
||||
+{
|
||||
+ return TRUE;
|
||||
+}
|
||||
+
|
||||
#ifdef DBUS_BUILD_TESTS
|
||||
#include <stdio.h>
|
||||
#include "test.h"
|
||||
@@ -3,49 +3,86 @@
|
||||
# dbus
|
||||
#
|
||||
#############################################################
|
||||
DBUS_VERSION:=1.1.1
|
||||
DBUS_SOURCE:=dbus-$(DBUS_VERSION).tar.gz
|
||||
DBUS_SITE:=http://dbus.freedesktop.org/releases/dbus/
|
||||
DBUS_DIR:=$(BUILD_DIR)/dbus-$(DBUS_VERSION)
|
||||
DBUS_CAT:=$(ZCAT)
|
||||
DBUS_BINARY:=bus/dbus-daemon
|
||||
DBUS_TARGET_BINARY:=usr/bin/dbus-daemon
|
||||
DBUS_VERSION = 1.2.12
|
||||
DBUS_SOURCE = dbus-$(DBUS_VERSION).tar.gz
|
||||
DBUS_SITE = http://dbus.freedesktop.org/releases/dbus/
|
||||
DBUS_INSTALL_STAGING = YES
|
||||
DBUS_INSTALL_TARGET = YES
|
||||
ifeq ($(BR2_ENABLE_DEBUG),y)
|
||||
# install-exec doesn't install the config file
|
||||
DBUS_INSTALL_TARGET_OPT = DESTDIR=$(TARGET_DIR) install
|
||||
else
|
||||
# install-strip uses host strip
|
||||
DBUS_INSTALL_TARGET_OPT = DESTDIR=$(TARGET_DIR) install-strip STRIPPROG="$(STRIPCMD)"
|
||||
endif
|
||||
|
||||
DBUS_DEPENDENCIES = uclibc host-pkgconfig
|
||||
|
||||
DBUS_CONF_ENV = ac_cv_have_abstract_sockets=yes
|
||||
DBUS_CONF_OPT = --program-prefix="" \
|
||||
--with-dbus-user=dbus \
|
||||
--disable-tests \
|
||||
--disable-asserts \
|
||||
--enable-abstract-sockets \
|
||||
--disable-selinux \
|
||||
--disable-xml-docs \
|
||||
--disable-doxygen-docs \
|
||||
--disable-static \
|
||||
--enable-dnotify \
|
||||
--localstatedir=/var \
|
||||
--with-system-socket=/var/run/dbus/system_bus_socket \
|
||||
--with-system-pid-file=/var/run/messagebus.pid
|
||||
|
||||
ifeq ($(BR2_DBUS_EXPAT),y)
|
||||
DBUS_XML:=expat
|
||||
# depend on the exact library file instead of expat so dbus isn't always
|
||||
# considered out-of-date
|
||||
DBUS_XML_DEP:=$(STAGING_DIR)/usr/lib/libexpat.so.1
|
||||
DBUS_CONF_OPT += --with-xml=expat
|
||||
DBUS_DEPENDENCIES += expat
|
||||
else
|
||||
DBUS_XML:=libxml
|
||||
# Makefile.autotools.in unfortunately has broken dependency handling,
|
||||
# so we cannot do the same for libxml2
|
||||
DBUS_XML_DEP:=libxml2-install-staging
|
||||
DBUS_CONF_OPT += --with-xml=libxml
|
||||
DBUS_DEPENDENCIES += libxml2
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_XLIB_LIBX11),y)
|
||||
DBUS_CONF_OPT += --with-x
|
||||
DBUS_DEPENDENCIES += xlib_libX11
|
||||
else
|
||||
DBUS_CONF_OPT += --without-x
|
||||
endif
|
||||
|
||||
$(eval $(call AUTOTARGETS,package,dbus))
|
||||
|
||||
# fix rebuild if /var/lib is a symlink to /tmp
|
||||
$(DBUS_HOOK_POST_BUILD): $(DBUS_TARGET_BUILD)
|
||||
rm -rf /tmp/dbus
|
||||
touch $@
|
||||
|
||||
$(DBUS_HOOK_POST_INSTALL): $(DBUS_TARGET_INSTALL_TARGET)
|
||||
rm -rf $(TARGET_DIR)/usr/lib/dbus-1.0
|
||||
rm -rf $(TARGET_DIR)/var/lib/dbus
|
||||
ln -sf /tmp/dbus $(TARGET_DIR)/var/lib/dbus
|
||||
$(INSTALL) -m 0755 package/dbus/S30dbus $(TARGET_DIR)/etc/init.d
|
||||
touch $@
|
||||
|
||||
# dbus for the host
|
||||
DBUS_HOST_DIR:=$(BUILD_DIR)/dbus-$(DBUS_VERSION)-host
|
||||
DBUS_HOST_INTROSPECT:=$(DBUS_HOST_DIR)/introspect.xml
|
||||
|
||||
$(DL_DIR)/$(DBUS_SOURCE):
|
||||
$(call DOWNLOAD,$(DBUS_SITE),$(DBUS_SOURCE))
|
||||
|
||||
dbus-source: $(DL_DIR)/$(DBUS_SOURCE)
|
||||
|
||||
$(DBUS_DIR)/.unpacked: $(DL_DIR)/$(DBUS_SOURCE)
|
||||
$(DBUS_CAT) $(DL_DIR)/$(DBUS_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
|
||||
$(STAMP_DIR)/host_dbus_unpacked: $(DL_DIR)/$(DBUS_SOURCE)
|
||||
mkdir -p $(DBUS_HOST_DIR)
|
||||
$(INFLATE$(suffix $(DBUS_SOURCE))) $< | \
|
||||
$(TAR) $(TAR_STRIP_COMPONENTS)=1 -C $(DBUS_HOST_DIR) $(TAR_OPTIONS) -
|
||||
touch $@
|
||||
|
||||
$(DBUS_DIR)/.configured: $(DBUS_DIR)/.unpacked $(DBUS_XML_DEP)
|
||||
(cd $(DBUS_DIR); rm -rf config.cache; \
|
||||
$(TARGET_CONFIGURE_OPTS) \
|
||||
$(TARGET_CONFIGURE_ARGS) \
|
||||
ac_cv_have_abstract_sockets=yes \
|
||||
$(STAMP_DIR)/host_dbus_configured: $(STAMP_DIR)/host_dbus_unpacked $(STAMP_DIR)/host_expat_installed $(STAMP_DIR)/host_pkgconfig_installed
|
||||
(cd $(DBUS_HOST_DIR); rm -rf config.cache; \
|
||||
$(HOST_CONFIGURE_OPTS) \
|
||||
CFLAGS="$(HOST_CFLAGS)" \
|
||||
LDFLAGS="$(HOST_LDFLAGS)" \
|
||||
./configure \
|
||||
--target=$(GNU_TARGET_NAME) \
|
||||
--host=$(GNU_TARGET_NAME) \
|
||||
--build=$(GNU_HOST_NAME) \
|
||||
--prefix=/usr \
|
||||
--exec-prefix=/usr \
|
||||
--localstatedir=/var \
|
||||
--program-prefix="" \
|
||||
--sysconfdir=/etc \
|
||||
--prefix="$(HOST_DIR)/usr" \
|
||||
--sysconfdir="$(HOST_DIR)/etc" \
|
||||
--with-dbus-user=dbus \
|
||||
--disable-tests \
|
||||
--disable-asserts \
|
||||
@@ -56,61 +93,28 @@ $(DBUS_DIR)/.configured: $(DBUS_DIR)/.unpacked $(DBUS_XML_DEP)
|
||||
--disable-static \
|
||||
--enable-dnotify \
|
||||
--without-x \
|
||||
--with-xml=$(DBUS_XML) \
|
||||
--with-system-socket=/var/run/dbus/system_bus_socket \
|
||||
--with-system-pid-file=/var/run/messagebus.pid \
|
||||
--with-xml=expat \
|
||||
)
|
||||
touch $@
|
||||
|
||||
$(DBUS_DIR)/$(DBUS_BINARY): $(DBUS_DIR)/.configured
|
||||
$(MAKE) -C $(DBUS_DIR) all
|
||||
$(STAMP_DIR)/host_dbus_compiled: $(STAMP_DIR)/host_dbus_configured
|
||||
$(HOST_MAKE_ENV) $(MAKE) -C $(DBUS_HOST_DIR)
|
||||
touch $@
|
||||
|
||||
$(STAGING_DIR)/$(DBUS_TARGET_BINARY): $(DBUS_DIR)/$(DBUS_BINARY)
|
||||
$(MAKE) DESTDIR=$(STAGING_DIR) -C $(DBUS_DIR) install
|
||||
$(STAMP_DIR)/host_dbus_installed: $(STAMP_DIR)/host_dbus_compiled
|
||||
$(MAKE) -C $(DBUS_HOST_DIR) install
|
||||
$(HOST_DIR)/usr/bin/dbus-daemon --introspect > $(DBUS_HOST_INTROSPECT)
|
||||
touch $@
|
||||
|
||||
$(TARGET_DIR)/$(DBUS_TARGET_BINARY): $(STAGING_DIR)/$(DBUS_TARGET_BINARY)
|
||||
mkdir -p $(TARGET_DIR)/var/run/dbus $(TARGET_DIR)/var/lib/dbus $(TARGET_DIR)/etc/init.d
|
||||
ifeq ($(BR2_STRIP_none),y)
|
||||
$(MAKE) DESTDIR=$(TARGET_DIR) \
|
||||
initdir=/etc/init.d -C $(DBUS_DIR) install
|
||||
else
|
||||
$(MAKE) DESTDIR=$(TARGET_DIR) STRIPPROG='$(STRIPCMD)' \
|
||||
initdir=/etc/init.d -C $(DBUS_DIR) install-strip
|
||||
endif
|
||||
rm -rf $(TARGET_DIR)/usr/lib/dbus-1.0 \
|
||||
$(TARGET_DIR)/usr/lib/libdbus-1.la \
|
||||
$(TARGET_DIR)/usr/include/dbus-1.0 \
|
||||
$(TARGET_DIR)/usr/lib/pkgconfig
|
||||
$(INSTALL) -m 0755 package/dbus/S30dbus $(TARGET_DIR)/etc/init.d
|
||||
rm -f $(TARGET_DIR)/etc/init.d/messagebus
|
||||
ifneq ($(BR2_HAVE_MANPAGES),y)
|
||||
rm -rf $(TARGET_DIR)/usr/share/man
|
||||
endif
|
||||
host-dbus: $(STAMP_DIR)/host_dbus_installed
|
||||
|
||||
dbus: uclibc pkgconfig $(TARGET_DIR)/$(DBUS_TARGET_BINARY)
|
||||
host-dbus-source: dbus-source
|
||||
|
||||
dbus-clean:
|
||||
rm -f $(TARGET_DIR)/etc/dbus-1/session.conf
|
||||
rm -f $(TARGET_DIR)/etc/dbus-1/system.conf
|
||||
rmdir -p --ignore-fail-on-non-empty $(TARGET_DIR)/etc/dbus-1/system.d
|
||||
rm -f $(TARGET_DIR)/etc/init.d/S30dbus
|
||||
rm -f $(TARGET_DIR)/usr/lib/libdbus-1.so*
|
||||
rm -f $(TARGET_DIR)/usr/bin/dbus-daemon
|
||||
rm -rf $(TARGET_DIR)/tmp/dbus
|
||||
rm -f $(STAGING_DIR)/usr/lib/libdbus-1.*
|
||||
rm -rf $(STAGING_DIR)/usr/lib/dbus-1.0
|
||||
rm -rf $(STAGING_DIR)/usr/include/dbus-1.0
|
||||
rmdir --ignore-fail-on-non-empty $(STAGING_DIR)/usr/include
|
||||
-$(MAKE) -C $(DBUS_DIR) clean
|
||||
host-dbus-clean:
|
||||
rm -f $(addprefix $(STAMP_DIR)/host_dbus_,unpacked configured compiled installed)
|
||||
rm -f $(DBUS_HOST_INTROSPECT)
|
||||
-$(MAKE) -C $(DBUS_HOST_DIR) uninstall
|
||||
-$(MAKE) -C $(DBUS_HOST_DIR) clean
|
||||
|
||||
dbus-dirclean:
|
||||
rm -rf $(DBUS_DIR)
|
||||
|
||||
#############################################################
|
||||
#
|
||||
# Toplevel Makefile options
|
||||
#
|
||||
#############################################################
|
||||
ifeq ($(BR2_PACKAGE_DBUS),y)
|
||||
TARGETS+=dbus
|
||||
endif
|
||||
host-dbus-dirclean:
|
||||
rm -rf $(DBUS_HOST_DIR)
|
||||
|
||||
@@ -94,7 +94,8 @@ $(DIFFUTILS_DIR)/$(DIFFUTILS_BINARY): $(DIFFUTILS_DIR)/.configured
|
||||
$(MAKE) CC=$(TARGET_CC) -C $(DIFFUTILS_DIR)
|
||||
|
||||
$(TARGET_DIR)/$(DIFFUTILS_TARGET_BINARY): $(DIFFUTILS_DIR)/$(DIFFUTILS_BINARY)
|
||||
$(MAKE) DESTDIR=$(TARGET_DIR) CC=$(TARGET_CC) -C $(DIFFUTILS_DIR) install-strip
|
||||
$(MAKE) DESTDIR=$(TARGET_DIR) CC=$(TARGET_CC) -C $(DIFFUTILS_DIR) \
|
||||
$(if $(BR2_STRIP_none),install,install-strip)
|
||||
ifneq ($(BR2_HAVE_INFOPAGES),y)
|
||||
rm -rf $(TARGET_DIR)/usr/share/info
|
||||
endif
|
||||
|
||||
@@ -45,6 +45,11 @@ config BR2_PACKAGE_DIRECTFB_UNICHROME
|
||||
depends on BR2_PACKAGE_DIRECTFB
|
||||
depends on BR2_i386 || BR2_x86_64
|
||||
|
||||
config BR2_PACKAGE_DIRECTFB_LINUXINPUT
|
||||
bool "compile /dev/input/eventX input driver"
|
||||
default y
|
||||
depends on BR2_PACKAGE_DIRECTFB
|
||||
|
||||
config BR2_PACKAGE_DIRECTFB_KEYBOARD
|
||||
bool "compile keyboard input driver"
|
||||
default y
|
||||
|
||||
17
package/directfb/directfb--ppc-compile-fix.patch
Normal file
17
package/directfb/directfb--ppc-compile-fix.patch
Normal file
@@ -0,0 +1,17 @@
|
||||
---
|
||||
lib/direct/ppcasm_memcpy_cachable.S | 2 --
|
||||
1 file changed, 2 deletions(-)
|
||||
|
||||
Index: DirectFB-1.2.7/lib/direct/ppcasm_memcpy_cachable.S
|
||||
===================================================================
|
||||
--- DirectFB-1.2.7.orig/lib/direct/ppcasm_memcpy_cachable.S
|
||||
+++ DirectFB-1.2.7/lib/direct/ppcasm_memcpy_cachable.S
|
||||
@@ -34,8 +34,6 @@
|
||||
|
||||
#define __ASSEMBLY__
|
||||
|
||||
-#include <linux/config.h>
|
||||
-
|
||||
#if defined(CONFIG_8xx) || defined(CONFIG_403GCX)
|
||||
#define L1_CACHE_LINE_SIZE 16
|
||||
#define LG_L1_CACHE_LINE_SIZE 4
|
||||
@@ -3,19 +3,16 @@
|
||||
# directfb
|
||||
#
|
||||
#############################################################
|
||||
#DIRECTFB_VERSION:=0.9.25.1
|
||||
#DIRECTFB_SITE:=http://www.directfb.org/downloads/Old
|
||||
DIRECTFB_VERSION_MAJOR:=1.2
|
||||
DIRECTFB_VERSION:=1.2.6
|
||||
DIRECTFB_VERSION:=1.2.8
|
||||
#DIRECTFB_VERSION:=1.3.0 is a development version
|
||||
#DIRECTFB_VERSION_MAJOR:=1.3
|
||||
DIRECTFB_SITE:=http://www.directfb.org/downloads/Core
|
||||
DIRECTFB_SOURCE:=DirectFB-$(DIRECTFB_VERSION).tar.gz
|
||||
DIRECTFB_CAT:=$(ZCAT)
|
||||
DIRECTFB_DIR:=$(BUILD_DIR)/DirectFB-$(DIRECTFB_VERSION)
|
||||
DIRECTFB_STAGING:=directfb-$(DIRECTFB_VERSION_MAJOR)-0
|
||||
DIRECTFB_BIN:=usr/lib/libdirectfb-$(DIRECTFB_VERSION_MAJOR).so.0
|
||||
DIRECTFB_DEP:=zlib
|
||||
DIRECTFB_AUTORECONF = NO
|
||||
DIRECTFB_LIBTOOL_PATCH = NO
|
||||
DIRECTFB_INSTALL_STAGING = YES
|
||||
DIRECTFB_INSTALL_TARGET = YES
|
||||
|
||||
ifeq ($(BR2_PACKAGE_DIRECTFB_MULTI),y)
|
||||
DIRECTFB_MULTI:=--enable-multi --enable-fusion
|
||||
@@ -55,13 +52,13 @@ endif
|
||||
ifeq ($(DIRECTFB_GFX),)
|
||||
DIRECTFB_GFX:=none
|
||||
else
|
||||
comma:=,
|
||||
empty:=
|
||||
space:=$(empty) $(empty)
|
||||
DIRECTFB_GFX:=$(subst $(space),$(comma),$(strip $(DIRECTFB_GFX)))
|
||||
endif
|
||||
|
||||
DIRECTFB_INPUT:=
|
||||
ifeq ($(BR2_PACKAGE_DIRECTFB_LINUXINPUT),y)
|
||||
DIRECTFB_INPUT+= linuxinput
|
||||
endif
|
||||
ifeq ($(BR2_PACKAGE_DIRECTFB_KEYBOARD),y)
|
||||
DIRECTFB_INPUT+= keyboard
|
||||
endif
|
||||
@@ -78,9 +75,6 @@ endif
|
||||
ifeq ($(DIRECTFB_INPUT),)
|
||||
DIRECTFB_INPUT:=none
|
||||
else
|
||||
comma:=,
|
||||
empty:=
|
||||
space:=$(empty) $(empty)
|
||||
DIRECTFB_INPUT:=$(subst $(space),$(comma),$(strip $(DIRECTFB_INPUT)))
|
||||
endif
|
||||
|
||||
@@ -105,96 +99,29 @@ else
|
||||
DIRECTFB_JPEG:=--disable-jpeg
|
||||
endif
|
||||
|
||||
$(DL_DIR)/$(DIRECTFB_SOURCE):
|
||||
$(call DOWNLOAD,$(DIRECTFB_SITE),$(DIRECTFB_SOURCE))
|
||||
DIRECTFB_CONF_OPT = \
|
||||
--localstatedir=/var \
|
||||
--with-gfxdrivers=$(DIRECTFB_GFX) \
|
||||
--with-inputdrivers=$(DIRECTFB_INPUT) \
|
||||
--enable-static \
|
||||
--enable-shared \
|
||||
--disable-explicit-deps \
|
||||
$(DIRECTFB_MULTI) \
|
||||
$(DIRECTFB_X) \
|
||||
$(DIRECTFB_JPEG) \
|
||||
$(DIRECTFB_PNG) \
|
||||
$(DIRECTFB_GIF) \
|
||||
$(DIRECTFB_UNIQUE) \
|
||||
--enable-linux-input \
|
||||
--enable-zlib \
|
||||
--enable-freetype \
|
||||
--enable-fbdev \
|
||||
--disable-sysfs \
|
||||
--disable-sdl \
|
||||
--disable-vnc \
|
||||
--disable-video4linux \
|
||||
--disable-video4linux2
|
||||
|
||||
directfb-source: $(DL_DIR)/$(DIRECTFB_SOURCE)
|
||||
DIRECTFB_DEPENDENCIES = uclibc $(DIRECTFB_DEP) freetype $(DIRECTFB_FUSION)
|
||||
|
||||
$(DIRECTFB_DIR)/.unpacked: $(DL_DIR)/$(DIRECTFB_SOURCE)
|
||||
$(DIRECTFB_CAT) $(DL_DIR)/$(DIRECTFB_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
|
||||
toolchain/patch-kernel.sh $(DIRECTFB_DIR) package/directfb/ DirectFB-$(DIRECTFB_VERSION)\*.patch
|
||||
touch $@
|
||||
|
||||
$(DIRECTFB_DIR)/.configured: $(DIRECTFB_DIR)/.unpacked
|
||||
(cd $(DIRECTFB_DIR); rm -f config.cache; \
|
||||
ac_cv_header_linux_wm97xx_h=no \
|
||||
ac_cv_header_linux_sisfb_h=no \
|
||||
ac_cv_header_asm_page_h=no \
|
||||
$(AUTO_CONFIGURE_TARGET) \
|
||||
--prefix=/usr \
|
||||
--sysconfdir=/etc \
|
||||
--localstatedir=/var \
|
||||
--with-gfxdrivers=$(DIRECTFB_GFX) \
|
||||
--with-inputdrivers=$(DIRECTFB_INPUT) \
|
||||
--enable-static \
|
||||
--enable-shared \
|
||||
$(DIRECTFB_MULTI) \
|
||||
$(DIRECTFB_X) \
|
||||
$(DIRECTFB_JPEG) \
|
||||
$(DIRECTFB_PNG) \
|
||||
$(DIRECTFB_GIF) \
|
||||
$(DIRECTFB_UNIQUE) \
|
||||
--enable-linux-input \
|
||||
--enable-zlib \
|
||||
--enable-freetype \
|
||||
--enable-fbdev \
|
||||
--disable-sysfs \
|
||||
--disable-sdl \
|
||||
--disable-vnc \
|
||||
--disable-video4linux \
|
||||
--disable-video4linux2 )
|
||||
touch $@
|
||||
|
||||
$(DIRECTFB_DIR)/.compiled: $(DIRECTFB_DIR)/.configured
|
||||
$(MAKE) PATH=$(STAGING_DIR)/usr/lib:$(PATH) \
|
||||
$(TARGET_CONFIGURE_OPTS) \
|
||||
-C $(DIRECTFB_DIR)
|
||||
touch $(DIRECTFB_DIR)/.compiled
|
||||
|
||||
$(STAGING_DIR)/$(DIRECTFB_BIN): $(DIRECTFB_DIR)/.compiled
|
||||
$(MAKE) DESTDIR=$(STAGING_DIR) -C $(DIRECTFB_DIR) install
|
||||
$(SED) "s, /usr/lib, $(STAGING_DIR)/usr/lib,g" \
|
||||
$(STAGING_DIR)/usr/lib/libdirect.la \
|
||||
$(STAGING_DIR)/usr/lib/libdirectfb.la \
|
||||
$(STAGING_DIR)/usr/lib/libfusion.la \
|
||||
`find $(STAGING_DIR)/usr/lib/directfb-$(DIRECTFB_VERSION_MAJOR)-0/ -name '*.la'`
|
||||
$(SED) "s,^prefix=.*,prefix=\'$(STAGING_DIR)/usr\',g" \
|
||||
$(STAGING_DIR)/usr/bin/*directfb-config
|
||||
|
||||
$(TARGET_DIR)/$(DIRECTFB_BIN): $(STAGING_DIR)/$(DIRECTFB_BIN)
|
||||
cd $(STAGING_DIR)/usr/lib/; find $(DIRECTFB_STAGING) -type f -name '*.so' \
|
||||
| xargs -IREPL install -Dm644 REPL $(TARGET_DIR)/usr/lib/REPL
|
||||
mkdir -p $(TARGET_DIR)/usr/lib/directfb-$(DIRECTFB_VERSION_MAJOR)-0/gfxdrivers
|
||||
cp -dpf $(STAGING_DIR)/usr/lib/libfusion*.so.* $(TARGET_DIR)/usr/lib/
|
||||
ifeq ($(BR2_PACKAGE_DIRECTFB_UNIQUE),y)
|
||||
cp -dpf $(STAGING_DIR)/usr/lib/libuniquewm*.so.* $(TARGET_DIR)/usr/lib/
|
||||
endif
|
||||
cp -dpf $(STAGING_DIR)/usr/lib/libdirect*.so.* $(TARGET_DIR)/usr/lib/
|
||||
$(STRIPCMD) $(STRIP_STRIP_UNNEEDED) \
|
||||
$(TARGET_DIR)/usr/lib/libdirect*.so.* \
|
||||
$(TARGET_DIR)/usr/lib/libfusion*.so.*
|
||||
ifeq ($(BR2_PACKAGE_DIRECTFB_UNIQUE),y)
|
||||
$(STRIPCMD) $(STRIP_STRIP_UNNEEDED) \
|
||||
$(TARGET_DIR)/usr/lib/libuniquewm*.so.*
|
||||
endif
|
||||
|
||||
directfb: uclibc $(DIRECTFB_DEP) freetype $(DIRECTFB_FUSION) $(TARGET_DIR)/$(DIRECTFB_BIN)
|
||||
|
||||
directfb-unpacked: $(DIRECTFB_DIR)/.unpacked
|
||||
|
||||
directfb-clean:
|
||||
-$(MAKE) DESTDIR=$(TARGET_DIR) CC=$(TARGET_CC) -C $(DIRECTFB_DIR) uninstall
|
||||
-$(MAKE) -C $(DIRECTFB_DIR) clean
|
||||
rm -f $(DIRECTFB_DIR)/.configured $(DIRECTFB_DIR)/.compiled
|
||||
|
||||
directfb-dirclean:
|
||||
rm -rf $(DIRECTFB_DIR)
|
||||
|
||||
#############################################################
|
||||
#
|
||||
# Toplevel Makefile options
|
||||
#
|
||||
#############################################################
|
||||
ifeq ($(BR2_PACKAGE_DIRECTFB),y)
|
||||
TARGETS+=directfb
|
||||
endif
|
||||
$(eval $(call AUTOTARGETS,package,directfb))
|
||||
|
||||
@@ -1,5 +1,9 @@
|
||||
config BR2_PACKAGE_DM
|
||||
bool "dm"
|
||||
depends on BR2_LARGEFILE
|
||||
help
|
||||
The Device-mapper is a new component of the linux kernel that
|
||||
supports logical volume management. It is required by LVM2 and EVMS.
|
||||
|
||||
comment "dm requires a toolchain with LARGEFILE support"
|
||||
depends on !BR2_LARGEFILE
|
||||
|
||||
@@ -1,5 +1,16 @@
|
||||
comment "dmraid has no inherent support for AVR32"
|
||||
depends on BR2_avr32 && BR2_PACKAGE_DMRAID
|
||||
|
||||
config BR2_PACKAGE_DMRAID
|
||||
bool "dmraid"
|
||||
depends on BR2_LARGEFILE
|
||||
select BR2_PACKAGE_DM
|
||||
help
|
||||
Device-Mapper Software RAID support tool/
|
||||
dmraid discovers, activates, deactivates and displays properties
|
||||
of software RAID sets (eg, ATARAID) and contained DOS partitions.
|
||||
|
||||
dmraid uses the Linux device-mapper to create devices with
|
||||
respective mappings for the ATARAID sets discovered.
|
||||
|
||||
comment "dmraid requires a toolchain with LARGEFILE support"
|
||||
depends on !BR2_LARGEFILE
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
#!/bin/sh
|
||||
|
||||
# try to load module in case that hasn't been done yet
|
||||
modprobe dm-mod >/dev/null 2>&1
|
||||
|
||||
set -e
|
||||
|
||||
[ -x /sbin/dmraid ] || exit 0
|
||||
|
||||
# try to load module in case that hasn't been done yet
|
||||
modprobe dm-mod >/dev/null 2>&1
|
||||
|
||||
case "$1" in
|
||||
start|"")
|
||||
echo "Setting up DMRAID devices..."
|
||||
|
||||
@@ -3,65 +3,32 @@
|
||||
# dmraid
|
||||
#
|
||||
#############################################################
|
||||
|
||||
DMRAID_VERSION=1.0.0.rc15
|
||||
DMRAID_VERSION:=1.0.0.rc15
|
||||
DMRAID_SOURCE:=dmraid-$(DMRAID_VERSION).tar.bz2
|
||||
DMRAID_SITE:=http://people.redhat.com/~heinzm/sw/dmraid/src
|
||||
DMRAID_DIR:=$(BUILD_DIR)/dmraid/$(DMRAID_VERSION)
|
||||
DMRAID_CAT:=$(BZCAT)
|
||||
DMRAID_BINARY:=dmraid
|
||||
DMRAID_STAGING_BINARY:=$(DMRAID_DIR)/STAGING_DIR)/tools/$(DMRAID_BINARY)
|
||||
DMRAID_TARGET_BINARY:=$(TARGET_DIR)/sbin/$(DMRAID_BINARY)
|
||||
DMRAID_SUBDIR:=$(DMRAID_VERSION)
|
||||
# lib and tools race with parallel make
|
||||
DMRAID_MAKE = $(MAKE1)
|
||||
DMRAID_DEPENDENCIES:=dm
|
||||
DMRAID_INSTALL_STAGING:=yes
|
||||
|
||||
$(DL_DIR)/$(DMRAID_SOURCE):
|
||||
$(call DOWNLOAD,$(DMRAID_SITE),$(DMRAID_SOURCE))
|
||||
$(eval $(call AUTOTARGETS,package,dmraid))
|
||||
|
||||
dmraid-source: $(DL_DIR)/$(DMRAID_SOURCE)
|
||||
|
||||
$(DMRAID_DIR)/.unpacked: $(DL_DIR)/$(DMRAID_SOURCE)
|
||||
$(DMRAID_CAT) $(DL_DIR)/$(DMRAID_SOURCE) | tar -C $(BUILD_DIR) -xvf -
|
||||
toolchain/patch-kernel.sh $(DMRAID_DIR) package/dmraid \*.patch
|
||||
touch $(DMRAID_DIR)/.unpacked
|
||||
|
||||
$(DMRAID_DIR)/.configured: $(DMRAID_DIR)/.unpacked
|
||||
(cd $(DMRAID_DIR); rm -rf config.cache; \
|
||||
$(TARGET_CONFIGURE_OPTS) \
|
||||
$(TARGET_CONFIGURE_ARGS) \
|
||||
./configure \
|
||||
--target=$(GNU_TARGET_NAME) \
|
||||
--host=$(GNU_TARGET_NAME) \
|
||||
--build=$(GNU_HOST_NAME) \
|
||||
--prefix=/usr \
|
||||
$(DISABLE_NLS) \
|
||||
$(DISABLE_LARGEFILE) \
|
||||
--with-user=$(shell id -un) --with-group=$(shell id -gn) \
|
||||
)
|
||||
touch $(DMRAID_DIR)/.configured
|
||||
|
||||
$(DMRAID_DIR)/tools/$(DMRAID_BINARY): $(DMRAID_DIR)/.configured
|
||||
$(MAKE1) -C $(DMRAID_DIR)
|
||||
-$(STRIPCMD) $(DMRAID_DIR)/tools/$(DMRAID_BINARY)
|
||||
-$(UPX) --best $(DMRAID_DIR)/tools/$(DMRAID_BINARY)
|
||||
touch -c $(DMRAID_DIR)/tools/$(DMRAID_BINARY)
|
||||
|
||||
$(DMRAID_TARGET_BINARY): $(DMRAID_DIR)/tools/$(DMRAID_BINARY)
|
||||
$(INSTALL) -m 0755 $? $@
|
||||
$(DMRAID_TARGET_INSTALL_TARGET): $(DMRAID_TARGET_INSTALL_STAGING)
|
||||
$(call MESSAGE,"Installing to target")
|
||||
$(INSTALL) -m 0755 $(STAGING_DIR)/usr/sbin/dmraid $(TARGET_DIR)/usr/sbin
|
||||
$(INSTALL) -m 0755 package/dmraid/dmraid.init $(TARGET_DIR)/etc/init.d/dmraid
|
||||
touch $@
|
||||
|
||||
dmraid: uclibc dm zlib $(DMRAID_TARGET_BINARY)
|
||||
|
||||
dmraid-clean:
|
||||
rm -f $(DMRAID_TARGET_BINARY) $(TARGET_DIR)/etc/init.d/dmraid
|
||||
-$(MAKE) -C $(DMRAID_DIR) clean
|
||||
|
||||
dmraid-dirclean:
|
||||
rm -rf $(DMRAID_DIR)
|
||||
|
||||
#############################################################
|
||||
#
|
||||
# Toplevel Makefile options
|
||||
#
|
||||
#############################################################
|
||||
ifeq ($(BR2_PACKAGE_DMRAID),y)
|
||||
TARGETS+=dmraid
|
||||
ifeq ($(BR2_ENABLE_DEBUG),)
|
||||
$(DMRAID_HOOK_POST_INSTALL): $(DMRAID_TARGET_INSTALL_TARGET)
|
||||
$(STRIPCMD) $(STRIP_STRIP_ALL) $(TARGET_DIR)/usr/sbin/dmraid
|
||||
touch $@
|
||||
endif
|
||||
|
||||
$(DMRAID_TARGET_UNINSTALL):
|
||||
$(call MESSAGE,"Uninstalling")
|
||||
# makefile has no uninstall target..
|
||||
# $(MAKE) DESTDIR=$(STAGING_DIR) -C $(DMRAID_DIR) uninstall
|
||||
rm -f $(TARGET_DIR)/usr/sbin/dmraid $(TARGET_DIR)/etc/init.d/dmraid
|
||||
rm -f $(DMRAID_TARGET_INSTALL_TARGET) $(DMRAID_HOOK_POST_INSTALL)
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
--- 1.0.0.rc15/lib/device/scan.c.orig 2008-06-20 09:32:05.000000000 -0500
|
||||
+++ 1.0.0.rc15/lib/device/scan.c 2008-12-01 17:15:25.000000000 -0600
|
||||
--- a/1.0.0.rc15/lib/device/scan.c.orig 2008-06-20 09:32:05.000000000 -0500
|
||||
+++ b/1.0.0.rc15/lib/device/scan.c 2008-12-01 17:15:25.000000000 -0600
|
||||
@@ -69,7 +69,7 @@
|
||||
static char *ret = NULL, *sysfs_mp;
|
||||
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
#############################################################
|
||||
|
||||
DNSMASQ_SITE:=http://thekelleys.org.uk/dnsmasq
|
||||
DNSMASQ_UPVER:=2.46
|
||||
DNSMASQ_UPVER:=2.47
|
||||
DNSMASQ_SOURCE:=dnsmasq-$(DNSMASQ_UPVER).tar.gz
|
||||
DNSMASQ_DIR:=$(BUILD_DIR)/dnsmasq-$(DNSMASQ_UPVER)
|
||||
DNSMASQ_BINARY:=dnsmasq
|
||||
@@ -26,7 +26,7 @@ DNSMASQ_COPTS+=-DNO_LARGEFILE
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_DBUS),y)
|
||||
DNSMASQ_DBUS:=$(TARGET_DIR)/usr/bin/dbus-daemon
|
||||
DNSMASQ_DBUS:=dbus
|
||||
else
|
||||
DNSMASQ_DBUS:=
|
||||
endif
|
||||
|
||||
@@ -2,7 +2,6 @@ config BR2_PACKAGE_DOCKER
|
||||
bool "docker"
|
||||
depends on BR2_PACKAGE_XORG||BR2_PACKAGE_XORG7||BR2_PACKAGE_TINYX
|
||||
select BR2_PACKAGE_LIBGLIB2
|
||||
select BR2_PACKAGE_PKGCONFIG
|
||||
help
|
||||
a system tray dock for X
|
||||
|
||||
|
||||
@@ -14,12 +14,12 @@ DOCKER_MAKE_OPT = CC=$(TARGET_CC) CXX=$(TARGET_CXX) LD=$(TARGET_LD) \
|
||||
CFLAGS="-I$(STAGING_DIR)/usr/include \
|
||||
-I$(STAGING_DIR)/usr/include/glib-2.0 \
|
||||
-I$(STAGING_DIR)/usr/lib/glib-2.0/include" \
|
||||
PKG_CONFIG="$(STAGING_DIR)/usr/bin/pkg-config" \
|
||||
PKG_CONFIG="$(PKG_CONFIG_HOST_BINARY)" \
|
||||
LDFLAGS="-L$(STAGING_DIR)/usr/lib -L$(STAGING_DIR)/lib"
|
||||
|
||||
DOCKER_INSTALL_TARGET_OPT = PREFIX=$(TARGET_DIR)/usr install
|
||||
|
||||
DOCKER_DEPENDENCIES = uclibc pkgconfig libglib2 $(XSERVER)
|
||||
DOCKER_DEPENDENCIES = uclibc host-pkgconfig libglib2 $(XSERVER)
|
||||
|
||||
$(eval $(call AUTOTARGETS,package,docker))
|
||||
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
config BR2_PACKAGE_DROPBEAR
|
||||
bool "dropbear"
|
||||
select BR2_PACKAGE_ZLIB
|
||||
help
|
||||
A small SSH 2 server designed for small memory environments.
|
||||
|
||||
|
||||
@@ -3,79 +3,39 @@
|
||||
# dropbear
|
||||
#
|
||||
#############################################################
|
||||
DROPBEAR_VERSION:=0.52
|
||||
DROPBEAR_SOURCE:=dropbear-$(DROPBEAR_VERSION).tar.gz
|
||||
DROPBEAR_SITE:=http://matt.ucc.asn.au/dropbear/releases/
|
||||
DROPBEAR_DIR:=$(BUILD_DIR)/dropbear-$(DROPBEAR_VERSION)
|
||||
DROPBEAR_CAT:=$(ZCAT)
|
||||
DROPBEAR_BINARY:=dropbearmulti
|
||||
DROPBEAR_TARGET_BINARY:=usr/sbin/dropbear
|
||||
|
||||
$(DL_DIR)/$(DROPBEAR_SOURCE):
|
||||
$(call DOWNLOAD,$(DROPBEAR_SITE),$(DROPBEAR_SOURCE))
|
||||
DROPBEAR_VERSION = 0.52
|
||||
DROPBEAR_SOURCE = dropbear-$(DROPBEAR_VERSION).tar.gz
|
||||
DROPBEAR_SITE = http://matt.ucc.asn.au/dropbear/releases
|
||||
DROPBEAR_DEPENDENCIES = uclibc zlib
|
||||
DROPBEAR_TARGET_BINS = dbclient dropbearkey dropbearconvert scp ssh
|
||||
DROPBEAR_MAKE = $(MAKE) MULTI=1 SCPPROGRESS=1 \
|
||||
PROGRAMS="dropbear dbclient dropbearkey dropbearconvert scp"
|
||||
|
||||
dropbear-source: $(DL_DIR)/$(DROPBEAR_SOURCE)
|
||||
$(eval $(call AUTOTARGETS,package,dropbear))
|
||||
|
||||
$(DROPBEAR_DIR)/.unpacked: $(DL_DIR)/$(DROPBEAR_SOURCE)
|
||||
$(DROPBEAR_CAT) $(DL_DIR)/$(DROPBEAR_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
|
||||
toolchain/patch-kernel.sh $(DROPBEAR_DIR) package/dropbear/ dropbear\*.patch
|
||||
$(SED) 's,^/\* #define DROPBEAR_MULTI.*,#define DROPBEAR_MULTI,g' $(DROPBEAR_DIR)/options.h
|
||||
$(DROPBEAR_HOOK_POST_EXTRACT):
|
||||
$(SED) 's,^#define XAUTH_COMMAND.*/xauth,#define XAUTH_COMMAND "/usr/bin/xauth,g' $(DROPBEAR_DIR)/options.h
|
||||
$(CONFIG_UPDATE) $(DROPBEAR_DIR)
|
||||
touch $@
|
||||
|
||||
$(DROPBEAR_DIR)/.configured: $(DROPBEAR_DIR)/.unpacked
|
||||
(cd $(DROPBEAR_DIR); rm -rf config.cache; \
|
||||
autoconf; \
|
||||
$(TARGET_CONFIGURE_OPTS) \
|
||||
$(TARGET_CONFIGURE_ARGS) \
|
||||
./configure \
|
||||
--target=$(GNU_TARGET_NAME) \
|
||||
--host=$(GNU_TARGET_NAME) \
|
||||
--build=$(GNU_HOST_NAME) \
|
||||
--prefix=/usr \
|
||||
--sysconfdir=/etc \
|
||||
--localstatedir=/var \
|
||||
$(DISABLE_NLS) \
|
||||
--with-shared \
|
||||
)
|
||||
touch $@
|
||||
|
||||
$(DROPBEAR_DIR)/$(DROPBEAR_BINARY): $(DROPBEAR_DIR)/.configured
|
||||
$(TARGET_CONFIGURE_OPTS) $(MAKE) LD=$(TARGET_CC) \
|
||||
PROGRAMS="dropbear dbclient dropbearkey dropbearconvert scp" \
|
||||
MULTI=1 SCPPROGRESS=1 -C $(DROPBEAR_DIR)
|
||||
|
||||
$(TARGET_DIR)/$(DROPBEAR_TARGET_BINARY): $(DROPBEAR_DIR)/$(DROPBEAR_BINARY)
|
||||
$(INSTALL) -d -m 755 $(TARGET_DIR)/usr/sbin
|
||||
$(INSTALL) -d -m 755 $(TARGET_DIR)/usr/bin
|
||||
$(INSTALL) -m 755 $(DROPBEAR_DIR)/$(DROPBEAR_BINARY) \
|
||||
$(TARGET_DIR)/$(DROPBEAR_TARGET_BINARY)
|
||||
$(STRIPCMD) $(STRIP_STRIP_UNNEEDED) $(TARGET_DIR)/$(DROPBEAR_TARGET_BINARY)
|
||||
ln -snf ../sbin/dropbear $(TARGET_DIR)/usr/bin/scp
|
||||
ln -snf ../sbin/dropbear $(TARGET_DIR)/usr/bin/ssh
|
||||
$(DROPBEAR_TARGET_INSTALL_TARGET):
|
||||
$(call MESSAGE,"Installing to target")
|
||||
$(INSTALL) -m 755 $(DROPBEAR_DIR)/dropbearmulti \
|
||||
$(TARGET_DIR)/usr/sbin/dropbear
|
||||
ln -snf ../sbin/dropbear $(TARGET_DIR)/usr/bin/dbclient
|
||||
ln -snf ../sbin/dropbear $(TARGET_DIR)/usr/bin/dropbearkey
|
||||
ln -snf ../sbin/dropbear $(TARGET_DIR)/usr/bin/dropbearconvert
|
||||
mkdir -p $(TARGET_DIR)/etc/init.d
|
||||
$(INSTALL) -m 755 package/dropbear/S50dropbear $(TARGET_DIR)/etc/init.d/S50dropbear
|
||||
ln -snf ../sbin/dropbear $(TARGET_DIR)/usr/bin/scp
|
||||
ln -snf ../sbin/dropbear $(TARGET_DIR)/usr/bin/ssh
|
||||
if [ ! -f $(TARGET_DIR)/etc/init.d/S50dropbear ]; then \
|
||||
$(INSTALL) -m 0755 -D package/dropbear/S50dropbear $(TARGET_DIR)/etc/init.d/S50dropbear; \
|
||||
fi
|
||||
touch $@
|
||||
|
||||
dropbear: uclibc zlib $(TARGET_DIR)/$(DROPBEAR_TARGET_BINARY)
|
||||
|
||||
dropbear-clean:
|
||||
-$(MAKE) -C $(DROPBEAR_DIR) clean
|
||||
rm -f $(TARGET_DIR)/$(DROPBEAR_TARGET_BINARY)
|
||||
rm -f $(TARGET_DIR)/usr/bin/{scp,ssh,dbclient,dropbearkey,dropbearconvert}
|
||||
$(DROPBEAR_TARGET_UNINSTALL):
|
||||
$(call MESSAGE,"Uninstalling")
|
||||
rm -f $(TARGET_DIR)/usr/sbin/dropbear
|
||||
rm -f $(addprefix $(TARGET_DIR)/usr/bin/, $(DROPBEAR_TARGET_BINS))
|
||||
rm -f $(TARGET_DIR)/etc/init.d/S50dropbear
|
||||
rm -f $(DROPBEAR_TARGET_INSTALL_TARGET) $(DROPBEAR_HOOK_POST_INSTALL)
|
||||
|
||||
dropbear-dirclean:
|
||||
rm -rf $(DROPBEAR_DIR)
|
||||
|
||||
#############################################################
|
||||
#
|
||||
# Toplevel Makefile options
|
||||
#
|
||||
#############################################################
|
||||
ifeq ($(BR2_PACKAGE_DROPBEAR),y)
|
||||
TARGETS+=dropbear
|
||||
endif
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
config BR2_PACKAGE_E2FSPROGS
|
||||
bool "e2fsprogs"
|
||||
depends on BR2_LARGEFILE
|
||||
help
|
||||
The EXT2 file system utilities and libraries
|
||||
|
||||
@@ -80,3 +81,5 @@ config BR2_PACKAGE_E2FSPROGS_UUIDGEN
|
||||
default y
|
||||
depends on BR2_PACKAGE_E2FSPROGS
|
||||
|
||||
comment "e2fsprogs requires a toolchain with LARGEFILE support"
|
||||
depends on !BR2_LARGEFILE
|
||||
|
||||
@@ -41,7 +41,7 @@ $(E2FSPROGS_DIR)/.configured: $(E2FSPROGS_DIR)/.unpacked
|
||||
--exec-prefix=/usr \
|
||||
--bindir=/bin \
|
||||
--sbindir=/sbin \
|
||||
--libdir=/lib \
|
||||
--libdir=/usr/lib \
|
||||
--libexecdir=/usr/lib \
|
||||
--sysconfdir=/etc \
|
||||
--datadir=/usr/share \
|
||||
@@ -69,6 +69,12 @@ $(E2FSPROGS_DIR)/$(E2FSPROGS_BINARY): $(E2FSPROGS_DIR)/.configured
|
||||
#$(STRIPCMD) $(E2FSPROGS_DIR)/lib/lib*.so.*.*
|
||||
touch -c $@
|
||||
|
||||
$(STAGING_DIR)/$(E2FSPROGS_TARGET_BINARY): $(E2FSPROGS_DIR)/$(E2FSPROGS_BINARY)
|
||||
$(MAKE1) PATH=$(TARGET_PATH) DESTDIR=$(STAGING_DIR) LDCONFIG=true \
|
||||
-C $(E2FSPROGS_DIR) install
|
||||
$(MAKE1) PATH=$(TARGET_PATH) DESTDIR=$(STAGING_DIR) LDCONFIG=true \
|
||||
-C $(E2FSPROGS_DIR)/lib/uuid install
|
||||
|
||||
E2FSPROGS_RM$(BR2_PACKAGE_E2FSPROGS_BADBLOCKS) += ${TARGET_DIR}/sbin/badblocks
|
||||
E2FSPROGS_RM$(BR2_PACKAGE_E2FSPROGS_BLKID) += ${TARGET_DIR}/sbin/blkid
|
||||
E2FSPROGS_RM$(BR2_PACKAGE_E2FSPROGS_CHATTR) += ${TARGET_DIR}/bin/chattr
|
||||
@@ -83,7 +89,7 @@ E2FSPROGS_RM$(BR2_PACKAGE_E2FSPROGS_MKE2FS) += ${TARGET_DIR}/sbin/mke2fs
|
||||
E2FSPROGS_RM$(BR2_PACKAGE_E2FSPROGS_MKLOSTFOUND) += ${TARGET_DIR}/sbin/mklost+found
|
||||
E2FSPROGS_RM$(BR2_PACKAGE_E2FSPROGS_UUIDGEN) += ${TARGET_DIR}/bin/uuidgen
|
||||
|
||||
$(TARGET_DIR)/$(E2FSPROGS_TARGET_BINARY): $(E2FSPROGS_DIR)/$(E2FSPROGS_BINARY)
|
||||
$(TARGET_DIR)/$(E2FSPROGS_TARGET_BINARY): $(STAGING_DIR)/$(E2FSPROGS_TARGET_BINARY)
|
||||
$(MAKE1) PATH=$(TARGET_PATH) DESTDIR=$(TARGET_DIR) LDCONFIG=true \
|
||||
-C $(E2FSPROGS_DIR) install
|
||||
rm -rf ${TARGET_DIR}/sbin/mkfs.ext[234] \
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
config BR2_PACKAGE_VIM
|
||||
bool "vim"
|
||||
select BR2_PACKAGE_NCURSES
|
||||
select BR2_PACKAGE_PKGCONFIG
|
||||
help
|
||||
VIM Text editor
|
||||
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user