mirror of
https://github.com/godotengine/buildroot.git
synced 2026-01-08 02:09:48 +03:00
Compare commits
337 Commits
2009.08_rc
...
2009.11
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
b1545cb4fa | ||
|
|
798927cce9 | ||
|
|
9d998ad1d7 | ||
|
|
c14fb7c1dd | ||
|
|
78f2cb70e2 | ||
|
|
6b1dd45bf4 | ||
|
|
6f85972913 | ||
|
|
cf10280744 | ||
|
|
b48fb8c4aa | ||
|
|
31bd97417b | ||
|
|
ade675c55a | ||
|
|
69067025c0 | ||
|
|
4e385ee794 | ||
|
|
57922bfbf3 | ||
|
|
c589012eec | ||
|
|
4f399c3fb1 | ||
|
|
b1c416bed6 | ||
|
|
6b6bdaed76 | ||
|
|
70ce96305c | ||
|
|
1330cf5b19 | ||
|
|
2d04d56ec7 | ||
|
|
883f066797 | ||
|
|
9627e21153 | ||
|
|
3d82609bd1 | ||
|
|
08703917d7 | ||
|
|
4cc4e572e2 | ||
|
|
57403b74f1 | ||
|
|
a9f379abf0 | ||
|
|
b704677018 | ||
|
|
7ba54a07d4 | ||
|
|
bba2fd540b | ||
|
|
1dd9d9f345 | ||
|
|
9ab3ad7332 | ||
|
|
fa946b788e | ||
|
|
81e4ba320b | ||
|
|
f6cbb2687d | ||
|
|
27ab47c473 | ||
|
|
b06f14e4f7 | ||
|
|
d66727128a | ||
|
|
a1deb18ba6 | ||
|
|
57ea7207bc | ||
|
|
87d74d94cc | ||
|
|
2795e3d902 | ||
|
|
93341a451e | ||
|
|
5bb205b8e2 | ||
|
|
8974369074 | ||
|
|
e189fe1f78 | ||
|
|
8fb74cdece | ||
|
|
b8a917faaa | ||
|
|
1620cc3e35 | ||
|
|
41aaacd53d | ||
|
|
4eb64901e0 | ||
|
|
0017d6b3b5 | ||
|
|
796e2b6ccc | ||
|
|
b71951b0e7 | ||
|
|
6aac003abf | ||
|
|
07019b2c13 | ||
|
|
351b679608 | ||
|
|
3445ff4ade | ||
|
|
3848cd6dca | ||
|
|
bd49a62d8a | ||
|
|
406053d5dc | ||
|
|
83182dd28e | ||
|
|
e428886e57 | ||
|
|
09d62e89e7 | ||
|
|
638a4214f8 | ||
|
|
48ed49e91d | ||
|
|
882e137608 | ||
|
|
83f9881d64 | ||
|
|
26073d2aa7 | ||
|
|
f1a5f6e9c3 | ||
|
|
fdcc5bc087 | ||
|
|
4e27686c63 | ||
|
|
cfccdd350a | ||
|
|
d88b812d76 | ||
|
|
b18b46ebee | ||
|
|
13e753b414 | ||
|
|
5e5f3209f0 | ||
|
|
83f1ec65a0 | ||
|
|
bdf41d6c8c | ||
|
|
69ec17cd8d | ||
|
|
1ea44bb11a | ||
|
|
9af188d883 | ||
|
|
1eb391c500 | ||
|
|
c9816df886 | ||
|
|
065d0e76df | ||
|
|
fca4e38c80 | ||
|
|
61b57f10a6 | ||
|
|
95d7c26915 | ||
|
|
8d65822f9d | ||
|
|
bbbdf45f0e | ||
|
|
0575682552 | ||
|
|
434b007fce | ||
|
|
90be4efb38 | ||
|
|
04bd29b8d8 | ||
|
|
89dadc81ec | ||
|
|
5ebc568354 | ||
|
|
b2dcab30ce | ||
|
|
81ce2ae61c | ||
|
|
a1d2d172ec | ||
|
|
a305c33209 | ||
|
|
da25e92b08 | ||
|
|
8ec5a86616 | ||
|
|
31d34b4205 | ||
|
|
b208bd4daa | ||
|
|
08801720ac | ||
|
|
dc5ae2c428 | ||
|
|
ab17f40395 | ||
|
|
89b33886f7 | ||
|
|
7a3fa3efa1 | ||
|
|
61901bd74a | ||
|
|
0ad5869528 | ||
|
|
7d5d638a89 | ||
|
|
0cbfcbe433 | ||
|
|
f49ef854ca | ||
|
|
683a964c8f | ||
|
|
d7f5f04ba2 | ||
|
|
7a83c1458f | ||
|
|
524b203588 | ||
|
|
f72f3fd30e | ||
|
|
f1b7d78764 | ||
|
|
d360c61216 | ||
|
|
829d4ff63c | ||
|
|
28eefec5bd | ||
|
|
d6d7f13cd0 | ||
|
|
82f1ccf4c8 | ||
|
|
f985476225 | ||
|
|
f9e208866b | ||
|
|
ac5d17bf65 | ||
|
|
51a3b74b6e | ||
|
|
7f541e3047 | ||
|
|
03bdf67f43 | ||
|
|
1cd28840db | ||
|
|
ad1a8a156a | ||
|
|
ef951295bf | ||
|
|
10efac17fd | ||
|
|
42325834c9 | ||
|
|
473a91dbe6 | ||
|
|
c9a2b035ee | ||
|
|
6ef1705c42 | ||
|
|
e6bbcb0aba | ||
|
|
c45cd1fdbb | ||
|
|
263c2f8317 | ||
|
|
0bc7a43ff3 | ||
|
|
10eaccc233 | ||
|
|
076e720240 | ||
|
|
44b5637ab2 | ||
|
|
0b7ec8ea32 | ||
|
|
573550d723 | ||
|
|
51eb574a57 | ||
|
|
738357d3d5 | ||
|
|
8e7a4936cf | ||
|
|
82cefcbbda | ||
|
|
e90302ae2b | ||
|
|
edc6a89d9d | ||
|
|
15a85fce2a | ||
|
|
f7abeebf54 | ||
|
|
d31c7723ae | ||
|
|
b1ba675c85 | ||
|
|
8323cd9b87 | ||
|
|
2bd02ce28c | ||
|
|
34bba153ac | ||
|
|
3ae324f856 | ||
|
|
656ad7347e | ||
|
|
5f41548012 | ||
|
|
58fd779a43 | ||
|
|
6652770f41 | ||
|
|
c48bbb8c08 | ||
|
|
d5791db7cd | ||
|
|
8ac5d34e78 | ||
|
|
7b3c64fe8b | ||
|
|
1e32e0700a | ||
|
|
7c1c71f919 | ||
|
|
3a24e0385b | ||
|
|
c3bb9c1cc4 | ||
|
|
58508f39cc | ||
|
|
d1bce5051b | ||
|
|
e008caa06c | ||
|
|
e6e0ab231c | ||
|
|
59c8e4de91 | ||
|
|
94aac4698d | ||
|
|
b80f662168 | ||
|
|
0d6bea5119 | ||
|
|
1be5730aa2 | ||
|
|
191c59c2d2 | ||
|
|
8360f0c89b | ||
|
|
5502de5de8 | ||
|
|
88f6a98479 | ||
|
|
f9775c9148 | ||
|
|
0eca108b73 | ||
|
|
a6fc338726 | ||
|
|
96da2dfff9 | ||
|
|
fa324fb8bc | ||
|
|
b624c9e35e | ||
|
|
090b407fe1 | ||
|
|
a7c5ee544e | ||
|
|
b9df3aefc6 | ||
|
|
0b61765444 | ||
|
|
076f06e0f5 | ||
|
|
4e3f0e4f67 | ||
|
|
7f7bf9637e | ||
|
|
8a19a79565 | ||
|
|
01ca437954 | ||
|
|
6a0a14d4e4 | ||
|
|
3fdf0bffb8 | ||
|
|
d65976fe26 | ||
|
|
912ea81ad4 | ||
|
|
89464a9601 | ||
|
|
72a119c84b | ||
|
|
4d153cff9d | ||
|
|
44c10ff6b4 | ||
|
|
78145a624c | ||
|
|
abd76618a4 | ||
|
|
4114643de8 | ||
|
|
b5cbb760ad | ||
|
|
19dde3a7aa | ||
|
|
bc95b3ad3b | ||
|
|
255c8ea89c | ||
|
|
aa59f70425 | ||
|
|
a6dfb9265b | ||
|
|
91717c0148 | ||
|
|
5eb68019cd | ||
|
|
0d7e586a9f | ||
|
|
bdccd7b2e6 | ||
|
|
1f09b42f50 | ||
|
|
04bef3eb55 | ||
|
|
dbc3fd2f21 | ||
|
|
db5e305867 | ||
|
|
a4c6231cfc | ||
|
|
18994732d3 | ||
|
|
3ab4b632a0 | ||
|
|
31e026a7c4 | ||
|
|
483b2980d0 | ||
|
|
c2946d1139 | ||
|
|
416323e934 | ||
|
|
cb5710c538 | ||
|
|
be695dcc3c | ||
|
|
8a83e8d7b8 | ||
|
|
e7da301b42 | ||
|
|
1d9178db29 | ||
|
|
5fda7023ff | ||
|
|
c5388a1c62 | ||
|
|
171683950f | ||
|
|
0c2b9a4a2d | ||
|
|
1a9015f5d5 | ||
|
|
51173980cd | ||
|
|
bf5e693d75 | ||
|
|
b7f689ae2d | ||
|
|
1fe7bbb34d | ||
|
|
8e8354d4db | ||
|
|
0c050a7fe5 | ||
|
|
515b511d41 | ||
|
|
a07032e117 | ||
|
|
e18fcb4811 | ||
|
|
72cdec0a43 | ||
|
|
797551c8ce | ||
|
|
fe06da781b | ||
|
|
f5239c327e | ||
|
|
84a8eafd4c | ||
|
|
3b2a803d28 | ||
|
|
fd3800c197 | ||
|
|
a07d6b9d56 | ||
|
|
18183726d4 | ||
|
|
397fe5cc0b | ||
|
|
b3ee84e407 | ||
|
|
20be3ce9eb | ||
|
|
27cf8114bf | ||
|
|
6804b484a9 | ||
|
|
5d9d30a111 | ||
|
|
b96253a63e | ||
|
|
76aaac62a6 | ||
|
|
f76d8a3fd4 | ||
|
|
f1a0066b3d | ||
|
|
c4bd271661 | ||
|
|
848b76f2fe | ||
|
|
f39dbdea73 | ||
|
|
5cc0622a14 | ||
|
|
cd411d0d9c | ||
|
|
a2994caa17 | ||
|
|
dfca1b2e0e | ||
|
|
57f3b11d11 | ||
|
|
8c11895876 | ||
|
|
9929c6006c | ||
|
|
eda15d2327 | ||
|
|
df03cdaf3a | ||
|
|
0642da7818 | ||
|
|
4a37bf3b9e | ||
|
|
af2390c0f4 | ||
|
|
79c213fbe5 | ||
|
|
5c4555d1f5 | ||
|
|
3c35d55ea9 | ||
|
|
6cdf2481ee | ||
|
|
580c6d9b44 | ||
|
|
6538b1d1e7 | ||
|
|
4d0c00588f | ||
|
|
7b66a9435b | ||
|
|
7ee403d3c2 | ||
|
|
422ce6536b | ||
|
|
ee609f256d | ||
|
|
32518793e1 | ||
|
|
74834991a8 | ||
|
|
6b0d895f64 | ||
|
|
f38fe3a1a3 | ||
|
|
4d664738b0 | ||
|
|
129c2d1e1d | ||
|
|
a0dd551791 | ||
|
|
7cbed5d335 | ||
|
|
01f783dc09 | ||
|
|
49c47f55a8 | ||
|
|
2f6e59d00b | ||
|
|
f0eb8b58e4 | ||
|
|
cc8a917598 | ||
|
|
014df317d4 | ||
|
|
621e8726f9 | ||
|
|
8ed829a179 | ||
|
|
688c388ce7 | ||
|
|
1af58aff72 | ||
|
|
e5413e83d8 | ||
|
|
4595a2fc9f | ||
|
|
fc3eb18b70 | ||
|
|
717aaab9e8 | ||
|
|
4ae691ecb9 | ||
|
|
f6bd2da7a5 | ||
|
|
8bc2fbe6dc | ||
|
|
350b6c6e4b | ||
|
|
843c592a7c | ||
|
|
5cecbb7fba | ||
|
|
26e37dd3c4 | ||
|
|
7df179ae00 | ||
|
|
7e62e8ec72 | ||
|
|
1357368035 | ||
|
|
3de4ce5b32 | ||
|
|
7ad7a89244 | ||
|
|
dfc4deffd4 | ||
|
|
5e64f5057b | ||
|
|
da28297091 | ||
|
|
a0c23b6d2b |
5
.gitignore
vendored
5
.gitignore
vendored
@@ -1,7 +1,4 @@
|
||||
/build_*
|
||||
/project_*
|
||||
/toolchain_*
|
||||
/binaries
|
||||
/output
|
||||
/dl
|
||||
/.auto.deps
|
||||
/.config.cmd
|
||||
|
||||
115
CHANGES
115
CHANGES
@@ -1,3 +1,118 @@
|
||||
2009.11, Released December 1st, 2009:
|
||||
|
||||
Additional fixes and cleanups.
|
||||
|
||||
Updated/fixed packages: alsamixergui, autoconf, coreutils, fltk,
|
||||
microperl, ncurses, vim
|
||||
|
||||
Issues resolved (http://bugs.uclibc.org):
|
||||
|
||||
#707: Cant configure fltk-1.1.7. configure: error: Configure could ...
|
||||
|
||||
2009.11-rc2, Released November 29th, 2009:
|
||||
|
||||
Additional fixes and cleanups.
|
||||
|
||||
Updated/fixed packages: busybox, dbus, fltk, gvfs, ltrace
|
||||
|
||||
2009.11-rc1, Released November 23rd, 2009:
|
||||
|
||||
Fixes all over the tree and new features.
|
||||
|
||||
Cleaned up / Simplified build directory layout. Refer to
|
||||
docs/buildroot.html#using for details.
|
||||
|
||||
Target defconfig files moved to configs/ and listed in 'make help'
|
||||
output.
|
||||
|
||||
Fixed *clean targets. Now clean removes everything generated,
|
||||
so you can do a fresh rebuild. Distclean furthermore removes
|
||||
kbuild tools and .config, bringing the source tree back in a
|
||||
pristine state.
|
||||
|
||||
Toolchain: ARM cortex A8 support, GCC 4.4.2, sensible default
|
||||
soft / hardfloat setting for architecture, ensure target-ldd
|
||||
gets installed.
|
||||
|
||||
New packages: divine, gvfs, libarchive, libmicrohttpd,
|
||||
sdl_sound, swfdec, sysstat
|
||||
|
||||
Updated/fixed packages: alsa-lib, alsamixergui, autoconf, bootutils,
|
||||
busybox, gcc, directfb, dnsmasq, e2fsprogs, festival, gamin, gperf,
|
||||
gqview, gstreamer, gst-plugins-bad, gst-plugins-base, gst-plugins-good,
|
||||
imagemagick, ipkg, iptables, iw, kernel-headers, kismet, leafpad,
|
||||
libelf, libevent, libglib2, libidn, liblockfile, libmad, libpcap,
|
||||
libupnp, libuuid, libxml2, lighttpd, ltrace, lua, lzma, magiccube4d,
|
||||
matchbox, mdadm, nbd, ncftp, ncurses, netkittelnet, netsnmp,
|
||||
ng-spice-rework, ntfs-3g, openntp, openssl, pcmanfm, php, psmisc,
|
||||
python, quagga, radvd, rpm, rsync, rubix, samba, sawman, sdl, sdl_image,
|
||||
shared-mime-info, sfdisk, spawn-fcgi, speech-tools, sqlite, squashfs,
|
||||
synergy, syslinux, sysklogd, target-binutils, tcpdump, torsmo, u-boot,
|
||||
udpcast, util-linux, valgrind, vsftpd, wipe, wpa-supplicant, x11vnc,
|
||||
xdata_xcursor-themes, xboard, xfsprogs, xstroke, zlib
|
||||
|
||||
Removed package: mdnsresponder, mpatrol, gcc 3.4.6 + 4.0.4, vice
|
||||
|
||||
Issues resolved (http://bugs.uclibc.org):
|
||||
|
||||
#301: allow to install libsmbclient
|
||||
#303: add gvfs package
|
||||
#477: Add sdl_sound package
|
||||
#487: Make kismet package sexier
|
||||
#511: New package usb_modeswitch
|
||||
#527: misc fixes for dnsmasq package
|
||||
#565: libevent: Bump version and clean up makefile
|
||||
#587: Use iptables multipurpose binaries and bump to 1.4.4
|
||||
#593: Missing early check for patch(1)
|
||||
#597: (REOP) Selecting busybox in buildroot's config clobbers ar ...
|
||||
#609: libmicrohttpd: New package
|
||||
#615: python: Don't delete .py files unless asked
|
||||
#617: netkit/inetd requires RPC and fails to build if RPC is disabled
|
||||
#619: netkittelnet requires netkitbase to install, but there's no ...
|
||||
#645: allow to build nbd-server with NBD package
|
||||
#653: [SECURITY] Update php package to version 5.2.11
|
||||
#655: Update sqlite package to version 3.6.18
|
||||
#657: Bug in imagemagick-clean target
|
||||
#663: Add option for NAND flash with 512B Page and 16 kB erasesize ...
|
||||
#665: [PATCH] Samba package
|
||||
#667: [PATCH] e2fsprogs
|
||||
#683: SDL-dfb does not select directfb
|
||||
#701: make install problem with unstripped binaries
|
||||
#703: [SECURITY] Update openssl package to 0.9.8l
|
||||
#705: Bump spawn-fcgi package to 1.6.3
|
||||
#709: Bump lighttpd package to 1.4.24
|
||||
#713: Migrate openntpd package to Makefile.autotools.in
|
||||
#715: Bump libidn package to 1.15 and other fixes
|
||||
#717: Bump dnsmasq to 2.51 and introduce new IDN option
|
||||
#731: Bump iw package to 0.9.17
|
||||
|
||||
2009.08, Released August 31th, 2009:
|
||||
|
||||
Additional fixes and cleanups.
|
||||
|
||||
Updated/fixed packages: ctorrent, saveconfig/getconfig,
|
||||
sdl_net, util-linux.
|
||||
|
||||
Issues resolved (http://bugs.uclibc.org):
|
||||
|
||||
#529: util-linux doesn't find headers and include libs correctly
|
||||
#557: Build ctorrent with SSL support if available
|
||||
|
||||
2009.08-rc3, Released August 26th, 2009:
|
||||
|
||||
Additional fixes and cleanups.
|
||||
|
||||
Updated/fixed packages: alsa-utils, berkeleydb, busybox, dbus,
|
||||
directfb, enchant, kernel headers.
|
||||
|
||||
Issues resolved (http://bugs.uclibc.org):
|
||||
|
||||
#471: Allow directfb compilation with debug
|
||||
#541: Removal of CVS directories in target filesystem broken
|
||||
#547: berkeleydb: Update config.{sub, guess}
|
||||
#549: enchant: Fix dependencies.
|
||||
#569: Fix alsa-utils build for x86 on x86-64
|
||||
|
||||
2009.08-rc2, Released August 6th, 2009:
|
||||
|
||||
Additional fixes and new features.
|
||||
|
||||
44
Config.in
44
Config.in
@@ -8,7 +8,7 @@ config BR2_HAVE_DOT_CONFIG
|
||||
|
||||
config BR2_VERSION
|
||||
string
|
||||
default "2009.08-rc2"
|
||||
default "2009.11"
|
||||
|
||||
source "target/Config.in.arch"
|
||||
source "target/device/Config.in"
|
||||
@@ -27,6 +27,14 @@ config BR2_SVN_UP
|
||||
string "Subversion (svn) command to update source tree"
|
||||
default "svn up"
|
||||
|
||||
config BR2_BZR_CO
|
||||
string "Bazaar (bzr) command to download source tree"
|
||||
default "bzr co"
|
||||
|
||||
config BR2_BZR_UP
|
||||
string "Bazaar (bzr) command to update source tree"
|
||||
default "bzr up"
|
||||
|
||||
config BR2_GIT
|
||||
string "Git command to download source tree"
|
||||
default "git clone"
|
||||
@@ -61,13 +69,13 @@ config BR2_TAR_OPTIONS
|
||||
|
||||
config BR2_DL_DIR
|
||||
string "Download dir"
|
||||
default "$(BASE_DIR)/dl"
|
||||
default "$(TOPDIR)/dl"
|
||||
help
|
||||
Directory to store all the source files that we need to fetch.
|
||||
If the Linux shell environment has defined the BUILDROOT_DL_DIR
|
||||
environment variable, then this overrides this configuration item.
|
||||
|
||||
The default is $(BASE_DIR)/dl
|
||||
The default is $(TOPDIR)/dl
|
||||
|
||||
config BR2_COPYTO
|
||||
string "Copy result to..."
|
||||
@@ -80,7 +88,7 @@ source "target/device/Config.in.mirrors"
|
||||
|
||||
config BR2_STAGING_DIR
|
||||
string "Toolchain and header file location?"
|
||||
default "$(BUILD_DIR)/staging_dir"
|
||||
default "$(BASE_DIR)/staging"
|
||||
help
|
||||
This is the location where the toolchain will be installed. The
|
||||
toolchain will not work if it is moved from this location.
|
||||
@@ -89,32 +97,7 @@ config BR2_STAGING_DIR
|
||||
will be used.
|
||||
|
||||
Most people will leave this set to the default value of
|
||||
"$(BUILD_DIR)/staging_dir".
|
||||
|
||||
config BR2_FPU_SUFFIX
|
||||
bool "Add '_nofpu' suffix for softfloat toolchains"
|
||||
help
|
||||
If the toolchain is configured to use softfloat, then
|
||||
the "_nofpu" suffix will be added to the toolchain build
|
||||
directory name and to any rootfs image name
|
||||
|
||||
config BR2_TOPDIR_PREFIX
|
||||
string "Custom build dir prefix"
|
||||
default ""
|
||||
help
|
||||
Add a custom string to the beginning of the build directories.
|
||||
|
||||
build_ARCH -> [PREFIX]_build_ARCH
|
||||
toolchain_build_ARCH -> [PREFIX]_toolchain_build_ARCH
|
||||
|
||||
config BR2_TOPDIR_SUFFIX
|
||||
string "Custom build dir suffix"
|
||||
default ""
|
||||
help
|
||||
Add a custom string to the end of the build directories.
|
||||
|
||||
build_ARCH -> build_ARCH_[SUFFIX]
|
||||
toolchain_build_ARCH -> toolchain_build_ARCH_[SUFFIX]
|
||||
"$(BASE_DIR)/staging".
|
||||
|
||||
config BR2_GNU_BUILD_SUFFIX
|
||||
string "GNU build hostname suffix"
|
||||
@@ -177,6 +160,7 @@ config BR2_RECENT
|
||||
|
||||
config BR2_CONFIG_CACHE
|
||||
bool "Use a central configure cache file"
|
||||
default y
|
||||
help
|
||||
This determines if a central config cache is used by
|
||||
packages, reducing the configure time for packages as each
|
||||
|
||||
235
Makefile
235
Makefile
@@ -22,23 +22,21 @@
|
||||
# Just run 'make menuconfig', configure stuff, then run 'make'.
|
||||
# You shouldn't need to mess with anything beyond this point...
|
||||
#--------------------------------------------------------------
|
||||
TOPDIR=./
|
||||
# absolute path
|
||||
TOPDIR:=$(shell pwd)
|
||||
CONFIG_CONFIG_IN=Config.in
|
||||
CONFIG_DEFCONFIG=.defconfig
|
||||
CONFIG=package/config
|
||||
DATE:=$(shell date +%Y%m%d)
|
||||
|
||||
noconfig_targets:=menuconfig xconfig config oldconfig randconfig \
|
||||
defconfig allyesconfig allnoconfig release tags \
|
||||
defconfig allyesconfig allnoconfig release \
|
||||
randpackageconfig allyespackageconfig allnopackageconfig \
|
||||
source-check help
|
||||
|
||||
|
||||
# Use shell variables, if defined
|
||||
ifneq ($(BUILDROOT_LOCAL),)
|
||||
BR2_LOCAL:=$(BUILDROOT_LOCAL)
|
||||
else
|
||||
BR2_LOCAL:=$(TOPDIR)/local
|
||||
endif
|
||||
# Strip quotes and then whitespaces
|
||||
qstrip=$(strip $(subst ",,$(1)))
|
||||
#"))
|
||||
|
||||
# Variables for use in Make constructs
|
||||
comma:=,
|
||||
@@ -48,20 +46,13 @@ space:=$(empty) $(empty)
|
||||
# $(shell find . -name *_defconfig |sed 's/.*\///')
|
||||
# Pull in the user's configuration file
|
||||
ifeq ($(filter $(noconfig_targets),$(MAKECMDGOALS)),)
|
||||
ifeq ($(BOARD),)
|
||||
# if "make BOARD=xyz" command
|
||||
-include .config
|
||||
else
|
||||
# if "make" command
|
||||
-include $(BR2_LOCAL)/$(BOARD)/$(BOARD).config
|
||||
endif
|
||||
endif
|
||||
|
||||
# Override BR2_DL_DIR if shell variable defined
|
||||
ifneq ($(BUILDROOT_DL_DIR),)
|
||||
BR2_DL_DIR:=$(BUILDROOT_DL_DIR)
|
||||
endif
|
||||
LOCAL:=$(BR2_LOCAL)
|
||||
|
||||
# To put more focus on warnings, be less verbose as default
|
||||
# Use 'make V=1' to see the full commands
|
||||
@@ -213,10 +204,67 @@ BASE_TARGETS:=uclibc
|
||||
endif
|
||||
TARGETS:=
|
||||
|
||||
# setup our paths
|
||||
include project/Makefile.in
|
||||
# silent mode requested?
|
||||
QUIET:=$(if $(findstring s,$(MAKEFLAGS)),-q)
|
||||
|
||||
BR2_DEPENDS_DIR=$(PROJECT_BUILD_DIR)/buildroot-config
|
||||
# Strip off the annoying quoting
|
||||
ARCH:=$(call qstrip,$(BR2_ARCH))
|
||||
ifeq ($(ARCH),xtensa)
|
||||
ARCH:=$(ARCH)_$(call qstrip,$(BR2_xtensa_core_name))
|
||||
endif
|
||||
WGET:=$(call qstrip,$(BR2_WGET)) $(SPIDER) $(QUIET)
|
||||
SVN_CO:=$(call qstrip,$(BR2_SVN_CO)) $(QUIET)
|
||||
SVN_UP:=$(call qstrip,$(BR2_SVN_UP)) $(QUIET)
|
||||
BZR_CO:=$(call qstrip,$(BR2_BZR_CO)) $(QUIET)
|
||||
BZR_UP:=$(call qstrip,$(BR2_BZR_UP)) $(QUIET)
|
||||
GIT:=$(call qstrip,$(BR2_GIT)) $(QUIET)
|
||||
ZCAT:=$(call qstrip,$(BR2_ZCAT))
|
||||
BZCAT:=$(call qstrip,$(BR2_BZCAT))
|
||||
TAR_OPTIONS=$(call qstrip,$(BR2_TAR_OPTIONS)) -xf
|
||||
|
||||
ifneq ("$(origin O)", "command line")
|
||||
O:=output
|
||||
else
|
||||
# other packages might also support Linux-style out of tree builds
|
||||
# with the O=<dir> syntax (E.G. Busybox does). As make automatically
|
||||
# forwards command line variable definitions those packages get very
|
||||
# confused. Fix this by telling make to not do so
|
||||
MAKEOVERRIDES =
|
||||
endif
|
||||
|
||||
BASE_DIR := $(shell mkdir -p $(O) && cd $(O) && pwd)
|
||||
$(if $(BASE_DIR),, $(error output directory "$(O)" does not exist))
|
||||
|
||||
DL_DIR=$(call qstrip,$(BR2_DL_DIR))
|
||||
ifeq ($(DL_DIR),)
|
||||
DL_DIR:=$(TOPDIR)/dl
|
||||
endif
|
||||
|
||||
BUILD_DIR:=$(BASE_DIR)/build
|
||||
|
||||
GNU_TARGET_SUFFIX:=-$(call qstrip,$(BR2_GNU_TARGET_SUFFIX))
|
||||
|
||||
STAGING_DIR:=$(call qstrip,$(BR2_STAGING_DIR))
|
||||
|
||||
# packages compiled for the host goes here
|
||||
HOST_DIR:=$(BASE_DIR)/host
|
||||
|
||||
# stamp (dependency) files go here
|
||||
STAMP_DIR:=$(BASE_DIR)/stamps
|
||||
|
||||
BINARIES_DIR:=$(BASE_DIR)/images
|
||||
TARGET_DIR:=$(BASE_DIR)/target
|
||||
|
||||
# define values for prepatched source trees for toolchains
|
||||
VENDOR_SITE:=$(call qstrip,$(BR2_VENDOR_SITE))
|
||||
VENDOR_SUFFIX:=$(call qstrip,$(BR2_VENDOR_SUFFIX))
|
||||
VENDOR_BINUTILS_RELEASE:=$(call qstrip,$(BR2_VENDOR_BINUTILS_RELEASE))
|
||||
VENDOR_GCC_RELEASE:=$(call qstrip,$(BR2_VENDOR_GCC_RELEASE))
|
||||
VENDOR_UCLIBC_RELEASE:=$(call qstrip,$(BR2_VENDOR_UCLIBC_RELEASE))
|
||||
VENDOR_GDB_RELEASE:=$(call qstrip,$(BR2_VENDOR_GDB_RELEASE))
|
||||
VENDOR_PATCH_DIR:=$(call qstrip,$(BR2_VENDOR_PATCH_DIR))
|
||||
|
||||
BR2_DEPENDS_DIR=$(BUILD_DIR)/buildroot-config
|
||||
|
||||
include toolchain/Makefile.in
|
||||
include package/Makefile.in
|
||||
@@ -233,8 +281,6 @@ all: world
|
||||
# In this section, we need .config
|
||||
include .config.cmd
|
||||
|
||||
include project/*.mk
|
||||
|
||||
# We also need the various per-package makefiles, which also add
|
||||
# each selected package to TARGETS if that package was selected
|
||||
# in the .config file.
|
||||
@@ -285,21 +331,19 @@ $(BR2_DEPENDS_DIR): .config
|
||||
mkdir -p $(@D)
|
||||
cp -dpRf $(CONFIG)/buildroot-config $@
|
||||
|
||||
dirs: $(DL_DIR) $(TOOL_BUILD_DIR) $(BUILD_DIR) $(STAGING_DIR) $(TARGET_DIR) \
|
||||
$(HOST_DIR) $(BR2_DEPENDS_DIR) $(BINARIES_DIR) $(PROJECT_BUILD_DIR) \
|
||||
$(PROJECT_BUILD_DIR)/autotools-stamps $(STAMP_DIR)
|
||||
dirs: $(DL_DIR) $(TOOLCHAIN_DIR) $(BUILD_DIR) $(STAGING_DIR) $(TARGET_DIR) \
|
||||
$(HOST_DIR) $(BR2_DEPENDS_DIR) $(BINARIES_DIR) $(STAMP_DIR)
|
||||
|
||||
$(BASE_TARGETS): dirs
|
||||
|
||||
world: dependencies dirs target-host-info $(BASE_TARGETS) $(TARGETS_ALL)
|
||||
world: dependencies dirs $(BASE_TARGETS) $(TARGETS_ALL)
|
||||
|
||||
|
||||
.PHONY: all world dirs clean dirclean distclean source \
|
||||
.PHONY: all world dirs clean distclean source \
|
||||
$(BASE_TARGETS) $(TARGETS) $(TARGETS_ALL) \
|
||||
$(TARGETS_CLEAN) $(TARGETS_DIRCLEAN) $(TARGETS_SOURCE) \
|
||||
$(DL_DIR) $(TOOL_BUILD_DIR) $(BUILD_DIR) $(STAGING_DIR) $(TARGET_DIR) \
|
||||
$(HOST_DIR) $(BR2_DEPENDS_DIR) $(BINARIES_DIR) $(PROJECT_BUILD_DIR) \
|
||||
$(PROJECT_BUILD_DIR)/autotools-stamps $(STAMP_DIR)
|
||||
$(DL_DIR) $(TOOLCHAIN_DIR) $(BUILD_DIR) $(STAGING_DIR) $(TARGET_DIR) \
|
||||
$(HOST_DIR) $(BR2_DEPENDS_DIR) $(BINARIES_DIR) $(STAMP_DIR)
|
||||
|
||||
#############################################################
|
||||
#
|
||||
@@ -307,8 +351,7 @@ world: dependencies dirs target-host-info $(BASE_TARGETS) $(TARGETS_ALL)
|
||||
# dependencies anywhere else
|
||||
#
|
||||
#############################################################
|
||||
$(DL_DIR) $(TOOL_BUILD_DIR) $(BUILD_DIR) $(HOST_DIR) $(PROJECT_BUILD_DIR) \
|
||||
$(PROJECT_BUILD_DIR)/autotools-stamps $(BINARIES_DIR) $(STAMP_DIR):
|
||||
$(DL_DIR) $(TOOLCHAIN_DIR) $(BUILD_DIR) $(HOST_DIR) $(BINARIES_DIR) $(STAMP_DIR):
|
||||
@mkdir -p $@
|
||||
|
||||
$(STAGING_DIR):
|
||||
@@ -326,7 +369,7 @@ endif
|
||||
endif
|
||||
@mkdir -p $(STAGING_DIR)/usr/include
|
||||
|
||||
$(PROJECT_BUILD_DIR)/.root:
|
||||
$(BUILD_DIR)/.root:
|
||||
mkdir -p $(TARGET_DIR)
|
||||
if ! [ -d "$(TARGET_DIR)/bin" ]; then \
|
||||
if [ -d "$(TARGET_SKELETON)" ]; then \
|
||||
@@ -337,14 +380,14 @@ $(PROJECT_BUILD_DIR)/.root:
|
||||
fi; \
|
||||
touch $(STAGING_DIR)/.fakeroot.00000; \
|
||||
fi
|
||||
-find $(TARGET_DIR) -type d -name CVS -o -name .svn -print0 | xargs -0 rm -rf
|
||||
-find $(TARGET_DIR) -type d -name CVS -print0 -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
|
||||
$(TARGET_DIR): $(BUILD_DIR)/.root
|
||||
|
||||
erase-fakeroots:
|
||||
rm -f $(PROJECT_BUILD_DIR)/.fakeroot*
|
||||
rm -f $(BUILD_DIR)/.fakeroot*
|
||||
|
||||
target-finalize:
|
||||
ifeq ($(BR2_HAVE_DEVFILES),y)
|
||||
@@ -363,14 +406,17 @@ endif
|
||||
find $(TARGET_DIR) -type f -perm +111 | xargs $(STRIPCMD) 2>/dev/null || true
|
||||
$(TARGET_LDCONFIG) -r $(TARGET_DIR) 2>/dev/null
|
||||
|
||||
mkdir -p $(TARGET_DIR)/etc
|
||||
echo $(BR2_VERSION)$(shell $(TOPDIR)/scripts/setlocalversion) > \
|
||||
$(TARGET_DIR)/etc/br-version
|
||||
|
||||
ifneq ($(BR2_ROOTFS_POST_BUILD_SCRIPT),"")
|
||||
$(BR2_ROOTFS_POST_BUILD_SCRIPT) $(TARGET_DIR)
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_ENABLE_LOCALE_PURGE),y)
|
||||
LOCALE_WHITELIST=$(PROJECT_BUILD_DIR)/locales.nopurge
|
||||
LOCALE_NOPURGE=$(strip $(subst ",,$(BR2_ENABLE_LOCALE_WHITELIST)))
|
||||
#"))
|
||||
LOCALE_WHITELIST=$(BUILD_DIR)/locales.nopurge
|
||||
LOCALE_NOPURGE=$(call qstrip,$(BR2_ENABLE_LOCALE_WHITELIST))
|
||||
|
||||
target-purgelocales:
|
||||
rm -f $(LOCALE_WHITELIST)
|
||||
@@ -394,34 +440,6 @@ external-deps:
|
||||
@$(MAKE) -Bs BR2_WGET=$(TOPDIR)/toolchain/wget-show-external-deps.sh \
|
||||
SPIDER=--spider source
|
||||
|
||||
#############################################################
|
||||
#
|
||||
# Cleanup and misc junk
|
||||
#
|
||||
#############################################################
|
||||
clean: $(TARGETS_CLEAN)
|
||||
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 $(STAMP_DIR)
|
||||
|
||||
distclean:
|
||||
ifeq ($(DL_DIR),$(BASE_DIR)/dl)
|
||||
rm -rf $(DL_DIR)
|
||||
endif
|
||||
rm -rf $(TOOL_BUILD_DIR) $(BUILD_DIR) $(PROJECT_BUILD_DIR) $(BINARIES_DIR) \
|
||||
.config.cmd
|
||||
$(MAKE) -C $(CONFIG) clean
|
||||
|
||||
sourceball:
|
||||
rm -rf $(BUILD_DIR) $(PROJECT_BUILD_DIR) $(BINARIES_DIR)
|
||||
set -e; \
|
||||
cd ..; \
|
||||
rm -f buildroot.tar.bz2; \
|
||||
tar -cvf buildroot.tar buildroot; \
|
||||
bzip2 -9 buildroot.tar; \
|
||||
|
||||
|
||||
else # ifeq ($(BR2_HAVE_DOT_CONFIG),y)
|
||||
|
||||
all: menuconfig
|
||||
@@ -493,7 +511,6 @@ allyesconfig: $(CONFIG)/conf
|
||||
@KCONFIG_AUTOCONFIG=$(CONFIG)/buildroot-config/auto.conf \
|
||||
KCONFIG_AUTOHEADER=$(CONFIG)/buildroot-config/autoconf.h \
|
||||
$(CONFIG)/conf -y $(CONFIG_CONFIG_IN)
|
||||
#sed -i -e "s/^CONFIG_DEBUG.*/# CONFIG_DEBUG is not set/" .config
|
||||
|
||||
allnoconfig: $(CONFIG)/conf
|
||||
@mkdir -p $(CONFIG)/buildroot-config
|
||||
@@ -501,6 +518,33 @@ allnoconfig: $(CONFIG)/conf
|
||||
KCONFIG_AUTOHEADER=$(CONFIG)/buildroot-config/autoconf.h \
|
||||
$(CONFIG)/conf -n $(CONFIG_CONFIG_IN)
|
||||
|
||||
randpackageconfig: $(CONFIG)/conf
|
||||
@mkdir -p $(CONFIG)/buildroot-config
|
||||
@grep -v BR2_PACKAGE_ .config > .config.nopkg
|
||||
@KCONFIG_AUTOCONFIG=$(CONFIG)/buildroot-config/auto.conf \
|
||||
KCONFIG_AUTOHEADER=$(CONFIG)/buildroot-config/autoconf.h \
|
||||
KCONFIG_ALLCONFIG=.config.nopkg \
|
||||
$(CONFIG)/conf -r $(CONFIG_CONFIG_IN)
|
||||
@rm -f .config.nopkg
|
||||
|
||||
allyespackageconfig: $(CONFIG)/conf
|
||||
@mkdir -p $(CONFIG)/buildroot-config
|
||||
@grep -v BR2_PACKAGE_ .config > .config.nopkg
|
||||
@KCONFIG_AUTOCONFIG=$(CONFIG)/buildroot-config/auto.conf \
|
||||
KCONFIG_AUTOHEADER=$(CONFIG)/buildroot-config/autoconf.h \
|
||||
KCONFIG_ALLCONFIG=.config.nopkg \
|
||||
$(CONFIG)/conf -y $(CONFIG_CONFIG_IN)
|
||||
@rm -f .config.nopkg
|
||||
|
||||
allnopackageconfig: $(CONFIG)/conf
|
||||
@mkdir -p $(CONFIG)/buildroot-config
|
||||
@grep -v BR2_PACKAGE_ .config > .config.nopkg
|
||||
@KCONFIG_AUTOCONFIG=$(CONFIG)/buildroot-config/auto.conf \
|
||||
KCONFIG_AUTOHEADER=$(CONFIG)/buildroot-config/autoconf.h \
|
||||
KCONFIG_ALLCONFIG=.config.nopkg \
|
||||
$(CONFIG)/conf -n $(CONFIG_CONFIG_IN)
|
||||
@rm -f .config.nopkg
|
||||
|
||||
defconfig: $(CONFIG)/conf
|
||||
@mkdir -p $(CONFIG)/buildroot-config
|
||||
@KCONFIG_AUTOCONFIG=$(CONFIG)/buildroot-config/auto.conf \
|
||||
@@ -511,49 +555,43 @@ defconfig: $(CONFIG)/conf
|
||||
source-check: allyesconfig
|
||||
$(MAKE) _source-check
|
||||
|
||||
endif # ifeq ($(BR2_HAVE_DOT_CONFIG),y)
|
||||
|
||||
#############################################################
|
||||
#
|
||||
# Cleanup and misc junk
|
||||
#
|
||||
#############################################################
|
||||
clean:
|
||||
rm -f .config .config.old .config.cmd .tmpconfig.h .lognr.*
|
||||
-$(MAKE) -C $(CONFIG) clean
|
||||
rm -rf $(STAGING_DIR) $(TARGET_DIR) $(BINARIES_DIR) $(HOST_DIR) \
|
||||
$(STAMP_DIR) $(BUILD_DIR) $(TOOLCHAIN_DIR)
|
||||
|
||||
distclean: clean
|
||||
rm -rf sources/*
|
||||
|
||||
|
||||
endif # ifeq ($(BR2_HAVE_DOT_CONFIG),y)
|
||||
ifeq ($(DL_DIR),$(TOPDIR)/dl)
|
||||
rm -rf $(DL_DIR)
|
||||
endif
|
||||
ifeq ($(O),output)
|
||||
rm -rf $(O)
|
||||
endif
|
||||
rm -rf .config .config.old .config.cmd .auto.deps
|
||||
-$(MAKE) -C $(CONFIG) clean
|
||||
|
||||
flush:
|
||||
rm -f $(PROJECT_BUILD_DIR)/tgt-config.cache
|
||||
rm -f $(BUILD_DIR)/tgt-config.cache
|
||||
|
||||
%_defconfig: $(CONFIG)/conf
|
||||
cp $(shell find ./target/ -name $@) .config
|
||||
-@$(MAKE) oldconfig
|
||||
|
||||
update:
|
||||
cp .config $(BOARD_PATH)/$(PROJECT)_defconfig
|
||||
%_defconfig: $(TOPDIR)/configs/%_defconfig
|
||||
cp $^ .config
|
||||
@$(MAKE) oldconfig
|
||||
|
||||
configured: dirs host-sed kernel-headers uclibc-config busybox-config linux26-config
|
||||
|
||||
prepatch: gcc-patched binutils-patched gdb-patched uclibc-patched
|
||||
|
||||
.lognr.$(PROJECT):
|
||||
@echo "0" > .lognr.$(PROJECT)
|
||||
|
||||
log: .lognr.$(PROJECT)
|
||||
@expr `cat .lognr.$(PROJECT)` + 1 > .lognr.$(PROJECT)
|
||||
@echo Creating $(PROJECT)-`cat .lognr.$(PROJECT)`.log
|
||||
@$(MAKE) > $(PROJECT)-`cat .lognr.$(PROJECT)`.log 2>&1
|
||||
|
||||
|
||||
cross: $(BASE_TARGETS)
|
||||
|
||||
help:
|
||||
@echo 'Cleaning:'
|
||||
@echo ' clean - delete temporary files created by build'
|
||||
@echo ' clean - delete all files created by build'
|
||||
@echo ' distclean - delete all non-source files (including .config)'
|
||||
@echo
|
||||
@echo 'Build:'
|
||||
@@ -561,11 +599,16 @@ help:
|
||||
@echo
|
||||
@echo 'Configuration:'
|
||||
@echo ' menuconfig - interactive curses-based configurator'
|
||||
@echo ' xconfig - interactive Qt-based configurator'
|
||||
@echo ' xconfig - interactive Qt-based configurator'
|
||||
@echo ' oldconfig - resolve any unresolved symbols in .config'
|
||||
@echo ' randconfig - New config with random answer to all options'
|
||||
@echo ' defconfig - New config with default answer to all options'
|
||||
@echo ' allyesconfig - New config where all options are accepted with yes'
|
||||
@echo ' allnoconfig - New config where all options are answered with no'
|
||||
@echo ' randpackageconfig - New config with random answer to package options'
|
||||
@echo ' allyespackageconfig - New config where pkg options are accepted with yes'
|
||||
@echo ' allnopackageconfig - New config where package options are answered with no'
|
||||
@echo ' configured - make {uclibc/busybox/linux26}-config'
|
||||
@echo ' saveconfig - save current configuration under local/<project>'
|
||||
@echo ' getconfig - restore saved configuration from local/<project>'
|
||||
@echo
|
||||
@echo 'Miscellaneous:'
|
||||
@echo ' source - download all sources needed for offline-build'
|
||||
@@ -573,6 +616,9 @@ help:
|
||||
@echo ' external-deps - list external packages used'
|
||||
@echo ' flush - flush configuration cache'
|
||||
@echo
|
||||
@$(foreach b, $(notdir $(wildcard $(TOPDIR)/configs/*_defconfig)), \
|
||||
printf " %-35s - Build for %s\\n" $(b) $(b:_defconfig=);)
|
||||
@echo
|
||||
@echo 'See docs/README and docs/buildroot.html for further details'
|
||||
@echo
|
||||
|
||||
@@ -582,6 +628,5 @@ release: distclean
|
||||
tar cfz $$OUT.tar.gz --exclude .svn --exclude .git --exclude \*~ $$OUT; \
|
||||
rm -rf $$OUT
|
||||
|
||||
.PHONY: dummy subdirs release distclean clean config oldconfig \
|
||||
menuconfig xconfig tags check test depend defconfig help
|
||||
.PHONY: $(noconfig_targets)
|
||||
|
||||
|
||||
@@ -138,7 +138,7 @@ BR2_GIT="git clone"
|
||||
BR2_ZCAT="gzip -d -c"
|
||||
BR2_BZCAT="bzcat"
|
||||
BR2_TAR_OPTIONS=""
|
||||
BR2_DL_DIR="$(BASE_DIR)/dl"
|
||||
BR2_DL_DIR="$(TOPDIR)/dl"
|
||||
BR2_COPYTO=""
|
||||
|
||||
#
|
||||
@@ -680,7 +680,7 @@ BR2_PACKAGE_XSERVER_none=y
|
||||
#
|
||||
# BR2_PACKAGE_GZIP is not set
|
||||
# BR2_PACKAGE_LZO is not set
|
||||
# BR2_PACKAGE_LZMA_TARGET is not set
|
||||
# BR2_PACKAGE_LZMA is not set
|
||||
# BR2_PACKAGE_LZMA_HOST is not set
|
||||
# BR2_PACKAGE_ZLIB is not set
|
||||
|
||||
@@ -143,7 +143,7 @@ BR2_GIT="git clone"
|
||||
BR2_ZCAT="gzip -d -c"
|
||||
BR2_BZCAT="bzcat"
|
||||
BR2_TAR_OPTIONS=""
|
||||
BR2_DL_DIR="$(BASE_DIR)/dl"
|
||||
BR2_DL_DIR="$(TOPDIR)/dl"
|
||||
BR2_COPYTO=""
|
||||
|
||||
#
|
||||
@@ -283,7 +283,7 @@ BR2_GCC_SHARED_LIBGCC=y
|
||||
# Ccache Options
|
||||
#
|
||||
BR2_CCACHE=y
|
||||
BR2_CCACHE_DIR="$(TOOL_BUILD_DIR)/ccache-$(CCACHE_VER)/cache"
|
||||
BR2_CCACHE_DIR="$(TOOLCHAIN_DIR)/ccache-$(CCACHE_VER)/cache"
|
||||
|
||||
#
|
||||
# Gdb Options
|
||||
@@ -343,7 +343,7 @@ BR2_BUSYBOX_VERSION_1_13_X=y
|
||||
BR2_BUSYBOX_VERSION="1.13.2"
|
||||
BR2_PACKAGE_BUSYBOX_FULLINSTALL=y
|
||||
BR2_PACKAGE_BUSYBOX_CONFIG="package/busybox/busybox-1.13.x.config"
|
||||
BR2_PACKAGE_BUSYBOX_HIDE_OTHERS=y
|
||||
# BR2_PACKAGE_BUSYBOX_SHOW_OTHERS is not set
|
||||
# BR2_PACKAGE_BUSYBOX_SKELETON is not set
|
||||
|
||||
#
|
||||
@@ -788,7 +788,7 @@ BR2_PACKAGE_LIBGLIB2=y
|
||||
# Compressors / decompressors
|
||||
#
|
||||
BR2_PACKAGE_LZO=y
|
||||
# BR2_PACKAGE_LZMA_TARGET is not set
|
||||
# BR2_PACKAGE_LZMA is not set
|
||||
# BR2_PACKAGE_LZMA_HOST is not set
|
||||
BR2_PACKAGE_ZLIB=y
|
||||
# BR2_PACKAGE_ZLIB_TARGET_HEADERS is not set
|
||||
@@ -138,7 +138,7 @@ BR2_GIT="git clone"
|
||||
BR2_ZCAT="gzip -d -c"
|
||||
BR2_BZCAT="bzcat"
|
||||
BR2_TAR_OPTIONS=""
|
||||
BR2_DL_DIR="$(BASE_DIR)/dl"
|
||||
BR2_DL_DIR="$(TOPDIR)/dl"
|
||||
BR2_COPYTO=""
|
||||
|
||||
#
|
||||
@@ -600,7 +600,7 @@ BR2_PACKAGE_XSERVER_none=y
|
||||
#
|
||||
# BR2_PACKAGE_GZIP is not set
|
||||
# BR2_PACKAGE_LZO is not set
|
||||
# BR2_PACKAGE_LZMA_TARGET is not set
|
||||
# BR2_PACKAGE_LZMA is not set
|
||||
# BR2_PACKAGE_LZMA_HOST is not set
|
||||
# BR2_PACKAGE_ZLIB is not set
|
||||
|
||||
@@ -149,7 +149,7 @@ BR2_GIT="git clone"
|
||||
BR2_ZCAT="gzip -d -c"
|
||||
BR2_BZCAT="bzcat"
|
||||
BR2_TAR_OPTIONS=""
|
||||
BR2_DL_DIR="$(BASE_DIR)/dl"
|
||||
BR2_DL_DIR="$(TOPDIR)/dl"
|
||||
BR2_COPYTO=""
|
||||
|
||||
#
|
||||
@@ -268,7 +268,7 @@ BR2_BUSYBOX_VERSION_1_13_X=y
|
||||
BR2_BUSYBOX_VERSION="1.13.2"
|
||||
BR2_PACKAGE_BUSYBOX_FULLINSTALL=y
|
||||
BR2_PACKAGE_BUSYBOX_CONFIG="package/busybox/busybox-1.13.x.config"
|
||||
BR2_PACKAGE_BUSYBOX_HIDE_OTHERS=y
|
||||
# BR2_PACKAGE_BUSYBOX_SHOW_OTHERS is not set
|
||||
# BR2_PACKAGE_BUSYBOX_SKELETON is not set
|
||||
|
||||
#
|
||||
@@ -713,7 +713,7 @@ BR2_PACKAGE_LIBGLIB2=y
|
||||
# Compressors / decompressors
|
||||
#
|
||||
BR2_PACKAGE_LZO=y
|
||||
# BR2_PACKAGE_LZMA_TARGET is not set
|
||||
# BR2_PACKAGE_LZMA is not set
|
||||
# BR2_PACKAGE_LZMA_HOST is not set
|
||||
BR2_PACKAGE_ZLIB=y
|
||||
# BR2_PACKAGE_ZLIB_TARGET_HEADERS is not set
|
||||
@@ -156,7 +156,7 @@ BR2_GIT="git clone"
|
||||
BR2_ZCAT="gzip -d -c"
|
||||
BR2_BZCAT="bzcat"
|
||||
BR2_TAR_OPTIONS=""
|
||||
BR2_DL_DIR="$(BASE_DIR)/dl"
|
||||
BR2_DL_DIR="$(TOPDIR)/dl"
|
||||
BR2_COPYTO=""
|
||||
|
||||
#
|
||||
@@ -303,7 +303,7 @@ BR2_GCC_SHARED_LIBGCC=y
|
||||
# Ccache Options
|
||||
#
|
||||
BR2_CCACHE=y
|
||||
BR2_CCACHE_DIR="$(TOOL_BUILD_DIR)/ccache-$(CCACHE_VER)/cache"
|
||||
BR2_CCACHE_DIR="$(TOOLCHAIN_DIR)/ccache-$(CCACHE_VER)/cache"
|
||||
|
||||
#
|
||||
# Gdb Options
|
||||
@@ -355,7 +355,7 @@ BR2_BUSYBOX_VERSION_1_13_X=y
|
||||
BR2_BUSYBOX_VERSION="1.13.2"
|
||||
BR2_PACKAGE_BUSYBOX_FULLINSTALL=y
|
||||
BR2_PACKAGE_BUSYBOX_CONFIG="package/busybox/busybox-1.13.x.config"
|
||||
BR2_PACKAGE_BUSYBOX_HIDE_OTHERS=y
|
||||
# BR2_PACKAGE_BUSYBOX_SHOW_OTHERS is not set
|
||||
# BR2_PACKAGE_BUSYBOX_SKELETON is not set
|
||||
|
||||
#
|
||||
@@ -802,7 +802,7 @@ BR2_PACKAGE_LIBGLIB2=y
|
||||
# Compressors / decompressors
|
||||
#
|
||||
BR2_PACKAGE_LZO=y
|
||||
# BR2_PACKAGE_LZMA_TARGET is not set
|
||||
# BR2_PACKAGE_LZMA is not set
|
||||
# BR2_PACKAGE_LZMA_HOST is not set
|
||||
BR2_PACKAGE_ZLIB=y
|
||||
# BR2_PACKAGE_ZLIB_TARGET_HEADERS is not set
|
||||
@@ -138,7 +138,7 @@ BR2_GIT="git clone"
|
||||
BR2_ZCAT="gzip -d -c"
|
||||
BR2_BZCAT="bzcat"
|
||||
BR2_TAR_OPTIONS=""
|
||||
BR2_DL_DIR="$(BASE_DIR)/dl"
|
||||
BR2_DL_DIR="$(TOPDIR)/dl"
|
||||
BR2_COPYTO=""
|
||||
|
||||
#
|
||||
@@ -600,7 +600,7 @@ BR2_PACKAGE_XSERVER_none=y
|
||||
#
|
||||
# BR2_PACKAGE_GZIP is not set
|
||||
# BR2_PACKAGE_LZO is not set
|
||||
# BR2_PACKAGE_LZMA_TARGET is not set
|
||||
# BR2_PACKAGE_LZMA is not set
|
||||
# BR2_PACKAGE_LZMA_HOST is not set
|
||||
# BR2_PACKAGE_ZLIB is not set
|
||||
|
||||
@@ -157,7 +157,7 @@ BR2_GIT="git clone"
|
||||
BR2_ZCAT="gzip -d -c"
|
||||
BR2_BZCAT="bzcat"
|
||||
BR2_TAR_OPTIONS=""
|
||||
BR2_DL_DIR="$(BASE_DIR)/dl"
|
||||
BR2_DL_DIR="$(TOPDIR)/dl"
|
||||
BR2_COPYTO=""
|
||||
|
||||
#
|
||||
@@ -276,7 +276,7 @@ BR2_BUSYBOX_VERSION_1_13_X=y
|
||||
BR2_BUSYBOX_VERSION="1.13.2"
|
||||
BR2_PACKAGE_BUSYBOX_FULLINSTALL=y
|
||||
BR2_PACKAGE_BUSYBOX_CONFIG="package/busybox/busybox-1.13.x.config"
|
||||
BR2_PACKAGE_BUSYBOX_HIDE_OTHERS=y
|
||||
# BR2_PACKAGE_BUSYBOX_SHOW_OTHERS is not set
|
||||
# BR2_PACKAGE_BUSYBOX_SKELETON is not set
|
||||
|
||||
#
|
||||
@@ -721,7 +721,7 @@ BR2_PACKAGE_LIBGLIB2=y
|
||||
# Compressors / decompressors
|
||||
#
|
||||
BR2_PACKAGE_LZO=y
|
||||
# BR2_PACKAGE_LZMA_TARGET is not set
|
||||
# BR2_PACKAGE_LZMA is not set
|
||||
# BR2_PACKAGE_LZMA_HOST is not set
|
||||
BR2_PACKAGE_ZLIB=y
|
||||
# BR2_PACKAGE_ZLIB_TARGET_HEADERS is not set
|
||||
@@ -241,7 +241,7 @@ BR2_BUSYBOX_VERSION_1_13_X=y
|
||||
BR2_BUSYBOX_VERSION="1.13.4"
|
||||
BR2_PACKAGE_BUSYBOX_INSTALL_SYMLINKS=y
|
||||
BR2_PACKAGE_BUSYBOX_CONFIG="package/busybox/busybox-1.13.x.config"
|
||||
# BR2_PACKAGE_BUSYBOX_HIDE_OTHERS is not set
|
||||
BR2_PACKAGE_BUSYBOX_SHOW_OTHERS=y
|
||||
# BR2_PACKAGE_BUSYBOX_SKELETON is not set
|
||||
|
||||
#
|
||||
@@ -533,8 +533,8 @@ BR2_PACKAGE_TSLIB=y
|
||||
BR2_COMPRESSOR_SUPPORT=y
|
||||
BR2_PACKAGE_GZIP=y
|
||||
BR2_PACKAGE_LZO=y
|
||||
BR2_PACKAGE_LZMA_TARGET=y
|
||||
# BR2_PACKAGE_LZMA_TARGET_HEADERS is not set
|
||||
BR2_PACKAGE_LZMA=y
|
||||
# BR2_PACKAGE_LZMA_HEADERS is not set
|
||||
BR2_PACKAGE_LZMA_HOST=y
|
||||
BR2_PACKAGE_ZLIB=y
|
||||
# BR2_PACKAGE_ZLIB_TARGET_HEADERS is not set
|
||||
@@ -159,7 +159,7 @@ BR2_GIT="git clone"
|
||||
BR2_ZCAT="gzip -d -c"
|
||||
BR2_BZCAT="bzcat"
|
||||
BR2_TAR_OPTIONS=""
|
||||
BR2_DL_DIR="$(BASE_DIR)/dl"
|
||||
BR2_DL_DIR="$(TOPDIR)/dl"
|
||||
BR2_COPYTO=""
|
||||
|
||||
#
|
||||
@@ -306,7 +306,7 @@ BR2_GCC_SHARED_LIBGCC=y
|
||||
# Ccache Options
|
||||
#
|
||||
BR2_CCACHE=y
|
||||
BR2_CCACHE_DIR="$(TOOL_BUILD_DIR)/ccache-$(CCACHE_VER)/cache"
|
||||
BR2_CCACHE_DIR="$(TOOLCHAIN_DIR)/ccache-$(CCACHE_VER)/cache"
|
||||
|
||||
#
|
||||
# Gdb Options
|
||||
@@ -349,7 +349,7 @@ BR2_BUSYBOX_VERSION_1_13_X=y
|
||||
BR2_BUSYBOX_VERSION="1.13.2"
|
||||
BR2_PACKAGE_BUSYBOX_FULLINSTALL=y
|
||||
BR2_PACKAGE_BUSYBOX_CONFIG="package/busybox/busybox-1.13.x.config"
|
||||
BR2_PACKAGE_BUSYBOX_HIDE_OTHERS=y
|
||||
# BR2_PACKAGE_BUSYBOX_SHOW_OTHERS is not set
|
||||
# BR2_PACKAGE_BUSYBOX_SKELETON is not set
|
||||
|
||||
#
|
||||
@@ -817,8 +817,8 @@ BR2_PACKAGE_TSLIB=y
|
||||
# Compressors / decompressors
|
||||
#
|
||||
BR2_PACKAGE_LZO=y
|
||||
BR2_PACKAGE_LZMA_TARGET=y
|
||||
# BR2_PACKAGE_LZMA_TARGET_HEADERS is not set
|
||||
BR2_PACKAGE_LZMA=y
|
||||
# BR2_PACKAGE_LZMA_HEADERS is not set
|
||||
BR2_PACKAGE_LZMA_HOST=y
|
||||
BR2_PACKAGE_ZLIB=y
|
||||
# BR2_PACKAGE_ZLIB_TARGET_HEADERS is not set
|
||||
@@ -141,7 +141,7 @@ BR2_GIT="git clone"
|
||||
BR2_ZCAT="gzip -d -c"
|
||||
BR2_BZCAT="bzcat"
|
||||
BR2_TAR_OPTIONS=""
|
||||
BR2_DL_DIR="$(BASE_DIR)/dl"
|
||||
BR2_DL_DIR="$(TOPDIR)/dl"
|
||||
BR2_COPYTO=""
|
||||
|
||||
#
|
||||
@@ -603,7 +603,7 @@ BR2_PACKAGE_XSERVER_none=y
|
||||
#
|
||||
# BR2_PACKAGE_GZIP is not set
|
||||
# BR2_PACKAGE_LZO is not set
|
||||
# BR2_PACKAGE_LZMA_TARGET is not set
|
||||
# BR2_PACKAGE_LZMA is not set
|
||||
# BR2_PACKAGE_LZMA_HOST is not set
|
||||
# BR2_PACKAGE_ZLIB is not set
|
||||
|
||||
@@ -160,7 +160,7 @@ BR2_GIT="git clone"
|
||||
BR2_ZCAT="gzip -d -c"
|
||||
BR2_BZCAT="bzcat"
|
||||
BR2_TAR_OPTIONS=""
|
||||
BR2_DL_DIR="$(BASE_DIR)/dl"
|
||||
BR2_DL_DIR="$(TOPDIR)/dl"
|
||||
BR2_COPYTO=""
|
||||
|
||||
#
|
||||
@@ -307,7 +307,7 @@ BR2_BUSYBOX_VERSION_1_13_X=y
|
||||
BR2_BUSYBOX_VERSION="1.13.2"
|
||||
BR2_PACKAGE_BUSYBOX_FULLINSTALL=y
|
||||
BR2_PACKAGE_BUSYBOX_CONFIG="package/busybox/busybox-1.13.x.config"
|
||||
BR2_PACKAGE_BUSYBOX_HIDE_OTHERS=y
|
||||
# BR2_PACKAGE_BUSYBOX_SHOW_OTHERS is not set
|
||||
# BR2_PACKAGE_BUSYBOX_SKELETON is not set
|
||||
|
||||
#
|
||||
@@ -773,8 +773,8 @@ BR2_PACKAGE_TSLIB=y
|
||||
# Compressors / decompressors
|
||||
#
|
||||
BR2_PACKAGE_LZO=y
|
||||
BR2_PACKAGE_LZMA_TARGET=y
|
||||
# BR2_PACKAGE_LZMA_TARGET_HEADERS is not set
|
||||
BR2_PACKAGE_LZMA=y
|
||||
# BR2_PACKAGE_LZMA_HEADERS is not set
|
||||
BR2_PACKAGE_LZMA_HOST=y
|
||||
BR2_PACKAGE_ZLIB=y
|
||||
# BR2_PACKAGE_ZLIB_TARGET_HEADERS is not set
|
||||
@@ -157,7 +157,7 @@ BR2_GIT="git clone"
|
||||
BR2_ZCAT="gzip -d -c"
|
||||
BR2_BZCAT="bzcat"
|
||||
BR2_TAR_OPTIONS=""
|
||||
BR2_DL_DIR="$(BASE_DIR)/dl"
|
||||
BR2_DL_DIR="$(TOPDIR)/dl"
|
||||
BR2_COPYTO=""
|
||||
|
||||
#
|
||||
@@ -297,7 +297,7 @@ BR2_GCC_SHARED_LIBGCC=y
|
||||
# Ccache Options
|
||||
#
|
||||
BR2_CCACHE=y
|
||||
BR2_CCACHE_DIR="$(TOOL_BUILD_DIR)/ccache-$(CCACHE_VER)/cache"
|
||||
BR2_CCACHE_DIR="$(TOOLCHAIN_DIR)/ccache-$(CCACHE_VER)/cache"
|
||||
|
||||
#
|
||||
# Gdb Options
|
||||
@@ -348,7 +348,7 @@ BR2_BUSYBOX_VERSION_1_13_X=y
|
||||
BR2_BUSYBOX_VERSION="1.13.2"
|
||||
BR2_PACKAGE_BUSYBOX_FULLINSTALL=y
|
||||
BR2_PACKAGE_BUSYBOX_CONFIG="package/busybox/busybox-1.13.x.config"
|
||||
BR2_PACKAGE_BUSYBOX_HIDE_OTHERS=y
|
||||
# BR2_PACKAGE_BUSYBOX_SHOW_OTHERS is not set
|
||||
# BR2_PACKAGE_BUSYBOX_SKELETON is not set
|
||||
|
||||
#
|
||||
@@ -814,8 +814,8 @@ BR2_PACKAGE_TSLIB=y
|
||||
# Compressors / decompressors
|
||||
#
|
||||
BR2_PACKAGE_LZO=y
|
||||
BR2_PACKAGE_LZMA_TARGET=y
|
||||
# BR2_PACKAGE_LZMA_TARGET_HEADERS is not set
|
||||
BR2_PACKAGE_LZMA=y
|
||||
# BR2_PACKAGE_LZMA_HEADERS is not set
|
||||
BR2_PACKAGE_LZMA_HOST=y
|
||||
BR2_PACKAGE_ZLIB=y
|
||||
# BR2_PACKAGE_ZLIB_TARGET_HEADERS is not set
|
||||
@@ -140,7 +140,7 @@ BR2_GIT="git clone"
|
||||
BR2_ZCAT="gzip -d -c"
|
||||
BR2_BZCAT="bzcat"
|
||||
BR2_TAR_OPTIONS=""
|
||||
BR2_DL_DIR="$(BASE_DIR)/dl"
|
||||
BR2_DL_DIR="$(TOPDIR)/dl"
|
||||
BR2_COPYTO=""
|
||||
|
||||
#
|
||||
@@ -602,7 +602,7 @@ BR2_PACKAGE_XSERVER_none=y
|
||||
#
|
||||
# BR2_PACKAGE_GZIP is not set
|
||||
# BR2_PACKAGE_LZO is not set
|
||||
# BR2_PACKAGE_LZMA_TARGET is not set
|
||||
# BR2_PACKAGE_LZMA is not set
|
||||
# BR2_PACKAGE_LZMA_HOST is not set
|
||||
# BR2_PACKAGE_ZLIB is not set
|
||||
|
||||
@@ -159,7 +159,7 @@ BR2_GIT="git clone"
|
||||
BR2_ZCAT="gzip -d -c"
|
||||
BR2_BZCAT="bzcat"
|
||||
BR2_TAR_OPTIONS=""
|
||||
BR2_DL_DIR="$(BASE_DIR)/dl"
|
||||
BR2_DL_DIR="$(TOPDIR)/dl"
|
||||
BR2_COPYTO=""
|
||||
|
||||
#
|
||||
@@ -269,7 +269,7 @@ BR2_BUSYBOX_VERSION_1_13_X=y
|
||||
BR2_BUSYBOX_VERSION="1.13.2"
|
||||
BR2_PACKAGE_BUSYBOX_FULLINSTALL=y
|
||||
BR2_PACKAGE_BUSYBOX_CONFIG="package/busybox/busybox-1.13.x.config"
|
||||
BR2_PACKAGE_BUSYBOX_HIDE_OTHERS=y
|
||||
# BR2_PACKAGE_BUSYBOX_SHOW_OTHERS is not set
|
||||
# BR2_PACKAGE_BUSYBOX_SKELETON is not set
|
||||
|
||||
#
|
||||
@@ -735,8 +735,8 @@ BR2_PACKAGE_TSLIB=y
|
||||
# Compressors / decompressors
|
||||
#
|
||||
BR2_PACKAGE_LZO=y
|
||||
BR2_PACKAGE_LZMA_TARGET=y
|
||||
# BR2_PACKAGE_LZMA_TARGET_HEADERS is not set
|
||||
BR2_PACKAGE_LZMA=y
|
||||
# BR2_PACKAGE_LZMA_HEADERS is not set
|
||||
BR2_PACKAGE_LZMA_HOST=y
|
||||
BR2_PACKAGE_ZLIB=y
|
||||
# BR2_PACKAGE_ZLIB_TARGET_HEADERS is not set
|
||||
@@ -157,7 +157,7 @@ BR2_GIT="git clone"
|
||||
BR2_ZCAT="gzip -d -c"
|
||||
BR2_BZCAT="bzcat"
|
||||
BR2_TAR_OPTIONS=""
|
||||
BR2_DL_DIR="$(BASE_DIR)/dl"
|
||||
BR2_DL_DIR="$(TOPDIR)/dl"
|
||||
BR2_COPYTO=""
|
||||
|
||||
#
|
||||
@@ -297,7 +297,7 @@ BR2_GCC_SHARED_LIBGCC=y
|
||||
# Ccache Options
|
||||
#
|
||||
BR2_CCACHE=y
|
||||
BR2_CCACHE_DIR="$(TOOL_BUILD_DIR)/ccache-$(CCACHE_VER)/cache"
|
||||
BR2_CCACHE_DIR="$(TOOLCHAIN_DIR)/ccache-$(CCACHE_VER)/cache"
|
||||
|
||||
#
|
||||
# Gdb Options
|
||||
@@ -348,7 +348,7 @@ BR2_BUSYBOX_VERSION_1_13_X=y
|
||||
BR2_BUSYBOX_VERSION="1.13.2"
|
||||
BR2_PACKAGE_BUSYBOX_FULLINSTALL=y
|
||||
BR2_PACKAGE_BUSYBOX_CONFIG="package/busybox/busybox-1.13.x.config"
|
||||
BR2_PACKAGE_BUSYBOX_HIDE_OTHERS=y
|
||||
# BR2_PACKAGE_BUSYBOX_SHOW_OTHERS is not set
|
||||
# BR2_PACKAGE_BUSYBOX_SKELETON is not set
|
||||
|
||||
#
|
||||
@@ -736,7 +736,7 @@ BR2_PACKAGE_XSERVER_none=y
|
||||
# Compressors / decompressors
|
||||
#
|
||||
# BR2_PACKAGE_LZO is not set
|
||||
# BR2_PACKAGE_LZMA_TARGET is not set
|
||||
# BR2_PACKAGE_LZMA is not set
|
||||
# BR2_PACKAGE_LZMA_HOST is not set
|
||||
BR2_PACKAGE_ZLIB=y
|
||||
# BR2_PACKAGE_ZLIB_TARGET_HEADERS is not set
|
||||
@@ -138,7 +138,7 @@ BR2_GIT="git clone"
|
||||
BR2_ZCAT="gzip -d -c"
|
||||
BR2_BZCAT="bzcat"
|
||||
BR2_TAR_OPTIONS=""
|
||||
BR2_DL_DIR="$(BASE_DIR)/dl"
|
||||
BR2_DL_DIR="$(TOPDIR)/dl"
|
||||
BR2_COPYTO=""
|
||||
|
||||
#
|
||||
@@ -600,7 +600,7 @@ BR2_PACKAGE_XSERVER_none=y
|
||||
#
|
||||
# BR2_PACKAGE_GZIP is not set
|
||||
# BR2_PACKAGE_LZO is not set
|
||||
# BR2_PACKAGE_LZMA_TARGET is not set
|
||||
# BR2_PACKAGE_LZMA is not set
|
||||
# BR2_PACKAGE_LZMA_HOST is not set
|
||||
# BR2_PACKAGE_ZLIB is not set
|
||||
|
||||
@@ -157,7 +157,7 @@ BR2_GIT="git clone"
|
||||
BR2_ZCAT="gzip -d -c"
|
||||
BR2_BZCAT="bzcat"
|
||||
BR2_TAR_OPTIONS=""
|
||||
BR2_DL_DIR="$(BASE_DIR)/dl"
|
||||
BR2_DL_DIR="$(TOPDIR)/dl"
|
||||
BR2_COPYTO=""
|
||||
|
||||
#
|
||||
@@ -276,7 +276,7 @@ BR2_BUSYBOX_VERSION_1_13_X=y
|
||||
BR2_BUSYBOX_VERSION="1.13.2"
|
||||
BR2_PACKAGE_BUSYBOX_FULLINSTALL=y
|
||||
BR2_PACKAGE_BUSYBOX_CONFIG="package/busybox/busybox-1.13.x.config"
|
||||
BR2_PACKAGE_BUSYBOX_HIDE_OTHERS=y
|
||||
# BR2_PACKAGE_BUSYBOX_SHOW_OTHERS is not set
|
||||
# BR2_PACKAGE_BUSYBOX_SKELETON is not set
|
||||
|
||||
#
|
||||
@@ -721,7 +721,7 @@ BR2_PACKAGE_LIBGLIB2=y
|
||||
# Compressors / decompressors
|
||||
#
|
||||
BR2_PACKAGE_LZO=y
|
||||
# BR2_PACKAGE_LZMA_TARGET is not set
|
||||
# BR2_PACKAGE_LZMA is not set
|
||||
# BR2_PACKAGE_LZMA_HOST is not set
|
||||
BR2_PACKAGE_ZLIB=y
|
||||
# BR2_PACKAGE_ZLIB_TARGET_HEADERS is not set
|
||||
@@ -91,7 +91,7 @@ BR2_GIT="git clone"
|
||||
BR2_ZCAT="zcat"
|
||||
BR2_BZCAT="bzcat"
|
||||
BR2_TAR_OPTIONS=""
|
||||
BR2_DL_DIR="$(BASE_DIR)/dl"
|
||||
BR2_DL_DIR="$(TOPDIR)/dl"
|
||||
BR2_COPYTO=""
|
||||
|
||||
#
|
||||
@@ -277,7 +277,7 @@ BR2_BUSYBOX_VERSION_1_14_X=y
|
||||
BR2_BUSYBOX_VERSION="1.14.0"
|
||||
BR2_PACKAGE_BUSYBOX_FULLINSTALL=y
|
||||
BR2_PACKAGE_BUSYBOX_CONFIG="package/busybox/busybox-1.13.x.config"
|
||||
BR2_PACKAGE_BUSYBOX_HIDE_OTHERS=y
|
||||
# BR2_PACKAGE_BUSYBOX_SHOW_OTHERS is not set
|
||||
BR2_PACKAGE_BUSYBOX_SKELETON=y
|
||||
|
||||
#
|
||||
@@ -91,7 +91,7 @@ BR2_GIT="git clone"
|
||||
BR2_ZCAT="zcat"
|
||||
BR2_BZCAT="bzcat"
|
||||
BR2_TAR_OPTIONS=""
|
||||
BR2_DL_DIR="$(BASE_DIR)/dl"
|
||||
BR2_DL_DIR="$(TOPDIR)/dl"
|
||||
BR2_COPYTO=""
|
||||
|
||||
#
|
||||
@@ -237,7 +237,7 @@ BR2_GCC_SHARED_LIBGCC=y
|
||||
# Ccache Options
|
||||
#
|
||||
BR2_CCACHE=y
|
||||
BR2_CCACHE_DIR="$(TOOL_BUILD_DIR)/ccache-$(CCACHE_VER)/cache"
|
||||
BR2_CCACHE_DIR="$(TOOLCHAIN_DIR)/ccache-$(CCACHE_VER)/cache"
|
||||
|
||||
#
|
||||
# Gdb Options
|
||||
@@ -288,7 +288,7 @@ BR2_BUSYBOX_VERSION_1_14_X=y
|
||||
BR2_BUSYBOX_VERSION="1.14.0"
|
||||
BR2_PACKAGE_BUSYBOX_FULLINSTALL=y
|
||||
BR2_PACKAGE_BUSYBOX_CONFIG="package/busybox/busybox-1.13.x.config"
|
||||
BR2_PACKAGE_BUSYBOX_HIDE_OTHERS=y
|
||||
# BR2_PACKAGE_BUSYBOX_SHOW_OTHERS is not set
|
||||
BR2_PACKAGE_BUSYBOX_SKELETON=y
|
||||
|
||||
#
|
||||
@@ -665,7 +665,7 @@ BR2_PACKAGE_LIBGLIB2=y
|
||||
#
|
||||
BR2_PACKAGE_LZO=y
|
||||
# BR2_PACKAGE_LZOP is not set
|
||||
# BR2_PACKAGE_LZMA_TARGET is not set
|
||||
# BR2_PACKAGE_LZMA is not set
|
||||
# BR2_PACKAGE_LZMA_HOST is not set
|
||||
BR2_PACKAGE_ZLIB=y
|
||||
# BR2_PACKAGE_ZLIB_TARGET_HEADERS is not set
|
||||
@@ -89,7 +89,7 @@ BR2_GIT="git clone"
|
||||
BR2_ZCAT="zcat"
|
||||
BR2_BZCAT="bzcat"
|
||||
BR2_TAR_OPTIONS=""
|
||||
BR2_DL_DIR="$(BASE_DIR)/dl"
|
||||
BR2_DL_DIR="$(TOPDIR)/dl"
|
||||
BR2_COPYTO=""
|
||||
|
||||
#
|
||||
@@ -296,7 +296,7 @@ BR2_BUSYBOX_VERSION_1_13_X=y
|
||||
BR2_BUSYBOX_VERSION="1.13.4"
|
||||
BR2_PACKAGE_BUSYBOX_FULLINSTALL=y
|
||||
BR2_PACKAGE_BUSYBOX_CONFIG="package/busybox/busybox-1.13.x.config"
|
||||
BR2_PACKAGE_BUSYBOX_HIDE_OTHERS=y
|
||||
# BR2_PACKAGE_BUSYBOX_SHOW_OTHERS is not set
|
||||
BR2_PACKAGE_BUSYBOX_SKELETON=y
|
||||
|
||||
#
|
||||
@@ -707,7 +707,7 @@ BR2_PACKAGE_LIBGLIB2=y
|
||||
# Compressors / decompressors
|
||||
#
|
||||
BR2_PACKAGE_LZO=y
|
||||
# BR2_PACKAGE_LZMA_TARGET is not set
|
||||
# BR2_PACKAGE_LZMA is not set
|
||||
# BR2_PACKAGE_LZMA_HOST is not set
|
||||
BR2_PACKAGE_ZLIB=y
|
||||
# BR2_PACKAGE_ZLIB_TARGET_HEADERS is not set
|
||||
@@ -90,7 +90,7 @@ BR2_GIT="git clone"
|
||||
BR2_ZCAT="zcat"
|
||||
BR2_BZCAT="bzcat"
|
||||
BR2_TAR_OPTIONS=""
|
||||
BR2_DL_DIR="$(BASE_DIR)/dl"
|
||||
BR2_DL_DIR="$(TOPDIR)/dl"
|
||||
BR2_COPYTO=""
|
||||
|
||||
#
|
||||
@@ -289,7 +289,7 @@ BR2_BUSYBOX_VERSION_1_14_X=y
|
||||
BR2_BUSYBOX_VERSION="1.14.0"
|
||||
BR2_PACKAGE_BUSYBOX_FULLINSTALL=y
|
||||
BR2_PACKAGE_BUSYBOX_CONFIG="target/device/Atmel/atstk100x/busybox-1.9.1.config"
|
||||
# BR2_PACKAGE_BUSYBOX_HIDE_OTHERS is not set
|
||||
BR2_PACKAGE_BUSYBOX_SHOW_OTHERS=y
|
||||
BR2_PACKAGE_BUSYBOX_SKELETON=y
|
||||
|
||||
#
|
||||
@@ -690,7 +690,6 @@ BR2_PACKAGE_QT=y
|
||||
# BR2_PACKAGE_QT_DEBUG is not set
|
||||
BR2_PACKAGE_QT_SHARED=y
|
||||
# BR2_PACKAGE_QT_STATIC is not set
|
||||
# BR2_PACKAGE_QT_LICENSE_TYPE_COMMERCIAL is not set
|
||||
# BR2_PACKAGE_QT_LICENSE_APPROVED is not set
|
||||
# BR2_PACKAGE_QT_QT3SUPPORT is not set
|
||||
BR2_PACKAGE_QT_GUI_MODULE=y
|
||||
@@ -702,7 +701,6 @@ BR2_PACKAGE_QT_GUI_MODULE=y
|
||||
#
|
||||
# Deselecting each option leads to Qt's default (8,16,32)
|
||||
#
|
||||
# BR2_PACKAGE_QT_PIXEL_DEPTH_ALL is not set
|
||||
# BR2_PACKAGE_QT_PIXEL_DEPTH_1 is not set
|
||||
# BR2_PACKAGE_QT_PIXEL_DEPTH_4 is not set
|
||||
BR2_PACKAGE_QT_PIXEL_DEPTH_8=y
|
||||
@@ -812,7 +810,7 @@ BR2_PACKAGE_LIBGLIB2=y
|
||||
# BR2_PACKAGE_GZIP is not set
|
||||
BR2_PACKAGE_LZO=y
|
||||
# BR2_PACKAGE_LZOP is not set
|
||||
# BR2_PACKAGE_LZMA_TARGET is not set
|
||||
# BR2_PACKAGE_LZMA is not set
|
||||
# BR2_PACKAGE_LZMA_HOST is not set
|
||||
BR2_PACKAGE_ZLIB=y
|
||||
# BR2_PACKAGE_ZLIB_TARGET_HEADERS is not set
|
||||
@@ -91,7 +91,7 @@ BR2_GIT="git clone"
|
||||
BR2_ZCAT="gzip -d -c"
|
||||
BR2_BZCAT="bzcat"
|
||||
BR2_TAR_OPTIONS=""
|
||||
BR2_DL_DIR="$(BASE_DIR)/dl"
|
||||
BR2_DL_DIR="$(TOPDIR)/dl"
|
||||
BR2_COPYTO=""
|
||||
|
||||
#
|
||||
@@ -276,7 +276,7 @@ BR2_BUSYBOX_VERSION_1_14_X=y
|
||||
BR2_BUSYBOX_VERSION="1.14.0"
|
||||
BR2_PACKAGE_BUSYBOX_FULLINSTALL=y
|
||||
BR2_PACKAGE_BUSYBOX_CONFIG="package/busybox/busybox-1.13.x.config"
|
||||
BR2_PACKAGE_BUSYBOX_HIDE_OTHERS=y
|
||||
# BR2_PACKAGE_BUSYBOX_SHOW_OTHERS is not set
|
||||
# BR2_PACKAGE_BUSYBOX_SKELETON is not set
|
||||
|
||||
#
|
||||
@@ -642,7 +642,7 @@ BR2_PACKAGE_XSERVER_none=y
|
||||
#
|
||||
BR2_PACKAGE_LZO=y
|
||||
# BR2_PACKAGE_LZOP is not set
|
||||
# BR2_PACKAGE_LZMA_TARGET is not set
|
||||
# BR2_PACKAGE_LZMA is not set
|
||||
# BR2_PACKAGE_LZMA_HOST is not set
|
||||
BR2_PACKAGE_ZLIB=y
|
||||
# BR2_PACKAGE_ZLIB_TARGET_HEADERS is not set
|
||||
@@ -91,7 +91,7 @@ BR2_GIT="git clone"
|
||||
BR2_ZCAT="gzip -d -c"
|
||||
BR2_BZCAT="bzcat"
|
||||
BR2_TAR_OPTIONS=""
|
||||
BR2_DL_DIR="$(BASE_DIR)/dl"
|
||||
BR2_DL_DIR="$(TOPDIR)/dl"
|
||||
BR2_COPYTO=""
|
||||
|
||||
#
|
||||
@@ -276,7 +276,7 @@ BR2_BUSYBOX_VERSION_1_14_X=y
|
||||
BR2_BUSYBOX_VERSION="1.14.0"
|
||||
BR2_PACKAGE_BUSYBOX_FULLINSTALL=y
|
||||
BR2_PACKAGE_BUSYBOX_CONFIG="package/busybox/busybox-1.13.x.config"
|
||||
BR2_PACKAGE_BUSYBOX_HIDE_OTHERS=y
|
||||
# BR2_PACKAGE_BUSYBOX_SHOW_OTHERS is not set
|
||||
# BR2_PACKAGE_BUSYBOX_SKELETON is not set
|
||||
|
||||
#
|
||||
@@ -642,7 +642,7 @@ BR2_PACKAGE_XSERVER_none=y
|
||||
#
|
||||
BR2_PACKAGE_LZO=y
|
||||
# BR2_PACKAGE_LZOP is not set
|
||||
# BR2_PACKAGE_LZMA_TARGET is not set
|
||||
# BR2_PACKAGE_LZMA is not set
|
||||
# BR2_PACKAGE_LZMA_HOST is not set
|
||||
BR2_PACKAGE_ZLIB=y
|
||||
# BR2_PACKAGE_ZLIB_TARGET_HEADERS is not set
|
||||
@@ -87,7 +87,7 @@ BR2_GIT="git clone"
|
||||
BR2_ZCAT="gzip -d -c"
|
||||
BR2_BZCAT="bzcat"
|
||||
BR2_TAR_OPTIONS=""
|
||||
BR2_DL_DIR="$(BASE_DIR)/dl"
|
||||
BR2_DL_DIR="$(TOPDIR)/dl"
|
||||
BR2_COPYTO=""
|
||||
|
||||
#
|
||||
@@ -273,7 +273,7 @@ BR2_BUSYBOX_VERSION_1_13_X=y
|
||||
BR2_BUSYBOX_VERSION="1.13.4"
|
||||
BR2_PACKAGE_BUSYBOX_FULLINSTALL=y
|
||||
BR2_PACKAGE_BUSYBOX_CONFIG="package/busybox/busybox-1.13.x.config"
|
||||
BR2_PACKAGE_BUSYBOX_HIDE_OTHERS=y
|
||||
# BR2_PACKAGE_BUSYBOX_SHOW_OTHERS is not set
|
||||
BR2_PACKAGE_BUSYBOX_SKELETON=y
|
||||
|
||||
#
|
||||
@@ -640,7 +640,7 @@ BR2_PACKAGE_XSERVER_none=y
|
||||
# Compressors / decompressors
|
||||
#
|
||||
# BR2_PACKAGE_LZO is not set
|
||||
# BR2_PACKAGE_LZMA_TARGET is not set
|
||||
# BR2_PACKAGE_LZMA is not set
|
||||
# BR2_PACKAGE_LZMA_HOST is not set
|
||||
BR2_PACKAGE_ZLIB=y
|
||||
# BR2_PACKAGE_ZLIB_TARGET_HEADERS is not set
|
||||
@@ -87,7 +87,7 @@ BR2_GIT="git clone"
|
||||
BR2_ZCAT="gzip -d -c"
|
||||
BR2_BZCAT="bzcat"
|
||||
BR2_TAR_OPTIONS=""
|
||||
BR2_DL_DIR="$(BASE_DIR)/dl"
|
||||
BR2_DL_DIR="$(TOPDIR)/dl"
|
||||
BR2_COPYTO=""
|
||||
|
||||
#
|
||||
@@ -274,7 +274,7 @@ BR2_BUSYBOX_VERSION_1_13_X=y
|
||||
BR2_BUSYBOX_VERSION="1.13.4"
|
||||
BR2_PACKAGE_BUSYBOX_FULLINSTALL=y
|
||||
BR2_PACKAGE_BUSYBOX_CONFIG="package/busybox/busybox-1.13.x.config"
|
||||
BR2_PACKAGE_BUSYBOX_HIDE_OTHERS=y
|
||||
# BR2_PACKAGE_BUSYBOX_SHOW_OTHERS is not set
|
||||
BR2_PACKAGE_BUSYBOX_SKELETON=y
|
||||
|
||||
#
|
||||
@@ -616,8 +616,8 @@ BR2_PACKAGE_XSERVER_none=y
|
||||
# Compressors / decompressors
|
||||
#
|
||||
# BR2_PACKAGE_LZO is not set
|
||||
BR2_PACKAGE_LZMA_TARGET=y
|
||||
# BR2_PACKAGE_LZMA_TARGET_HEADERS is not set
|
||||
BR2_PACKAGE_LZMA=y
|
||||
# BR2_PACKAGE_LZMA_HEADERS is not set
|
||||
# BR2_PACKAGE_LZMA_HOST is not set
|
||||
BR2_PACKAGE_ZLIB=y
|
||||
# BR2_PACKAGE_ZLIB_TARGET_HEADERS is not set
|
||||
@@ -98,7 +98,7 @@ BR2_GIT="git clone"
|
||||
BR2_ZCAT="gzip -d -c"
|
||||
BR2_BZCAT="bzcat"
|
||||
BR2_TAR_OPTIONS=""
|
||||
BR2_DL_DIR="$(BASE_DIR)/dl"
|
||||
BR2_DL_DIR="$(TOPDIR)/dl"
|
||||
|
||||
#
|
||||
# Mirrors and Download locations
|
||||
@@ -268,7 +268,7 @@ BR2_BUSYBOX_VERSION_1_13_X=y
|
||||
BR2_BUSYBOX_VERSION="1.13.4"
|
||||
BR2_PACKAGE_BUSYBOX_FULLINSTALL=y
|
||||
BR2_PACKAGE_BUSYBOX_CONFIG="package/busybox/busybox-1.13.x.config"
|
||||
# BR2_PACKAGE_BUSYBOX_HIDE_OTHERS is not set
|
||||
BR2_PACKAGE_BUSYBOX_SHOW_OTHERS=y
|
||||
# BR2_PACKAGE_BUSYBOX_SKELETON is not set
|
||||
|
||||
#
|
||||
@@ -632,7 +632,7 @@ BR2_X11_PREFIX="/usr"
|
||||
BR2_COMPRESSOR_SUPPORT=y
|
||||
# BR2_PACKAGE_GZIP is not set
|
||||
# BR2_PACKAGE_LZO is not set
|
||||
# BR2_PACKAGE_LZMA_TARGET is not set
|
||||
# BR2_PACKAGE_LZMA is not set
|
||||
# BR2_PACKAGE_LZMA_HOST is not set
|
||||
# BR2_PACKAGE_ZLIB is not set
|
||||
BR2_SCRIPTING_SUPPORT=y
|
||||
@@ -69,7 +69,7 @@ BR2_GIT="git clone"
|
||||
BR2_ZCAT="zcat"
|
||||
BR2_BZCAT="bzcat"
|
||||
BR2_TAR_OPTIONS=""
|
||||
BR2_DL_DIR="$(BASE_DIR)/dl"
|
||||
BR2_DL_DIR="$(TOPDIR)/dl"
|
||||
|
||||
#
|
||||
# Mirrors and Download locations
|
||||
@@ -258,7 +258,7 @@ BR2_BUSYBOX_VERSION_1_12_X=y
|
||||
BR2_BUSYBOX_VERSION="1.12.1"
|
||||
BR2_PACKAGE_BUSYBOX_FULLINSTALL=y
|
||||
BR2_PACKAGE_BUSYBOX_CONFIG="target/device/valka/v100sc2/busybox.config"
|
||||
# BR2_PACKAGE_BUSYBOX_HIDE_OTHERS is not set
|
||||
BR2_PACKAGE_BUSYBOX_SHOW_OTHERS=y
|
||||
BR2_PACKAGE_BUSYBOX_SKELETON=y
|
||||
|
||||
#
|
||||
@@ -546,11 +546,11 @@ BR2_PACKAGE_QT=y
|
||||
# BR2_PACKAGE_QT_DEBUG is not set
|
||||
BR2_PACKAGE_QT_SHARED=y
|
||||
# BR2_PACKAGE_QT_STATIC is not set
|
||||
BR2_PACKAGE_QT_LICENSE_TYPE_GPL=y
|
||||
# BR2_PACKAGE_QT_LICENSE_TYPE_COMMERCIAL is not set
|
||||
BR2_PACKAGE_QT_GPL_LICENSE_APPROVED=y
|
||||
# BR2_PACKAGE_QT_QT3SUPPORT is not set
|
||||
BR2_PACKAGE_QT_DEPTHS="-depths 24,16,8"
|
||||
BR2_PACKAGE_QT_PIXEL_DEPTH_8=y
|
||||
BR2_PACKAGE_QT_PIXEL_DEPTH_16=y
|
||||
BR2_PACKAGE_QT_PIXEL_DEPTH_24=y
|
||||
BR2_PACKAGE_QT_GIF=y
|
||||
# BR2_PACKAGE_QT_LIBMNG is not set
|
||||
# BR2_PACKAGE_QT_NOJPEG is not set
|
||||
@@ -653,7 +653,7 @@ BR2_PACKAGE_LIBGLIB2=y
|
||||
BR2_COMPRESSOR_SUPPORT=y
|
||||
# BR2_PACKAGE_GZIP is not set
|
||||
BR2_PACKAGE_LZO=y
|
||||
# BR2_PACKAGE_LZMA_TARGET is not set
|
||||
# BR2_PACKAGE_LZMA is not set
|
||||
# BR2_PACKAGE_LZMA_HOST is not set
|
||||
BR2_PACKAGE_ZLIB=y
|
||||
# BR2_PACKAGE_ZLIB_TARGET_HEADERS is not set
|
||||
@@ -24,32 +24,32 @@
|
||||
<li><a href="#about">About Buildroot</a></li>
|
||||
<li><a href="#download">Obtaining Buildroot</a></li>
|
||||
<li><a href="#using">Using Buildroot</a></li>
|
||||
<li><a href="#custom_targetfs">Customizing the target filesystem</a></li>
|
||||
<li><a href="#custom_targetfs">Customizing the generated target filesystem</a></li>
|
||||
<li><a href="#custom_busybox">Customizing the Busybox
|
||||
configuration</a></li>
|
||||
<li><a href="#custom_uclibc">Customizing the uClibc
|
||||
configuration</a></li>
|
||||
<li><a href="#custom_linux26">Customizing the Linux kernel
|
||||
configuration</a></li>
|
||||
<li><a href="#rebuilding_packages">Understanding how to rebuild packages</a></li>
|
||||
<li><a href="#buildroot_innards">How Buildroot works</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="#adapting_rootfs">Adapting the rootfs for own binaries</a></li>
|
||||
<li><a href="#add_software">Extending Buildroot with more
|
||||
Software</a></li>
|
||||
<li><a href="#board_support">Creating your own board support</a></li>
|
||||
<li><a href="#links">Resources</a></li>
|
||||
</ul>
|
||||
|
||||
<h2><a name="about" id="about"></a>About Buildroot</h2>
|
||||
|
||||
<p>Buildroot is a set of Makefiles and patches that allow to easily
|
||||
generate both a cross-compilation toolchain and a root filesystem for your
|
||||
target. The cross-compilation toolchain uses uClibc (<a href=
|
||||
"http://www.uclibc.org/">http://www.uclibc.org/</a>), a tiny C standard
|
||||
library. </p>
|
||||
<p>Buildroot is a set of Makefiles and patches that allow to
|
||||
easily generate a cross-compilation toolchain, a root filesystem
|
||||
and a Linux kernel image for your target. Buildroot can be used
|
||||
for either one, two or all of these options, independently.</p>
|
||||
|
||||
<p>Buildroot is useful mainly for people working with embedded systems.
|
||||
Embedded systems often use processors that are not the regular x86
|
||||
@@ -169,10 +169,6 @@
|
||||
<p>For each entry of the configuration tool, you can find associated help
|
||||
that describes the purpose of the entry. </p>
|
||||
|
||||
<p>One of the key configuration items is the <code>PROJECT</code> which
|
||||
determines where some board specific packages are built and where the
|
||||
results are stored. </p>
|
||||
|
||||
<p>Once everything is configured, the configuration tool has generated a
|
||||
<code>.config</code> file that contains the description of your
|
||||
configuration. It will be used by the Makefiles to do what's needed. </p>
|
||||
@@ -184,48 +180,57 @@
|
||||
$ make
|
||||
</pre>
|
||||
|
||||
<p>This command will download, configure and compile all the selected
|
||||
tools, and finally generate a target filesystem. The target filesystem will
|
||||
be named <code>root_fs_ARCH.EXT</code> where <code>ARCH</code> is your
|
||||
architecture and <code>EXT</code> depends on the type of target filesystem
|
||||
selected in the <code>Target options</code> section of the configuration
|
||||
tool.
|
||||
The file is stored in the "binaries/<code>$(PROJECT)</code>/" directory</p>
|
||||
<p>This command will download, configure and compile all the
|
||||
selected tools, and finally generate a toolchain, a root
|
||||
filesystem image and a kernel image (or only one of these
|
||||
elements, depending on the configuration).</p>
|
||||
|
||||
<h3><a name="local_board_support" id="local_board_support"></a>
|
||||
Creating your own board support</h3>
|
||||
<p>Buildroot output is stored in a single directory,
|
||||
<code>output/</code>. This directory contains several
|
||||
subdirectories:</p>
|
||||
|
||||
<p>Once a package has been unpacked, it is possible to manually update
|
||||
configuration files. Buildroot can automatically save the configuration
|
||||
of buildroot, linux, busybox, uclibc and u-boot in "local/$(PROJECT) by
|
||||
using the command:
|
||||
</p>
|
||||
<ul>
|
||||
|
||||
<pre>
|
||||
$ make saveconfig
|
||||
</pre>
|
||||
<li><code>images/</code> where all the images (kernel image,
|
||||
bootloader and root filesystem images) are stored.</li>
|
||||
|
||||
<p>Once a buildroot configuration has been created by saveconfig,
|
||||
the default "$(TOPDIR)/.config" file can be overridden by</p>
|
||||
<li><code>build/</code> where all the components are built
|
||||
(tools needed to run Buildroot on the host and packages compiled
|
||||
for the target). The <code>build/</code> directory contains one
|
||||
subdirectory for each of these components. The toolchain
|
||||
components are however built in a separate directory.</li>
|
||||
|
||||
<pre>
|
||||
$ make BOARD=<project>
|
||||
</pre>
|
||||
<li><code>staging/</code> which contains a hierarchy similar to
|
||||
a root filesystem hierarchy. This directory contains the
|
||||
installation of cross-compilation toolchain and all the
|
||||
userspace packages selected for the target. However, this
|
||||
directory is <i>not</i> intended to be the root filesystem for
|
||||
the target: it contains a lot of development files, unstripped
|
||||
binaries and libraries, that make it far too big for an embedded
|
||||
system.</li>
|
||||
|
||||
<p>Buildroot will then use "local/<project>/<project>.config"
|
||||
instead of ".config". </p>
|
||||
<li><code>target/</code> which contains <i>almost</i> the root
|
||||
filesystem for the target: everything needed is present except
|
||||
the device files in <code>/dev/</code> (Buildroot can't create
|
||||
them because Buildroot doesn't run as root and does not want to
|
||||
run as root). Therefore, this directory <b>should not be used on
|
||||
your target</b> but instead you should use one of the images
|
||||
built in the <code>images/</code> directory. If you need an
|
||||
extracted image of the root filesystem, for booting over NFS,
|
||||
then use the tarball image generated in <code>images/</code> and
|
||||
extract it as root.<br/>Compared to <code>staging/</code>,
|
||||
<code>target/</code> contains only the necessary files to run
|
||||
the libraries and applications: all the development files
|
||||
(headers, etc.) are not present.</li>
|
||||
|
||||
<p>If you want to modify your board, you can copy the project configuration
|
||||
file to ".config" by using the command:</p>
|
||||
<li><code>host/</code> contains the installation of tools
|
||||
compiled for the host that are needed for the proper execution
|
||||
of Buildroot.</li>
|
||||
|
||||
<pre>
|
||||
$ make BOARD=<project> getconfig
|
||||
</pre>
|
||||
|
||||
<p>You can share your custom board support directory between several buildroot trees
|
||||
by setting the environment variable <code>BUILDROOT_LOCAL</code> to this directory,
|
||||
</p>
|
||||
<li><code>toolchain/</code> contains the build directories for
|
||||
the various components of the cross-compilation toolchain.</li>
|
||||
|
||||
</ul>
|
||||
|
||||
<h3><a name="offline_builds" id="offline_builds"></a>
|
||||
Offline builds</h3>
|
||||
@@ -259,13 +264,20 @@
|
||||
<p>Buildroot optionally honors some environment variables that are passed
|
||||
to <code>make</code> :</p>
|
||||
<ul>
|
||||
<li>HOSTCXX</li>
|
||||
<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>
|
||||
<li><code>HOSTCXX</code>, the host C++ compiler to use</li>
|
||||
<li><code>HOSTCC</code>, the host C compiler to use</li>
|
||||
<li><code>UCLIBC_CONFIG_FILE=<path/to/.config></code>, path
|
||||
to the uClibc configuration file to use to compile uClibc if an
|
||||
internal toolchain is selected</li>
|
||||
<li><code>BUSYBOX_CONFIG_FILE=<path/to/.config></code>, path
|
||||
to the Busybox configuration file</li>
|
||||
<li><code>LINUX26_KCONFIG=<path/to/.config></code>, path
|
||||
to the Linux kernel configuration file</li>
|
||||
<li><code>BUILDROOT_COPYTO</code>, an additional location at which
|
||||
the binary images of the root filesystem, kernel, etc. built by
|
||||
Buildroot are copied</li>
|
||||
<li><code>BUILDROOT_DL_DIR</code> to override the directory in
|
||||
which Buildroot stores/retrieves downloaded files</li>
|
||||
</ul>
|
||||
|
||||
<p>An example that uses config files located in the toplevel directory and
|
||||
@@ -289,43 +301,14 @@ $ make HOSTCXX=g++-4.3-HEAD HOSTCC=gcc-4.3-HEAD
|
||||
$ export BUILDROOT_COPYTO=/tftpboot
|
||||
</pre>
|
||||
|
||||
|
||||
<h3><a name="helper_completion" id="helper_completion"></a>
|
||||
Using auto-completion</h3>
|
||||
|
||||
<p>If you are lazy enough that you don't want to type the entire <i>make
|
||||
menuconfig</i> command line, you can enable auto-completion in your shell.
|
||||
Here is how you can do that using <i>bash</i>:</p>
|
||||
<pre>
|
||||
$ complete -W menuconfig make
|
||||
</pre>
|
||||
|
||||
<p>Then just enter the beginning of the line, and ask <i>bash</i> to
|
||||
complete it for you by pressing the <i>TAB</i> key:</p>
|
||||
<pre>
|
||||
$ make me<TAB>
|
||||
</pre>
|
||||
|
||||
<p>will result in <i>bash</i> to append <i>nuconfig</i> for you!</p>
|
||||
|
||||
<p>Alternatively, some distributions (of which Debian and Mandriva are but
|
||||
an example) have more powerful make completion. Depending on you
|
||||
distribution, you may have to install a package to enable completion. Under
|
||||
Mandriva, this is <i>bash-completion</i>, while Debian ships it as part of
|
||||
the <i>bash</i> package.</p>
|
||||
|
||||
<p>Other shells, such as <i>zsh</i>, also have completion facilities. See
|
||||
the documentation for your shell.</p>
|
||||
|
||||
<h2><a name="custom_targetfs" id="custom_targetfs"></a>Customizing the
|
||||
target filesystem</h2>
|
||||
generated target filesystem</h2>
|
||||
|
||||
<p>There are a few ways to customize the resulting target filesystem:</p>
|
||||
|
||||
<ul>
|
||||
<li>Customize the target filesystem directly, and rebuild the image. The
|
||||
target filesystem is available under <code>project_build_ARCH/root/</code>
|
||||
where <code>ARCH</code> is the chosen target architecture.
|
||||
target filesystem is available under <code>output/target/</code>.
|
||||
You can simply make your changes here, and run make afterwards, which will
|
||||
rebuild the target filesystem image. This method allows to do everything
|
||||
on the target filesystem, but if you decide to completely rebuild your
|
||||
@@ -340,21 +323,33 @@ $ make me<TAB>
|
||||
toolchain and the tools. <br />
|
||||
You can also customize the <code>target/generic/device_table.txt</code>
|
||||
file which is used by the tools that generate the target filesystem image
|
||||
to properly set permissions and create device nodes. The
|
||||
<code>target/generic/skel.tar.gz</code> file contains the main
|
||||
directories of a root filesystem and there is no obvious reason for which
|
||||
it should be changed. These main directories are in an tarball inside of
|
||||
inside the skeleton because it contains symlinks that would be broken
|
||||
otherwise. <br />
|
||||
to properly set permissions and create device nodes.<br />
|
||||
These customizations are deployed into
|
||||
<code>project_build_ARCH/root/</code> just before the actual image
|
||||
<code>output/target/</code> just before the actual image
|
||||
is made. So simply rebuilding the image by running
|
||||
make should propagate any new changes to the image. </li>
|
||||
|
||||
<li>When configuring the build system, using <code>make
|
||||
menuconfig</code> or <code>make xconfig</code>, you can specify
|
||||
the contents of the /etc/hostname and /etc/issue (the welcome
|
||||
banner) in the <code>PROJECT</code> section</li>
|
||||
<li>Add support for your own target in Buildroot so that you
|
||||
have your own target skeleton, see <a href="#board_support">this
|
||||
section</a> for details</li>
|
||||
|
||||
<li>In Buildroot configuration, you can specify the path to a
|
||||
post-build script that gets called <i>after</i> Buildroot built
|
||||
all the selected software, but <i>before</i> the the rootfs
|
||||
packages are assembled. The destination root filesystem folder
|
||||
is given as first argument to this script, and this script can
|
||||
then be used to copy programs, static data or any other needed
|
||||
file to your target filesystem.<br/>You should, however, use
|
||||
that feature with care. Whenever you find that a certain package
|
||||
generates wrong or unneeded files, you should rather fix than
|
||||
package than working around it with a cleanup script.</li>
|
||||
|
||||
<li>A special package, <i>customize</i>, stored in
|
||||
<code>package/customize</code> can be used. You can put all the
|
||||
files that you want to see in the final target root filesystem
|
||||
in <code>package/customize/source</code>, and then enable this
|
||||
special package from the configuration system.</li>
|
||||
|
||||
</ul>
|
||||
|
||||
<h2><a name="custom_busybox" id="custom_busybox"></a>Customizing the
|
||||
@@ -423,6 +418,85 @@ $ make me<TAB>
|
||||
<p>If you want to use an existing config file for uclibc, then see
|
||||
section <a href="#environment_variables">environment variables</a>. </p>
|
||||
|
||||
<h2><a name="custom_linux26" id="custom_linux26"></a>Customizing
|
||||
the Linux kernel configuration</h2>
|
||||
|
||||
<p>The Linux kernel configuration can be customized just like <a
|
||||
href="#custom_busybox">BusyBox</a> and <a href="#custom_uclibc">uClibc</a>
|
||||
using <code>make linux26-menuconfig</code>. Make sure you have
|
||||
enabled the kernel build in <code>make menuconfig</code> first.
|
||||
Once done, run <code>make</code> to (re)build everything.</p>
|
||||
|
||||
<p>If you want to use an existing config file for Linux, then see
|
||||
section <a href="#environment_variables">environment variables</a>.</p>
|
||||
|
||||
<h2><a name="#rebuilding_packages"
|
||||
id="rebuilding_packages">Understanding how to rebuild
|
||||
packages</a></h2>
|
||||
|
||||
<p>One of the most common question and issue about Buildroot
|
||||
encountered by users is how to rebuild a given package or how to
|
||||
remove a package without rebuilding everything from scratch.</p>
|
||||
|
||||
<p>Removing a package is currently unsupported by Buildroot
|
||||
without rebuilding from scratch. This is because Buildroot doesn't
|
||||
keep track of which package installs what files in the
|
||||
<code>output/staging</code> and <code>output/target</code>
|
||||
directories. However, implement clean package removal is on the
|
||||
TODO-list of Buildroot developers.</p>
|
||||
|
||||
<p>To rebuild a single package from scratch, the easiest way is to
|
||||
remove its build directory in <code>output/build</code>. Buildroot
|
||||
will then re-extract, re-configure, re-compile and re-install this
|
||||
package from scratch.</p>
|
||||
|
||||
<p>However, if you don't want to rebuild the package completely
|
||||
from scratch, a better understanding of the Buildroot internals is
|
||||
needed. Internally, to keep track of which steps have been done
|
||||
and which steps remains to be done, Buildroot maintains stamps
|
||||
files (i.e, empty files that just tell whether this or this action
|
||||
has been done). The problem is that these stamps files are not
|
||||
uniformely named and handled by the different packages, so some
|
||||
understanding of the particular package is needed.</p>
|
||||
|
||||
<p>For packages relying on the <i>autotools</i> Buildroot
|
||||
infrastructure (see <a href="#add_software">this section</a> for
|
||||
details), the following stamps files are interesting:</p>
|
||||
|
||||
<ul>
|
||||
|
||||
<li><code>output/build/packagename-version/.stamp_configured</code>. If
|
||||
removed, Buildroot will trigger the recompilation of the package
|
||||
from the configuration step (execution of
|
||||
<code>./configure</code>)</li>
|
||||
|
||||
<li><code>output/build/packagename-version/.stamp_built</code>. If
|
||||
removed, Buildroot will trigger the recompilation of the package
|
||||
from the compilation step (execution of <code>make</code>)</li>
|
||||
|
||||
</ul>
|
||||
|
||||
<p>For other packages, an analysis of the specific
|
||||
<i>package.mk</i> file is needed. For example, the zlib Makefile
|
||||
looks like:</p>
|
||||
|
||||
<pre>
|
||||
$(ZLIB_DIR)/.configured: $(ZLIB_DIR)/.patched
|
||||
(cd $(ZLIB_DIR); rm -rf config.cache; \
|
||||
[...]
|
||||
)
|
||||
touch $@
|
||||
|
||||
$(ZLIB_DIR)/libz.a: $(ZLIB_DIR)/.configured
|
||||
$(MAKE) -C $(ZLIB_DIR) all libz.a
|
||||
touch -c $@
|
||||
</pre>
|
||||
|
||||
<p>So, if you want to trigger the reconfiguration, you need to
|
||||
remove <code>output/build/zlib-version/.configured</code> and if
|
||||
you want to trigger only the recompilation, you need to remove
|
||||
<code>output/build/zlib-version/libz.a</code>.</p>
|
||||
|
||||
<h2><a name="buildroot_innards" id="buildroot_innards"></a>How Buildroot
|
||||
works</h2>
|
||||
|
||||
@@ -477,334 +551,147 @@ $ make me<TAB>
|
||||
configuration is done) :</p>
|
||||
|
||||
<ol>
|
||||
<li>Create the download directory (<code>dl/</code> by default). This is
|
||||
where the tarballs will be downloaded. It is interesting to know that the
|
||||
tarballs are in this directory because it may be useful to save them
|
||||
somewhere to avoid further downloads. </li>
|
||||
|
||||
<li>Create the shared build directory (<code>build_ARCH/</code> by
|
||||
default, where <code>ARCH</code> is your architecture). This is where all
|
||||
non configurable user-space tools will be compiled.When building two or
|
||||
more targets using the same architecture, the first build will go through
|
||||
the full download, configure, make process, but the second and later
|
||||
builds will only copy the result from the first build to its project
|
||||
specific target directory significantly speeding up the build process</li>
|
||||
<li>Create all the output directories: <code>staging</code>,
|
||||
<code>target</code>, <code>build</code>, <code>stamps</code>,
|
||||
etc. in the output directory (<code>output/</code> by default,
|
||||
another value can be specified using <code>O=</code>)</li>
|
||||
|
||||
<li>Create the project specific build directory
|
||||
(<code>project_build_ARCH/$(PROJECT)</code> by default, where
|
||||
<code>ARCH</code> is your architecture). This is where all configurable
|
||||
user-space tools will be compiled. The project specific build directory
|
||||
is neccessary, if two different targets needs to use a specific package,
|
||||
but the packages have different configuration for both targets. Some
|
||||
examples of packages built in this directory are busybox and linux.
|
||||
</li>
|
||||
<li>Generate all the targets listed in the
|
||||
<code>BASE_TARGETS</code> variable. When an internal toolchain
|
||||
is used, it means generating the cross-compilation
|
||||
toolchain. When an external toolchain is used, it means checking
|
||||
the features of the external toolchain and importing it into the
|
||||
Buildroot environment.</li>
|
||||
|
||||
<li>Create the project specific result directory
|
||||
(<code>binaries/$(PROJECT)</code> by default, where <code>ARCH</code>
|
||||
is your architecture). This is where the root filesystem images are
|
||||
stored, It is also used to store the linux kernel image and any
|
||||
utilities, boot-loaders etc. needed for a target.
|
||||
</li>
|
||||
<li>Generate all the targets listed in the <code>TARGETS</code>
|
||||
variable. This variable is filled by all the individual
|
||||
components Makefiles. So, generating all these targets will
|
||||
trigger the compilation of the userspace packages (libraries,
|
||||
programs), the kernel, the bootloader and the generation of the
|
||||
root filesystem images, depending on the configuration.</li>
|
||||
|
||||
<li>Create the toolchain build directory
|
||||
(<code>toolchain_build_ARCH/</code> by default, where <code>ARCH</code>
|
||||
is your architecture). This is where the cross compilation toolchain will
|
||||
be compiled. </li>
|
||||
|
||||
<li>Setup the staging directory (<code>build_ARCH/staging_dir/</code> by
|
||||
default). This is where the cross-compilation toolchain will be
|
||||
installed. If you want to use the same cross-compilation toolchain for
|
||||
other purposes, such as compiling third-party applications, you can add
|
||||
<code>build_ARCH/staging_dir/usr/bin</code> to your PATH, and then use
|
||||
<code>arch-linux-gcc</code> to compile your application. In order to
|
||||
setup this staging directory, it first removes it, and then it creates
|
||||
various subdirectories and symlinks inside it. </li>
|
||||
|
||||
<li>Create the target directory (<code>project_build_ARCH/root/</code> by
|
||||
default) and the target filesystem skeleton. This directory will contain
|
||||
the final root filesystem. To setup it up, it first deletes it, then it
|
||||
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/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
|
||||
"subscribe" this package to be compiled by adding it to the
|
||||
TARGETS global variable. </li>
|
||||
</ol>
|
||||
|
||||
<h2><a name="multi_project" id="multi_project"></a>Building several
|
||||
projects in the same buildroot source tree</h2>
|
||||
<h2><a name="board_support" id="board_support"></a>
|
||||
Creating your own board support</h2>
|
||||
|
||||
<p><i>Note: the contents of this section are obsolete since this
|
||||
feature has been implemented.</i></p>
|
||||
<p>Creating your own board support in Buildroot allows you to have
|
||||
a convenient place to store the Busybox, uClibc, kernel
|
||||
configurations, your target filesystem skeleton, and a Buildroot
|
||||
configuration that match your project.</p>
|
||||
|
||||
<h3>Background</h3>
|
||||
<p>Follow these steps to integrate your board in Buildroot:</p>
|
||||
|
||||
<p>Buildroot has always supported building several projects in the same
|
||||
tree if each project was for a different architecture. </p>
|
||||
|
||||
<p>The root file system has been created in the
|
||||
<code>"build_<ARCH>/root"</code>
|
||||
directory which is unique for each architecture.
|
||||
Toolchains have been built in
|
||||
<code>"toolchain_build_<ARCH>"</code>. </p>
|
||||
|
||||
<p> It the user wanted to build several root file systems for the same
|
||||
architecture, a prefix or suffix could be added in the configuration file
|
||||
so the root file system would be built in
|
||||
<code>"<PREFIX>_build_<ARCH>_<SUFFIX>/root"</code>
|
||||
By supplying <u>unique</u> combinations of
|
||||
<code>"<PREFIX>"</code> and
|
||||
<code>"<SUFFIX>"</code>
|
||||
each project would get a <u>unique</u> root file system tree. </p>
|
||||
|
||||
<p>The disadvantage of this approach is that a new toolchain was
|
||||
built for each project, adding considerable time to the build
|
||||
process, even if it was two projects for the same chip. </p>
|
||||
|
||||
<p>This drawback has been somewhat lessened with
|
||||
<code>gcc-4.x.y</code> which allows buildroot to use an external
|
||||
toolchain. Certain packages requires special
|
||||
features in the toolchain, and if an external toolchain is selected,
|
||||
this may lack the neccessary features to complete the build of the root
|
||||
file system.</p>
|
||||
|
||||
<p>A bigger problem was that the
|
||||
<code>"build_<ARCH>"</code> tree
|
||||
was also duplicated, so each </code>package</code> would also
|
||||
be rebuilt once per project, resulting in even longer build times.</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.
|
||||
The toolchain and the package build directory will be shared, but each
|
||||
project will have a dedicated directory tree for project specific
|
||||
builds. </p>
|
||||
|
||||
<p>With this approach, most, if not all packages will be compiled
|
||||
when the first project is built.
|
||||
The process is almost identical to the original process.
|
||||
Packages are downloaded and extracted to the shared
|
||||
<code>"build_<ARCH>/<package>"</code>
|
||||
directory. They are configured and compiled. </p>
|
||||
|
||||
<p>Package libraries and headers are installed in the shared $(STAGING_DIR),
|
||||
and then the project specific root file system "$(TARGET_DIR)"
|
||||
is populated. </p>
|
||||
|
||||
<p>At the end of the build, the root file system will be used
|
||||
to generate the resulting root file system binaries. </p>
|
||||
|
||||
<p>Once the first project has been built, building other projects will
|
||||
typically involve populating the new project's root file system directory
|
||||
from the existing binaries generated in the shared
|
||||
<code>"build_<ARCH>/<>"</code> directory. </p>
|
||||
|
||||
<p>Only packages, not used by the first project, will have to go
|
||||
through the normal extract-configure-compile flow. </p>
|
||||
|
||||
<h3>Implementation</h3>
|
||||
|
||||
<p>The core of the solution is the introduction
|
||||
of two new directories: </p>
|
||||
|
||||
<ul>
|
||||
<li><code>project_build_<ARCH></code></li>
|
||||
|
||||
<li><code>binaries;</code></li>
|
||||
</ul>
|
||||
|
||||
<p>Each of the directories contain one subdirectory per project.
|
||||
The name of the subdirectory is configured by the user in the
|
||||
normal buildroot configuration, using the value of: </p>
|
||||
|
||||
<p><code>Project Options ---> Project name</code></p>
|
||||
|
||||
<p>The configuration defines the $(PROJECT) variable.</p>
|
||||
|
||||
<p>The default project name is <code>"uclibc"</code>.</p>
|
||||
|
||||
<p><code>"package/Makefile.in"</code> defines:
|
||||
<pre>
|
||||
<code>PROJECT_BUILD_DIR:=project_build_$(ARCH)/$(PROJECT)</code>
|
||||
<code>BINARIES_DIR:=binaries/$(PROJECT)</code>
|
||||
</pre>
|
||||
</p>
|
||||
|
||||
<p>It also defines the location for the target root file system:
|
||||
<pre>
|
||||
<code>TARGET_DIR:=$(PROJECT_BUILD_DIR)/$(PROJECT)/root</code>
|
||||
</pre>
|
||||
</p>
|
||||
|
||||
<p>I.E: If the user has choosen
|
||||
<code>"myproject"</code>
|
||||
as the $(PROJECT) name:
|
||||
|
||||
<ul>
|
||||
<li><code>"project_build_<ARCH>/myproject"</code></li>
|
||||
<li><code>"binaries/myproject"</code></li>
|
||||
</ul>
|
||||
|
||||
<p>will be created. </p>
|
||||
|
||||
<p>Currently, the <u>root file system</u>, <u>busybox</u> and an Atmel
|
||||
customized version of
|
||||
<u><code>U-Boot</code></u>, as well as some Atmel specific
|
||||
bootloaders like <u>at91-bootstrap</u> and <u>dataflashboot.bin</u>
|
||||
are built in
|
||||
<code>"$(PROJECT_BUILD_DIR)"</code>
|
||||
|
||||
<p>The resulting binaries for all architectures are stored in the
|
||||
<code>"$(BINARIES_DIR)"</code> directory. <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>
|
||||
|
||||
<h2><a name="Linux" id="Linux"></a>Linux</h2>
|
||||
|
||||
<p>The user can select from three different Linux strategies:
|
||||
|
||||
<ul>
|
||||
<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 applied to the
|
||||
linux source tree even if the version differs from the
|
||||
kernel header version. </p>
|
||||
|
||||
<p>Since the user can select any kernel-patch
|
||||
he/she will be able to select a non-working combination.
|
||||
If the patch fails, the user will have to generate a new
|
||||
proprietary kernel-patch or decide to not apply the kernel
|
||||
patches</p>
|
||||
|
||||
<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
|
||||
or relative paths to patches, possibly outside the main tree.
|
||||
This can be used to apply custom kernel-header-patches, if
|
||||
the versions available in buildroot cannot be applied to the
|
||||
specific linux version used</p>
|
||||
|
||||
<p>Maybe, there will also be a possibility to supply an
|
||||
<code>"URL"</code> to a patch available on Internet. </p>
|
||||
|
||||
<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.
|
||||
Currently these packages will be compiled using the
|
||||
configuration specified in the
|
||||
<code>".config"</code> file of the <u>first</u>
|
||||
project demanding the build of the package.</p>
|
||||
<li>Create a new directory in <code>target/device/</code>, named
|
||||
after your company or organization</li>
|
||||
|
||||
<p>If <u>another</u> project uses the same packages, but with
|
||||
a different configuration,these packages will <u>not</u> be rebuilt,
|
||||
and the root file system for the new project will be populated
|
||||
with files from the build of the <u>first</u> project</p>
|
||||
<li>Add a line <code>source
|
||||
"target/device/yourcompany/Config.in"</code> in
|
||||
<code>target/device/Config.in</code> so that your board appears
|
||||
in the configuration system</li>
|
||||
|
||||
<p>If multiple project are built, and a specific package
|
||||
needs two different configuration, then the user must
|
||||
delete the package from the
|
||||
<code>"build_<ARCH>"</code> directory
|
||||
before rebuilding the new project.<p>
|
||||
<li>In <code>target/device/yourcompany/</code>, create a
|
||||
directory for your project. This way, you'll be able to store
|
||||
several projects of your company/organization inside
|
||||
Buildroot.</li>
|
||||
|
||||
<p>A long term solution is to edit the package makefile and move
|
||||
the build of the configurable packages from
|
||||
<code>"build_<ARCH>"</code> to
|
||||
<code>"project_build_<ARCH>/<project name>"</code>
|
||||
and send a patch to the buildroot mailing list.
|
||||
<li>Create a <code>target/device/yourcompany/Config.in</code>
|
||||
file that looks like the following:
|
||||
|
||||
<li>Naming conventions</li>
|
||||
<pre>
|
||||
menuconfig BR2_TARGET_COMPANY
|
||||
bool "Company projects"
|
||||
|
||||
<p>Names of resulting binaries should reflect the
|
||||
"project name"
|
||||
if BR2_TARGET_COMPANY
|
||||
|
||||
<li>Generating File System binaries</li>
|
||||
<p>
|
||||
Packages which needs to be installed with the "root"
|
||||
as owner, will generate a
|
||||
<code>".fakeroot.<package>"</code> file
|
||||
which will be used for the final build of the root file system binary. </p>
|
||||
config BR2_TARGET_COMPANY_PROJECT_FOOBAR
|
||||
bool "Support for Company project Foobar"
|
||||
help
|
||||
This option enables support for Company project Foobar
|
||||
|
||||
<p>This was previously located in the
|
||||
<code>"$(STAGING_DIR)"</code> directory, but was
|
||||
recently moved to the
|
||||
<code>"$(PROJECT_BUILD_DIR)"</code> directory. </p>
|
||||
endif
|
||||
</pre>
|
||||
|
||||
<p>Currently only three packages:
|
||||
<code>"at"</code>,
|
||||
<code>"ltp-testsuite"</code> and
|
||||
<code>"nfs-utils"</code>
|
||||
requests fakeroot. <p>
|
||||
Of course, customize the different values to match your
|
||||
company/organization and your project. This file will create a
|
||||
menu entry that contains the different projects of your
|
||||
company/organization.</li>
|
||||
|
||||
<p>The makefile fragments for each file system type like
|
||||
<code>"ext2"</code>,
|
||||
<code>"jffs2"</code> or
|
||||
<code>"squashfs"</code>
|
||||
will, when the file system binary is generated,
|
||||
collect all present
|
||||
<code>".fakeroot.<package>"</code> files
|
||||
to a single <code>"_fakeroot.<file system>"</code>
|
||||
file and call fakeroot.</p>
|
||||
<code>".fakeroot.<package>"</code>
|
||||
files are deleted as the last action of the Buildroot Makefile. </p>
|
||||
<li>Create a <code>target/device/yourcompany/Makefile.in</code>
|
||||
file that looks like the following:
|
||||
|
||||
<p>It needs to be evaluated if any further action for the
|
||||
file system binary build is needed. </p>
|
||||
<pre>
|
||||
ifeq ($(BR2_TARGET_COMPANY_PROJECT_FOOBAR),y)
|
||||
include target/device/yourcompany/project-foobar/Makefile.in
|
||||
endif
|
||||
</pre>
|
||||
</li>
|
||||
|
||||
</ol>
|
||||
<li>Now, create the
|
||||
<code>target/device/yourcompany/project-foobar/Makefile.in</code>
|
||||
file. It is first recommended to define a
|
||||
<code>BOARD_PATH</code> variable set to
|
||||
<code>target/device/yourcompany/project-foobar</code>, as it
|
||||
will simplify further definitions. Then, the file might define
|
||||
one or several of the following variables:
|
||||
|
||||
<ul>
|
||||
|
||||
<li><code>TARGET_SKELETON</code> to a directory that contains
|
||||
the target skeleton for your project. If this variable is
|
||||
defined, this target skeleton will be used instead of the
|
||||
default one. If defined, the convention is to define it to
|
||||
<code>$(BOARD_PATH)/target_skeleton</code>, so that the target
|
||||
skeletonn is stored in the board specific directory.</li>
|
||||
|
||||
<li><code>TARGET_DEVICE_TABLE</code> to a file that contains
|
||||
the target device table, i.e the list of device files (in
|
||||
<code>/dev/</code>) created by the root filesystem building
|
||||
procedure. If this variable is defined, the given device table
|
||||
will be used instead of the default one. If defined, the
|
||||
convention is to define it to
|
||||
<code>$(BOARD_PATH)/target_device_table.txt</code>. See
|
||||
<code>target/generic/device_table.txt</code> for an example
|
||||
file.</li>
|
||||
|
||||
</ul>
|
||||
|
||||
</li>
|
||||
|
||||
<li>Then, in the
|
||||
<code>target/device/yourcompany/project-foobar/</code>
|
||||
directory, you can store configuration files for the kernel,
|
||||
for Busybox or uClibc.
|
||||
|
||||
You can furthermore create one or more preconfigured configuration
|
||||
files, referencing those files. These config files are named
|
||||
<code>something_defconfig</config> and are stored in the toplevel
|
||||
<code>configs/</code> directory. Your users will then be able
|
||||
to run <code>make something_defconfig</code> and get the right
|
||||
configuration for your project</li>
|
||||
|
||||
</ol>
|
||||
|
||||
<h2><a name="using_toolchain" id="using_toolchain"></a>Using the
|
||||
uClibc toolchain outside Buildroot</h2>
|
||||
generated 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
|
||||
use the toolchain that was generated by Buildroot. </p>
|
||||
|
||||
<p>The toolchain generated by Buildroot by default is located in
|
||||
<code>build_ARCH/staging_dir/</code>. The simplest way to use it
|
||||
is to add <code>build_ARCH/staging_dir/usr/bin/</code> to your PATH
|
||||
<code>output/staging/</code>. The simplest way to use it
|
||||
is to add <code>output/staging/usr/bin/</code> to your PATH
|
||||
environnement variable, and then to use
|
||||
<code>arch-linux-gcc</code>, <code>arch-linux-objdump</code>,
|
||||
<code>arch-linux-ld</code>, etc. </p>
|
||||
<code>ARCH-linux-gcc</code>, <code>ARCH-linux-objdump</code>,
|
||||
<code>ARCH-linux-ld</code>, etc. </p>
|
||||
|
||||
<p>For example, you may add the following to your
|
||||
<code>.bashrc</code> (considering you're building for the MIPS
|
||||
architecture and that Buildroot is located in
|
||||
<code>~/buildroot/</code>) :</p>
|
||||
|
||||
<pre>
|
||||
export PATH="$PATH:~/buildroot/build_mips/staging_dir/usr/bin/"
|
||||
</pre>
|
||||
|
||||
<p>Then you can simply do :</p>
|
||||
|
||||
<pre>
|
||||
mips-linux-gcc -o foo foo.c
|
||||
</pre>
|
||||
<p>The easiest way is of course to add the
|
||||
<code>output/staging/usr/bin/</code> directory to your PATH
|
||||
environment variable.</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
|
||||
@@ -815,8 +702,8 @@ mips-linux-gcc -o foo foo.c
|
||||
might be cumbersome.</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
|
||||
another directory than <code>output/staging</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>
|
||||
|
||||
@@ -890,22 +777,6 @@ 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="adapting_rootfs" id="adapting_rootfs">Adapting the rootfs
|
||||
for own binaries</h2>
|
||||
|
||||
<p>When using BR2 in an environment where own software binaries or
|
||||
static data should be part of the generated rootfs package, the
|
||||
<code>BR2_ROOTFS_POST_BUILD_SCRIPT</code> feature might interest
|
||||
you. You can specify a command here which is called <i>after</i> BR2
|
||||
built all the selected software, but <i>before</i> the the rootfs
|
||||
packages are assembled. The destination rootfs folder is given as
|
||||
first argument. You can add own components here, change
|
||||
default configurations and remove unwanted files.</p>
|
||||
<p>You should, however, use that feature with care. Whenever you
|
||||
find that a certain package generates wrong or unneeded files, you
|
||||
should rather fix than package than working around it with a
|
||||
cleanup script.</p>
|
||||
|
||||
<h2><a name="add_software" id="add_software"></a>Extending Buildroot with
|
||||
more software</h2>
|
||||
|
||||
@@ -940,9 +811,7 @@ config BR2_PACKAGE_FOO
|
||||
<em>sorted alphabetically</em> per category and are <em>NOT</em>
|
||||
supposed to contain anything but the <em>bare</em> name of the package.</p>
|
||||
<pre>
|
||||
if !BR2_PACKAGE_BUSYBOX_HIDE_OTHERS
|
||||
source "package/procps/Config.in"
|
||||
endif
|
||||
</pre>
|
||||
<p><strong>Note:</strong><br>
|
||||
Generally all packages should live <em>directly</em> in the
|
||||
@@ -992,7 +861,7 @@ endif
|
||||
|
||||
<p>On <a href="#ex1line9">line 9</a>, we tell Buildroot to install
|
||||
the application to the staging directory. The staging directory,
|
||||
located in <code>build_ARCH/staging_dir/</code> is the directory
|
||||
located in <code>output/staging/</code> is the directory
|
||||
where all the packages are installed, including their
|
||||
documentation, etc. By default, packages are installed in this
|
||||
location using the <code>make install</code> command.</p>
|
||||
|
||||
@@ -2,15 +2,21 @@
|
||||
|
||||
|
||||
<h3>Documentation</h3>
|
||||
Current documentation for buildroot includes:
|
||||
Documentation for buildroot includes:
|
||||
|
||||
<ul>
|
||||
|
||||
<li>
|
||||
<a href= "buildroot.html">Buildroot - Usage and
|
||||
documentation</a> is where you want to start reading if you wish to
|
||||
understand how buildroot work, or wish to change/extend/fix things. If you
|
||||
find any errors (factual, grammatical, whatever) please report them.
|
||||
Usage and documentation is where you want to start reading if you
|
||||
wish to understand how buildroot work, or wish to
|
||||
change/extend/fix things. If you find any errors (factual,
|
||||
grammatical, whatever) please report them. Choose between:
|
||||
<p>
|
||||
<ul>
|
||||
<li><a href="/downloads/buildroot.html">Latest stable release</a></li>
|
||||
<li><a href="buildroot.html">GIT head revision</a></li>
|
||||
</ul>
|
||||
<p>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
@@ -20,7 +26,7 @@ Current documentation for buildroot includes:
|
||||
|
||||
<li>
|
||||
If you find that you need help with buildroot, you can ask for help on the
|
||||
<a href= "/lists/buildroot/">buildroot mailing list</a> at buildroot at mail.uclibc.org.
|
||||
<a href= "lists.html">buildroot mailing list</a> at buildroot at uclibc.org.
|
||||
In addition the BusyBox, uClibc, and buildroot developers are also known to
|
||||
hang out on the uClibc IRC channel: #uclibc on irc.freenode.net.
|
||||
</li>
|
||||
|
||||
@@ -6,23 +6,23 @@
|
||||
|
||||
<p>
|
||||
|
||||
The latest stable release is <b>2009.05</b>, which can be downloaded
|
||||
The latest stable release is <b>2009.11</b>, which can be downloaded
|
||||
here:<p>
|
||||
|
||||
<a href="/downloads/buildroot-2009.05.tar.gz">buildroot-2009.05.tar.gz</a>
|
||||
<a href="/downloads/buildroot-2009.11.tar.gz">buildroot-2009.11.tar.gz</a>
|
||||
or
|
||||
<a href="/downloads/buildroot-2009.05.tar.bz2">buildroot-2009.05.tar.bz2</a>.
|
||||
<a href="/downloads/buildroot-2009.11.tar.bz2">buildroot-2009.11.tar.bz2</a>.
|
||||
<p>
|
||||
|
||||
The latest release candidate is <b>2009.08-rc1</b>, which can be
|
||||
<!--
|
||||
The latest release candidate is <b>2009.11-rc2</b>, which can be
|
||||
downloaded here:<p>
|
||||
|
||||
<a href="/downloads/buildroot-2009.08-rc1.tar.gz">buildroot-2009.08-rc1.tar.gz</a>
|
||||
<a href="/downloads/buildroot-2009.11-rc2.tar.gz">buildroot-2009.11-rc2.tar.gz</a>
|
||||
or
|
||||
<a href="/downloads/buildroot-2009.08-rc1.tar.bz2">buildroot-2009.08-rc1.tar.bz2</a>.
|
||||
<a href="/downloads/buildroot-2009.11-rc2.tar.bz2">buildroot-2009.11-rc2.tar.bz2</a>.
|
||||
<p>
|
||||
|
||||
This and earlier releases can always be dowloaded from
|
||||
-->
|
||||
This and earlier releases can always be downloaded from
|
||||
<a href="/downloads/">http://buildroot.net/downloads/</a>.
|
||||
|
||||
<p>
|
||||
@@ -43,4 +43,3 @@ follow development, but cannot or do not wish to use Git.
|
||||
</ul>
|
||||
|
||||
<!--#include file="footer.html" -->
|
||||
|
||||
|
||||
@@ -22,8 +22,8 @@ list with frequently asked questions...
|
||||
|
||||
<center>
|
||||
<form method="GET" action="http://www.google.com/custom">
|
||||
<input type="hidden" name="domains" value="buildroot.uclibc.org">
|
||||
<input type="hidden" name="sitesearch" value="buildroot.uclibc.org">
|
||||
<input type="hidden" name="domains" value="lists.busybox.net">
|
||||
<input type="hidden" name="sitesearch" value="lists.busybox.net">
|
||||
<input type="text" name="q" size="31" maxlength="255" value="">
|
||||
<br>
|
||||
<input type="submit" name="sa" value="search the mailing list archives">
|
||||
|
||||
@@ -5,6 +5,94 @@
|
||||
<p>
|
||||
|
||||
<ul>
|
||||
<li><b>1 December 2009 -- 2009.11 released</b>
|
||||
|
||||
<p>The stable 2009.11 release is out - Thanks to everyone
|
||||
contributing and testing the release candidates. See the
|
||||
<a href="http://git.buildroot.net/buildroot/plain/CHANGES?id=2009.11">CHANGES</a>
|
||||
for more details, and go to the <a href="/downloads/">downloads page</a>
|
||||
to pick up the <a href="/downloads/buildroot-2009.11.tar.bz2">2009.11
|
||||
release</a>.</p>
|
||||
|
||||
<li><b>29 November 2009 -- 2009.11-rc2 released</b>
|
||||
|
||||
<p>RC2 is out with more cleanups and bugfixes, see the <a
|
||||
href="http://git.buildroot.net/buildroot/plain/CHANGES?id=2009.11_rc2">CHANGES</a>
|
||||
file for details.
|
||||
|
||||
<p>Head to the <a href="/downloads/">downloads page</a> to pick up the
|
||||
<a href="/downloads/buildroot-2009.11-rc2.tar.bz2">2009.11-rc2
|
||||
release candidate</a>, and report any problems found to the <a
|
||||
href="lists.html">mailing list</a> or <a
|
||||
href="https://bugs.uclibc.org">bug tracker</a>.</p>
|
||||
|
||||
<li><b>23 November 2009 -- 2009.11-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.11_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.11-rc1.tar.bz2">2009.11-rc1
|
||||
release candidate</a>, and report any problems found to the <a
|
||||
href="lists.html">mailing list</a> or <a
|
||||
href="https://bugs.uclibc.org">bug tracker</a>.</p>
|
||||
|
||||
<li><b>7 September 2009 -- First Buildroot Developer Day</b>
|
||||
|
||||
<p>The first <i>Buildroot Developer Day</i> will take place on
|
||||
Saturday, October 17th in Grenoble, France, just the day after
|
||||
Embedded Linux Conference Europe. This <i>Developer Day</i> aims
|
||||
at allowing Buildroot developers to meet and exchange ideas on the
|
||||
project and its future.</p>
|
||||
|
||||
<p>As the number of places is limited, interested candidates are
|
||||
invited to send an e-mail to Peter Korsgaard (<code>jacmet at
|
||||
uclibc dot org</code>) and Thomas Petazzoni (<code>thomas dot
|
||||
petazzoni at free-electrons dot com</code>).</p>
|
||||
|
||||
<p>This <i>Developer Day</i> will take place thanks to the
|
||||
sponsoring of <a href="http://www.calao-systems.com">Calao
|
||||
Systems</a> and <a href="http://www.free-electrons.com">Free
|
||||
Electrons</a>.</p>
|
||||
|
||||
<li><b>31 August 2009 -- 2009.08 released</b>
|
||||
|
||||
<p>The stable 2009.08 release is out - Thanks to everyone
|
||||
contributing and testing the release candidates. See the
|
||||
<a href="http://lists.busybox.net/pipermail/buildroot/2009-August/029018.html">announcement</a>
|
||||
or <a href="http://git.buildroot.net/buildroot/plain/CHANGES?id=2009.08">CHANGES</a>
|
||||
for more details, and go to the <a href="/downloads/">downloads page</a>
|
||||
to pick up the <a href="/downloads/buildroot-2009.08.tar.bz2">2009.08
|
||||
release</a>.</p>
|
||||
|
||||
<li><b>26 August 2009 -- 2009.08-rc3 released</b>
|
||||
<p>A number of bugfixes have been added to the tree since RC2
|
||||
(especially thanks to Thomas Petazzoni) - See the <a
|
||||
href="http://git.buildroot.net/buildroot/plain/CHANGES?id=2009.08_rc3">CHANGES</a>
|
||||
file for details. This is very much expected to be the final release
|
||||
candidate, so give it a good test and expect a final 2009.08
|
||||
release next weekend 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.08-rc3.tar.bz2">2009.08-rc3
|
||||
release candidate</a>, and report any problems found to the <a
|
||||
href="lists.html">mailing list</a> or <a
|
||||
href="https://bugs.uclibc.org">bug tracker</a>.</p>
|
||||
|
||||
<li><b>6 August 2009 -- 2009.08-rc2 released</b>
|
||||
|
||||
<p>RC2 is out with more cleanups and bugfixes, see the <a
|
||||
href="http://git.buildroot.net/buildroot/plain/CHANGES?id=2009.08_rc2">CHANGES</a>
|
||||
file for details.
|
||||
|
||||
<p>Head to the <a href="/downloads/">downloads page</a> to pick up the
|
||||
<a href="/downloads/buildroot-2009.08-rc2.tar.bz2">2009.08-rc2
|
||||
release candidate</a>, and report any problems found to the <a
|
||||
href="lists.html">mailing list</a> or <a
|
||||
href="https://bugs.uclibc.org">bug tracker</a>.</p>
|
||||
|
||||
<li><b>2 August 2009 -- 2009.08-rc1 released</b>
|
||||
|
||||
<p>We have a new release candidate! Lots of changes all over the
|
||||
|
||||
@@ -4,7 +4,7 @@ source "package/busybox/Config.in"
|
||||
|
||||
comment "The minimum needed to build a uClibc development system"
|
||||
|
||||
if !BR2_PACKAGE_BUSYBOX_HIDE_OTHERS
|
||||
if BR2_PACKAGE_BUSYBOX_SHOW_OTHERS
|
||||
source "package/bash/Config.in"
|
||||
source "package/bzip2/Config.in"
|
||||
source "package/coreutils/Config.in"
|
||||
@@ -12,15 +12,15 @@ source "package/diffutils/Config.in"
|
||||
source "package/findutils/Config.in"
|
||||
endif
|
||||
source "package/flex/Config.in"
|
||||
if !BR2_PACKAGE_BUSYBOX_HIDE_OTHERS
|
||||
if BR2_PACKAGE_BUSYBOX_SHOW_OTHERS
|
||||
source "package/gawk/Config.in"
|
||||
endif
|
||||
source "toolchain/gcc/Config.in.2"
|
||||
if !BR2_PACKAGE_BUSYBOX_HIDE_OTHERS
|
||||
if BR2_PACKAGE_BUSYBOX_SHOW_OTHERS
|
||||
source "package/grep/Config.in"
|
||||
endif
|
||||
source "package/make/Config.in"
|
||||
if !BR2_PACKAGE_BUSYBOX_HIDE_OTHERS
|
||||
if BR2_PACKAGE_BUSYBOX_SHOW_OTHERS
|
||||
source "package/patch/Config.in"
|
||||
source "package/sed/Config.in"
|
||||
source "package/tar/Config.in"
|
||||
@@ -41,7 +41,6 @@ source "package/gperf/Config.in"
|
||||
source "package/mpfr/Config.in"
|
||||
source "package/libtool/Config.in"
|
||||
source "package/m4/Config.in"
|
||||
source "package/mpatrol/Config.in"
|
||||
source "package/oprofile/Config.in"
|
||||
source "package/pkg-config/Config.in"
|
||||
source "package/readline/Config.in"
|
||||
@@ -53,12 +52,12 @@ source "package/at/Config.in"
|
||||
source "package/beecrypt/Config.in"
|
||||
source "package/berkeleydb/Config.in"
|
||||
source "package/bsdiff/Config.in"
|
||||
if !BR2_PACKAGE_BUSYBOX_HIDE_OTHERS
|
||||
if BR2_PACKAGE_BUSYBOX_SHOW_OTHERS
|
||||
source "package/bootutils/Config.in"
|
||||
endif
|
||||
source "package/cups/Config.in"
|
||||
source "package/customize/Config.in"
|
||||
if !BR2_PACKAGE_BUSYBOX_HIDE_OTHERS
|
||||
if BR2_PACKAGE_BUSYBOX_SHOW_OTHERS
|
||||
source "package/dash/Config.in"
|
||||
endif
|
||||
source "package/enchant/Config.in"
|
||||
@@ -66,7 +65,7 @@ source "package/file/Config.in"
|
||||
source "package/gamin/Config.in"
|
||||
source "package/icu/Config.in"
|
||||
source "package/kexec/Config.in"
|
||||
if !BR2_PACKAGE_BUSYBOX_HIDE_OTHERS
|
||||
if BR2_PACKAGE_BUSYBOX_SHOW_OTHERS
|
||||
source "package/less/Config.in"
|
||||
endif
|
||||
source "package/libconfig/Config.in"
|
||||
@@ -88,16 +87,16 @@ source "package/lsof/Config.in"
|
||||
source "package/ltp-testsuite/Config.in"
|
||||
source "package/ltrace/Config.in"
|
||||
source "package/memstat/Config.in"
|
||||
if !BR2_PACKAGE_BUSYBOX_HIDE_OTHERS
|
||||
if BR2_PACKAGE_BUSYBOX_SHOW_OTHERS
|
||||
source "package/module-init-tools/Config.in"
|
||||
source "package/modutils/Config.in"
|
||||
endif
|
||||
source "package/ng-spice-rework/Config.in"
|
||||
source "package/popt/Config.in"
|
||||
if !BR2_PACKAGE_BUSYBOX_HIDE_OTHERS
|
||||
if BR2_PACKAGE_BUSYBOX_SHOW_OTHERS
|
||||
source "package/procps/Config.in"
|
||||
endif
|
||||
if !BR2_PACKAGE_BUSYBOX_HIDE_OTHERS
|
||||
if BR2_PACKAGE_BUSYBOX_SHOW_OTHERS
|
||||
source "package/psmisc/Config.in"
|
||||
endif
|
||||
source "package/screen/Config.in"
|
||||
@@ -105,7 +104,7 @@ source "package/shared-mime-info/Config.in"
|
||||
source "package/startup-notification/Config.in"
|
||||
source "package/strace/Config.in"
|
||||
source "package/sudo/Config.in"
|
||||
if !BR2_PACKAGE_BUSYBOX_HIDE_OTHERS
|
||||
if BR2_PACKAGE_BUSYBOX_SHOW_OTHERS
|
||||
source "package/sysklogd/Config.in"
|
||||
# busybox has init and the runit stuff
|
||||
source "package/sysvinit/Config.in"
|
||||
@@ -115,28 +114,23 @@ endif
|
||||
|
||||
source "package/database/Config.in"
|
||||
|
||||
if !BR2_PACKAGE_BUSYBOX_HIDE_OTHERS
|
||||
# busybox has an editor
|
||||
|
||||
# text editors
|
||||
source "package/editors/Config.in"
|
||||
|
||||
endif
|
||||
|
||||
menu "Networking"
|
||||
|
||||
comment "Networking applications"
|
||||
source "package/argus/Config.in"
|
||||
source "package/avahi/Config.in"
|
||||
source "package/axel/Config.in"
|
||||
if !BR2_PACKAGE_BUSYBOX_HIDE_OTHERS
|
||||
if BR2_PACKAGE_BUSYBOX_SHOW_OTHERS
|
||||
source "package/boa/Config.in"
|
||||
endif
|
||||
source "package/bind/Config.in"
|
||||
source "package/bmon/Config.in"
|
||||
source "package/bridge-utils/Config.in"
|
||||
source "package/ctorrent/Config.in"
|
||||
if !BR2_PACKAGE_BUSYBOX_HIDE_OTHERS
|
||||
if BR2_PACKAGE_BUSYBOX_SHOW_OTHERS
|
||||
source "package/dhcp/Config.in"
|
||||
endif
|
||||
source "package/dnsmasq/Config.in"
|
||||
@@ -145,7 +139,6 @@ source "package/ethtool/Config.in"
|
||||
source "package/haserl/Config.in"
|
||||
source "package/hostap/Config.in"
|
||||
source "package/ifplugd/Config.in"
|
||||
#source "package/irda-utils/Config.in"
|
||||
source "package/iperf/Config.in"
|
||||
source "package/iproute2/Config.in"
|
||||
source "package/ipsec-tools/Config.in"
|
||||
@@ -158,18 +151,18 @@ source "package/libcgicc/Config.in"
|
||||
source "package/libcurl/Config.in"
|
||||
source "package/libdnet/Config.in"
|
||||
source "package/libeXosip2/Config.in"
|
||||
source "package/libmicrohttpd/Config.in"
|
||||
source "package/libnl/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
|
||||
if BR2_PACKAGE_BUSYBOX_SHOW_OTHERS
|
||||
source "package/lighttpd/Config.in"
|
||||
endif
|
||||
source "package/links/Config.in"
|
||||
source "package/lrzsz/Config.in"
|
||||
source "package/mdnsresponder/Config.in"
|
||||
if !BR2_PACKAGE_BUSYBOX_HIDE_OTHERS
|
||||
if BR2_PACKAGE_BUSYBOX_SHOW_OTHERS
|
||||
source "package/microcom/Config.in"
|
||||
endif
|
||||
source "package/mii-diag/Config.in"
|
||||
@@ -178,11 +171,11 @@ source "package/mutt/Config.in"
|
||||
source "package/nbd/Config.in"
|
||||
source "package/ncftp/Config.in"
|
||||
source "package/neon/Config.in"
|
||||
if !BR2_PACKAGE_BUSYBOX_HIDE_OTHERS
|
||||
if BR2_PACKAGE_BUSYBOX_SHOW_OTHERS
|
||||
source "package/netcat/Config.in"
|
||||
endif
|
||||
source "package/netkitbase/Config.in"
|
||||
source "package/netkittelnet/Config.in"
|
||||
endif
|
||||
source "package/netplug/Config.in"
|
||||
source "package/netsnmp/Config.in"
|
||||
source "package/netstat-nat/Config.in"
|
||||
@@ -207,23 +200,19 @@ source "package/socat/Config.in"
|
||||
source "package/spawn-fcgi/Config.in"
|
||||
source "package/stunnel/Config.in"
|
||||
source "package/tcpdump/Config.in"
|
||||
if BR2_PACKAGE_BUSYBOX_SHOW_OTHERS
|
||||
source "package/tftpd/Config.in"
|
||||
if !BR2_PACKAGE_BUSYBOX_HIDE_OTHERS
|
||||
source "package/thttpd/Config.in"
|
||||
source "package/tinyhttpd/Config.in"
|
||||
endif
|
||||
source "package/tn5250/Config.in"
|
||||
source "package/ttcp/Config.in"
|
||||
#if !BR2_PACKAGE_BUSYBOX_HIDE_OTHERS
|
||||
# ATTENTION! This was merged into busybox!
|
||||
#source "package/udhcp/Config.in"
|
||||
#endif
|
||||
source "package/udpcast/Config.in"
|
||||
source "package/vpnc/Config.in"
|
||||
source "package/vsftpd/Config.in"
|
||||
source "package/vtun/Config.in"
|
||||
source "package/webif/Config.in"
|
||||
if !BR2_PACKAGE_BUSYBOX_HIDE_OTHERS
|
||||
if BR2_PACKAGE_BUSYBOX_SHOW_OTHERS
|
||||
source "package/wget/Config.in"
|
||||
endif
|
||||
source "package/wireless-tools/Config.in"
|
||||
@@ -236,7 +225,9 @@ source "package/acpid/Config.in"
|
||||
source "package/dbus/Config.in"
|
||||
source "package/dbus-glib/Config.in"
|
||||
source "package/dbus-python/Config.in"
|
||||
if BR2_PACKAGE_BUSYBOX_SHOW_OTHERS
|
||||
source "package/devmem2/Config.in"
|
||||
endif
|
||||
source "package/dmraid/Config.in"
|
||||
source "package/dosfstools/Config.in"
|
||||
source "package/e2fsprogs/Config.in"
|
||||
@@ -245,8 +236,9 @@ source "package/fconfig/Config.in"
|
||||
source "package/fis/Config.in"
|
||||
source "package/fuse/Config.in"
|
||||
source "package/gadgetfs-test/Config.in"
|
||||
source "package/gvfs/Config.in"
|
||||
source "package/hal/Config.in"
|
||||
if !BR2_PACKAGE_BUSYBOX_HIDE_OTHERS
|
||||
if BR2_PACKAGE_BUSYBOX_SHOW_OTHERS
|
||||
source "package/hdparm/Config.in"
|
||||
source "package/hotplug/Config.in"
|
||||
endif
|
||||
@@ -267,15 +259,17 @@ source "package/ntfsprogs/Config.in"
|
||||
source "package/pciutils/Config.in"
|
||||
source "package/pcmcia/Config.in"
|
||||
source "package/setserial/Config.in"
|
||||
if !BR2_PACKAGE_BUSYBOX_HIDE_OTHERS
|
||||
if BR2_PACKAGE_BUSYBOX_SHOW_OTHERS
|
||||
# busybox has fdisk
|
||||
source "package/sfdisk/Config.in"
|
||||
endif
|
||||
source "package/smartmontools/Config.in"
|
||||
if !BR2_PACKAGE_BUSYBOX_HIDE_OTHERS
|
||||
source "package/sysstat/Config.in"
|
||||
if BR2_PACKAGE_BUSYBOX_SHOW_OTHERS
|
||||
# mdev
|
||||
source "package/udev/Config.in"
|
||||
endif
|
||||
source "package/usb_modeswitch/Config.in"
|
||||
source "package/usbmount/Config.in"
|
||||
source "package/usbutils/Config.in"
|
||||
source "package/wipe/Config.in"
|
||||
@@ -297,6 +291,7 @@ source "package/dialog/Config.in"
|
||||
comment "graphic libraries"
|
||||
source "package/directfb/Config.in"
|
||||
source "package/directfb-examples/Config.in"
|
||||
source "package/divine/Config.in"
|
||||
source "package/fbdump/Config.in"
|
||||
source "package/imagemagick/Config.in"
|
||||
source "package/jpeg/Config.in"
|
||||
@@ -310,6 +305,7 @@ source "package/sawman/Config.in"
|
||||
source "package/sdl/Config.in"
|
||||
source "package/sdl_image/Config.in"
|
||||
source "package/sdl_mixer/Config.in"
|
||||
source "package/sdl_sound/Config.in"
|
||||
source "package/sdl_net/Config.in"
|
||||
source "package/sdl_ttf/Config.in"
|
||||
source "package/sdl_gfx/Config.in"
|
||||
@@ -377,9 +373,10 @@ endmenu
|
||||
|
||||
menu "Compressors / decompressors"
|
||||
|
||||
if !BR2_PACKAGE_BUSYBOX_HIDE_OTHERS
|
||||
if BR2_PACKAGE_BUSYBOX_SHOW_OTHERS
|
||||
source "package/gzip/Config.in"
|
||||
endif
|
||||
source "package/libarchive/Config.in"
|
||||
source "package/lzo/Config.in"
|
||||
source "package/lzop/Config.in"
|
||||
source "package/lzma/Config.in"
|
||||
@@ -390,7 +387,7 @@ menu "Package managers"
|
||||
|
||||
source "package/ipkg/Config.in"
|
||||
source "package/portage/Config.in"
|
||||
if !BR2_PACKAGE_BUSYBOX_HIDE_OTHERS
|
||||
if BR2_PACKAGE_BUSYBOX_SHOW_OTHERS
|
||||
source "package/rpm/Config.in"
|
||||
endif
|
||||
endmenu
|
||||
|
||||
@@ -30,6 +30,8 @@
|
||||
# list of (package) targets that must be built before foo
|
||||
# FOO_AUTORECONF [YES/NO, default NO]
|
||||
# run <autoreconf> before <configure>
|
||||
# FOO_AUTORECONF_OPT [default empty]
|
||||
# arguments passed to the <autoreconf> script
|
||||
# FOO_LIBTOOL_PATCH [YES/NO, default YES]
|
||||
# Do you want the standard buildroot patch applied to ltmain.sh? (libtool)
|
||||
# FOO_USE_CONFIG_CACHE [YES/NO default $(BR2_CONFIG_CACHE)]
|
||||
@@ -140,7 +142,7 @@ DOWNLOAD=$(WGET) -P $(DL_DIR) $(1)/$(2)
|
||||
else
|
||||
define DOWNLOAD
|
||||
$(Q)test -e $(DL_DIR)/$(2) || \
|
||||
for site in $(strip $(subst ",,$(BR2_PRIMARY_SITE))) $(1) $(strip $(subst ",,$(BR2_BACKUP_SITE))); \
|
||||
for site in $(call qstrip,$(BR2_PRIMARY_SITE)) $(1) $(call qstrip,$(BR2_BACKUP_SITE)); \
|
||||
do $(WGET) -P $(DL_DIR) $$site/$(2) && exit; done
|
||||
endef
|
||||
endif
|
||||
@@ -186,7 +188,8 @@ $(BUILD_DIR)/%/.stamp_extracted:
|
||||
$(BUILD_DIR)/%/.stamp_libtool_patch:
|
||||
$(call MESSAGE,"Patching libtool")
|
||||
# if the package uses libtool, patch it for cross-compiling in buildroot
|
||||
$(Q)if test "$($(PKG)_LIBTOOL_PATCH)" = "YES"; then \
|
||||
$(Q)if test "$($(PKG)_LIBTOOL_PATCH)" = "YES" -a \
|
||||
"$($(PKG)_AUTORECONF)" != "YES"; then \
|
||||
for i in `find $(@D) -name ltmain.sh`; do \
|
||||
toolchain/patch-kernel.sh $${i%/*} package buildroot-libtool.patch; \
|
||||
done \
|
||||
@@ -225,7 +228,7 @@ endif
|
||||
# Running autoreconf
|
||||
$(BUILD_DIR)/%/.stamp_autoconfigured:
|
||||
$(call MESSAGE,"Running autoreconf")
|
||||
$(Q)cd $(@D)/$($(PKG)_SUBDIR) && $(AUTORECONF)
|
||||
$(Q)cd $(@D)/$($(PKG)_SUBDIR) && $(AUTORECONF) $($(PKG)_AUTORECONF_OPT)
|
||||
# if the package uses libtool, patch it for cross-compiling in buildroot
|
||||
$(Q)if test "$($(PKG)_LIBTOOL_PATCH)" = "YES"; then \
|
||||
for i in `find $(@D)/$($(PKG)_SUBDIR) -name ltmain.sh`; do \
|
||||
@@ -243,7 +246,7 @@ $(BUILD_DIR)/%/.stamp_configured:
|
||||
$(TARGET_CONFIGURE_ENV) \
|
||||
$($(PKG)_CONF_ENV) \
|
||||
$(if $(THIS_SRCDIR),$(THIS_SRCDIR)/,./)configure \
|
||||
$(if $(filter YES,$($(PKG)_USE_CONFIG_CACHE)),--cache-file="$(PROJECT_BUILD_DIR)/tgt-config.cache",) \
|
||||
$(if $(filter YES,$($(PKG)_USE_CONFIG_CACHE)),--cache-file="$(BUILD_DIR)/tgt-config.cache",) \
|
||||
--target=$(GNU_TARGET_NAME) \
|
||||
--host=$(GNU_TARGET_NAME) \
|
||||
--build=$(GNU_HOST_NAME) \
|
||||
@@ -253,6 +256,7 @@ $(BUILD_DIR)/%/.stamp_configured:
|
||||
$(DISABLE_DOCUMENTATION) \
|
||||
$(DISABLE_NLS) \
|
||||
$(DISABLE_LARGEFILE) \
|
||||
$(DISABLE_IPV6) \
|
||||
$(QUIET) $($(PKG)_CONF_OPT)
|
||||
$(Q)touch $@
|
||||
|
||||
@@ -274,7 +278,7 @@ $(BUILD_DIR)/%/.stamp_staging_installed:
|
||||
touch $@
|
||||
|
||||
# Install to target dir
|
||||
$(PROJECT_BUILD_DIR)/autotools-stamps/%_target_installed:
|
||||
$(BUILD_DIR)/%/.stamp_target_installed:
|
||||
$(call MESSAGE,"Installing to target")
|
||||
$($(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 \
|
||||
@@ -329,6 +333,7 @@ $(2)_SITE ?= \
|
||||
http://$$(BR2_SOURCEFORGE_MIRROR).dl.sourceforge.net/sourceforge/$(1)
|
||||
$(2)_DEPENDENCIES ?=
|
||||
$(2)_AUTORECONF ?= NO
|
||||
$(2)_AUTORECONF_OPT ?=
|
||||
$(2)_LIBTOOL_PATCH ?= YES
|
||||
$(2)_USE_CONFIG_CACHE ?= $(if $(BR2_CONFIG_CACHE),YES,NO)
|
||||
$(2)_CONF_ENV ?=
|
||||
@@ -352,8 +357,7 @@ $(2)_DIR_PREFIX = $(if $(3),$(3),$(TOP_SRCDIR)/package)
|
||||
|
||||
|
||||
# define sub-target stamps
|
||||
# targets which affect $(TARGET_DIR) must use a unique stamp for each $(PROJECT)
|
||||
$(2)_TARGET_INSTALL_TARGET = $(PROJECT_BUILD_DIR)/autotools-stamps/$(1)_target_installed
|
||||
$(2)_TARGET_INSTALL_TARGET = $$($(2)_DIR)/.stamp_target_installed
|
||||
$(2)_TARGET_INSTALL_STAGING = $$($(2)_DIR)/.stamp_staging_installed
|
||||
$(2)_TARGET_BUILD = $$($(2)_DIR)/.stamp_built
|
||||
$(2)_TARGET_CONFIGURE = $$($(2)_DIR)/.stamp_configured
|
||||
@@ -369,7 +373,7 @@ $(2)_TARGET_DIRCLEAN = $$($(2)_DIR)/.stamp_dircleaned
|
||||
$(2)_HOOK_POST_EXTRACT = $$($(2)_DIR)/.stamp_hook_post_extract
|
||||
$(2)_HOOK_POST_CONFIGURE = $$($(2)_DIR)/.stamp_hook_post_configure
|
||||
$(2)_HOOK_POST_BUILD = $$($(2)_DIR)/.stamp_hook_post_build
|
||||
$(2)_HOOK_POST_INSTALL = $(PROJECT_BUILD_DIR)/autotools-stamps/$(1)_hook_post_install
|
||||
$(2)_HOOK_POST_INSTALL = $$($(2)_DIR)/.stamp_hook_post_install
|
||||
|
||||
# human-friendly targets and target sequencing
|
||||
$(1): $(1)-install
|
||||
|
||||
@@ -45,12 +45,10 @@ TARGET_CFLAGS+= $(BR2_SYSROOT) $(BR2_ISYSROOT)
|
||||
TARGET_LDFLAGS+= $(BR2_SYSROOT)
|
||||
endif
|
||||
|
||||
CC_TARGET_TUNE_:=$(strip $(subst ",,$(BR2_GCC_TARGET_TUNE)))
|
||||
#"))
|
||||
CC_TARGET_ARCH_:=$(strip $(subst ",,$(BR2_GCC_TARGET_ARCH)))
|
||||
#"))
|
||||
CC_TARGET_ABI_:=$(strip $(subst ",,$(BR2_GCC_TARGET_ABI)))
|
||||
#"))
|
||||
CC_TARGET_TUNE_:=$(call qstrip,$(BR2_GCC_TARGET_TUNE))
|
||||
CC_TARGET_ARCH_:=$(call qstrip,$(BR2_GCC_TARGET_ARCH))
|
||||
CC_TARGET_ABI_:=$(call qstrip,$(BR2_GCC_TARGET_ABI))
|
||||
|
||||
ifneq ($(CC_TARGET_TUNE_),)
|
||||
TARGET_CFLAGS+=-mtune=$(CC_TARGET_TUNE_)
|
||||
endif
|
||||
@@ -99,7 +97,7 @@ TARGET_LDFLAGS=--sysroot $(STAGING_DIR)/
|
||||
endif
|
||||
#########################################################################
|
||||
#ifeq ($(BR2_ROOTFS_SUFFIX),)
|
||||
ROOTFS_SUFFIX:=$(strip $(subst ",, $(BR2_ROOTFS_SUFFIX)))
|
||||
ROOTFS_SUFFIX:=$(call qstrip,$(BR2_ROOTFS_SUFFIX))
|
||||
ifeq ($(ROOTFS_SUFFIX),)
|
||||
ROOTFS_SUFFIX:=
|
||||
else
|
||||
@@ -107,32 +105,23 @@ XXXX=xxxx
|
||||
ROOTFS_SUFFIX:=-$(BR2_ROOTFS_SUFFIX)
|
||||
endif
|
||||
|
||||
ifeq ($(strip $(subst ",, $(BR2_FPU_SUFFIX))),y)
|
||||
COND_ARCH_FPU_SUFFIX:=$(ARCH_FPU_SUFFIX)
|
||||
else
|
||||
COND_ARCH_FPU_SUFFIX:=
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_TOOLCHAIN_SOURCE),y)
|
||||
TOOL_BUILD_DIR=$(BASE_DIR)/$(TOPDIR_PREFIX)toolchain_build_$(ARCH)$(COND_ARCH_FPU_SUFFIX)$(TOPDIR_SUFFIX)
|
||||
TOOLCHAIN_DIR=$(BASE_DIR)/toolchain
|
||||
|
||||
# Quotes are needed for spaces et al in path components.
|
||||
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)
|
||||
TARGET_PATH="$(TOOLCHAIN_DIR)/bin:$(HOST_DIR)/bin:$(HOST_DIR)/usr/bin:$(STAGING_DIR)/bin:$(STAGING_DIR)/usr/bin:$(PATH)"
|
||||
IMAGE:=$(BINARIES_DIR)/$(BR2_ROOTFS_PREFIX).$(ARCH)$(ROOTFS_SUFFIX)
|
||||
GNU_TARGET_NAME=$(OPTIMIZE_FOR_CPU)-linux
|
||||
REAL_GNU_TARGET_NAME=$(OPTIMIZE_FOR_CPU)$(GNU_TARGET_SUFFIX)
|
||||
TARGET_CROSS=$(STAGING_DIR)/usr/bin/$(REAL_GNU_TARGET_NAME)-
|
||||
KERNEL_CROSS=$(TARGET_CROSS)
|
||||
else
|
||||
TOOLCHAIN_EXTERNAL_PREFIX:=$(strip $(subst ",, $(BR2_TOOLCHAIN_EXTERNAL_PREFIX)))
|
||||
#"))
|
||||
TOOLCHAIN_EXTERNAL_PATH:=$(strip $(subst ",, $(BR2_TOOLCHAIN_EXTERNAL_PATH)))
|
||||
#"))
|
||||
#TOOL_BUILD_DIR=$(BASE_DIR)/$(TOPDIR_PREFIX)toolchain_build_$(TOOLCHAIN_EXTERNAL_PREFIX)
|
||||
TOOL_BUILD_DIR=$(BASE_DIR)/$(TOPDIR_PREFIX)toolchain_build_$(ARCH)$(COND_ARCH_FPU_SUFFIX)$(TOPDIR_SUFFIX)
|
||||
TARGET_PATH="$(HOST_DIR)/bin:$(HOST_DIR)/usr/bin:$(TOOL_BUILD_DIR)/bin:$(TOOLCHAIN_EXTERNAL_PATH)/bin:$(PATH)"
|
||||
TOOLCHAIN_EXTERNAL_PREFIX:=$(call qstrip,$(BR2_TOOLCHAIN_EXTERNAL_PREFIX))
|
||||
TOOLCHAIN_EXTERNAL_PATH:=$(call qstrip,$(BR2_TOOLCHAIN_EXTERNAL_PATH))
|
||||
TOOLCHAIN_DIR=$(BASE_DIR)/toolchain
|
||||
TARGET_PATH="$(HOST_DIR)/bin:$(HOST_DIR)/usr/bin:$(TOOLCHAIN_DIR)/bin:$(TOOLCHAIN_EXTERNAL_PATH)/bin:$(PATH)"
|
||||
#IMAGE:=$(BINARIES_DIR)/$(BR2_ROOTFS_PREFIX).$(TOOLCHAIN_EXTERNAL_PREFIX)$(ROOTFS_SUFFIX)
|
||||
IMAGE:=$(BINARIES_DIR)/$(BR2_ROOTFS_PREFIX).$(ARCH)$(COND_ARCH_FPU_SUFFIX)$(ROOTFS_SUFFIX)
|
||||
IMAGE:=$(BINARIES_DIR)/$(BR2_ROOTFS_PREFIX).$(ARCH)$(ROOTFS_SUFFIX)
|
||||
|
||||
REAL_GNU_TARGET_NAME=$(TOOLCHAIN_EXTERNAL_PREFIX)
|
||||
GNU_TARGET_NAME=$(TOOLCHAIN_EXTERNAL_PREFIX)
|
||||
@@ -144,11 +133,7 @@ TARGET_AS=$(TARGET_CROSS)as
|
||||
TARGET_CC=$(TARGET_CROSS)gcc
|
||||
TARGET_CPP=$(TARGET_CROSS)cpp
|
||||
TARGET_CXX=$(TARGET_CROSS)g++
|
||||
ifeq ($(BR2_GCC_VERSION_3_4_6),y)
|
||||
TARGET_FC=$(TARGET_CROSS)g77
|
||||
else
|
||||
TARGET_FC=$(TARGET_CROSS)gfortran
|
||||
endif
|
||||
TARGET_LD=$(TARGET_CROSS)ld
|
||||
TARGET_NM=$(TARGET_CROSS)nm
|
||||
TARGET_RANLIB=$(TARGET_CROSS)ranlib
|
||||
@@ -178,10 +163,10 @@ TARGET_STRIP=$(STAGING_DIR)/usr/bin/$(REAL_GNU_TARGET_NAME)-sstrip
|
||||
STRIPCMD=$(TARGET_STRIP)
|
||||
endif
|
||||
ifeq ($(BR2_STRIP_none),y)
|
||||
TARGET_STRIP=true -Not_stripping
|
||||
TARGET_STRIP=true Not_stripping
|
||||
STRIPCMD=$(TARGET_STRIP)
|
||||
endif
|
||||
INSTALL=$(shell which install || type -p install)
|
||||
INSTALL:=$(shell which install || type -p install)
|
||||
FLEX:=$(shell which flex || type -p flex)
|
||||
BISON:=$(shell which bison || type -p bison)
|
||||
|
||||
@@ -207,8 +192,7 @@ HOST_ARCH:=$(shell $(HOSTCC) -dumpmachine | sed -e s'/-.*//' \
|
||||
-e 's/i[3-9]86/i386/' \
|
||||
-e 's/xtensa.*/xtensa/' \
|
||||
)
|
||||
GNU_HOST_NAME:=$(HOST_ARCH)-$(subst ",,$(BR2_GNU_BUILD_SUFFIX))
|
||||
#")
|
||||
GNU_HOST_NAME:=$(HOST_ARCH)-$(call qstrip,$(BR2_GNU_BUILD_SUFFIX))
|
||||
|
||||
TARGET_CONFIGURE_OPTS=PATH=$(TARGET_PATH) \
|
||||
AR="$(TARGET_AR)" \
|
||||
@@ -243,7 +227,7 @@ TARGET_CONFIGURE_OPTS=PATH=$(TARGET_PATH) \
|
||||
DEFAULT_LINKER="$(TARGET_LD)" \
|
||||
PKG_CONFIG_SYSROOT_DIR="$(STAGING_DIR)" \
|
||||
PKG_CONFIG="$(PKG_CONFIG_HOST_BINARY)" \
|
||||
PKG_CONFIG_PATH="$(STAGING_DIR)/usr/lib/pkgconfig$(PKG_CONFIG_PATH)" \
|
||||
PKG_CONFIG_PATH="$(STAGING_DIR)/usr/lib/pkgconfig:$(PKG_CONFIG_PATH)" \
|
||||
STAGING_DIR="$(STAGING_DIR)"
|
||||
|
||||
TARGET_CONFIGURE_ENV=\
|
||||
@@ -288,9 +272,12 @@ HOST_CONFIGURE_OPTS=PATH=$(HOST_PATH) \
|
||||
ORIGINAL_NM_FOR_TARGET="$(TARGET_NM)" \
|
||||
ORIGINAL_OBJDUMP_FOR_TARGET="$(TARGET_OBJDUMP)" \
|
||||
PKG_CONFIG="$(PKG_CONFIG_HOST_BINARY)" \
|
||||
PKG_CONFIG_PATH="$(HOST_DIR)/usr/lib/pkgconfig$(PKG_CONFIG_PATH)"
|
||||
PKG_CONFIG_LIBDIR="$(HOST_DIR)/usr/lib/pkgconfig"
|
||||
|
||||
HOST_MAKE_ENV=PATH=$(HOST_PATH) \
|
||||
PKG_CONFIG="$(PKG_CONFIG_HOST_BINARY)" \
|
||||
PKG_CONFIG_LIBDIR="$(HOST_DIR)/usr/lib/pkgconfig"
|
||||
|
||||
HOST_MAKE_ENV=PATH=$(HOST_PATH)
|
||||
|
||||
#######################################################################
|
||||
# settings we need to pass to configure
|
||||
@@ -354,7 +341,7 @@ DISABLE_LARGEFILE= --disable-largefile
|
||||
endif
|
||||
|
||||
ifneq ($(BR2_HAVE_DOCUMENTATION),y)
|
||||
DISABLE_DOCUMENTATION=--without-html-dir --disable-gtk-doc
|
||||
DISABLE_DOCUMENTATION=--disable-gtk-doc
|
||||
endif
|
||||
|
||||
ifneq ($(BR2_INET_IPV6),y)
|
||||
@@ -373,7 +360,6 @@ endif
|
||||
|
||||
# X Windowing system
|
||||
|
||||
X11_PREFIX:=$(strip $(subst ",, $(BR2_X11_PREFIX)))
|
||||
#"))
|
||||
X11_PREFIX:=$(call qstrip,$(BR2_X11_PREFIX))
|
||||
|
||||
include package/Makefile.autotools.in
|
||||
|
||||
@@ -1,4 +1,6 @@
|
||||
config BR2_PACKAGE_ALSAMIXERGUI
|
||||
depends on BR2_PACKAGE_XORG7
|
||||
depends on BR2_PACKAGE_ALSA_LIB
|
||||
select BR2_PACKAGE_FLTK
|
||||
bool "alsamixergui"
|
||||
help
|
||||
|
||||
@@ -10,9 +10,11 @@ ALSAMIXERGUI_AUTORECONF = YES
|
||||
ALSAMIXERGUI_INSTALL_STAGING = NO
|
||||
ALSAMIXERGUI_INSTALL_TARGET = YES
|
||||
|
||||
ALSAMIXERGUI_CONF_OPT = LDFLAGS="-L$(STAGING_DIR)/usr/lib -L$(STAGING_DIR)/lib -lstdc++ -lX11"
|
||||
ALSAMIXERGUI_CONF_ENV = ac_cv_lib_fltk_numericsort=yes \
|
||||
ac_cv_lib_fltk_fl_numericsort=yes \
|
||||
ac_cv_lib_asound_snd_ctl_open=yes
|
||||
|
||||
ALSAMIXERGUI_DEPENDENCIES = uclibc fltk
|
||||
ALSAMIXERGUI_DEPENDENCIES = fltk alsa-lib
|
||||
|
||||
$(eval $(call AUTOTARGETS,package,alsamixergui))
|
||||
|
||||
|
||||
@@ -35,7 +35,7 @@ $(ARGUS_DIR)/.configured: $(ARGUS_DIR)/.unpacked
|
||||
(cd $(ARGUS_DIR); rm -rf config.cache; \
|
||||
$(TARGET_CONFIGURE_OPTS) \
|
||||
$(TARGET_CONFIGURE_ARGS) \
|
||||
./configure \
|
||||
./configure $(QUIET) \
|
||||
--target=$(GNU_TARGET_NAME) \
|
||||
--host=$(GNU_TARGET_NAME) \
|
||||
--build=$(GNU_HOST_NAME) \
|
||||
@@ -51,7 +51,7 @@ $(TARGET_DIR)/$(ARGUS_TARGET_BINARY): $(ARGUS_DIR)/$(ARGUS_BINARY)
|
||||
cp -dpf $(ARGUS_DIR)/$(ARGUS_BINARY) $@
|
||||
$(STRIPCMD) $(STRIP_STRIP_ALL) $@
|
||||
|
||||
argus: uclibc libpcap $(TARGET_DIR)/$(ARGUS_TARGET_BINARY)
|
||||
argus: libpcap $(TARGET_DIR)/$(ARGUS_TARGET_BINARY)
|
||||
|
||||
argus-clean:
|
||||
-$(MAKE) -C $(ARGUS_DIR) clean
|
||||
|
||||
@@ -25,7 +25,7 @@ $(AT_DIR)/.configured: $(AT_DIR)/.unpacked
|
||||
(cd $(AT_DIR); rm -rf config.cache; \
|
||||
$(TARGET_CONFIGURE_OPTS) \
|
||||
$(TARGET_CONFIGURE_ARGS) \
|
||||
./configure \
|
||||
./configure $(QUIET) \
|
||||
--target=$(GNU_TARGET_NAME) \
|
||||
--host=$(GNU_TARGET_NAME) \
|
||||
--build=$(GNU_HOST_NAME) \
|
||||
@@ -49,14 +49,14 @@ $(TARGET_DIR)/$(AT_TARGET_SCRIPT): $(AT_DIR)/$(AT_BINARY)
|
||||
# Use fakeroot to pretend to do 'make install' as root
|
||||
echo '$(MAKE) DAEMON_USERNAME=root DAEMON_GROUPNAME=root ' \
|
||||
'$(TARGET_CONFIGURE_OPTS) DESTDIR=$(TARGET_DIR) -C $(AT_DIR) install' \
|
||||
> $(PROJECT_BUILD_DIR)/.fakeroot.at
|
||||
> $(BUILD_DIR)/.fakeroot.at
|
||||
ifneq ($(BR2_HAVE_MANPAGES),y)
|
||||
echo 'rm -rf $(TARGET_DIR)/usr/man' >> $(PROJECT_BUILD_DIR)/.fakeroot.at
|
||||
echo 'rm -rf $(TARGET_DIR)/usr/man' >> $(BUILD_DIR)/.fakeroot.at
|
||||
endif
|
||||
echo 'rm -rf $(TARGET_DIR)/usr/doc/at' >> $(PROJECT_BUILD_DIR)/.fakeroot.at
|
||||
echo 'rm -rf $(TARGET_DIR)/usr/doc/at' >> $(BUILD_DIR)/.fakeroot.at
|
||||
$(INSTALL) -m 0755 -D $(AT_DIR)/debian/rc $(TARGET_DIR)/$(AT_TARGET_SCRIPT)
|
||||
|
||||
at: uclibc host-fakeroot $(TARGET_DIR)/$(AT_TARGET_SCRIPT)
|
||||
at: host-fakeroot $(TARGET_DIR)/$(AT_TARGET_SCRIPT)
|
||||
|
||||
at-clean:
|
||||
-$(MAKE) DESTDIR=$(TARGET_DIR) CC=$(TARGET_CC) -C $(AT_DIR) uninstall
|
||||
|
||||
@@ -74,7 +74,7 @@ $(STAMP_DIR)/host_atk_configured: $(STAMP_DIR)/host_atk_unpacked $(STAMP_DIR)/ho
|
||||
$(HOST_CONFIGURE_OPTS) \
|
||||
CFLAGS="$(HOST_CFLAGS)" \
|
||||
LDFLAGS="$(HOST_LDFLAGS)" \
|
||||
./configure \
|
||||
./configure $(QUIET) \
|
||||
--prefix="$(HOST_DIR)/usr" \
|
||||
--sysconfdir="$(HOST_DIR)/etc" \
|
||||
--enable-shared \
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
# autoconf
|
||||
#
|
||||
#############################################################
|
||||
AUTOCONF_VERSION = 2.63
|
||||
AUTOCONF_VERSION = 2.64
|
||||
AUTOCONF_SOURCE = autoconf-$(AUTOCONF_VERSION).tar.bz2
|
||||
AUTOCONF_SITE = $(BR2_GNU_MIRROR)/autoconf
|
||||
|
||||
@@ -11,9 +11,10 @@ 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_CONF_ENV = EMACS="no" ac_cv_path_M4=$(HOST_DIR)/usr/bin/m4 \
|
||||
ac_cv_prog_gnu_m4_gnu=no
|
||||
|
||||
AUTOCONF_DEPENDENCIES = uclibc microperl
|
||||
AUTOCONF_DEPENDENCIES = microperl
|
||||
|
||||
$(eval $(call AUTOTARGETS,package,autoconf))
|
||||
|
||||
@@ -39,7 +40,9 @@ $(STAMP_DIR)/host_autoconf_configured: $(STAMP_DIR)/host_autoconf_unpacked $(STA
|
||||
$(HOST_CONFIGURE_OPTS) \
|
||||
CFLAGS="$(HOST_CFLAGS)" \
|
||||
LDFLAGS="$(HOST_LDFLAGS)" \
|
||||
./configure \
|
||||
ac_cv_path_M4=$(HOST_DIR)/usr/bin/m4 \
|
||||
ac_cv_prog_gnu_m4_gnu=no \
|
||||
./configure $(QUIET) \
|
||||
--prefix="$(HOST_DIR)/usr" \
|
||||
--sysconfdir="$(HOST_DIR)/etc" \
|
||||
--disable-static \
|
||||
|
||||
@@ -11,7 +11,7 @@ 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
|
||||
AUTOMAKE_DEPENDENCIES = autoconf microperl
|
||||
|
||||
$(eval $(call AUTOTARGETS,package,automake))
|
||||
|
||||
@@ -38,7 +38,7 @@ $(STAMP_DIR)/host_automake_configured: $(STAMP_DIR)/host_automake_unpacked $(STA
|
||||
$(HOST_CONFIGURE_OPTS) \
|
||||
CFLAGS="$(HOST_CFLAGS)" \
|
||||
LDFLAGS="$(HOST_LDFLAGS)" \
|
||||
./configure \
|
||||
./configure $(QUIET) \
|
||||
--prefix="$(HOST_DIR)/usr" \
|
||||
--sysconfdir="$(HOST_DIR)/etc" \
|
||||
--disable-static \
|
||||
|
||||
@@ -36,7 +36,7 @@ ifeq ($(BR2_HAVE_MANPAGES),y)
|
||||
$(MAKE) DESTDIR=$(TARGET_DIR) -C $(AXEL_DIR) install-man
|
||||
endif
|
||||
|
||||
axel: uclibc $(TARGET_DIR)/$(AXEL_TARGET_BINARY)
|
||||
axel: $(TARGET_DIR)/$(AXEL_TARGET_BINARY)
|
||||
|
||||
axel-clean:
|
||||
$(MAKE) DESTDIR=$(TARGET_DIR) -C $(AXEL_DIR) uninstall
|
||||
|
||||
@@ -46,7 +46,7 @@ $(BASH_DIR)/.configured: $(BASH_DIR)/.unpacked
|
||||
bash_cv_getcwd_malloc=yes \
|
||||
bash_cv_func_sigsetjmp=present \
|
||||
bash_cv_printf_a_format=yes \
|
||||
./configure \
|
||||
./configure $(QUIET) \
|
||||
--target=$(GNU_TARGET_NAME) \
|
||||
--host=$(GNU_TARGET_NAME) \
|
||||
--build=$(GNU_HOST_NAME) \
|
||||
@@ -92,9 +92,9 @@ endif
|
||||
# If both bash and busybox are selected, make certain bash wins
|
||||
# the fight over who gets to own the /bin/sh symlink.
|
||||
ifeq ($(BR2_PACKAGE_BUSYBOX),y)
|
||||
bash: ncurses uclibc busybox $(TARGET_DIR)/$(BASH_TARGET_BINARY)
|
||||
bash: ncurses busybox $(TARGET_DIR)/$(BASH_TARGET_BINARY)
|
||||
else
|
||||
bash: ncurses uclibc $(TARGET_DIR)/$(BASH_TARGET_BINARY)
|
||||
bash: ncurses $(TARGET_DIR)/$(BASH_TARGET_BINARY)
|
||||
endif
|
||||
|
||||
# If both bash and busybox are selected, the /bin/sh symlink
|
||||
|
||||
@@ -20,10 +20,11 @@ $(DB_DIR)/.dist: $(DL_DIR)/$(DB_SOURCE)
|
||||
touch $@
|
||||
|
||||
$(DB_DIR)/.configured: $(DB_DIR)/.dist
|
||||
$(CONFIG_UPDATE) $(DB_DIR)/dist
|
||||
(cd $(DB_DIR)/build_unix; rm -rf config.cache; \
|
||||
$(TARGET_CONFIGURE_OPTS) \
|
||||
$(TARGET_CONFIGURE_ARGS) \
|
||||
../dist/configure \
|
||||
../dist/configure $(QUIET) \
|
||||
--target=$(GNU_TARGET_NAME) \
|
||||
--host=$(GNU_TARGET_NAME) \
|
||||
--build=$(GNU_HOST_NAME) \
|
||||
@@ -89,7 +90,7 @@ berkeleydb-clean:
|
||||
berkeleydb-dirclean:
|
||||
rm -rf $(DB_DIR)
|
||||
|
||||
berkeleydb: uclibc $(TARGET_DIR)/lib/$(DB_SHARLIB)
|
||||
berkeleydb: $(TARGET_DIR)/lib/$(DB_SHARLIB)
|
||||
|
||||
#############################################################
|
||||
#
|
||||
|
||||
@@ -7,7 +7,6 @@ BIND_VERSION = 9.5.1-P3
|
||||
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
|
||||
|
||||
@@ -26,7 +26,7 @@ $(BISON_DIR)/.configured: $(BISON_DIR)/.unpacked
|
||||
$(TARGET_CONFIGURE_OPTS) \
|
||||
$(TARGET_CONFIGURE_ARGS) \
|
||||
gt_cv_func_gnugettext2_libintl=yes \
|
||||
./configure \
|
||||
./configure $(QUIET) \
|
||||
--target=$(GNU_TARGET_NAME) \
|
||||
--host=$(GNU_TARGET_NAME) \
|
||||
--build=$(GNU_HOST_NAME) \
|
||||
@@ -62,7 +62,7 @@ endif
|
||||
rm -rf $(TARGET_DIR)/usr/share/doc
|
||||
cp -a package/bison/yacc $(TARGET_DIR)/usr/bin/yacc
|
||||
|
||||
bison: uclibc $(TARGET_DIR)/$(BISON_TARGET_BINARY)
|
||||
bison: $(TARGET_DIR)/$(BISON_TARGET_BINARY)
|
||||
|
||||
bison-clean:
|
||||
-$(MAKE) DESTDIR=$(TARGET_DIR) CC=$(TARGET_CC) -C $(BISON_DIR) uninstall
|
||||
|
||||
@@ -14,6 +14,6 @@ BLACKBOX_INSTALL_TARGET:=YES
|
||||
BLACKBOX_CONF_OPT:=--x-includes=$(STAGING_DIR)/usr/include/X11 \
|
||||
--x-libraries=$(STAGING_DIR)/usr/lib
|
||||
|
||||
BLACKBOX_DEPENDENCIES:=uclibc xserver_xorg-server
|
||||
BLACKBOX_DEPENDENCIES:=xserver_xorg-server
|
||||
|
||||
$(eval $(call AUTOTARGETS,package,blackbox))
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
BMON_VERSION = 2.1.0
|
||||
BMON_SOURCE = bmon-$(BMON_VERSION).tar.gz
|
||||
BMON_SITE = http://distfiles.gentoo.org/distfiles
|
||||
BMON_DEPENDENCIES = ncurses uclibc
|
||||
BMON_DEPENDENCIES = ncurses
|
||||
BMON_INSTALL_TARGET_OPT = DESTDIR=$(TARGET_DIR) install
|
||||
|
||||
$(eval $(call AUTOTARGETS,package,bmon))
|
||||
|
||||
@@ -29,7 +29,7 @@ $(BOA_WORKDIR)/Makefile: $(BOA_DIR)/.unpacked
|
||||
(cd $(BOA_WORKDIR); rm -rf config.cache; \
|
||||
$(TARGET_CONFIGURE_OPTS) \
|
||||
$(TARGET_CONFIGURE_ARGS) \
|
||||
$(BOA_DIR)/configure \
|
||||
$(BOA_DIR)/configure $(QUIET) \
|
||||
--target=$(GNU_TARGET_NAME) \
|
||||
--host=$(GNU_TARGET_NAME) \
|
||||
--build=$(GNU_HOST_NAME) \
|
||||
@@ -63,7 +63,7 @@ $(BOA_WORKDIR)/.installed: $(BOA_WORKDIR)/src/boa $(BOA_WORKDIR)/src/boa_indexer
|
||||
$(STRIPCMD) $(STRIP_STRIP_ALL) $(TARGET_DIR)/usr/sbin/boa $(TARGET_DIR)/usr/lib/boa/boa_indexer
|
||||
touch $(BOA_WORKDIR)/.installed
|
||||
|
||||
boa: uclibc $(BOA_WORKDIR)/.installed
|
||||
boa: $(BOA_WORKDIR)/.installed
|
||||
|
||||
boa-source: $(DL_DIR)/$(BOA_SOURCE)
|
||||
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
config BR2_PACKAGE_BOOTUTILS
|
||||
bool "bootutils"
|
||||
depends on BR2_LARGEFILE
|
||||
help
|
||||
BootUtils is a collection of utilities to facilitate booting of
|
||||
Linux 2.6-based systems. The process of finding the root volume
|
||||
@@ -8,3 +9,5 @@ config BR2_PACKAGE_BOOTUTILS
|
||||
|
||||
http://bootutils.pr.linuxrulz.org/
|
||||
|
||||
comment "bootutils requires a toolchain with LARGEFILE support"
|
||||
depends on !BR2_LARGEFILE
|
||||
|
||||
@@ -12,7 +12,6 @@ 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)
|
||||
BRIDGE_DEPENDENCIES:=uclibc
|
||||
|
||||
$(eval $(call AUTOTARGETS,package,bridge))
|
||||
|
||||
|
||||
@@ -33,7 +33,7 @@ $(TARGET_DIR)/$(BSDIFF_TARGET_BINARY): $(BSDIFF_DIR)/$(BSDIFF_BINARY)
|
||||
cp -dpf $(BSDIFF_DIR)/bsdiff $(TARGET_DIR)/usr/bin/.
|
||||
cp -dpf $(BSDIFF_DIR)/bspatch $(TARGET_DIR)/usr/bin/.
|
||||
|
||||
bsdiff: uclibc bzip2 $(TARGET_DIR)/$(BSDIFF_TARGET_BINARY)
|
||||
bsdiff: bzip2 $(TARGET_DIR)/$(BSDIFF_TARGET_BINARY)
|
||||
|
||||
bsdiff-source: $(DL_DIR)/$(BSDIFF_SOURCE)
|
||||
|
||||
|
||||
@@ -12,7 +12,7 @@ config BR2_PACKAGE_BUSYBOX
|
||||
choice
|
||||
prompt "BusyBox Version"
|
||||
depends on BR2_PACKAGE_BUSYBOX
|
||||
default BR2_BUSYBOX_VERSION_1_14_X
|
||||
default BR2_BUSYBOX_VERSION_1_15_X
|
||||
help
|
||||
Select the version of BusyBox you wish to use.
|
||||
|
||||
@@ -22,10 +22,14 @@ choice
|
||||
|
||||
config BR2_BUSYBOX_VERSION_1_13_X
|
||||
bool "BusyBox 1.13.x"
|
||||
depends on BR2_DEPRECATED || BR2_RECENT
|
||||
depends on BR2_RECENT
|
||||
|
||||
config BR2_BUSYBOX_VERSION_1_14_X
|
||||
bool "BusyBox 1.14.x"
|
||||
depends on BR2_DEPRECATED || BR2_RECENT
|
||||
|
||||
config BR2_BUSYBOX_VERSION_1_15_X
|
||||
bool "BusyBox 1.15.x"
|
||||
|
||||
config BR2_PACKAGE_BUSYBOX_SNAPSHOT
|
||||
bool "daily snapshot"
|
||||
@@ -36,7 +40,8 @@ config BR2_BUSYBOX_VERSION
|
||||
string
|
||||
default "1.12.4" if BR2_BUSYBOX_VERSION_1_12_X
|
||||
default "1.13.4" if BR2_BUSYBOX_VERSION_1_13_X
|
||||
default "1.14.3" if BR2_BUSYBOX_VERSION_1_14_X
|
||||
default "1.14.4" if BR2_BUSYBOX_VERSION_1_14_X
|
||||
default "1.15.2" if BR2_BUSYBOX_VERSION_1_15_X
|
||||
|
||||
config BR2_PACKAGE_BUSYBOX_FULLINSTALL
|
||||
bool "Run BusyBox's own full installation"
|
||||
@@ -54,22 +59,22 @@ config BR2_PACKAGE_BUSYBOX_FULLINSTALL
|
||||
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.13.x.config" if BR2_PACKAGE_BUSYBOX_SNAPSHOT
|
||||
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
|
||||
default "package/busybox/busybox-1.13.x.config" if BR2_BUSYBOX_VERSION_1_15_X
|
||||
help
|
||||
Some people may wish to use their own modified BusyBox configuration
|
||||
file, and will specify their config file location with this option.
|
||||
|
||||
Most people will just use the default BusyBox configuration file.
|
||||
|
||||
config BR2_PACKAGE_BUSYBOX_HIDE_OTHERS
|
||||
bool "Hide applications that are provided by busybox"
|
||||
depends on BR2_PACKAGE_BUSYBOX
|
||||
default y
|
||||
config BR2_PACKAGE_BUSYBOX_SHOW_OTHERS
|
||||
bool "Show packages that are also provided by busybox" if BR2_PACKAGE_BUSYBOX
|
||||
default y if !BR2_PACKAGE_BUSYBOX
|
||||
help
|
||||
Do not show packages in menuconfig that are potentially provided
|
||||
Show packages in menuconfig that are potentially also provided
|
||||
by busybox.
|
||||
|
||||
config BR2_PACKAGE_BUSYBOX_SKELETON
|
||||
|
||||
104
package/busybox/busybox-1.15.2-flash-eraseall.patch
Normal file
104
package/busybox/busybox-1.15.2-flash-eraseall.patch
Normal file
@@ -0,0 +1,104 @@
|
||||
From 86cfb70ca5f2bde11f2d071bc59db75291d8552f Mon Sep 17 00:00:00 2001
|
||||
From: Denys Vlasenko <vda.linux@googlemail.com>
|
||||
Date: Fri, 27 Nov 2009 13:26:17 +0100
|
||||
Subject: [PATCH] flash_eraseall: stop using obsolete mtd/jffs2-user.h; code shrink
|
||||
|
||||
function old new delta
|
||||
show_progress 68 67 -1
|
||||
flash_eraseall_main 1007 882 -125
|
||||
------------------------------------------------------------------------------
|
||||
(add/remove: 0/0 grow/shrink: 0/2 up/down: 0/-126) Total: -126 bytes
|
||||
|
||||
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
|
||||
---
|
||||
miscutils/flash_eraseall.c | 47 ++++++++++++++++++++++++++++---------------
|
||||
1 files changed, 30 insertions(+), 17 deletions(-)
|
||||
|
||||
diff --git a/miscutils/flash_eraseall.c b/miscutils/flash_eraseall.c
|
||||
index ba0a6b5..ca00a13 100644
|
||||
--- a/miscutils/flash_eraseall.c
|
||||
+++ b/miscutils/flash_eraseall.c
|
||||
@@ -12,22 +12,35 @@
|
||||
|
||||
#include "libbb.h"
|
||||
#include <mtd/mtd-user.h>
|
||||
-#include <mtd/jffs2-user.h>
|
||||
+#include <linux/jffs2.h>
|
||||
|
||||
#define OPTION_J (1 << 0)
|
||||
#define OPTION_Q (1 << 1)
|
||||
#define IS_NAND (1 << 2)
|
||||
#define BBTEST (1 << 3)
|
||||
|
||||
-struct globals {
|
||||
- /* This is used in the cpu_to_je/je_to_cpu macros in jffs2_user.h */
|
||||
- int tgt_endian;
|
||||
-};
|
||||
-#define G (*(struct globals*)&bb_common_bufsiz1)
|
||||
-#define target_endian (G.tgt_endian)
|
||||
-#define INIT_G() do { \
|
||||
- target_endian = __BYTE_ORDER; \
|
||||
-} while (0)
|
||||
+/* mtd/jffs2-user.h used to have this atrocity:
|
||||
+extern int target_endian;
|
||||
+
|
||||
+#define t16(x) ({ __u16 __b = (x); (target_endian==__BYTE_ORDER)?__b:bswap_16(__b); })
|
||||
+#define t32(x) ({ __u32 __b = (x); (target_endian==__BYTE_ORDER)?__b:bswap_32(__b); })
|
||||
+
|
||||
+#define cpu_to_je16(x) ((jint16_t){t16(x)})
|
||||
+#define cpu_to_je32(x) ((jint32_t){t32(x)})
|
||||
+#define cpu_to_jemode(x) ((jmode_t){t32(x)})
|
||||
+
|
||||
+#define je16_to_cpu(x) (t16((x).v16))
|
||||
+#define je32_to_cpu(x) (t32((x).v32))
|
||||
+#define jemode_to_cpu(x) (t32((x).m))
|
||||
+
|
||||
+but mtd/jffs2-user.h is gone now (at least 2.6.31.6 does not have it anymore)
|
||||
+*/
|
||||
+
|
||||
+/* We always use native endianness */
|
||||
+#undef cpu_to_je16
|
||||
+#undef cpu_to_je32
|
||||
+#define cpu_to_je16(v) ((jint16_t){(v)})
|
||||
+#define cpu_to_je32(v) ((jint32_t){(v)})
|
||||
|
||||
static uint32_t crc32(uint32_t val, const void *ss, int len,
|
||||
uint32_t *crc32_table)
|
||||
@@ -40,9 +53,11 @@ static uint32_t crc32(uint32_t val, const void *ss, int len,
|
||||
|
||||
static void show_progress(mtd_info_t *meminfo, erase_info_t *erase)
|
||||
{
|
||||
- printf("\rErasing %d Kibyte @ %x -- %2llu %% complete.",
|
||||
- (unsigned)meminfo->erasesize / 1024, erase->start,
|
||||
- (unsigned long long) erase->start * 100 / meminfo->size);
|
||||
+ printf("\rErasing %u Kibyte @ %x - %2u%% complete.",
|
||||
+ (unsigned)meminfo->erasesize / 1024,
|
||||
+ erase->start,
|
||||
+ (unsigned) ((unsigned long long) erase->start * 100 / meminfo->size)
|
||||
+ );
|
||||
fflush(stdout);
|
||||
}
|
||||
|
||||
@@ -57,17 +72,15 @@ int flash_eraseall_main(int argc UNUSED_PARAM, char **argv)
|
||||
unsigned int flags;
|
||||
char *mtd_name;
|
||||
|
||||
- INIT_G();
|
||||
opt_complementary = "=1";
|
||||
flags = BBTEST | getopt32(argv, "jq");
|
||||
|
||||
mtd_name = argv[optind];
|
||||
- xstat(mtd_name, &st);
|
||||
+ fd = xopen(mtd_name, O_RDWR);
|
||||
+ fstat(fd, &st);
|
||||
if (!S_ISCHR(st.st_mode))
|
||||
bb_error_msg_and_die("%s: not a char device", mtd_name);
|
||||
|
||||
- fd = xopen(mtd_name, O_RDWR);
|
||||
-
|
||||
xioctl(fd, MEMGETINFO, &meminfo);
|
||||
erase.length = meminfo.erasesize;
|
||||
if (meminfo.type == MTD_NANDFLASH)
|
||||
--
|
||||
1.6.5
|
||||
|
||||
@@ -7,29 +7,28 @@
|
||||
|
||||
ifeq ($(BR2_PACKAGE_BUSYBOX_SNAPSHOT),y)
|
||||
# Be aware that this changes daily....
|
||||
BUSYBOX_DIR:=$(PROJECT_BUILD_DIR)/busybox
|
||||
BUSYBOX_DIR:=$(BUILD_DIR)/busybox
|
||||
BUSYBOX_SOURCE:=busybox-snapshot.tar.bz2
|
||||
BUSYBOX_SITE:=http://www.busybox.net/downloads/snapshots
|
||||
else
|
||||
BUSYBOX_VERSION=$(strip $(subst ",, $(BR2_BUSYBOX_VERSION)))
|
||||
#"))
|
||||
BUSYBOX_DIR:=$(PROJECT_BUILD_DIR)/busybox-$(BUSYBOX_VERSION)
|
||||
BUSYBOX_VERSION=$(call qstrip,$(BR2_BUSYBOX_VERSION))
|
||||
BUSYBOX_DIR:=$(BUILD_DIR)/busybox-$(BUSYBOX_VERSION)
|
||||
BUSYBOX_SOURCE:=busybox-$(BUSYBOX_VERSION).tar.bz2
|
||||
BUSYBOX_SITE:=http://www.busybox.net/downloads
|
||||
endif
|
||||
|
||||
BUSYBOX_UNZIP=$(BZCAT)
|
||||
BUSYBOX_CFLAGS=$(TARGET_CFLAGS) -I$(LINUX_HEADERS_DIR)/include
|
||||
|
||||
ifndef BUSYBOX_CONFIG_FILE
|
||||
BUSYBOX_CONFIG_FILE=$(subst ",, $(strip $(BR2_PACKAGE_BUSYBOX_CONFIG)))
|
||||
#")
|
||||
BUSYBOX_CONFIG_FILE=$(call qstrip,$(BR2_PACKAGE_BUSYBOX_CONFIG))
|
||||
endif
|
||||
|
||||
$(DL_DIR)/$(BUSYBOX_SOURCE):
|
||||
$(call DOWNLOAD,$(BUSYBOX_SITE),$(BUSYBOX_SOURCE))
|
||||
|
||||
$(BUSYBOX_DIR)/.unpacked: $(DL_DIR)/$(BUSYBOX_SOURCE)
|
||||
$(BUSYBOX_UNZIP) $(DL_DIR)/$(BUSYBOX_SOURCE) | tar -C $(PROJECT_BUILD_DIR) $(TAR_OPTIONS) -
|
||||
$(BUSYBOX_UNZIP) $(DL_DIR)/$(BUSYBOX_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
|
||||
ifeq ($(BR2_PACKAGE_SYSKLOGD),y)
|
||||
# if we have external syslogd, force busybox to use it
|
||||
$(SED) "/#include.*busybox\.h/a#define CONFIG_SYSLOGD" $(BUSYBOX_DIR)/init/init.c
|
||||
@@ -69,8 +68,10 @@ else
|
||||
endif
|
||||
ifeq ($(BR2_INET_IPV6),y)
|
||||
$(SED) "s/^.*CONFIG_FEATURE_IPV6.*/CONFIG_FEATURE_IPV6=y/;" $(BUSYBOX_DIR)/.config
|
||||
$(SED) "s/^.*CONFIG_FEATURE_IFUPDOWN_IPV6.*/CONFIG_FEATURE_IFUPDOWN_IPV6=y/;" $(BUSYBOX_DIR)/.config
|
||||
else
|
||||
$(SED) "s/^.*CONFIG_FEATURE_IPV6.*/CONFIG_FEATURE_IPV6=n/;" $(BUSYBOX_DIR)/.config
|
||||
$(SED) "s/^.*CONFIG_FEATURE_IFUPDOWN_IPV6.*/CONFIG_FEATURE_IFUPDOWN_IPV6=n/;" $(BUSYBOX_DIR)/.config
|
||||
endif
|
||||
ifeq ($(BR2_INET_RPC),y)
|
||||
$(SED) "s/^.*CONFIG_FEATURE_MOUNT_NFS.*/CONFIG_FEATURE_MOUNT_NFS=y/;" $(BUSYBOX_DIR)/.config
|
||||
@@ -100,13 +101,13 @@ $(BUSYBOX_DIR)/busybox: $(BUSYBOX_DIR)/.config
|
||||
$(MAKE) CC=$(TARGET_CC) CROSS_COMPILE="$(TARGET_CROSS)" \
|
||||
CROSS="$(TARGET_CROSS)" PREFIX="$(TARGET_DIR)" \
|
||||
ARCH=$(KERNEL_ARCH) \
|
||||
EXTRA_CFLAGS="$(TARGET_CFLAGS)" -C $(BUSYBOX_DIR)
|
||||
EXTRA_CFLAGS="$(BUSYBOX_CFLAGS)" -C $(BUSYBOX_DIR)
|
||||
ifeq ($(BR2_PREFER_IMA)$(BR2_PACKAGE_BUSYBOX_SNAPSHOT),yy)
|
||||
rm -f $@
|
||||
$(MAKE) CC=$(TARGET_CC) CROSS_COMPILE="$(TARGET_CROSS)" \
|
||||
CROSS="$(TARGET_CROSS)" PREFIX="$(TARGET_DIR)" \
|
||||
ARCH=$(KERNEL_ARCH) STRIP="$(STRIPCMD)" \
|
||||
EXTRA_CFLAGS="$(TARGET_CFLAGS)" -C $(BUSYBOX_DIR) \
|
||||
EXTRA_CFLAGS="$(BUSYBOX_CFLAGS)" -C $(BUSYBOX_DIR) \
|
||||
-f scripts/Makefile.IMA
|
||||
endif
|
||||
|
||||
@@ -115,22 +116,22 @@ ifeq ($(BR2_PACKAGE_BUSYBOX_FULLINSTALL),y)
|
||||
$(MAKE) CC=$(TARGET_CC) CROSS_COMPILE="$(TARGET_CROSS)" \
|
||||
CROSS="$(TARGET_CROSS)" PREFIX="$(TARGET_DIR)" \
|
||||
ARCH=$(KERNEL_ARCH) \
|
||||
EXTRA_CFLAGS="$(TARGET_CFLAGS)" -C $(BUSYBOX_DIR) install
|
||||
EXTRA_CFLAGS="$(BUSYBOX_CFLAGS)" -C $(BUSYBOX_DIR) install
|
||||
else
|
||||
install -D -m 0755 $(BUSYBOX_DIR)/busybox $(TARGET_DIR)/bin/busybox
|
||||
endif
|
||||
# Just in case
|
||||
-chmod a+x $(TARGET_DIR)/usr/share/udhcpc/default.script
|
||||
|
||||
busybox: uclibc $(TARGET_DIR)/bin/busybox
|
||||
busybox: $(TARGET_DIR)/bin/busybox
|
||||
|
||||
busybox-source: $(DL_DIR)/$(BUSYBOX_SOURCE)
|
||||
|
||||
busybox-unpacked: host-sed $(PROJECT_BUILD_DIR) $(BUSYBOX_DIR)/.unpacked
|
||||
busybox-unpacked: host-sed $(BUILD_DIR) $(BUSYBOX_DIR)/.unpacked
|
||||
|
||||
busybox-config: host-sed $(PROJECT_BUILD_DIR) $(BUSYBOX_DIR)/.config
|
||||
busybox-config: host-sed $(BUILD_DIR) $(BUSYBOX_DIR)/.config
|
||||
|
||||
busybox-menuconfig: host-sed $(PROJECT_BUILD_DIR) busybox-source $(BUSYBOX_DIR)/.config
|
||||
busybox-menuconfig: host-sed $(BUILD_DIR) busybox-source $(BUSYBOX_DIR)/.config
|
||||
$(MAKE) __TARGET_ARCH=$(ARCH) -C $(BUSYBOX_DIR) menuconfig
|
||||
|
||||
busybox-update:
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
ifeq ($(BR2_PACKAGE_BUSYBOX_INITRAMFS),y)
|
||||
|
||||
BUSYBOX_INITRAMFS_DIR:=$(BUSYBOX_DIR)-initramfs
|
||||
BR2_INITRAMFS_DIR:=$(PROJECT_BUILD_DIR)/initramfs
|
||||
BR2_INITRAMFS_DIR:=$(BUILD_DIR)/initramfs
|
||||
BB_INITRAMFS_TARGET:=$(IMAGE).initramfs_lst
|
||||
|
||||
$(BUSYBOX_INITRAMFS_DIR)/.unpacked: $(DL_DIR)/$(BUSYBOX_SOURCE)
|
||||
@@ -105,39 +105,39 @@ $(BR2_INITRAMFS_DIR)/bin/busybox: $(BUSYBOX_INITRAMFS_DIR)/busybox
|
||||
|
||||
|
||||
$(BB_INITRAMFS_TARGET): host-fakeroot $(BR2_INITRAMFS_DIR)/bin/busybox
|
||||
ln -fs bin/busybox $(PROJECT_BUILD_DIR)/initramfs/init
|
||||
mkdir -p $(PROJECT_BUILD_DIR)/initramfs/etc
|
||||
ln -fs bin/busybox $(BUILD_DIR)/initramfs/init
|
||||
mkdir -p $(BUILD_DIR)/initramfs/etc
|
||||
cat target/generic/target_busybox_skeleton/etc/inittab > \
|
||||
$(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 "$(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))
|
||||
$(BUILD_DIR)/initramfs/etc/inittab
|
||||
rm -f $(BUILD_DIR)/_fakeroot.$(notdir $(BB_INITRAMFS_TARGET))
|
||||
(echo "chown -R 0:0 $(BUILD_DIR)/initramfs"; \
|
||||
echo "$(HOST_DIR)/usr/bin/makedevs -d $(TARGET_DEVICE_TABLE) $(BUILD_DIR)/initramfs"; \
|
||||
echo "$(SHELL) target/initramfs/gen_initramfs_list.sh -u 0 -g 0 $(BUILD_DIR)/initramfs > $(BB_INITRAMFS_TARGET)"; \
|
||||
) > $(BUILD_DIR)/_fakeroot.$(notdir $(BB_INITRAMFS_TARGET))
|
||||
chmod +x $(BUILD_DIR)/_fakeroot.$(notdir $(BB_INITRAMFS_TARGET))
|
||||
$(HOST_DIR)/usr/bin/fakeroot -- \
|
||||
$(PROJECT_BUILD_DIR)/_fakeroot.$(notdir $(BB_INITRAMFS_TARGET))
|
||||
rm -f $(PROJECT_BUILD_DIR)/_fakeroot.$(notdir $(BB_INITRAMFS_TARGET))
|
||||
$(BUILD_DIR)/_fakeroot.$(notdir $(BB_INITRAMFS_TARGET))
|
||||
rm -f $(BUILD_DIR)/_fakeroot.$(notdir $(BB_INITRAMFS_TARGET))
|
||||
touch -c $@
|
||||
|
||||
$(PROJECT_BUILD_DIR)/.initramfs_done: $(BR2_INITRAMFS_DIR)/bin/busybox \
|
||||
$(BUILD_DIR)/.initramfs_done: $(BR2_INITRAMFS_DIR)/bin/busybox \
|
||||
$(BB_INITRAMFS_TARGET)
|
||||
touch $@
|
||||
|
||||
busybox-initramfs-source:
|
||||
busybox-initramfs: uclibc $(PROJECT_BUILD_DIR)/.initramfs_done
|
||||
busybox-initramfs: $(BUILD_DIR)/.initramfs_done
|
||||
|
||||
busybox-initramfs-menuconfig: host-sed $(BUILD_DIR) busybox-source $(BUSYBOX_INITRAMFS_DIR)/.configured
|
||||
$(MAKE) __TARGET_ARCH=$(ARCH) -C $(BUSYBOX_INITRAMFS_DIR) menuconfig
|
||||
|
||||
busybox-initramfs-clean:
|
||||
rm -f $(BUSYBOX_INITRAMFS_DIR)/busybox $(PROJECT_BUILD_DIR)/.initramfs_*
|
||||
rm -f $(BUSYBOX_INITRAMFS_DIR)/busybox $(BUILD_DIR)/.initramfs_*
|
||||
rm -rf $(BR2_INITRAMFS_DIR) $(BB_INITRAMFS_TARGET)
|
||||
-$(MAKE) -C $(BUSYBOX_INITRAMFS_DIR) clean
|
||||
|
||||
busybox-initramfs-dirclean:
|
||||
rm -rf $(BUSYBOX_INITRAMFS_DIR) $(BR2_INITRAMFS_DIR) \
|
||||
$(PROJECT_BUILD_DIR)/.initramfs_*
|
||||
$(BUILD_DIR)/.initramfs_*
|
||||
endif
|
||||
#############################################################
|
||||
#
|
||||
|
||||
@@ -96,7 +96,7 @@ $(TARGET_DIR)/usr/lib/libbz2.a: $(STAGING_DIR)/usr/lib/libbz2.a
|
||||
|
||||
bzip2-headers: $(TARGET_DIR)/usr/lib/libbz2.a
|
||||
|
||||
bzip2: uclibc $(BZIP2_TARGET_BINARY)
|
||||
bzip2: $(BZIP2_TARGET_BINARY)
|
||||
|
||||
bzip2-clean:
|
||||
rm -f $(addprefix $(TARGET_DIR),/lib/libbz2.* \
|
||||
|
||||
@@ -39,7 +39,7 @@ CAIRO_CONF_ENV = ac_cv_func_posix_getpwuid_r=yes glib_cv_stack_grows=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
|
||||
|
||||
CAIRO_DEPENDENCIES = uclibc host-pkgconfig fontconfig pixman
|
||||
CAIRO_DEPENDENCIES = host-pkgconfig fontconfig pixman
|
||||
|
||||
ifeq ($(BR2_PACKAGE_DIRECTFB),y)
|
||||
CAIRO_CONF_OPT += --enable-directfb
|
||||
@@ -101,7 +101,7 @@ $(STAMP_DIR)/host_cairo_configured: $(STAMP_DIR)/host_cairo_unpacked $(STAMP_DIR
|
||||
$(HOST_CONFIGURE_OPTS) \
|
||||
CFLAGS="$(HOST_CFLAGS)" \
|
||||
LDFLAGS="$(HOST_LDFLAGS)" \
|
||||
./configure \
|
||||
./configure $(QUIET) \
|
||||
--prefix="$(HOST_DIR)/usr" \
|
||||
--sysconfdir="$(HOST_DIR)/etc" \
|
||||
--enable-ps \
|
||||
|
||||
@@ -23,3 +23,22 @@ Index: coreutils-7.4/m4/rename.m4
|
||||
AC_DEFINE([RENAME_DEST_EXISTS_BUG], [1],
|
||||
[Define if rename does not work when the destination file exists,
|
||||
as on Windows.])
|
||||
Index: coreutils-7.4/configure
|
||||
===================================================================
|
||||
--- coreutils-7.4.orig/configure
|
||||
+++ coreutils-7.4/configure
|
||||
@@ -28698,12 +28698,12 @@ $as_echo "$gl_cv_func_rename_dest_exists
|
||||
|
||||
$as_echo "#define rename rpl_rename" >>confdefs.h
|
||||
|
||||
- if test $gl_cv_func_rename_trailing_slash_bug; then
|
||||
+ if test $gl_cv_func_rename_trailing_slash_bug = yes; then
|
||||
|
||||
$as_echo "#define RENAME_TRAILING_SLASH_BUG 1" >>confdefs.h
|
||||
|
||||
fi
|
||||
- if test $gl_cv_func_rename_dest_exists_bug; then
|
||||
+ if test $gl_cv_func_rename_dest_exists_bug = yes; then
|
||||
|
||||
$as_echo "#define RENAME_DEST_EXISTS_BUG 1" >>confdefs.h
|
||||
|
||||
|
||||
@@ -23,6 +23,9 @@ $(COREUTILS_DIR)/.unpacked: $(DL_DIR)/$(COREUTILS_SOURCE)
|
||||
$(COREUTILS_CAT) $(DL_DIR)/$(COREUTILS_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
|
||||
toolchain/patch-kernel.sh $(COREUTILS_DIR) package/coreutils/ coreutils\*.patch
|
||||
$(CONFIG_UPDATE) $(COREUTILS_DIR)/build-aux
|
||||
# ensure rename.m4 file is older than configure / aclocal.m4 so
|
||||
# auto* isn't rerun
|
||||
touch -d '1979-01-01' $(@D)/m4/rename.m4
|
||||
touch $@
|
||||
|
||||
$(COREUTILS_DIR)/.configured: $(COREUTILS_DIR)/.unpacked
|
||||
@@ -46,7 +49,7 @@ $(COREUTILS_DIR)/.configured: $(COREUTILS_DIR)/.unpacked
|
||||
ac_cv_func_lstat_dereferences_slashed_symlink=yes \
|
||||
ac_cv_func_lstat_empty_string_bug=no \
|
||||
ac_cv_func_stat_empty_string_bug=no \
|
||||
vb_cv_func_rename_trailing_slash_bug=no \
|
||||
gl_cv_func_rename_trailing_slash_bug=no \
|
||||
ac_cv_have_decl_nanosleep=yes \
|
||||
jm_cv_func_nanosleep_works=yes \
|
||||
gl_cv_func_working_utimes=yes \
|
||||
@@ -84,7 +87,7 @@ $(COREUTILS_DIR)/.configured: $(COREUTILS_DIR)/.unpacked
|
||||
jm_cv_func_working_re_compile_pattern=yes \
|
||||
ac_use_included_regex=no \
|
||||
gl_cv_c_restrict=no \
|
||||
./configure \
|
||||
./configure $(QUIET) \
|
||||
--target=$(GNU_TARGET_NAME) \
|
||||
--host=$(GNU_TARGET_NAME) \
|
||||
--build=$(GNU_HOST_NAME) \
|
||||
@@ -133,9 +136,9 @@ endif
|
||||
# If both coreutils and busybox are selected, make certain coreutils
|
||||
# wins the fight over who gets to have their utils actually installed.
|
||||
ifeq ($(BR2_PACKAGE_BUSYBOX),y)
|
||||
coreutils: uclibc busybox $(TARGET_DIR)/$(COREUTILS_TARGET_BINARY)
|
||||
coreutils: busybox $(TARGET_DIR)/$(COREUTILS_TARGET_BINARY)
|
||||
else
|
||||
coreutils: uclibc $(TARGET_DIR)/$(COREUTILS_TARGET_BINARY)
|
||||
coreutils: $(TARGET_DIR)/$(COREUTILS_TARGET_BINARY)
|
||||
endif
|
||||
|
||||
# If both coreutils and busybox are selected, the corresponding applets
|
||||
|
||||
@@ -6,6 +6,12 @@
|
||||
CTORRENT_VERSION:=dnh3.3.2
|
||||
CTORRENT_SOURCE:=ctorrent-$(CTORRENT_VERSION).tar.gz
|
||||
CTORRENT_SITE:=http://www.rahul.net/dholmes/ctorrent/
|
||||
CTORRENT_CONF_OPT:=--with-ssl=no
|
||||
|
||||
ifeq ($(BR2_PACKAGE_OPENSSL),y)
|
||||
CTORRENT_CONF_OPT+=--with-ssl=yes
|
||||
CTORRENT_DEPENDENCIES+=openssl
|
||||
else
|
||||
CTORRENT_CONF_OPT+=--with-ssl=no
|
||||
endif
|
||||
|
||||
$(eval $(call AUTOTARGETS,package,ctorrent))
|
||||
|
||||
@@ -80,7 +80,7 @@ $(CUPS_DIR)/.configured: $(CUPS_DIR)/.unpacked
|
||||
$(TARGET_CONFIGURE_ARGS) \
|
||||
$(CUPS_CONF_ENV) \
|
||||
CFLAGS="$(CUPS_CFLAGS)" \
|
||||
./configure \
|
||||
./configure $(QUIET) \
|
||||
--target=$(GNU_TARGET_NAME) \
|
||||
--host=$(GNU_TARGET_NAME) \
|
||||
--build=$(GNU_HOST_NAME) \
|
||||
@@ -110,7 +110,7 @@ $(CUPS_DIR)/.installed: $(CUPS_DIR)/.compiled
|
||||
$(SED) "s,^libdir=.*,libdir=\'$(STAGING_DIR)/usr/lib\',g" $(STAGING_DIR)/usr/bin/cups-config
|
||||
touch $@
|
||||
|
||||
cups: uclibc host-autoconf $(CUPS_DEPENDENCIES) $(CUPS_DIR)/.installed
|
||||
cups: host-autoconf $(CUPS_DEPENDENCIES) $(CUPS_DIR)/.installed
|
||||
|
||||
cups-source: $(DL_DIR)/$(CUPS_SOURCE)
|
||||
|
||||
|
||||
@@ -6,14 +6,14 @@
|
||||
CUST_DIR:=package/customize/source
|
||||
|
||||
$(BUILD_DIR)/.customize:
|
||||
rm -f $(PROJECT_BUILD_DIR)/series
|
||||
rm -f $(BUILD_DIR)/series
|
||||
(cd $(CUST_DIR); \
|
||||
/bin/ls -d * > $(PROJECT_BUILD_DIR)/series || \
|
||||
touch $(PROJECT_BUILD_DIR)/series )
|
||||
for f in `cat $(PROJECT_BUILD_DIR)/series`; do \
|
||||
/bin/ls -d * > $(BUILD_DIR)/series || \
|
||||
touch $(BUILD_DIR)/series )
|
||||
for f in `cat $(BUILD_DIR)/series`; do \
|
||||
cp -af $(CUST_DIR)/$$f $(TARGET_DIR)/$$f; \
|
||||
done
|
||||
rm -f $(PROJECT_BUILD_DIR)/series
|
||||
rm -f $(BUILD_DIR)/series
|
||||
touch $@
|
||||
|
||||
customize: $(BUILD_DIR)/.customize
|
||||
|
||||
@@ -57,7 +57,7 @@ $(CVS_DIR)/.configured: $(CVS_DIR)/.unpacked
|
||||
$(TARGET_CONFIGURE_OPTS) \
|
||||
$(TARGET_CONFIGURE_ARGS) \
|
||||
cvs_cv_func_printf_ptr=yes \
|
||||
./configure \
|
||||
./configure $(QUIET) \
|
||||
--target=$(GNU_TARGET_NAME) \
|
||||
--host=$(GNU_TARGET_NAME) \
|
||||
--build=$(GNU_HOST_NAME) \
|
||||
@@ -75,7 +75,7 @@ $(TARGET_DIR)/$(CVS_TARGET_BINARY): $(CVS_DIR)/$(CVS_BINARY)
|
||||
install -D $(CVS_DIR)/$(CVS_BINARY) $(TARGET_DIR)/$(CVS_TARGET_BINARY)
|
||||
$(STRIPCMD) $(STRIP_STRIP_ALL) $(TARGET_DIR)/$(CVS_TARGET_BINARY)
|
||||
|
||||
cvs: uclibc ncurses $(TARGET_DIR)/$(CVS_TARGET_BINARY)
|
||||
cvs: ncurses $(TARGET_DIR)/$(CVS_TARGET_BINARY)
|
||||
|
||||
cvs-clean:
|
||||
-$(MAKE) -C $(CVS_DIR) clean
|
||||
|
||||
@@ -29,7 +29,7 @@ $(DASH_DIR)/.configured: $(DASH_DIR)/.unpacked
|
||||
(cd $(DASH_DIR); rm -rf config.cache; \
|
||||
$(TARGET_CONFIGURE_OPTS) \
|
||||
$(TARGET_CONFIGURE_ARGS) \
|
||||
./configure \
|
||||
./configure $(QUIET) \
|
||||
--target=$(GNU_TARGET_NAME) \
|
||||
--host=$(GNU_TARGET_NAME) \
|
||||
--build=$(GNU_HOST_NAME) \
|
||||
@@ -54,7 +54,7 @@ $(TARGET_DIR)/$(DASH_TARGET_BINARY): $(DASH_DIR)/$(DASH_BINARY)
|
||||
cp -a $(DASH_DIR)/$(DASH_BINARY) $(TARGET_DIR)/$(DASH_TARGET_BINARY)
|
||||
touch -c $(TARGET_DIR)/$(DASH_TARGET_BINARY)
|
||||
|
||||
dash: uclibc $(TARGET_DIR)/$(DASH_TARGET_BINARY)
|
||||
dash: $(TARGET_DIR)/$(DASH_TARGET_BINARY)
|
||||
|
||||
dash-clean:
|
||||
$(MAKE1) CC=$(TARGET_CC) -C $(DASH_DIR) clean
|
||||
|
||||
@@ -8,7 +8,7 @@ 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 ncurses
|
||||
MYSQL_CLIENT_DEPENDENCIES = readline ncurses
|
||||
|
||||
MYSQL_CLIENT_CONF_ENV = ac_cv_sys_restartable_syscalls=yes
|
||||
MYSQL_CLIENT_CONF_OPT = \
|
||||
|
||||
@@ -4,13 +4,21 @@
|
||||
#
|
||||
#############################################################
|
||||
|
||||
SQLITE_VERSION = 3.6.16
|
||||
SQLITE_VERSION = 3.6.20
|
||||
SQLITE_SOURCE = sqlite-amalgamation-$(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
|
||||
|
||||
ifneq ($(BR2_LARGEFILE),y)
|
||||
# the sqlite configure script fails to define SQLITE_DISABLE_LFS when
|
||||
# --disable-largefile is passed, breaking the build. Work around it by
|
||||
# simply adding it to CFLAGS for configure instead
|
||||
SQLITE_CONF_ENV = CFLAGS="$(TARGET_CFLAGS) -DSQLITE_DISABLE_LFS"
|
||||
# changing CFLAGS doesn't work with config.cache
|
||||
SQLITE_USE_CONFIG_CACHE = NO
|
||||
endif
|
||||
|
||||
SQLITE_CONF_OPT = --enable-shared \
|
||||
--enable-static \
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
config BR2_PACKAGE_DBUS_GLIB
|
||||
bool "dbus-glib"
|
||||
depends on BR2_PACKAGE_DBUS
|
||||
depends on BR2_PACKAGE_EXPAT
|
||||
depends on BR2_DBUS_EXPAT
|
||||
select BR2_PACKAGE_LIBGLIB2
|
||||
help
|
||||
GLib bindings for D-Bus.
|
||||
@@ -9,4 +9,4 @@ config BR2_PACKAGE_DBUS_GLIB
|
||||
http://www.freedesktop.org/software/dbus
|
||||
|
||||
comment "dbus-glib needs dbus to be compiled with expat support"
|
||||
depends on !BR2_PACKAGE_EXPAT
|
||||
depends on BR2_PACKAGE_DBUS && !BR2_DBUS_EXPAT
|
||||
|
||||
@@ -23,7 +23,7 @@ DBUS_GLIB_CONF_OPT = --localstatedir=/var \
|
||||
--disable-doxygen-docs \
|
||||
--enable-asserts=yes
|
||||
|
||||
DBUS_GLIB_DEPENDENCIES = uclibc host-pkgconfig dbus host-dbus host-dbus-glib libglib2 expat
|
||||
DBUS_GLIB_DEPENDENCIES = host-pkgconfig dbus host-dbus host-dbus-glib libglib2 expat
|
||||
|
||||
$(eval $(call AUTOTARGETS,package,dbus-glib))
|
||||
|
||||
@@ -45,7 +45,7 @@ $(STAMP_DIR)/host_dbusglib_configured: $(STAMP_DIR)/host_dbusglib_unpacked $(STA
|
||||
$(HOST_CONFIGURE_OPTS) \
|
||||
CFLAGS="$(HOST_CFLAGS)" \
|
||||
LDFLAGS="$(HOST_LDFLAGS)" \
|
||||
./configure \
|
||||
./configure $(QUIET) \
|
||||
--prefix="$(HOST_DIR)/usr" \
|
||||
--sysconfdir="$(HOST_DIR)/etc" \
|
||||
--disable-tests \
|
||||
|
||||
@@ -19,6 +19,6 @@ DBUS_PYTHON_CONF_ENV = am_cv_pathless_PYTHON=python \
|
||||
|
||||
DBUS_PYTHON_CONF_OPT = --disable-html-docs --disable-api-docs
|
||||
|
||||
DBUS_PYTHON_DEPENDENCIES = uclibc dbus-glib libpython
|
||||
DBUS_PYTHON_DEPENDENCIES = dbus-glib libpython
|
||||
|
||||
$(eval $(call AUTOTARGETS,package,dbus-python))
|
||||
|
||||
@@ -12,7 +12,7 @@ comment "dbus not available (need expat or libxml2)"
|
||||
choice
|
||||
prompt "XML library to use"
|
||||
depends on BR2_PACKAGE_DBUS
|
||||
default BR2_DBUS_LIBXML2 if BR2_PACKAGE_LIBXML2
|
||||
default BR2_DBUS_LIBXML2 if (BR2_PACKAGE_LIBXML2 && !BR2_PACKAGE_EXPAT)
|
||||
default BR2_DBUS_EXPAT
|
||||
help
|
||||
Select the XML library to use with D-Bus. Select Expat
|
||||
|
||||
@@ -3,9 +3,10 @@
|
||||
# dbus
|
||||
#
|
||||
#############################################################
|
||||
DBUS_VERSION = 1.2.12
|
||||
DBUS_VERSION = 1.2.16
|
||||
DBUS_SOURCE = dbus-$(DBUS_VERSION).tar.gz
|
||||
DBUS_SITE = http://dbus.freedesktop.org/releases/dbus/
|
||||
DBUS_LIBTOOL_PATCH = NO
|
||||
DBUS_INSTALL_STAGING = YES
|
||||
DBUS_INSTALL_TARGET = YES
|
||||
ifeq ($(BR2_ENABLE_DEBUG),y)
|
||||
@@ -16,7 +17,7 @@ else
|
||||
DBUS_INSTALL_TARGET_OPT = DESTDIR=$(TARGET_DIR) install-strip STRIPPROG="$(STRIPCMD)"
|
||||
endif
|
||||
|
||||
DBUS_DEPENDENCIES = uclibc host-pkgconfig
|
||||
DBUS_DEPENDENCIES = host-pkgconfig
|
||||
|
||||
DBUS_CONF_ENV = ac_cv_have_abstract_sockets=yes
|
||||
DBUS_CONF_OPT = --program-prefix="" \
|
||||
@@ -50,9 +51,9 @@ endif
|
||||
|
||||
$(eval $(call AUTOTARGETS,package,dbus))
|
||||
|
||||
# fix rebuild if /var/lib is a symlink to /tmp
|
||||
# fix rebuild (dbus makefile errors out if /var/lib/dbus is a symlink)
|
||||
$(DBUS_HOOK_POST_BUILD): $(DBUS_TARGET_BUILD)
|
||||
rm -rf /tmp/dbus
|
||||
rm -rf $(TARGET_DIR)/var/lib/dbus
|
||||
touch $@
|
||||
|
||||
$(DBUS_HOOK_POST_INSTALL): $(DBUS_TARGET_INSTALL_TARGET)
|
||||
@@ -80,7 +81,7 @@ $(STAMP_DIR)/host_dbus_configured: $(STAMP_DIR)/host_dbus_unpacked $(STAMP_DIR)/
|
||||
$(HOST_CONFIGURE_OPTS) \
|
||||
CFLAGS="$(HOST_CFLAGS)" \
|
||||
LDFLAGS="$(HOST_LDFLAGS)" \
|
||||
./configure \
|
||||
./configure $(QUIET) \
|
||||
--prefix="$(HOST_DIR)/usr" \
|
||||
--sysconfdir="$(HOST_DIR)/etc" \
|
||||
--with-dbus-user=dbus \
|
||||
|
||||
@@ -23,7 +23,7 @@ $(TARGET_DIR)/sbin/$(DEVMEM2_BINARY): $(DEVMEM2_DIR)/$(DEVMEM2_BINARY)
|
||||
cp $^ $@
|
||||
$(STRIPCMD) $(STRIP_STRIP_UNNEEDED) $@
|
||||
|
||||
devmem2: uclibc $(TARGET_DIR)/sbin/$(DEVMEM2_BINARY)
|
||||
devmem2: $(TARGET_DIR)/sbin/$(DEVMEM2_BINARY)
|
||||
|
||||
devmem2-source: $(DL_DIR)/$(DEVMEM2_SOURCE)
|
||||
|
||||
|
||||
@@ -104,11 +104,11 @@ endif
|
||||
#rm -rf $(TARGET_DIR)/usr/share/locale
|
||||
#rm -rf $(TARGET_DIR)/usr/share/doc
|
||||
|
||||
dhcp_server: uclibc $(TARGET_DIR)/$(DHCP_SERVER_TARGET_BINARY)
|
||||
dhcp_server: $(TARGET_DIR)/$(DHCP_SERVER_TARGET_BINARY)
|
||||
|
||||
dhcp_relay: uclibc $(TARGET_DIR)/$(DHCP_RELAY_TARGET_BINARY)
|
||||
dhcp_relay: $(TARGET_DIR)/$(DHCP_RELAY_TARGET_BINARY)
|
||||
|
||||
dhcp_client: uclibc $(TARGET_DIR)/$(DHCP_CLIENT_TARGET_BINARY)
|
||||
dhcp_client: $(TARGET_DIR)/$(DHCP_CLIENT_TARGET_BINARY)
|
||||
|
||||
dhcp-clean:
|
||||
-$(MAKE) -C $(DHCP_DIR) clean
|
||||
|
||||
@@ -22,7 +22,7 @@ $(DIALOG_DIR)/.configured: $(DIALOG_DIR)/.source
|
||||
(cd $(DIALOG_DIR); rm -f config.cache; \
|
||||
$(TARGET_CONFIGURE_OPTS) \
|
||||
$(TARGET_CONFIGURE_ARGS) \
|
||||
./configure \
|
||||
./configure $(QUIET) \
|
||||
--target=$(GNU_TARGET_NAME) \
|
||||
--host=$(GNU_TARGET_NAME) \
|
||||
--build=$(GNU_HOST_NAME) \
|
||||
@@ -43,7 +43,7 @@ ifneq ($(BR2_HAVE_MANPAGES),y)
|
||||
rm -Rf $(TARGET_DIR)/usr/share/man
|
||||
endif
|
||||
|
||||
dialog: uclibc ncurses $(TARGET_DIR)/$(DIALOG_TARGET_BINARY)
|
||||
dialog: ncurses $(TARGET_DIR)/$(DIALOG_TARGET_BINARY)
|
||||
|
||||
dialog-source: $(DL_DIR)/$(DIALOG_SOURCE)
|
||||
|
||||
|
||||
@@ -78,7 +78,7 @@ $(DIFFUTILS_DIR)/.configured: $(DIFFUTILS_DIR)/.unpacked
|
||||
ac_cv_func_working_mktime=yes \
|
||||
jm_cv_func_working_re_compile_pattern=yes \
|
||||
ac_use_included_regex=no \
|
||||
./configure \
|
||||
./configure $(QUIET) \
|
||||
--target=$(GNU_TARGET_NAME) \
|
||||
--host=$(GNU_TARGET_NAME) \
|
||||
--build=$(GNU_HOST_NAME) \
|
||||
@@ -106,7 +106,7 @@ ifneq ($(BR2_ENABLE_LOCALE),y)
|
||||
rm -rf $(TARGET_DIR)/usr/share/locale
|
||||
endif
|
||||
|
||||
diffutils: uclibc $(TARGET_DIR)/$(DIFFUTILS_TARGET_BINARY)
|
||||
diffutils: $(TARGET_DIR)/$(DIFFUTILS_TARGET_BINARY)
|
||||
|
||||
diff-utils-unpacked: $(DIFFUTILS_DIR)/.unpacked
|
||||
|
||||
|
||||
@@ -21,7 +21,7 @@ $(DILLO_DIR)/.configured: $(DILLO_DIR)/.unpacked
|
||||
(cd $(DILLO_DIR); rm -rf config.cache; \
|
||||
$(TARGET_CONFIGURE_OPTS) \
|
||||
$(TARGET_CONFIGURE_ARGS) \
|
||||
./configure \
|
||||
./configure $(QUIET) \
|
||||
--target=$(GNU_TARGET_NAME) \
|
||||
--host=$(GNU_TARGET_NAME) \
|
||||
--build=$(GNU_HOST_NAME) \
|
||||
@@ -39,7 +39,7 @@ $(DILLO_DIR)/.installed: $(DILLO_DIR)/src/dillo
|
||||
$(MAKE) -C $(DILLO_DIR) DESTDIR=$(TARGET_DIR) install
|
||||
touch $(DILLO_DIR)/.installed
|
||||
|
||||
dillo: uclibc xserver_xorg-server libglib12 libgtk12 jpeg libpng $(DILLO_DIR)/.installed
|
||||
dillo: xserver_xorg-server libglib12 libgtk12 jpeg libpng $(DILLO_DIR)/.installed
|
||||
|
||||
dillo-source: $(DL_DIR)/$(DILLO_SOURCE)
|
||||
|
||||
|
||||
@@ -11,7 +11,18 @@ config BR2_PACKAGE_DIRECTFB_MULTI
|
||||
select BR2_PACKAGE_LINUX_FUSION
|
||||
help
|
||||
Enable use of multiple concurrent DirectFB applications
|
||||
http://www.directfb.org/
|
||||
|
||||
config BR2_PACKAGE_DIRECTFB_DEBUG
|
||||
bool "directfb debugging"
|
||||
depends on BR2_PACKAGE_DIRECTFB
|
||||
help
|
||||
Compile DirectFB with lots of debug output
|
||||
|
||||
config BR2_PACKAGE_DIRECTFB_TRACE
|
||||
bool "directfb call trace support"
|
||||
depends on BR2_PACKAGE_DIRECTFB
|
||||
help
|
||||
Enable call tracing for DirectFB applications
|
||||
|
||||
config BR2_PACKAGE_DIRECTFB_XSERVER
|
||||
bool "build with X server backend"
|
||||
@@ -39,12 +50,22 @@ config BR2_PACKAGE_DIRECTFB_MATROX
|
||||
depends on BR2_PACKAGE_DIRECTFB
|
||||
depends on BR2_i386 || BR2_x86_64
|
||||
|
||||
config BR2_PACKAGE_DIRECTFB_PXA3XX
|
||||
bool "compile pxa3xx graphics driver"
|
||||
depends on BR2_PACKAGE_DIRECTFB
|
||||
depends on BR2_arm
|
||||
|
||||
config BR2_PACKAGE_DIRECTFB_UNICHROME
|
||||
bool "compile unichrome graphics driver"
|
||||
default y
|
||||
depends on BR2_PACKAGE_DIRECTFB
|
||||
depends on BR2_i386 || BR2_x86_64
|
||||
|
||||
config BR2_PACKAGE_DIRECTFB_I830
|
||||
bool "compile i830 graphics driver"
|
||||
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
|
||||
@@ -76,7 +97,6 @@ config BR2_PACKAGE_DIRECTFB_GIF
|
||||
bool "enable GIF support"
|
||||
default y
|
||||
depends on BR2_PACKAGE_DIRECTFB
|
||||
select BR2_PACKAGE_LIBUNGIF
|
||||
|
||||
config BR2_PACKAGE_DIRECTFB_JPEG
|
||||
bool "enable JPEG support"
|
||||
|
||||
@@ -0,0 +1,33 @@
|
||||
From fab69ff2e063f0b6a4b13139f100ff01aa4cae84 Mon Sep 17 00:00:00 2001
|
||||
From: Peter Korsgaard <jacmet@sunsite.dk>
|
||||
Date: Fri, 2 Oct 2009 12:20:31 +0200
|
||||
Subject: [PATCH] gfxcard: fix build error with --enable-debug
|
||||
|
||||
Commit fdc611ea (Added support for colors and multiple layers in a
|
||||
glyph implementing outlines) changed dfb_gfxcard_drawglyph() to take
|
||||
a layers argument instead of index, but the D_DEBUG_AT call wasn't
|
||||
changed to match.
|
||||
|
||||
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
|
||||
---
|
||||
src/core/gfxcard.c | 4 ++--
|
||||
1 files changed, 2 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/src/core/gfxcard.c b/src/core/gfxcard.c
|
||||
index 127e30e..0020103 100644
|
||||
--- a/src/core/gfxcard.c
|
||||
+++ b/src/core/gfxcard.c
|
||||
@@ -2335,8 +2335,8 @@ void dfb_gfxcard_drawglyph( CoreGlyphData **glyph, int x, int y,
|
||||
DFBSurfaceBlendFunction orig_srcblend;
|
||||
DFBSurfaceBlendFunction orig_dstblend;
|
||||
|
||||
- D_DEBUG_AT( Core_GraphicsOps, "%s( %u, %d,%d, %p, %p )\n",
|
||||
- __FUNCTION__, index, x, y, font, state );
|
||||
+ D_DEBUG_AT( Core_GraphicsOps, "%s( %d,%d, %u, %p, %p )\n",
|
||||
+ __FUNCTION__, x, y, layers, font, state );
|
||||
|
||||
D_ASSERT( card != NULL );
|
||||
D_ASSERT( card->shared != NULL );
|
||||
--
|
||||
1.6.3.3
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
#
|
||||
#############################################################
|
||||
DIRECTFB_VERSION_MAJOR:=1.4
|
||||
DIRECTFB_VERSION:=1.4.1
|
||||
DIRECTFB_VERSION:=1.4.2
|
||||
DIRECTFB_SITE:=http://www.directfb.org/downloads/Core/DirectFB-$(DIRECTFB_VERSION_MAJOR)
|
||||
DIRECTFB_SOURCE:=DirectFB-$(DIRECTFB_VERSION).tar.gz
|
||||
DIRECTFB_AUTORECONF = NO
|
||||
@@ -19,6 +19,19 @@ else
|
||||
DIRECTFB_MULTI:=
|
||||
DIRECTFB_FUSION:=
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_DIRECTFB_DEBUG),y)
|
||||
DIRECTFB_DEBUG:=--enable-debug
|
||||
else
|
||||
DIRECTFB_DEBUG:=
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_DIRECTFB_TRACE),y)
|
||||
DIRECTFB_TRACE:=--enable-trace
|
||||
else
|
||||
DIRECTFB_TRACE:=
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_XSERVER),y)
|
||||
DIRECTFB_X:=--enable-x11
|
||||
else
|
||||
@@ -44,9 +57,15 @@ endif
|
||||
ifeq ($(BR2_PACKAGE_DIRECTFB_MATROX),y)
|
||||
DIRECTFB_GFX+= matrox
|
||||
endif
|
||||
ifeq ($(BR2_PACKAGE_DIRECTFB_PXA3XX),y)
|
||||
DIRECTFB_GFX+= pxa3xx
|
||||
endif
|
||||
ifeq ($(BR2_PACKAGE_DIRECTFB_UNICHROME),y)
|
||||
DIRECTFB_GFX+= unichrome
|
||||
endif
|
||||
ifeq ($(BR2_PACKAGE_DIRECTFB_I830),y)
|
||||
DIRECTFB_GFX+= i830
|
||||
endif
|
||||
ifeq ($(DIRECTFB_GFX),)
|
||||
DIRECTFB_GFX:=none
|
||||
else
|
||||
@@ -78,7 +97,6 @@ endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_DIRECTFB_GIF),y)
|
||||
DIRECTFB_GIF:=--enable-gif
|
||||
DIRECTFB_DEP+= libungif
|
||||
else
|
||||
DIRECTFB_GIF:=--disable-gif
|
||||
endif
|
||||
@@ -110,7 +128,10 @@ DIRECTFB_CONF_OPT = \
|
||||
--enable-static \
|
||||
--enable-shared \
|
||||
--disable-explicit-deps \
|
||||
--program-prefix='' \
|
||||
$(DIRECTFB_MULTI) \
|
||||
$(DIRECTFB_DEBUG) \
|
||||
$(DIRECTFB_TRACE) \
|
||||
$(DIRECTFB_X) \
|
||||
$(DIRECTFB_JPEG) \
|
||||
$(DIRECTFB_PNG) \
|
||||
@@ -127,6 +148,58 @@ DIRECTFB_CONF_OPT = \
|
||||
--disable-video4linux \
|
||||
--disable-video4linux2
|
||||
|
||||
DIRECTFB_DEPENDENCIES = uclibc $(DIRECTFB_DEP) freetype $(DIRECTFB_FUSION)
|
||||
DIRECTFB_DEPENDENCIES = $(DIRECTFB_DEP) freetype $(DIRECTFB_FUSION)
|
||||
|
||||
$(eval $(call AUTOTARGETS,package,directfb))
|
||||
|
||||
|
||||
# directfb-csource for the host
|
||||
|
||||
DIRECTFB_HOST_DIR:=$(BUILD_DIR)/directfb-$(DIRECTFB_VERSION)-host
|
||||
DIRECTFB_HOST_BINARY:=$(HOST_DIR)/usr/bin/directfb-csource
|
||||
|
||||
$(DL_DIR)/$(DIRECTFB_SOURCE):
|
||||
$(call DOWNLOAD,$(DIRECTFB_SITE),$(DIRECTFB_SOURCE))
|
||||
|
||||
$(STAMP_DIR)/host_directfb_unpacked: $(DL_DIR)/$(DIRECTFB_SOURCE)
|
||||
mkdir -p $(DIRECTFB_HOST_DIR)
|
||||
$(INFLATE$(suffix $(DIRECTFB_SOURCE))) $< | \
|
||||
$(TAR) $(TAR_STRIP_COMPONENTS)=1 -C $(DIRECTFB_HOST_DIR) $(TAR_OPTIONS) -
|
||||
touch $@
|
||||
|
||||
$(STAMP_DIR)/host_directfb_configured: $(STAMP_DIR)/host_directfb_unpacked $(STAMP_DIR)/host_pkgconfig_installed
|
||||
(cd $(DIRECTFB_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-debug \
|
||||
--disable-multi \
|
||||
--with-gfxdrivers=none \
|
||||
--with-inputdrivers=none \
|
||||
)
|
||||
touch $@
|
||||
|
||||
$(STAMP_DIR)/host_directfb_compiled: $(STAMP_DIR)/host_directfb_configured
|
||||
$(MAKE) -C $(DIRECTFB_HOST_DIR)/tools directfb-csource
|
||||
touch $@
|
||||
|
||||
$(STAMP_DIR)/host_directfb_installed: $(STAMP_DIR)/host_directfb_compiled
|
||||
$(INSTALL) -m 0755 $(DIRECTFB_HOST_DIR)/tools/directfb-csource $(HOST_DIR)/usr/bin
|
||||
touch $@
|
||||
|
||||
host-directfb: $(STAMP_DIR)/host_directfb_installed
|
||||
|
||||
host-directfb-source: directfb-source
|
||||
|
||||
host-directfb-clean:
|
||||
rm -f $(addprefix $(STAMP_DIR)/host_directfb_,unpacked configured compiled installed)
|
||||
rm -f $(HOST_DIR)/usr/bin/directfb-csource
|
||||
-$(MAKE) -C $(DIRECTFB_HOST_DIR)/tools clean
|
||||
|
||||
host-directfb-dirclean:
|
||||
rm -rf $(DIRECTFB_HOST_DIR)
|
||||
|
||||
@@ -25,7 +25,7 @@ $(DISTCC_BUILDDIR)/.configured: $(DISTCC_BUILDDIR)/.unpacked
|
||||
(cd $(DISTCC_BUILDDIR); rm -rf config.cache; \
|
||||
$(TARGET_CONFIGURE_OPTS) \
|
||||
$(TARGET_CONFIGURE_ARGS) \
|
||||
./configure \
|
||||
./configure $(QUIET) \
|
||||
--target=$(GNU_TARGET_NAME) \
|
||||
--host=$(GNU_TARGET_NAME) \
|
||||
--build=$(GNU_HOST_NAME) \
|
||||
@@ -52,7 +52,7 @@ $(TARGET_DIR)/$(DISTCC_TARGET_BINARY): $(DISTCC_BUILDDIR)/$(DISTCC_BINARY)
|
||||
install -D $(DISTCC_BUILDDIR)/$(DISTCC_BINARY)d $(TARGET_DIR)/$(DISTCC_TARGET_BINARY)d
|
||||
install -D $(DISTCC_BUILDDIR)/$(DISTCC_BINARY) $(TARGET_DIR)/$(DISTCC_TARGET_BINARY)
|
||||
|
||||
distcc: uclibc $(TARGET_DIR)/$(DISTCC_TARGET_BINARY)
|
||||
distcc: $(TARGET_DIR)/$(DISTCC_TARGET_BINARY)
|
||||
|
||||
distcc-clean:
|
||||
rm -f $(TARGET_DIR)/$(DISTCC_TARGET_BINARY)
|
||||
|
||||
8
package/divine/Config.in
Normal file
8
package/divine/Config.in
Normal file
@@ -0,0 +1,8 @@
|
||||
config BR2_PACKAGE_DIVINE
|
||||
bool "directfb virtual input extension"
|
||||
depends on BR2_PACKAGE_DIRECTFB
|
||||
help
|
||||
DiVine provides a DirectFB input driver that reads input
|
||||
events from a pipe and dispatches them via a virtual input
|
||||
device. It also installs the tool 'spooky' that allows to
|
||||
send input events to DirectFB applications.
|
||||
14
package/divine/divine.mk
Normal file
14
package/divine/divine.mk
Normal file
@@ -0,0 +1,14 @@
|
||||
#############################################################
|
||||
#
|
||||
# divine
|
||||
#
|
||||
#############################################################
|
||||
|
||||
DIVINE_VERSION := 0.4.0
|
||||
DIVINE_SITE := http://www.directfb.org/downloads/Extras
|
||||
DIVINE_SOURCE = DiVine-$(DIVINE_VERSION).tar.gz
|
||||
DIVINE_INSTALL_STAGING = YES
|
||||
DIVINE_INSTALL_TARGET = YES
|
||||
DIVINE_DEPENDENCIES = directfb
|
||||
|
||||
$(eval $(call AUTOTARGETS,package,divine))
|
||||
@@ -45,7 +45,7 @@ $(DMALLOC_DIR)/.configured: $(DMALLOC_DIR)/.unpacked
|
||||
$(TARGET_CONFIGURE_ARGS) \
|
||||
CFLAGS="-g" \
|
||||
LDFLAGS="-g" \
|
||||
./configure \
|
||||
./configure $(QUIET) \
|
||||
--target=$(GNU_TARGET_NAME) \
|
||||
--host=$(GNU_TARGET_NAME) \
|
||||
--build=$(GNU_HOST_NAME) \
|
||||
@@ -82,7 +82,7 @@ $(TARGET_DIR)/$(DMALLOC_TARGET_BINARY): $(DMALLOC_DIR)/$(DMALLOC_BINARY)
|
||||
cp -dpf $(STAGING_DIR)/usr/bin/dmalloc $(TARGET_DIR)/$(DMALLOC_TARGET_BINARY)
|
||||
$(STRIPCMD) $(STRIP_STRIP_ALL) $(TARGET_DIR)/$(DMALLOC_TARGET_BINARY)
|
||||
|
||||
dmalloc: uclibc $(TARGET_DIR)/$(DMALLOC_TARGET_BINARY)
|
||||
dmalloc: $(TARGET_DIR)/$(DMALLOC_TARGET_BINARY)
|
||||
|
||||
dmalloc-clean:
|
||||
-rm -f $(TARGET_DIR)/usr/lib/libdmalloc*
|
||||
|
||||
@@ -13,3 +13,18 @@ config BR2_PACKAGE_DNSMASQ_TFTP
|
||||
help
|
||||
Enable TFTP support in dnsmasq.
|
||||
|
||||
config BR2_PACKAGE_DNSMASQ_DHCP
|
||||
bool "dhcp support"
|
||||
default y
|
||||
depends on BR2_PACKAGE_DNSMASQ
|
||||
help
|
||||
Enable DHCP server support in dnsmasq.
|
||||
|
||||
config BR2_PACKAGE_DNSMASQ_IDN
|
||||
bool "IDN support (BIG!)"
|
||||
depends on BR2_PACKAGE_DNSMASQ
|
||||
select BR2_PACKAGE_LIBINTL
|
||||
select BR2_PACKAGE_LIBIDN
|
||||
help
|
||||
Enable IDN support in dnsmasq.
|
||||
This option is a big space taker since is pulls in many libraries.
|
||||
|
||||
@@ -4,81 +4,57 @@
|
||||
#
|
||||
#############################################################
|
||||
|
||||
DNSMASQ_SITE:=http://thekelleys.org.uk/dnsmasq
|
||||
DNSMASQ_UPVER:=2.47
|
||||
DNSMASQ_SOURCE:=dnsmasq-$(DNSMASQ_UPVER).tar.gz
|
||||
DNSMASQ_DIR:=$(BUILD_DIR)/dnsmasq-$(DNSMASQ_UPVER)
|
||||
DNSMASQ_BINARY:=dnsmasq
|
||||
DNSMASQ_TARGET_BINARY:=usr/sbin/dnsmasq
|
||||
|
||||
DNSMASQ_COPTS:=
|
||||
DNSMASQ_VERSION = 2.51
|
||||
DNSMASQ_SITE = http://thekelleys.org.uk/dnsmasq
|
||||
DNSMASQ_AUTORECONF = NO
|
||||
DNSMASQ_MAKE_ENV = CC="$(TARGET_CC)" CFLAGS="$(TARGET_CFLAGS)" LDFLAGS="$(TARGET_LDFLAGS)"
|
||||
DNSMASQ_MAKE_OPT = COPTS="$(DNSMASQ_COPTS)" PREFIX=/usr
|
||||
DNSMASQ_INSTALL_TARGET_OPT = DESTDIR=$(TARGET_DIR) PREFIX=/usr install
|
||||
|
||||
ifneq ($(BR2_INET_IPV6),y)
|
||||
DNSMASQ_COPTS+=-DNO_IPV6
|
||||
DNSMASQ_COPTS += -DNO_IPV6
|
||||
endif
|
||||
|
||||
ifneq ($(BR2_PACKAGE_DNSMASQ_DHCP),y)
|
||||
DNSMASQ_COPTS += -DNO_DHCP
|
||||
endif
|
||||
|
||||
ifneq ($(BR2_PACKAGE_DNSMASQ_TFTP),y)
|
||||
DNSMASQ_COPTS+=-DNO_TFTP
|
||||
DNSMASQ_COPTS += -DNO_TFTP
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_DNSMASQ_IDN),y)
|
||||
DNSMASQ_MAKE_OPT += all-i18n
|
||||
DNSMASQ_DEPENDENCIES += libidn libintl
|
||||
DNSMASQ_MAKE_ENV += LDFLAGS+="-lintl"
|
||||
endif
|
||||
|
||||
ifneq ($(BR2_LARGEFILE),y)
|
||||
DNSMASQ_COPTS+=-DNO_LARGEFILE
|
||||
DNSMASQ_COPTS += -DNO_LARGEFILE
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_DBUS),y)
|
||||
DNSMASQ_DBUS:=dbus
|
||||
else
|
||||
DNSMASQ_DBUS:=
|
||||
DNSMASQ_DEPENDENCIES += host-pkgconfig dbus
|
||||
endif
|
||||
|
||||
$(DL_DIR)/$(DNSMASQ_SOURCE):
|
||||
$(call DOWNLOAD,$(DNSMASQ_SITE),$(DNSMASQ_SOURCE))
|
||||
$(eval $(call AUTOTARGETS,package,dnsmasq))
|
||||
|
||||
$(DNSMASQ_DIR)/.source: $(DL_DIR)/$(DNSMASQ_SOURCE)
|
||||
$(ZCAT) $(DL_DIR)/$(DNSMASQ_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
|
||||
toolchain/patch-kernel.sh $(DNSMASQ_DIR) package/dnsmasq/ \*.patch
|
||||
touch $@
|
||||
|
||||
$(DNSMASQ_DIR)/src/$(DNSMASQ_BINARY): $(DNSMASQ_DIR)/.source $(DNSMASQ_DBUS)
|
||||
$(DNSMASQ_TARGET_CONFIGURE):
|
||||
ifeq ($(BR2_PACKAGE_DBUS),y)
|
||||
$(SED) 's^.*#define HAVE_DBUS.*^#define HAVE_DBUS^' \
|
||||
$(DNSMASQ_DIR)/src/config.h
|
||||
$(SED) 's^PKG_CONFIG = pkg-config^PKG_CONFIG = $(PKG_CONFIG_HOST_BINARY)^' \
|
||||
$(DNSMASQ_DIR)/Makefile
|
||||
$(SED) 's^--cflags dbus-1^--cflags dbus-1 \| sed s\\\#-I/\\\#-I$(STAGING_DIR)/\\\#g^' \
|
||||
$(DNSMASQ_DIR)/Makefile
|
||||
else
|
||||
$(SED) 's^.*#define HAVE_DBUS.*^/* #define HAVE_DBUS */^' \
|
||||
$(DNSMASQ_DIR)/src/config.h
|
||||
endif
|
||||
$(MAKE) CC=$(TARGET_CC) CFLAGS="$(TARGET_CFLAGS)" AWK=awk \
|
||||
COPTS='$(DNSMASQ_COPTS)' PREFIX=/usr -C $(DNSMASQ_DIR)
|
||||
touch -c $@
|
||||
touch $@
|
||||
|
||||
$(TARGET_DIR)/$(DNSMASQ_TARGET_BINARY): $(DNSMASQ_DIR)/src/$(DNSMASQ_BINARY)
|
||||
$(MAKE) DESTDIR=$(TARGET_DIR) PREFIX=/usr -C $(DNSMASQ_DIR) install
|
||||
$(STRIPCMD) $(TARGET_DIR)/$(DNSMASQ_TARGET_BINARY)
|
||||
mkdir -p $(TARGET_DIR)/var/lib/misc
|
||||
# Isn't this vulnerable to symlink attacks?
|
||||
ln -sf /tmp/dnsmasq.leases $(TARGET_DIR)/var/lib/misc/dnsmasq.leases
|
||||
ifneq ($(BR2_HAVE_MANPAGES),y)
|
||||
rm -rf $(TARGET_DIR)/usr/share/man
|
||||
endif
|
||||
touch -c $@
|
||||
|
||||
dnsmasq: uclibc $(TARGET_DIR)/$(DNSMASQ_TARGET_BINARY)
|
||||
|
||||
dnsmasq-source: $(DL_DIR)/$(DNSMASQ_SOURCE)
|
||||
|
||||
dnsmasq-clean:
|
||||
rm -f $(addprefix $(TARGET_DIR)/,var/lib/misc/dnsmasq.leases \
|
||||
usr/share/man/man?/dnsmasq.* \
|
||||
$(DNSMASQ_TARGET_BINARY))
|
||||
-$(MAKE) -C $(DNSMASQ_DIR) clean
|
||||
|
||||
dnsmasq-dirclean:
|
||||
rm -rf $(DNSMASQ_DIR)
|
||||
#############################################################
|
||||
#
|
||||
# Toplevel Makefile options
|
||||
#
|
||||
#############################################################
|
||||
ifeq ($(BR2_PACKAGE_DNSMASQ),y)
|
||||
TARGETS+=dnsmasq
|
||||
endif
|
||||
$(DNSMASQ_TARGET_UNINSTALL):
|
||||
$(call MESSAGE,"Uninstalling")
|
||||
rm -f $(TARGET_DIR)/usr/sbin/dnsmasq
|
||||
rm -f $(TARGET_DIR)/usr/share/man/man8/dnsmasq.8
|
||||
rm -f $(DNSMASQ_TARGET_INSTALL_TARGET) $(DNSMASQ_HOOK_POST_INSTALL)
|
||||
|
||||
@@ -19,7 +19,7 @@ DOCKER_MAKE_OPT = CC=$(TARGET_CC) CXX=$(TARGET_CXX) LD=$(TARGET_LD) \
|
||||
|
||||
DOCKER_INSTALL_TARGET_OPT = PREFIX=$(TARGET_DIR)/usr install
|
||||
|
||||
DOCKER_DEPENDENCIES = uclibc host-pkgconfig libglib2 xserver_xorg-server
|
||||
DOCKER_DEPENDENCIES = host-pkgconfig libglib2 xserver_xorg-server
|
||||
|
||||
$(eval $(call AUTOTARGETS,package,docker))
|
||||
|
||||
|
||||
@@ -44,7 +44,7 @@ $(TARGET_DIR)/$(DOSFSLABEL_TARGET_BINARY): $(DOSFSTOOLS_DIR)/.built
|
||||
cp -a $(DOSFSTOOLS_DIR)/$(DOSFSLABEL_BINARY) $@
|
||||
touch -c $@
|
||||
|
||||
dosfstools: uclibc $(TARGET_DIR)/$(DOSFSTOOLS_TARGET_BINARY) $(TARGET_DIR)/$(DOSFSCK_TARGET_BINARY)
|
||||
dosfstools: $(TARGET_DIR)/$(DOSFSTOOLS_TARGET_BINARY) $(TARGET_DIR)/$(DOSFSCK_TARGET_BINARY)
|
||||
|
||||
dosfstools-clean:
|
||||
rm -f $(TARGET_DIR)/$(MKDOSFS_TARGET_BINARY)
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
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_DEPENDENCIES = zlib
|
||||
DROPBEAR_TARGET_BINS = dbclient dropbearkey dropbearconvert scp ssh
|
||||
DROPBEAR_MAKE = $(MAKE) MULTI=1 SCPPROGRESS=1 \
|
||||
PROGRAMS="dropbear dbclient dropbearkey dropbearconvert scp"
|
||||
|
||||
@@ -38,7 +38,7 @@ $(DUMMY_DIR)/.configured: $(DUMMY_DIR)/.unpacked
|
||||
(cd $(DUMMY_DIR); rm -rf config.cache; \
|
||||
$(TARGET_CONFIGURE_OPTS) \
|
||||
$(TARGET_CONFIGURE_ARGS) \
|
||||
./configure \
|
||||
./configure $(QUIET) \
|
||||
--target=$(GNU_TARGET_NAME) \
|
||||
--host=$(GNU_TARGET_NAME) \
|
||||
--build=$(GNU_HOST_NAME) \
|
||||
@@ -65,7 +65,7 @@ $(TARGET_DIR)/$(DUMMY_TARGET_BINARY): $(DUMMY_DIR)/$(DUMMY_BINARY)
|
||||
# Main rule which shows which other packages must be installed before the dummy
|
||||
# package is installed. This to ensure that all depending libraries are
|
||||
# installed.
|
||||
dummy: uclibc $(TARGET_DIR)/$(DUMMY_TARGET_BINARY)
|
||||
dummy: $(TARGET_DIR)/$(DUMMY_TARGET_BINARY)
|
||||
|
||||
# Source download rule. Main purpose to download the source package. Since some
|
||||
# people would like to work offline, it is mandotory to implement a rule which
|
||||
|
||||
@@ -1,15 +1,18 @@
|
||||
config BR2_PACKAGE_LIBUUID
|
||||
bool "libuuid"
|
||||
help
|
||||
The uuid library from the e2fsprogs suite
|
||||
|
||||
config BR2_PACKAGE_E2FSPROGS
|
||||
bool "e2fsprogs"
|
||||
depends on BR2_LARGEFILE
|
||||
select BR2_PACKAGE_LIBUUID
|
||||
help
|
||||
The EXT2 file system utilities and libraries
|
||||
|
||||
menuconfig BR2_PACKAGE_E2FSPROGS_UTILS
|
||||
bool "e2fsprogs utilities"
|
||||
depends on BR2_PACKAGE_E2FSPROGS
|
||||
help
|
||||
e2fsprogs utilities selection
|
||||
|
||||
if BR2_PACKAGE_E2FSPROGS_UTILS
|
||||
|
||||
config BR2_PACKAGE_E2FSPROGS_BADBLOCKS
|
||||
bool "badblocks"
|
||||
default y
|
||||
@@ -19,6 +22,7 @@ config BR2_PACKAGE_E2FSPROGS_BLKID
|
||||
bool "blkid"
|
||||
default y
|
||||
depends on BR2_PACKAGE_E2FSPROGS
|
||||
select BR2_PACKAGE_E2FSPROGS_LIBBLKID
|
||||
|
||||
config BR2_PACKAGE_E2FSPROGS_CHATTR
|
||||
bool "chattr"
|
||||
@@ -29,16 +33,30 @@ config BR2_PACKAGE_E2FSPROGS_DUMPE2FS
|
||||
bool "dumpe2fs"
|
||||
default y
|
||||
depends on BR2_PACKAGE_E2FSPROGS
|
||||
select BR2_PACKAGE_E2FSPROGS_LIBUUID
|
||||
|
||||
config BR2_PACKAGE_E2FSPROGS_E2FREEFRAG
|
||||
bool "e2freefrag"
|
||||
default y
|
||||
depends on BR2_PACKAGE_E2FSPROGS
|
||||
|
||||
|
||||
config BR2_PACKAGE_E2FSPROGS_E2FSCK
|
||||
bool "e2fsck"
|
||||
default y
|
||||
depends on BR2_PACKAGE_E2FSPROGS
|
||||
select BR2_PACKAGE_E2FSPROGS_LIBBLKID
|
||||
|
||||
config BR2_PACKAGE_E2FSPROGS_E2LABEL
|
||||
bool "e2label"
|
||||
default y
|
||||
depends on BR2_PACKAGE_E2FSPROGS
|
||||
select BR2_PACKAGE_E2FSPROGS_LIBBLKID
|
||||
|
||||
config BR2_PACKAGE_E2FSPROGS_E2UNDO
|
||||
bool "e2label"
|
||||
default y
|
||||
depends on BR2_PACKAGE_E2FSPROGS
|
||||
|
||||
config BR2_PACKAGE_E2FSPROGS_FILEFRAG
|
||||
bool "filefrag"
|
||||
@@ -55,6 +73,7 @@ config BR2_PACKAGE_E2FSPROGS_FSCK
|
||||
bool "fsck"
|
||||
default y
|
||||
depends on BR2_PACKAGE_E2FSPROGS
|
||||
select BR2_PACKAGE_E2FSPROGS_LIBBLKID
|
||||
|
||||
config BR2_PACKAGE_E2FSPROGS_LOGSAVE
|
||||
bool "logsave"
|
||||
@@ -70,6 +89,7 @@ config BR2_PACKAGE_E2FSPROGS_MKE2FS
|
||||
bool "mke2fs"
|
||||
default y
|
||||
depends on BR2_PACKAGE_E2FSPROGS
|
||||
select BR2_PACKAGE_E2FSPROGS_LIBBLKID
|
||||
|
||||
config BR2_PACKAGE_E2FSPROGS_MKLOSTFOUND
|
||||
bool "mklost+found"
|
||||
@@ -86,6 +106,34 @@ config BR2_PACKAGE_E2FSPROGS_UUIDGEN
|
||||
bool "uuidgen"
|
||||
default y
|
||||
depends on BR2_PACKAGE_E2FSPROGS
|
||||
select BR2_PACKAGE_E2FSPROGS_LIBUUID
|
||||
|
||||
config BR2_PACKAGE_E2FSPROGS_UUIDD
|
||||
bool "uuidd"
|
||||
default y
|
||||
depends on BR2_PACKAGE_E2FSPROGS
|
||||
select BR2_PACKAGE_E2FSPROGS_LIBUUID
|
||||
help
|
||||
The uuidd daemon from the e2fsprogs suite
|
||||
|
||||
endif
|
||||
|
||||
menu "e2fsprogs libraries"
|
||||
depends on BR2_PACKAGE_E2FSPROGS
|
||||
|
||||
config BR2_PACKAGE_E2FSPROGS_LIBUUID
|
||||
bool "libuuid"
|
||||
help
|
||||
The uuid library from the e2fsprogs suite
|
||||
|
||||
config BR2_PACKAGE_E2FSPROGS_LIBBLKID
|
||||
bool "libblkid"
|
||||
select BR2_PACKAGE_E2FSPROGS_LIBUUID
|
||||
help
|
||||
The blkid library from the e2fsprogs suite
|
||||
|
||||
endmenu
|
||||
|
||||
comment "e2fsprogs requires a toolchain with LARGEFILE support"
|
||||
depends on !BR2_LARGEFILE
|
||||
|
||||
|
||||
11
package/e2fsprogs/e2fsprogs-1.41.9-sem-init-libs.patch
Normal file
11
package/e2fsprogs/e2fsprogs-1.41.9-sem-init-libs.patch
Normal file
@@ -0,0 +1,11 @@
|
||||
--- e2fsprogs-1.41.9/MCONFIG.in.orig 2009-10-07 20:25:07.000000000 +0800
|
||||
+++ e2fsprogs-1.41.9/MCONFIG.in 2009-10-07 20:21:41.000000000 +0800
|
||||
@@ -85,7 +85,7 @@
|
||||
#
|
||||
LIB = $(top_builddir)/lib
|
||||
LIBSS = $(LIB)/libss@LIB_EXT@ @PRIVATE_LIBS_CMT@ @DLOPEN_LIB@
|
||||
-LIBCOM_ERR = $(LIB)/libcom_err@LIB_EXT@ @PRIVATE_LIBS_CMT@ @SEM_INIT_LIB@
|
||||
+LIBCOM_ERR = $(LIB)/libcom_err@LIB_EXT@ @SEM_INIT_LIB@
|
||||
LIBE2P = $(LIB)/libe2p@LIB_EXT@
|
||||
LIBEXT2FS = $(LIB)/libext2fs@LIB_EXT@
|
||||
LIBUUID = @LIBUUID@ @SOCKET_LIB@
|
||||
@@ -3,174 +3,93 @@
|
||||
# e2fsprogs
|
||||
#
|
||||
#############################################################
|
||||
E2FSPROGS_VERSION:=1.41.3
|
||||
E2FSPROGS_VERSION:=1.41.9
|
||||
E2FSPROGS_SOURCE=e2fsprogs-$(E2FSPROGS_VERSION).tar.gz
|
||||
E2FSPROGS_SITE=http://$(BR2_SOURCEFORGE_MIRROR).dl.sourceforge.net/sourceforge/e2fsprogs
|
||||
E2FSPROGS_DIR=$(BUILD_DIR)/e2fsprogs-$(E2FSPROGS_VERSION)
|
||||
E2FSPROGS_CAT:=$(ZCAT)
|
||||
E2FSPROGS_BINARY:=misc/mke2fs
|
||||
E2FSPROGS_TARGET_BINARY:=sbin/mke2fs
|
||||
LIBUUID_DIR=$(E2FSPROGS_DIR)/lib/uuid/
|
||||
LIBUUID_TARGET_DIR:=usr/lib/
|
||||
LIBUUID_TARGET_BINARY:=libuuid.so
|
||||
|
||||
E2FSPROGS_MISC_STRIP:= \
|
||||
badblocks blkid chattr dumpe2fs filefrag fsck logsave \
|
||||
lsattr mke2fs mklost+found tune2fs uuidgen
|
||||
E2FSPROGS_AUTORECONF = NO
|
||||
E2FSPROGS_LIBTOOL_PATCH = NO
|
||||
|
||||
$(DL_DIR)/$(E2FSPROGS_SOURCE):
|
||||
$(call DOWNLOAD,$(E2FSPROGS_SITE),$(E2FSPROGS_SOURCE))
|
||||
E2FSPROGS_INSTALL_STAGING = YES
|
||||
E2FSPROGS_INSTALL_TARGET = YES
|
||||
|
||||
e2fsprogs-source: $(DL_DIR)/$(E2FSPROGS_SOURCE)
|
||||
E2FSPROGS_CONF_OPT = \
|
||||
--disable-tls \
|
||||
--enable-elf-shlibs \
|
||||
--disable-debugfs \
|
||||
--disable-imager \
|
||||
--disable-resizer \
|
||||
--enable-fsck \
|
||||
--disable-e2initrd-helper \
|
||||
--disable-testio-debug \
|
||||
$(DISABLE_NLS) \
|
||||
$(DISABLE_LARGEFILE)
|
||||
|
||||
$(E2FSPROGS_DIR)/.unpacked: $(DL_DIR)/$(E2FSPROGS_SOURCE)
|
||||
$(E2FSPROGS_CAT) $(DL_DIR)/$(E2FSPROGS_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
|
||||
toolchain/patch-kernel.sh $(E2FSPROGS_DIR) package/e2fsprogs/ e2fsprogs\*.patch
|
||||
$(CONFIG_UPDATE) $(E2FSPROGS_DIR)/config
|
||||
touch $@
|
||||
E2FSPROGS_MAKE_OPT = \
|
||||
LDCONFIG=true
|
||||
|
||||
$(E2FSPROGS_DIR)/.configured: $(E2FSPROGS_DIR)/.unpacked
|
||||
(cd $(E2FSPROGS_DIR); rm -rf config.cache; \
|
||||
$(TARGET_CONFIGURE_OPTS) \
|
||||
$(TARGET_CONFIGURE_ARGS) \
|
||||
CFLAGS="$(TARGET_CFLAGS)" \
|
||||
./configure \
|
||||
--target=$(GNU_TARGET_NAME) \
|
||||
--host=$(GNU_TARGET_NAME) \
|
||||
--build=$(GNU_HOST_NAME) \
|
||||
--with-cc=$(TARGET_CC) \
|
||||
--with-linker=$(TARGET_CROSS)ld \
|
||||
--prefix=/usr \
|
||||
--exec-prefix=/usr \
|
||||
--bindir=/bin \
|
||||
--sbindir=/sbin \
|
||||
--libdir=/usr/lib \
|
||||
--libexecdir=/usr/lib \
|
||||
--sysconfdir=/etc \
|
||||
--datadir=/usr/share \
|
||||
--localstatedir=/var \
|
||||
--mandir=/usr/share/man \
|
||||
--infodir=/usr/share/info \
|
||||
--disable-tls \
|
||||
--enable-elf-shlibs --enable-dynamic-e2fsck --disable-swapfs \
|
||||
--disable-debugfs --disable-imager \
|
||||
--disable-resizer --enable-fsck \
|
||||
--disable-e2initrd-helper \
|
||||
--without-catgets $(DISABLE_NLS) \
|
||||
$(DISABLE_LARGEFILE) \
|
||||
)
|
||||
# do away with hiding the commands
|
||||
find $(E2FSPROGS_DIR) -name Makefile \
|
||||
| xargs $(SED) '/^[[:space:]]*@/s/@/$$\(Q\)/'
|
||||
touch $@
|
||||
$(eval $(call AUTOTARGETS,package,e2fsprogs))
|
||||
|
||||
$(E2FSPROGS_DIR)/$(E2FSPROGS_BINARY): $(E2FSPROGS_DIR)/.configured
|
||||
$(MAKE1) -C $(E2FSPROGS_DIR)
|
||||
(cd $(E2FSPROGS_DIR)/misc; \
|
||||
$(STRIPCMD) $(E2FSPROGS_MISC_STRIP); \
|
||||
)
|
||||
#$(STRIPCMD) $(E2FSPROGS_DIR)/lib/lib*.so.*.*
|
||||
touch -c $@
|
||||
# binaries to keep or remove
|
||||
E2FSPROGS_BINTARGETS_$(BR2_PACKAGE_E2FSPROGS_BADBLOCKS) += usr/sbin/badblocks
|
||||
E2FSPROGS_BINTARGETS_$(BR2_PACKAGE_E2FSPROGS_BLKID) += usr/sbin/blkid
|
||||
E2FSPROGS_BINTARGETS_$(BR2_PACKAGE_E2FSPROGS_CHATTR) += usr/bin/chattr
|
||||
E2FSPROGS_BINTARGETS_$(BR2_PACKAGE_E2FSPROGS_DUMPE2FS) += usr/sbin/dumpe2fs
|
||||
E2FSPROGS_BINTARGETS_$(BR2_PACKAGE_E2FSPROGS_E2FREEFRAG) += usr/sbin/e2freefrag
|
||||
E2FSPROGS_BINTARGETS_$(BR2_PACKAGE_E2FSPROGS_E2FSCK) += usr/sbin/e2fsck
|
||||
E2FSPROGS_BINTARGETS_$(BR2_PACKAGE_E2FSPROGS_E2LABEL) += usr/sbin/e2label
|
||||
E2FSPROGS_BINTARGETS_$(BR2_PACKAGE_E2FSPROGS_E2UNDO) += usr/sbin/e2undo
|
||||
E2FSPROGS_BINTARGETS_$(BR2_PACKAGE_E2FSPROGS_FILEFRAG) += usr/sbin/filefrag
|
||||
E2FSPROGS_BINTARGETS_$(BR2_PACKAGE_E2FSPROGS_FSCK) += usr/sbin/fsck
|
||||
E2FSPROGS_BINTARGETS_$(BR2_PACKAGE_E2FSPROGS_LOGSAVE) += usr/sbin/logsave
|
||||
E2FSPROGS_BINTARGETS_$(BR2_PACKAGE_E2FSPROGS_LSATTR) += usr/bin/lsattr
|
||||
E2FSPROGS_BINTARGETS_$(BR2_PACKAGE_E2FSPROGS_MKE2FS) += usr/sbin/mke2fs
|
||||
E2FSPROGS_BINTARGETS_$(BR2_PACKAGE_E2FSPROGS_MKLOSTFOUND) += usr/sbin/mklost+found
|
||||
E2FSPROGS_BINTARGETS_$(BR2_PACKAGE_E2FSPROGS_UUIDD) += usr/sbin/uuidd
|
||||
E2FSPROGS_BINTARGETS_$(BR2_PACKAGE_E2FSPROGS_UUIDGEN) += usr/bin/uuidgen
|
||||
|
||||
$(E2FSPROGS_DIR)/lib/$(LIBUUID_TARGET_BINARY): $(E2FSPROGS_DIR)/.configured
|
||||
$(MAKE1) -C $(E2FSPROGS_DIR)/lib/uuid
|
||||
touch -c $@
|
||||
# libraries to keep or remove
|
||||
E2FSPROGS_BINTARGETS_$(BR2_PACKAGE_E2FSPROGS_LIBUUID) += usr/lib/libuuid.so*
|
||||
E2FSPROGS_BINTARGETS_$(BR2_PACKAGE_E2FSPROGS_LIBBLKID) += usr/lib/libblkid.so*
|
||||
E2FSPROGS_BINTARGETS_$(BR2_PACKAGE_E2FSPROGS_UTILS) += usr/lib/libcom_err.so*
|
||||
E2FSPROGS_BINTARGETS_$(BR2_PACKAGE_E2FSPROGS_UTILS) += usr/lib/libe2p.so*
|
||||
E2FSPROGS_BINTARGETS_$(BR2_PACKAGE_E2FSPROGS_UTILS) += usr/lib/libext2fs.so*
|
||||
E2FSPROGS_BINTARGETS_$(BR2_PACKAGE_E2FSPROGS_UTILS) += usr/lib/libss.so*
|
||||
|
||||
$(STAGING_DIR)/$(E2FSPROGS_TARGET_BINARY): $(E2FSPROGS_DIR)/$(E2FSPROGS_BINARY)
|
||||
$(MAKE1) PATH=$(TARGET_PATH) DESTDIR=$(STAGING_DIR) LDCONFIG=true \
|
||||
-C $(E2FSPROGS_DIR) install
|
||||
# files to remove
|
||||
E2FSPROGS_TXTTARGETS_ = \
|
||||
usr/sbin/mkfs.ext[234] \
|
||||
usr/sbin/mkfs.ext4dev \
|
||||
usr/sbin/fsck.ext[234] \
|
||||
usr/sbin/fsck.ext4dev \
|
||||
usr/sbin/findfs \
|
||||
usr/sbin/tune2fs
|
||||
|
||||
$(STAGING_DIR)/lib/$(LIBUUID_TARGET_BINARY): $(E2FSPROGS_DIR)/lib/$(LIBUUID_TARGET_BINARY)
|
||||
$(MAKE1) PATH=$(TARGET_PATH) DESTDIR=$(STAGING_DIR) LDCONFIG=true \
|
||||
-C $(LIBUUID_DIR) 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
|
||||
E2FSPROGS_RM$(BR2_PACKAGE_E2FSPROGS_DUMPE2FS) += ${TARGET_DIR}/sbin/dumpe2fs
|
||||
E2FSPROGS_RM$(BR2_PACKAGE_E2FSPROGS_E2LABEL) += ${TARGET_DIR}/sbin/e2label
|
||||
E2FSPROGS_RM$(BR2_PACKAGE_E2FSPROGS_E2FSCK) += ${TARGET_DIR}/sbin/e2fsck
|
||||
E2FSPROGS_RM$(BR2_PACKAGE_E2FSPROGS_FILEFRAG) += ${TARGET_DIR}/sbin/filefrag
|
||||
E2FSPROGS_RM$(BR2_PACKAGE_E2FSPROGS_FSCK) += ${TARGET_DIR}/sbin/fsck
|
||||
E2FSPROGS_RM$(BR2_PACKAGE_E2FSPROGS_LOGSAVE) += ${TARGET_DIR}/sbin/logsave
|
||||
E2FSPROGS_RM$(BR2_PACKAGE_E2FSPROGS_LSATTR) += ${TARGET_DIR}/bin/lsattr
|
||||
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): $(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] \
|
||||
${TARGET_DIR}/sbin/fsck.ext[234] \
|
||||
${TARGET_DIR}/sbin/findfs \
|
||||
${TARGET_DIR}/sbin/tune2fs
|
||||
ifneq ($(E2FSPROGS_RM),)
|
||||
rm -rf $(E2FSPROGS_RM)
|
||||
endif
|
||||
$(E2FSPROGS_HOOK_POST_INSTALL):
|
||||
$(call MESSAGE,"Post installing")
|
||||
# strip binaries
|
||||
$(STRIPCMD) $(STRIP_STRIP_ALL) $(addprefix $(TARGET_DIR)/, $(E2FSPROGS_BINTARGETS_y))
|
||||
# remove unneeded
|
||||
rm -f $(addprefix $(TARGET_DIR)/, $(E2FSPROGS_BINTARGETS_))
|
||||
rm -f $(addprefix $(TARGET_DIR)/, $(E2FSPROGS_TXTTARGETS_))
|
||||
# make symlinks
|
||||
ifeq ($(BR2_PACKAGE_E2FSPROGS_MKE2FS),y)
|
||||
ln -sf mke2fs ${TARGET_DIR}/sbin/mkfs.ext2
|
||||
ln -sf mke2fs ${TARGET_DIR}/sbin/mkfs.ext3
|
||||
ln -sf mke2fs ${TARGET_DIR}/sbin/mkfs.ext4
|
||||
ln -sf mke2fs ${TARGET_DIR}/usr/sbin/mkfs.ext2
|
||||
ln -sf mke2fs ${TARGET_DIR}/usr/sbin/mkfs.ext3
|
||||
ln -sf mke2fs ${TARGET_DIR}/usr/sbin/mkfs.ext4
|
||||
ln -sf mke2fs ${TARGET_DIR}/usr/sbin/mkfs.ext4dev
|
||||
endif
|
||||
ifeq ($(BR2_PACKAGE_E2FSPROGS_E2FSCK),y)
|
||||
ln -sf e2fsck ${TARGET_DIR}/sbin/fsck.ext2
|
||||
ln -sf e2fsck ${TARGET_DIR}/sbin/fsck.ext3
|
||||
ln -sf e2fsck ${TARGET_DIR}/sbin/fsck.ext4
|
||||
ln -sf e2fsck ${TARGET_DIR}/usr/sbin/fsck.ext2
|
||||
ln -sf e2fsck ${TARGET_DIR}/usr/sbin/fsck.ext3
|
||||
ln -sf e2fsck ${TARGET_DIR}/usr/sbin/fsck.ext4
|
||||
ln -sf e2fsck ${TARGET_DIR}/usr/sbin/fsck.ext4dev
|
||||
endif
|
||||
ifeq ($(BR2_PACKAGE_E2FSPROGS_TUNE2FS),y)
|
||||
ln -sf e2label ${TARGET_DIR}/sbin/tune2fs
|
||||
ln -sf e2label ${TARGET_DIR}/usr/sbin/tune2fs
|
||||
endif
|
||||
ifeq ($(BR2_PACKAGE_E2FSPROGS_FINDFS),y)
|
||||
ln -sf e2label ${TARGET_DIR}/sbin/findfs
|
||||
ln -sf e2label ${TARGET_DIR}/usr/sbin/findfs
|
||||
endif
|
||||
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 $@
|
||||
touch $@
|
||||
|
||||
$(TARGET_DIR)/$(LIBUUID_TARGET_DIR)/$(LIBUUID_TARGET_BINARY): $(STAGING_DIR)/lib/$(LIBUUID_TARGET_BINARY)
|
||||
$(MAKE1) PATH=$(TARGET_PATH) DESTDIR=$(STAGING_DIR) LDCONFIG=true \
|
||||
-C $(LIBUUID_DIR) install
|
||||
cp -a $(STAGING_DIR)/$(LIBUUID_TARGET_DIR)/$(LIBUUID_TARGET_BINARY)* \
|
||||
$(TARGET_DIR)/$(LIBUUID_TARGET_DIR)/
|
||||
touch -c $@
|
||||
|
||||
libuuid: uclibc $(TARGET_DIR)/$(LIBUUID_TARGET_DIR)/$(LIBUUID_TARGET_BINARY)
|
||||
e2fsprogs: uclibc libuuid $(TARGET_DIR)/$(E2FSPROGS_TARGET_BINARY)
|
||||
|
||||
e2fsprogs-clean:
|
||||
$(MAKE1) DESTDIR=$(TARGET_DIR) CC=$(TARGET_CC) -C $(E2FSPROGS_DIR) uninstall
|
||||
-$(MAKE1) -C $(E2FSPROGS_DIR) clean
|
||||
|
||||
e2fsprogs-dirclean:
|
||||
rm -rf $(E2FSPROGS_DIR)
|
||||
|
||||
libuuid-clean:
|
||||
-$(MAKE1) PATH=$(TARGET_PATH) DESTDIR=$(STAGING_DIR) LDCONFIG=true \
|
||||
-C $(LIBUUID_DIR) uninstall
|
||||
# make uninstall misses the includes
|
||||
rm -rf $(STAGING_DIR)/usr/include/uuid
|
||||
rm -f $(TARGET_DIR)/$(LIBUUID_TARGET_DIR)/$(LIBUUID_TARGET_BINARY)*
|
||||
-$(MAKE1) -C $(LIBUUID_DIR) clean
|
||||
|
||||
libuuid-source: e2fsprogs-source
|
||||
libuuid-dirclean: e2fsprogs-dirclean
|
||||
|
||||
#############################################################
|
||||
#
|
||||
# Toplevel Makefile options
|
||||
#
|
||||
#############################################################
|
||||
ifeq ($(BR2_PACKAGE_E2FSPROGS),y)
|
||||
TARGETS+=e2fsprogs
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_LIBUUID),y)
|
||||
TARGETS+=libuuid
|
||||
endif
|
||||
|
||||
@@ -2,5 +2,8 @@ menu "Text editors"
|
||||
source "package/editors/ed/Config.in"
|
||||
source "package/editors/nano/Config.in"
|
||||
source "package/editors/uemacs/Config.in"
|
||||
if BR2_PACKAGE_BUSYBOX_SHOW_OTHERS
|
||||
# busybox has vi
|
||||
source "package/editors/vim/Config.in"
|
||||
endif
|
||||
endmenu
|
||||
|
||||
@@ -26,7 +26,7 @@ $(NANO_DIR)/.configured: $(NANO_DIR)/.unpacked
|
||||
$(TARGET_CONFIGURE_OPTS) \
|
||||
$(TARGET_CONFIGURE_ARGS) \
|
||||
ac_cv_header_regex_h=no \
|
||||
./configure \
|
||||
./configure $(QUIET) \
|
||||
--target=$(GNU_TARGET_NAME) \
|
||||
--host=$(GNU_TARGET_NAME) \
|
||||
--build=$(GNU_HOST_NAME) \
|
||||
@@ -41,7 +41,7 @@ $(NANO_DIR)/$(NANO_BINARY): $(NANO_DIR)/.configured
|
||||
$(TARGET_DIR)/$(NANO_TARGET_BINARY): $(NANO_DIR)/$(NANO_BINARY)
|
||||
install -D $(NANO_DIR)/$(NANO_BINARY) $(TARGET_DIR)/$(NANO_TARGET_BINARY)
|
||||
|
||||
nano: uclibc ncurses $(TARGET_DIR)/$(NANO_TARGET_BINARY)
|
||||
nano: ncurses $(TARGET_DIR)/$(NANO_TARGET_BINARY)
|
||||
|
||||
nano-clean:
|
||||
rm -f $(TARGET_DIR)/$(NANO_TARGET_BINARY)
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user