mirror of
https://github.com/godotengine/buildroot.git
synced 2026-01-10 10:10:28 +03:00
Compare commits
1 Commits
2010.08
...
2009.02_rc
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
79ba278358 |
10
.gitignore
vendored
10
.gitignore
vendored
@@ -1,10 +0,0 @@
|
||||
/output
|
||||
/dl
|
||||
/.auto.deps
|
||||
/.config.cmd
|
||||
/.config.old
|
||||
/.config
|
||||
*.depend
|
||||
*.o
|
||||
*.orig
|
||||
*~
|
||||
727
CHANGES
727
CHANGES
@@ -1,727 +0,0 @@
|
||||
2010.08: Released August 31th, 2010:
|
||||
|
||||
Fixes all over the tree.
|
||||
|
||||
Updated/fixed packages: atk, xstroke
|
||||
|
||||
Removed packages: lxdoom
|
||||
|
||||
2010.08-rc2, Released August 30th, 2010:
|
||||
|
||||
Fixes all over the tree.
|
||||
|
||||
Mark the combination of uClibc 0.9.31, gcc 4.2.x, C++ and
|
||||
locale support as broken. Remove deprecated GCC 4.2.[1-3]
|
||||
versions.
|
||||
|
||||
Mark CRIS architecture as deprecated, as it is discontinued
|
||||
upstream.
|
||||
|
||||
Marked shared config.cache as experimental and disabled by
|
||||
default as it is known to break with certain package
|
||||
combinations.
|
||||
|
||||
Toolchain: fixed gcc 4.2.x build after uClibc NPTL support got
|
||||
added.
|
||||
|
||||
fs: old-style squashfs for big endian archs fixed.
|
||||
|
||||
Updated/fixed packages: busybox, gst-plugins-base,
|
||||
imagemagick, kismet, libgail, libglib2, libgtk2, lua,
|
||||
luafilesystem, lzo, ncurses, netcat, pango, php, pppd,
|
||||
proftpd, qt, samba, startup-notification, swfdec, sysvinit,
|
||||
util-linux
|
||||
|
||||
Removed packages: stunnel
|
||||
|
||||
Issues resolved (http://bugs.uclibc.org):
|
||||
|
||||
#635: util-linux fails to build in 2009.08
|
||||
#2239: netcat package installs its binary to target as avr32-linux...
|
||||
#2395: libglib2-2.24.1 and libxml2-2.7.7 fails build on MIPS because...
|
||||
#2443: Initramfs: Don't overwrite $(TARGET_DIR)/init if it exists
|
||||
#2449: Minor fixes for squashfs makefile and correct PowerPC e500 ...
|
||||
|
||||
2010.08-rc1, Released July 30th, 2010:
|
||||
|
||||
Fixes all over the tree and new features.
|
||||
|
||||
Toolchain: GCC 4.3.5, older 4.3.x versions removed. GCC 4.1.2
|
||||
and non-sysroot support removed. Added support for (snapshot)
|
||||
NPTL in uClibc, 0.9.28.3 removed,
|
||||
|
||||
Bootloaders: Various cleanups, moved to boot/, added Barebox,
|
||||
removed yaboot. Support building u-boot from custom tarball,
|
||||
u-boot 2010.06.
|
||||
|
||||
New GTK-based configurator, usable using 'make gconfig'.
|
||||
|
||||
Java packages marked as broken. Unless someone steps up to
|
||||
support this, they will be removed during the 2010.11
|
||||
development cycle.
|
||||
|
||||
Alpha, IA64 and Sparc64 architectures marked as deprecated.
|
||||
GTK+ on DirectFB has also been marked as deprecated, as it is
|
||||
not supported in recent GTK+ versions, and more and more
|
||||
packages depends on the new versions.
|
||||
Unless someone steps up to support them, they will be removed
|
||||
during the 2010.11 development cycle.
|
||||
|
||||
New packages: cgilua, copas, coxpcall, ffmpeg, libsvgtiny,
|
||||
libgail, luafilesystem, luasocket, rings, wsapi, xavante, xterm
|
||||
|
||||
Updated/fixed packages: alsa-lib, alsamixergui, at, atk,
|
||||
avahi, berkeleydb, bash, blackbox, busybox, bzip2, cairo,
|
||||
cdrkit, cmake, dash, dhcp, dialog, diffutils, distcc, dmalloc,
|
||||
dnsmasq, dropbear, e2fsprogs, fbv, file, flex, fontconfig,
|
||||
gawk, gmpc, gnuchess, gst-plugins-base, gst-plugins-good,
|
||||
gstreamer, gzip, icu, intltool, iostat, ipsec-tools, iptables,
|
||||
iw, libart, libcgi, libcurl, libdrm, libeXosip, libfuse,
|
||||
libglib2, libgpg-error, libiconv, libidn, liblockfile, libpng,
|
||||
libsoup, lighttpd, links, linux-fusion, lmbench, lrzsz,
|
||||
ltrace, make, midori, module-init-tools, mplayer,
|
||||
mysql_client, nbd, ncurses, neon, netcat, netperf, netsnmp,
|
||||
ntfsprogs, openssl, oprofile, pango, php, qt, quagga, samba,
|
||||
setserial, sdl, sdl_mixer, sdl_sound, sdl_ttf, speech-tools,
|
||||
sqlite, squashfs, swfdec, tftpd, thttpd, tn5250, tremor,
|
||||
usbutils, webif, webkit, wireless_tools, xerces,
|
||||
xkeyboard-config, xserver_xorg-server, xvkbd, zlib
|
||||
|
||||
Removed packages: modutils, portage, rxvt
|
||||
|
||||
Deprecated packages: dillo, libglib12, libgtk12, microwin, pcmcia
|
||||
|
||||
Issues resolved (http://bugs.uclibc.org):
|
||||
|
||||
#321: alsa-lib uses host include files for python which breaks ...
|
||||
#361: linux kernel configuration choice works incorrectly
|
||||
#387: Tremor not installed to toolchain
|
||||
#401: new package: ffmpeg
|
||||
#475: uImage target for U-boot failed generating
|
||||
#543: ATK requires X11 on DirectFB target
|
||||
#575: webkit: Buildroot Libtool Patch Fails
|
||||
#583: build fails with external x86_64 toolchain
|
||||
#729: sstrip creates corrupted headers
|
||||
#829: Webkit r44552 needs libXt
|
||||
#835: Package Dataflashboot-1.05 does not compile with buildroot...
|
||||
#847: Compiling target-gcc v4.4 fails with "libc.so.0: cannot open...
|
||||
#859: Add (head of) nptl branch to list of uClibc versions
|
||||
#949: compile with debug info
|
||||
#955: Grub fails to build with External Toolchain
|
||||
#1051: Webkit doesn't compile (Linuxthreads new, x86)
|
||||
#1213: Move .config into output directory
|
||||
#1225: Buildroot fails to account for "nof" subdirectory (no float...
|
||||
#1231: (sparc) Linux kernel fails to build
|
||||
#1261: The getline() in output/build/linux-2.6.28/scripts/unifdef.c...
|
||||
#1339: Busybox needs -fno-strict-aliasing to compile cleanly
|
||||
#1393: neon config fails libxml/parser.h: libxml2 requires, but not ...
|
||||
#1405: WebKit fails to build because pthread_getattr_np is not impl...
|
||||
#1675: GMP Error during buildroot make process
|
||||
#1741: external toolchain linking error
|
||||
#1753: lmbench: convert to generic package infrastructure
|
||||
#1771: Fakeroot and the target/generic/device_table.txt create bad...
|
||||
#1807: LZMA 4.32.7, Required header file(s) are missing
|
||||
#1813: xkeyboard-config fails to build because of intltool problem
|
||||
#1879: Bump iptables to 1.4.8
|
||||
#1885: Add a bunch of lua modules
|
||||
#1897: Bump libusb to 1.0.7
|
||||
#1903: Bump tn5250 to 0.17.4 and migrate to autotargets
|
||||
#1909: netperf-2.4.5 fails to build because of undeclared SOCK_DCCP
|
||||
#1927: Bump file to 5.03 and migrate to autotargets
|
||||
#1933: Bump gawk to 3.1.8 and migrate to autotargets
|
||||
#1945: PHP: add sqlite3 dependency when using external lib
|
||||
#1951: Bump openssl to 0.9.8o
|
||||
#1957: Bump sqlite to 3.6.23.1
|
||||
#1975: Package removal/deprecation
|
||||
#1981: zlib: bump to 1.2.5
|
||||
#1987: intltool: Fix spelling mistake
|
||||
#1993: Bump bash to 4.1.7(1) and migrate to autotargets
|
||||
#1999: Typo in path checking
|
||||
#2005: Bump dnsmasq to 2.55 and migrate to gentargets
|
||||
#2035: ipsec-tools-0.7.2 fails to build with gcc-4.4.x
|
||||
#2038: Bump ncurses to 5.7
|
||||
#2095: make gconfig: undefined reference to symbol 'dlsym@@GLIBC_2.2.5'
|
||||
#2101: blackbox depends on locale support
|
||||
#2119: Tries to build kernel, although disabled in config
|
||||
#2125: libXfont build fail
|
||||
#2143: buildroot compiler generates segfaulting statically linked exe..
|
||||
#2149: xterm build failure
|
||||
#2155: Compression lzo don't set for ubifs
|
||||
#2161: [SECURITY] Update libpng to 1.2.44
|
||||
#2167: Bump busybox to 1.17.0, convert to gentargets, drop 1.12, ...
|
||||
#2181: pixman can't apply pixman-0.10.0-no-tests.patch
|
||||
#2191: linux-fusion build fail
|
||||
#2221: Qt does not compile (dependencies not taken into account?)
|
||||
#2233: Atmel atstk target skeletons have /etc/mtab as a file, not ...
|
||||
#2245: Netcat does not work due to incorrect assumptions about signed..
|
||||
#2251: directory output/build after make *_defconfig not found
|
||||
#2257: Convert netsnmp package to autotargets
|
||||
#2263: Bump samba to 3.3.13
|
||||
#2269: setserial causes make error
|
||||
|
||||
2010.05, Released May 30th, 2010:
|
||||
|
||||
Fixes all over the tree.
|
||||
|
||||
Updated/fixed packages: coreutils, hal, libcap,
|
||||
lockfile-progs, ncftp, xserver_xorg-server
|
||||
|
||||
Issues resolved (http://bugs.uclibc.org):
|
||||
|
||||
#1789: binutils fails to build for i386
|
||||
#1843: Fix libcap build failure
|
||||
#1855: XORG Keyboard driver fails to compile
|
||||
|
||||
2010.05-rc3, Released May 27th, 2010:
|
||||
|
||||
Fixes all over the tree.
|
||||
|
||||
Updated/fixed packages: aumix, atk, avahi, bmon, busybox, cairo,
|
||||
cdrkit, dbus-glib, dbus-python, docker, enchant, fltk, gamin,
|
||||
gettext, gmpc, gob2, grep, gstreamer, gst-plugins-bad,
|
||||
gst-plugins-base, gvfs, hal, iconv, icu, iperf, libcgicc,
|
||||
libdvdnav, libdvdread, libglade, libglib2, libgtk2, libidn,
|
||||
libmms, libmpd, libpcap, libsoup, lmbench, lsof, ltrace, lvm2,
|
||||
make, metacity, microperl, mtd-utils, mutt, nbd, netsnmp,
|
||||
ntfsprogs, ntp, olsr, pango, pciutils, pcmanfm, php,
|
||||
pkg-config, psmisc, qt, samba, shared-mime-info, squashfs,
|
||||
squashfs3, sshfs, startup-notification, swfdec, sylpheed,
|
||||
uemacs, util-linux, valgrind, vpnc, vsftpd, webkit, xstroke
|
||||
|
||||
Issues resolved (http://bugs.uclibc.org):
|
||||
|
||||
#75: arm buildroot "unrecognized option" error
|
||||
#699: Buildroot fails to copy libstdc++ to target when using external...
|
||||
#1693: NTP trys IPV6 even if not configured error: 'IPV6_MULTICAST...
|
||||
#1729: alsamixergui fails to build
|
||||
#1801: Avahi-autoipd doesn't create TARGET_DIR/var/lib
|
||||
#1819: pciutils small bugs
|
||||
#2065: Internal toolchain: bump gcc 4.3.x series to 4.3.5
|
||||
|
||||
2010.05-rc2, Released May 11th, 2010:
|
||||
|
||||
Fixes all over the tree.
|
||||
|
||||
Updated/fixed packages: busybox, customize, gawk, gnuchess,
|
||||
hal, hostapd, less, libgcrypt, libnl, libxcb, linux-fusion,
|
||||
ltp-testsuite, mplayer, netplug, pciutils, php, sed,
|
||||
shared-mime-info usb_modeswitch, usbutils, vlc wpa_supplicant,
|
||||
xapp_bdftopcf, xapp_mkfontdir, xdriver_xf86-video-openchrome,
|
||||
xfont_encodings, xlib_libX11, xlib_libXfont, xlib_xtrans,
|
||||
xproto_fontcacheproto, xproto_fontsproto, xvkbd
|
||||
|
||||
Removed packages: vice
|
||||
|
||||
Issues resolved (http://bugs.uclibc.org):
|
||||
|
||||
#849: "customize" package copies files to wrong place in target tree
|
||||
#985: Bump usb_modeswitch package to 1.1.0
|
||||
#1135: Package customize. Wrong copying
|
||||
#1525: Package hal deletes a whole <target>/etc/rc.d directory
|
||||
#1531: libxcb 1.5 build fails, due to missing xcbgen Python module
|
||||
#1669: Busybox failed to compile when using an external toolchain
|
||||
#1699: Fix usbutils dependencies and bump
|
||||
#1705: Fix pciutils broken cross compiling
|
||||
#1717: External toolchain fixes for hostapd & wpa_supplicant
|
||||
|
||||
2010.05-rc1, Released May 3rd, 2010:
|
||||
|
||||
Cleaned up / restructured package menu.
|
||||
|
||||
Toolchain: uClibc 0.9.30.3 / 0.9.31, older 0.9.30.x removed.
|
||||
2.6.33 kernel headers, binutils 2.20.1, GCC 4.4.4,
|
||||
removed broken nios2 support, ppc e300cX/e500mc support,
|
||||
improved external toolchain support, GDB 7.x support.
|
||||
|
||||
X.org updated to 7.5.
|
||||
|
||||
New packages: cdrkit, cramfs, genext2fs, genromfs,
|
||||
libatomic_ops, librsync, libusb-compat, lmbench, netperf,
|
||||
squashfs, squashfs3, squid
|
||||
|
||||
Updated/fixed packages: alsa-utils, argus, autoconf, bison,
|
||||
busybox, bzip2, directfb, dnsmasq, dosfstools, e2fsprogs,
|
||||
eeprog, fakeroot, fbv, findutils, freetype, haserl, hostapd,
|
||||
iperf, iptables, iw, less, libaio, libcgi, libcgicc, libdrm,
|
||||
libgcrypt, libglib2, libid3tag, libmad, liboil, libosip2,
|
||||
libpng, libraw1394, libsysfs, libxml2, libxslt, linux-fusion,
|
||||
ltrace, lua, lzma, madplay, makedevs, matchbox, mdadm,
|
||||
memstat, mesa3d, mtd-utils, nano, ncurses, openssl, patch,
|
||||
pciutils, php, pixman, portage, pppd, pthread-stubs, python,
|
||||
qt, radvd, samba, setserial, smartmontools, tar, tslib,
|
||||
udpcast, usb_modeswith, vtun, wget, xdata_xcursor-themes,
|
||||
xdriver_xf86-video-intel, xkeyboard-config, xlib_libX11,
|
||||
xlib_libXaw, xlib_libXfont, xlib_libXfontcache,
|
||||
xlib_libXxf86misc, xlib_libXtst, xlib_libpciaccess,
|
||||
xproto_dri2proto, xproto_eviext, xproto_fontcacheproto,
|
||||
xproto_xf86miscproto, xserver_xorg-server
|
||||
|
||||
Removed packages: xapp_xtrap, xlib_libXTrap, xlib_libXevie,
|
||||
xlib_libXxf86misc, xxproto_evieext, proto_trapproto,
|
||||
xproto_xf86miscproto
|
||||
|
||||
Issues resolved (http://bugs.uclibc.org):
|
||||
|
||||
#513: Add new squid package
|
||||
#661: lmbench: new package
|
||||
#719: Add lua option to haserl
|
||||
#800: [PATCH] iperf update to 2.0.4
|
||||
#803: [PATCH] lua - add shared library patch and config option for...
|
||||
#805: [PATCH] mdadm - version update
|
||||
#817: integrator926_defconfig uses unsupported uboot board name
|
||||
#851: Add option to specify --sysroot value for external toolchain
|
||||
#1093: Upgrade libusb to v1.0.3 and add new libusb-compat
|
||||
package for compatibility with old packages that expect
|
||||
the pre-1.0 API.
|
||||
#1105: Add new netperf package
|
||||
#1111: Bump wget to 1.12 and migrate to Makefile.autotools.in
|
||||
#1117: Bump nano to 2.2.3 and migrate to Makefile.autotools.in
|
||||
#1123: Bump less to 436 and migrate to Makefile.autotools.in
|
||||
#1129: Bump memstat to 0.8 and migrate to Makefile.package.in
|
||||
#1189: Wrong u-boot configuration name for integrator926 target
|
||||
#1219: kernel headers not correctly installed into toolchain/staging
|
||||
#1267: Wrong BR2_EXTRA_VERSION
|
||||
#1273: BR2_INET_IPV6 does not enable IPv6 in pppd
|
||||
#1303: Add librsync package
|
||||
#1321: Busybox link fails due to lack of --sysroot option
|
||||
#1327: mtd-utils compile failure due to lack of --sysroot in CFLAGS
|
||||
#1345: Bump pppd to 2.4.5 and convert to Makefile.autotools.in
|
||||
#1369: cannot build radvd (flex problem)
|
||||
#1387: xlib_libX11-1.3.2 can't find libjpeg
|
||||
#1411: [SECURITY] Update openssl package to 0.9.8n
|
||||
#1417: Bump iptables to 1.4.7
|
||||
#1423: Bump e2fsprogs to 1.41.11
|
||||
#1429: [SECURITY] Update php to 5.2.13
|
||||
#1441: Add binutils 2.20.1
|
||||
#1447: Package installation on target with debug symbols is broken
|
||||
#1459: Misc QA fixes
|
||||
#1489: radvd update to 1.6
|
||||
#1513: Enable powerpc e300c2, e300c3 and e500mc optimization
|
||||
#1537: dev entries not created anymore
|
||||
#1555: Fix default uclibc-0.9.31 configuration
|
||||
#1561: [SECURITY] Update samba to 3.3.12
|
||||
#1567: openssl0.9.8n fails to compile
|
||||
#1573: Alsa-utils alsactl/init/* not installed to target
|
||||
#1591: portmap fails to compile
|
||||
#1615: Convert eeprog package to gentargets
|
||||
#1645: Bump hostapd package to 0.7.2
|
||||
|
||||
2010.02, Release February 26th, 2010:
|
||||
|
||||
Fixes all over the tree.
|
||||
|
||||
Updated/fixed packages: avahi, busybox, cramfs, ipsec-tools, libcgicc,
|
||||
libgtk2, libraw1394, madplay, netsnmp, pango, squashfs, sylpheed, qt,
|
||||
xfont_font-util
|
||||
|
||||
Removed packages: hostap, openmotif, xpdf
|
||||
|
||||
Issues resolved (http://bugs.uclibc.org):
|
||||
|
||||
#165: openmotif does not build
|
||||
#1147: Remove obsolete hostap package
|
||||
#1183: make source fails to download gmp, mpfr and patches
|
||||
|
||||
2010.02-rc2, Released February 23th, 2010:
|
||||
|
||||
Fixes all over the tree and new features.
|
||||
|
||||
New packages: intltool
|
||||
|
||||
Updated/fixed packages: ace_of_penguins, alsa-lib, alsa-utils, argus,
|
||||
at, automake, ccache, dosfstools, e2fsprogs, flex, gob2, gmpc,
|
||||
gst-plugins-good, imagemagick, iw, kexec, libeXosip, libgtk2,
|
||||
libpcap, libpng, libsoup, libxcb, libxml-parser-perl, libxml2,
|
||||
libxslt, lvm2, matchbox, mplayer, rsync, rubix, shared-mime-info,
|
||||
tcl, webkit, xapp_mkfontscale, xfont_encodings, xfont_font-util,
|
||||
xlib_libfontenc, xproto_trapproto, zlib
|
||||
|
||||
Removed package: xboard
|
||||
|
||||
Issues resolved (http://bugs.uclibc.org):
|
||||
|
||||
#335: atk looks for the path to the gnome library on the host
|
||||
#355: Please update WebKit - it doesn't compile!
|
||||
#453: libglib2 autoreconf
|
||||
#457: e2fsprogs link problem
|
||||
#459: libgtk2 autoreconf
|
||||
#469: build of libgtk2 for host incorrectly assumes that X.org ...
|
||||
#671: Bash fails to build when building buildront on Ubuntu 9.04
|
||||
#711: WebKit host dependencies problems
|
||||
#821: cp: illegal operation
|
||||
#1039: Not compiled on ubuntu karmic
|
||||
#1069: [PATCH] The AT91BOOTSTRAP makefile contains a typo
|
||||
|
||||
2010.02-rc1, Released February 9th, 2010:
|
||||
|
||||
Fixes all over the tree and new features.
|
||||
|
||||
Generalized autotools infrastructure to be usable for
|
||||
non-autotools packages, see package/Makefile.package.in for
|
||||
details.
|
||||
|
||||
Cleaned up avr32 toolchain config, external source-based
|
||||
toolchain support is gone.
|
||||
|
||||
Dependency checks: Also check for makeinfo, only print output
|
||||
on errors.
|
||||
|
||||
Toolchain: uClibc 0.9.30.2, gcc 4.4.3
|
||||
|
||||
New packages: libcdaudio, libdvdnav, libdvdread, hostapd, ser2net,
|
||||
tcpreplay
|
||||
|
||||
Updated/fixed packages: alsa-lib, alsa-utils, at, autoconf, bash,
|
||||
bind, binutils, bootutils, busybox, dbus, directfb, dnsmasq,
|
||||
e2fsprogs, gstreamer, gperf, gst-plugins-bad, gvfs, fbdump, flex,
|
||||
hal, iptables, iw, jpeg, kismet, libfuse, libglib2, liboil, libpcap,
|
||||
libungif, libxml2, libxslt, lighttpd, mesa, mpg123, mtd-utils, nbd,
|
||||
neon, netstat-nat, newt, openvpn, pcre, php, qt, rdesktop, readline,
|
||||
rpm, sawman, sdl, sdl_ttf, sqlite, sshfs, tremor, u-boot,
|
||||
usb_modeswitch, usbutils, webkit, wpa_supplicant, xfsprogs, zlib
|
||||
|
||||
Removed package: asterisk, openswan
|
||||
|
||||
Issues resolved (http://bugs.uclibc.org):
|
||||
|
||||
#515: tcpreplay: new package
|
||||
#553: Wrong DirectFB ps2mouse limitation
|
||||
#559: mesa3d build fails
|
||||
#679: Autoconf cannot find M4
|
||||
#739: New/updated hostapd package
|
||||
#749: Bump usbutils package to version 0.86
|
||||
#751: Kernel 2.6 snapshot fetch fail
|
||||
#753: Bump lighttpd package to 1.4.25
|
||||
#757: U-Boot: mkimage cannot be installed using external toolchain
|
||||
#761: Add binutils 2.20 to toolchain options
|
||||
#763: [SECURITY] Update pcre to 7.9
|
||||
#765: Add buildroot branding to gcc
|
||||
#767: Bump iw package to 0.9.18
|
||||
#773: [SECURITY] Update bind to 9.5.2-P1
|
||||
#795: Minor edits to fix typos, grammar, spelling, usage in documen...
|
||||
#813: Drop not very useful generic package selection options ...
|
||||
#823: Editor backup files (~) is copied from the target_skeleton
|
||||
#827: Bump mtd-utils package to version 1.2.0
|
||||
#841: Build error
|
||||
#913: Bump iptables to 1.4.6
|
||||
#919: Bump usb_modeswitch package to 1.0.7
|
||||
#925: Bump wpa_supplicant package to 0.6.10
|
||||
#931: Bump kismet package to 2010-01-R1
|
||||
#937: Bump openvpn package to 2.1.1
|
||||
#943: Bump sqlite package to 3.6.22
|
||||
#961: Bump dnsmasq to 2.52
|
||||
#967: Bump netstat-nat to 1.4.10
|
||||
#973: Bump iw to 0.9.19
|
||||
#1003: DHCP options disabled with busybox-1.16.0
|
||||
#1009: [SECURITY] Bump php to 5.2.12
|
||||
#1015: [SECURITY] Bump bind to 9.5.1-P2
|
||||
#1027: Busybox flash commands conflict with those from mtd-utils
|
||||
#1063: [SECURITY] Update lighttpd to 1.4.26
|
||||
|
||||
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[5~
|
||||
|
||||
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.
|
||||
|
||||
New packages: libuuid, gcc 4.3.4.
|
||||
|
||||
Updated/fixed packages: busybox, classpath, gzip, ipsec-tools,
|
||||
jamvm, libusb, microperl, neon, popt, sed, webkit.
|
||||
|
||||
Fixed issue with 'make oldconfig'
|
||||
|
||||
Issues resolved (http://bugs.uclibc.org):
|
||||
|
||||
#525: sed broken with external toolchain
|
||||
#537: Fix gzip build with recent glibc
|
||||
|
||||
2009.08-rc1, Released August 2nd, 2009:
|
||||
|
||||
Fixes all over the tree and new features.
|
||||
|
||||
Improvement of external toolchain support:
|
||||
- Support for glibc toolchains.
|
||||
- The toolchain configuration announced to Buildroot is
|
||||
verified against the real toolchain configuration.
|
||||
- Fixes, documentation.
|
||||
|
||||
Cleanup X.org support: clarified configuration options, and
|
||||
removed mandatory dependency on useless libraries such as
|
||||
libXt or libXaw.
|
||||
|
||||
New QT-based configurator, usable using 'make xconfig'.
|
||||
|
||||
Support for the Xtensa architecture.
|
||||
|
||||
Toolchain: GCC 4.4.1, 2.6.30 kernel headers, removed < 2.6.26
|
||||
headers.
|
||||
|
||||
New packages: bmon, ctorrent, dosfstools, enchant,
|
||||
gst-plugins-bad, iw, libmms, libnl, netstat-nat, ntfsprogs,
|
||||
sdl_gfx, spawn-fcgi.
|
||||
|
||||
Updated packages: bind, busybox, coreutils, sqlite, directfb,
|
||||
expat, gamin, gnuconfig, haserl, ipsec-tools, classpath,
|
||||
libcurl, libglib2, liblockfile, libpng, libsoup, libxml2,
|
||||
lighttpd, ltp-testsuite, lvm2, matchbox, memstat,
|
||||
gst-plugins-good, gstreamer, libogg, libvorbis, mplayer,
|
||||
neon, openssl, pciutils, php, qt, ruby, sawman, webkit,
|
||||
wpa-supplicant, xdriver_xf86-input-synaptics,
|
||||
xdriver_xf86-video-intel, xlib_libXfont, xlib_libXft,
|
||||
xlib_libXt, xproto_xproto, xserver-xorg, xutil_makedepend,
|
||||
xutil_util-macros.
|
||||
|
||||
Issues resolved (http://bugs.uclibc.org):
|
||||
|
||||
#83: liblockfile fails to compile due to eaccess redefinition
|
||||
#163: Xtensa architecture port
|
||||
#171: xorg-server / kernel headers 2.6.26 - vm86.c compilation issue
|
||||
#241: device mapper + lvm2: build together
|
||||
#243: ctorrent: new package
|
||||
#247: ntfsprogs: new package
|
||||
#271: Library 'libgcc_s.so.1' not installed in search path
|
||||
#287: New package libnl
|
||||
#289: New package iw
|
||||
#331: Update MPlayer to version 1.0rc2
|
||||
#333: Bump sqlite package to 3.6.15
|
||||
#349: update libsoup to version 2.26.2
|
||||
#357: New package netstat-nat
|
||||
#359,#413: Upgrade openvpn to Makefile.autotools.in
|
||||
#367: linux kernel compile error for arm926t
|
||||
#369: Add SDL_gfx package
|
||||
#373: Support for building gstreamer without libxml
|
||||
#379: update DirectFB to version 1.4.0
|
||||
#383: gst-plugins-good: Allow soup plugin to be configured
|
||||
#385: neon: Fix pkgconfig dependency
|
||||
#387: Tremor not installed to toolchain
|
||||
#389: New package bmon
|
||||
#391: gstreamer: Bump version to 0.10.23
|
||||
#393: gst-plugins-base: Bump version to 0.10.23
|
||||
#395: gst-plugins-bad: New package
|
||||
#403: Error while building iso9660 image
|
||||
#409: Bump php package to 5.2.10
|
||||
#411: ipsec-tools: Bump version to 0.7.2
|
||||
#417: New package spawn-fcgi
|
||||
#419: Bump lighttpd package to 1.4.23
|
||||
#421: toolchain: Clean up toolchain locale support menu
|
||||
#427: webkit: Update to WebKit svn r44552
|
||||
#437: ltp-testsuite: Bump version to 20090630
|
||||
#451: Upgrade from unmaintained dosfstools-2.11 to dosfstools-3.0.3
|
||||
#467: DirectFB 1.4.1
|
||||
#473: memstat_0.5.tar.gz has install with -D and that fails "make"
|
||||
#491: libxml2: Bump version to 0.7.3
|
||||
#495: Bump bind package to 9.5.1-P3 (security)
|
||||
#497: OpenSSL RSA key generation hangs on x86_64
|
||||
#509: Bump sqlite package to 3.6.16
|
||||
#523: pciutils broken with external toolchain
|
||||
#533: Update gamin to 0.1.10 to fix compilation
|
||||
|
||||
2009.05, Released June 1st, 2009:
|
||||
|
||||
Fixes for dropbear & diffutils, bump linux-advanced 2.6.29.x
|
||||
version and marked ubifsroot as broken.
|
||||
|
||||
2009.05-rc3, Released May 27th, 2009:
|
||||
|
||||
Fixes for toolchain (gcc arm pr37436), stable kernel versions,
|
||||
busybox, curl, libusb, readline, python and strace.
|
||||
|
||||
Issues resolved (http://bugs.uclibc.org):
|
||||
|
||||
#345: libcurl package needs a urandom fix
|
||||
|
||||
2009.05-rc2, Released May 19th, 2009:
|
||||
|
||||
Fixes for toolchain (gcc w/softfloat on ppc, 3.4.6 buildfix
|
||||
for newer hosts), stable kernel versions, busybox, cups,
|
||||
dmraid, docker, mesa3d, rsync and updated defconfigs.
|
||||
|
||||
xserver marked as broken on AVR32 and atngw100-expanded
|
||||
config removed.
|
||||
|
||||
Issues resolved (http://bugs.uclibc.org):
|
||||
|
||||
#167: metacity does not build
|
||||
#295: gamin installs python support even if python is disabled
|
||||
#323: gen_matypes fails to execute during build of Mesa when us...
|
||||
|
||||
2009.05-rc1, Released May 5th, 2009:
|
||||
|
||||
Fixes all over the tree, further conversion of packages to
|
||||
Makefile.autotools.in and we now build host versions of
|
||||
packages where needed for build time dependencies instead of
|
||||
relying on the correct versions being available on the build
|
||||
host. Ancient toolchain / busybox versions have furthermore
|
||||
been removed as announced in the 2009.02 release notes.
|
||||
|
||||
New packages: flac, gob2, lzop, taglib, wpa_supplicant
|
||||
|
||||
Updated packages: avahi, bind, binutils, busybox, dbus, dbus-glib,
|
||||
directfb, dnsmasq, freetype, gcc, gmp, gstreamer, iptables, kernel
|
||||
headers, kexec, libglib2, libpng, libsndfile, lua, mpfr, ntfs-3g,
|
||||
openssl, php, qtopia4, rsync, samba, sqlite, tar, uboot, uclibc,
|
||||
util-linux, xorg7, xerces
|
||||
|
||||
Issues resolved (http://bugs.uclibc.org):
|
||||
|
||||
#5,#77,#141,#143: Convert php package to Makefile.autotools.in
|
||||
and a ton of other improvements
|
||||
#19: page.h missing by util-linux
|
||||
#37: update libglib2 to version 2.18.4
|
||||
#61: tslib puts staging_dir into pkgconfig file
|
||||
#69: tar refuses to build
|
||||
#71,#175: ./wchar.h:41:12: error: empty filename in #include
|
||||
#73: Bump openssl package to the latest version
|
||||
#81: New package wpa_supplicant
|
||||
#99: new package: flac
|
||||
#101: update gstreamer packages
|
||||
#105,#313: menuconfig segfaults on tinyx if wchar is not
|
||||
selected
|
||||
#107: convert libvorbis to Makefile.autotools.in
|
||||
#109: Make pppd package avoid bsd err
|
||||
#111: binutils 2.17 fails to build when texinfo >= 4.10
|
||||
#133: Modify ncurses5-config to get correct include path
|
||||
#137: Bump php to version 5.2.9
|
||||
#139: Bump sqlite to 3.6.11 and convert to
|
||||
Makefile.autotools.in
|
||||
#145: Bump bind package to 9.5.1-P1 (security)
|
||||
#147: buildroot toolchain fails to build w/binutils-2.19.1
|
||||
#151: openssl package trivial fixes
|
||||
#161: vim fails on patching with errors in configure.patch
|
||||
#169: blackbox-0.70.1 does not build
|
||||
#177: xdriver_xf86-input-keyboard does not build
|
||||
#179: Upgrade dropbear to Makefile.autotools.in
|
||||
#181: Update to Xorg 7.4
|
||||
#187: ntfs-3g: could not build cross
|
||||
#191: alsa-lib ARM binaries always built with EABI
|
||||
#213: Bump wpa_supplicant package to version 0.6.9
|
||||
#217: Bump openssl package to 0.9.8k (security)
|
||||
#219: Toolchain build fails on m4
|
||||
#225: m4 macros are out of place
|
||||
#233: make ipv6 optional in iptables
|
||||
#237: ncftp: convert to Makefile.autotools.in
|
||||
#239: ntfs-3g: convert to Makefile.autotools.in
|
||||
#245: lzop: new package
|
||||
#271: Bump bind package to 9.5.1-P2 (security)
|
||||
#277: Bump sqlite package to 3.6.16
|
||||
#279: update libglib2 to version 2.20.1
|
||||
#281: update DirectFB to version 1.2.8
|
||||
#283: add taglib
|
||||
#285: compilation of samba fails if IPV6 support is missing
|
||||
#293: update samba to version 3.3.3
|
||||
#299: add shared-mime-info package
|
||||
#307: make openssl package respect build flags
|
||||
339
COPYING
339
COPYING
@@ -1,339 +0,0 @@
|
||||
GNU GENERAL PUBLIC LICENSE
|
||||
Version 2, June 1991
|
||||
|
||||
Copyright (C) 1989, 1991 Free Software Foundation, Inc.,
|
||||
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
Everyone is permitted to copy and distribute verbatim copies
|
||||
of this license document, but changing it is not allowed.
|
||||
|
||||
Preamble
|
||||
|
||||
The licenses for most software are designed to take away your
|
||||
freedom to share and change it. By contrast, the GNU General Public
|
||||
License is intended to guarantee your freedom to share and change free
|
||||
software--to make sure the software is free for all its users. This
|
||||
General Public License applies to most of the Free Software
|
||||
Foundation's software and to any other program whose authors commit to
|
||||
using it. (Some other Free Software Foundation software is covered by
|
||||
the GNU Lesser General Public License instead.) You can apply it to
|
||||
your programs, too.
|
||||
|
||||
When we speak of free software, we are referring to freedom, not
|
||||
price. Our General Public Licenses are designed to make sure that you
|
||||
have the freedom to distribute copies of free software (and charge for
|
||||
this service if you wish), that you receive source code or can get it
|
||||
if you want it, that you can change the software or use pieces of it
|
||||
in new free programs; and that you know you can do these things.
|
||||
|
||||
To protect your rights, we need to make restrictions that forbid
|
||||
anyone to deny you these rights or to ask you to surrender the rights.
|
||||
These restrictions translate to certain responsibilities for you if you
|
||||
distribute copies of the software, or if you modify it.
|
||||
|
||||
For example, if you distribute copies of such a program, whether
|
||||
gratis or for a fee, you must give the recipients all the rights that
|
||||
you have. You must make sure that they, too, receive or can get the
|
||||
source code. And you must show them these terms so they know their
|
||||
rights.
|
||||
|
||||
We protect your rights with two steps: (1) copyright the software, and
|
||||
(2) offer you this license which gives you legal permission to copy,
|
||||
distribute and/or modify the software.
|
||||
|
||||
Also, for each author's protection and ours, we want to make certain
|
||||
that everyone understands that there is no warranty for this free
|
||||
software. If the software is modified by someone else and passed on, we
|
||||
want its recipients to know that what they have is not the original, so
|
||||
that any problems introduced by others will not reflect on the original
|
||||
authors' reputations.
|
||||
|
||||
Finally, any free program is threatened constantly by software
|
||||
patents. We wish to avoid the danger that redistributors of a free
|
||||
program will individually obtain patent licenses, in effect making the
|
||||
program proprietary. To prevent this, we have made it clear that any
|
||||
patent must be licensed for everyone's free use or not licensed at all.
|
||||
|
||||
The precise terms and conditions for copying, distribution and
|
||||
modification follow.
|
||||
|
||||
GNU GENERAL PUBLIC LICENSE
|
||||
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
|
||||
|
||||
0. This License applies to any program or other work which contains
|
||||
a notice placed by the copyright holder saying it may be distributed
|
||||
under the terms of this General Public License. The "Program", below,
|
||||
refers to any such program or work, and a "work based on the Program"
|
||||
means either the Program or any derivative work under copyright law:
|
||||
that is to say, a work containing the Program or a portion of it,
|
||||
either verbatim or with modifications and/or translated into another
|
||||
language. (Hereinafter, translation is included without limitation in
|
||||
the term "modification".) Each licensee is addressed as "you".
|
||||
|
||||
Activities other than copying, distribution and modification are not
|
||||
covered by this License; they are outside its scope. The act of
|
||||
running the Program is not restricted, and the output from the Program
|
||||
is covered only if its contents constitute a work based on the
|
||||
Program (independent of having been made by running the Program).
|
||||
Whether that is true depends on what the Program does.
|
||||
|
||||
1. You may copy and distribute verbatim copies of the Program's
|
||||
source code as you receive it, in any medium, provided that you
|
||||
conspicuously and appropriately publish on each copy an appropriate
|
||||
copyright notice and disclaimer of warranty; keep intact all the
|
||||
notices that refer to this License and to the absence of any warranty;
|
||||
and give any other recipients of the Program a copy of this License
|
||||
along with the Program.
|
||||
|
||||
You may charge a fee for the physical act of transferring a copy, and
|
||||
you may at your option offer warranty protection in exchange for a fee.
|
||||
|
||||
2. You may modify your copy or copies of the Program or any portion
|
||||
of it, thus forming a work based on the Program, and copy and
|
||||
distribute such modifications or work under the terms of Section 1
|
||||
above, provided that you also meet all of these conditions:
|
||||
|
||||
a) You must cause the modified files to carry prominent notices
|
||||
stating that you changed the files and the date of any change.
|
||||
|
||||
b) You must cause any work that you distribute or publish, that in
|
||||
whole or in part contains or is derived from the Program or any
|
||||
part thereof, to be licensed as a whole at no charge to all third
|
||||
parties under the terms of this License.
|
||||
|
||||
c) If the modified program normally reads commands interactively
|
||||
when run, you must cause it, when started running for such
|
||||
interactive use in the most ordinary way, to print or display an
|
||||
announcement including an appropriate copyright notice and a
|
||||
notice that there is no warranty (or else, saying that you provide
|
||||
a warranty) and that users may redistribute the program under
|
||||
these conditions, and telling the user how to view a copy of this
|
||||
License. (Exception: if the Program itself is interactive but
|
||||
does not normally print such an announcement, your work based on
|
||||
the Program is not required to print an announcement.)
|
||||
|
||||
These requirements apply to the modified work as a whole. If
|
||||
identifiable sections of that work are not derived from the Program,
|
||||
and can be reasonably considered independent and separate works in
|
||||
themselves, then this License, and its terms, do not apply to those
|
||||
sections when you distribute them as separate works. But when you
|
||||
distribute the same sections as part of a whole which is a work based
|
||||
on the Program, the distribution of the whole must be on the terms of
|
||||
this License, whose permissions for other licensees extend to the
|
||||
entire whole, and thus to each and every part regardless of who wrote it.
|
||||
|
||||
Thus, it is not the intent of this section to claim rights or contest
|
||||
your rights to work written entirely by you; rather, the intent is to
|
||||
exercise the right to control the distribution of derivative or
|
||||
collective works based on the Program.
|
||||
|
||||
In addition, mere aggregation of another work not based on the Program
|
||||
with the Program (or with a work based on the Program) on a volume of
|
||||
a storage or distribution medium does not bring the other work under
|
||||
the scope of this License.
|
||||
|
||||
3. You may copy and distribute the Program (or a work based on it,
|
||||
under Section 2) in object code or executable form under the terms of
|
||||
Sections 1 and 2 above provided that you also do one of the following:
|
||||
|
||||
a) Accompany it with the complete corresponding machine-readable
|
||||
source code, which must be distributed under the terms of Sections
|
||||
1 and 2 above on a medium customarily used for software interchange; or,
|
||||
|
||||
b) Accompany it with a written offer, valid for at least three
|
||||
years, to give any third party, for a charge no more than your
|
||||
cost of physically performing source distribution, a complete
|
||||
machine-readable copy of the corresponding source code, to be
|
||||
distributed under the terms of Sections 1 and 2 above on a medium
|
||||
customarily used for software interchange; or,
|
||||
|
||||
c) Accompany it with the information you received as to the offer
|
||||
to distribute corresponding source code. (This alternative is
|
||||
allowed only for noncommercial distribution and only if you
|
||||
received the program in object code or executable form with such
|
||||
an offer, in accord with Subsection b above.)
|
||||
|
||||
The source code for a work means the preferred form of the work for
|
||||
making modifications to it. For an executable work, complete source
|
||||
code means all the source code for all modules it contains, plus any
|
||||
associated interface definition files, plus the scripts used to
|
||||
control compilation and installation of the executable. However, as a
|
||||
special exception, the source code distributed need not include
|
||||
anything that is normally distributed (in either source or binary
|
||||
form) with the major components (compiler, kernel, and so on) of the
|
||||
operating system on which the executable runs, unless that component
|
||||
itself accompanies the executable.
|
||||
|
||||
If distribution of executable or object code is made by offering
|
||||
access to copy from a designated place, then offering equivalent
|
||||
access to copy the source code from the same place counts as
|
||||
distribution of the source code, even though third parties are not
|
||||
compelled to copy the source along with the object code.
|
||||
|
||||
4. You may not copy, modify, sublicense, or distribute the Program
|
||||
except as expressly provided under this License. Any attempt
|
||||
otherwise to copy, modify, sublicense or distribute the Program is
|
||||
void, and will automatically terminate your rights under this License.
|
||||
However, parties who have received copies, or rights, from you under
|
||||
this License will not have their licenses terminated so long as such
|
||||
parties remain in full compliance.
|
||||
|
||||
5. You are not required to accept this License, since you have not
|
||||
signed it. However, nothing else grants you permission to modify or
|
||||
distribute the Program or its derivative works. These actions are
|
||||
prohibited by law if you do not accept this License. Therefore, by
|
||||
modifying or distributing the Program (or any work based on the
|
||||
Program), you indicate your acceptance of this License to do so, and
|
||||
all its terms and conditions for copying, distributing or modifying
|
||||
the Program or works based on it.
|
||||
|
||||
6. Each time you redistribute the Program (or any work based on the
|
||||
Program), the recipient automatically receives a license from the
|
||||
original licensor to copy, distribute or modify the Program subject to
|
||||
these terms and conditions. You may not impose any further
|
||||
restrictions on the recipients' exercise of the rights granted herein.
|
||||
You are not responsible for enforcing compliance by third parties to
|
||||
this License.
|
||||
|
||||
7. If, as a consequence of a court judgment or allegation of patent
|
||||
infringement or for any other reason (not limited to patent issues),
|
||||
conditions are imposed on you (whether by court order, agreement or
|
||||
otherwise) that contradict the conditions of this License, they do not
|
||||
excuse you from the conditions of this License. If you cannot
|
||||
distribute so as to satisfy simultaneously your obligations under this
|
||||
License and any other pertinent obligations, then as a consequence you
|
||||
may not distribute the Program at all. For example, if a patent
|
||||
license would not permit royalty-free redistribution of the Program by
|
||||
all those who receive copies directly or indirectly through you, then
|
||||
the only way you could satisfy both it and this License would be to
|
||||
refrain entirely from distribution of the Program.
|
||||
|
||||
If any portion of this section is held invalid or unenforceable under
|
||||
any particular circumstance, the balance of the section is intended to
|
||||
apply and the section as a whole is intended to apply in other
|
||||
circumstances.
|
||||
|
||||
It is not the purpose of this section to induce you to infringe any
|
||||
patents or other property right claims or to contest validity of any
|
||||
such claims; this section has the sole purpose of protecting the
|
||||
integrity of the free software distribution system, which is
|
||||
implemented by public license practices. Many people have made
|
||||
generous contributions to the wide range of software distributed
|
||||
through that system in reliance on consistent application of that
|
||||
system; it is up to the author/donor to decide if he or she is willing
|
||||
to distribute software through any other system and a licensee cannot
|
||||
impose that choice.
|
||||
|
||||
This section is intended to make thoroughly clear what is believed to
|
||||
be a consequence of the rest of this License.
|
||||
|
||||
8. If the distribution and/or use of the Program is restricted in
|
||||
certain countries either by patents or by copyrighted interfaces, the
|
||||
original copyright holder who places the Program under this License
|
||||
may add an explicit geographical distribution limitation excluding
|
||||
those countries, so that distribution is permitted only in or among
|
||||
countries not thus excluded. In such case, this License incorporates
|
||||
the limitation as if written in the body of this License.
|
||||
|
||||
9. The Free Software Foundation may publish revised and/or new versions
|
||||
of the General Public License from time to time. Such new versions will
|
||||
be similar in spirit to the present version, but may differ in detail to
|
||||
address new problems or concerns.
|
||||
|
||||
Each version is given a distinguishing version number. If the Program
|
||||
specifies a version number of this License which applies to it and "any
|
||||
later version", you have the option of following the terms and conditions
|
||||
either of that version or of any later version published by the Free
|
||||
Software Foundation. If the Program does not specify a version number of
|
||||
this License, you may choose any version ever published by the Free Software
|
||||
Foundation.
|
||||
|
||||
10. If you wish to incorporate parts of the Program into other free
|
||||
programs whose distribution conditions are different, write to the author
|
||||
to ask for permission. For software which is copyrighted by the Free
|
||||
Software Foundation, write to the Free Software Foundation; we sometimes
|
||||
make exceptions for this. Our decision will be guided by the two goals
|
||||
of preserving the free status of all derivatives of our free software and
|
||||
of promoting the sharing and reuse of software generally.
|
||||
|
||||
NO WARRANTY
|
||||
|
||||
11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
|
||||
FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
|
||||
OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
|
||||
PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
|
||||
OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
|
||||
MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS
|
||||
TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE
|
||||
PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
|
||||
REPAIR OR CORRECTION.
|
||||
|
||||
12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
|
||||
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
|
||||
REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
|
||||
INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
|
||||
OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
|
||||
TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
|
||||
YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
|
||||
PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
|
||||
POSSIBILITY OF SUCH DAMAGES.
|
||||
|
||||
END OF TERMS AND CONDITIONS
|
||||
|
||||
How to Apply These Terms to Your New Programs
|
||||
|
||||
If you develop a new program, and you want it to be of the greatest
|
||||
possible use to the public, the best way to achieve this is to make it
|
||||
free software which everyone can redistribute and change under these terms.
|
||||
|
||||
To do so, attach the following notices to the program. It is safest
|
||||
to attach them to the start of each source file to most effectively
|
||||
convey the exclusion of warranty; and each file should have at least
|
||||
the "copyright" line and a pointer to where the full notice is found.
|
||||
|
||||
<one line to give the program's name and a brief idea of what it does.>
|
||||
Copyright (C) <year> <name of author>
|
||||
|
||||
This program is free software; you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
the Free Software Foundation; either version 2 of the License, or
|
||||
(at your option) any later version.
|
||||
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License along
|
||||
with this program; if not, write to the Free Software Foundation, Inc.,
|
||||
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
|
||||
Also add information on how to contact you by electronic and paper mail.
|
||||
|
||||
If the program is interactive, make it output a short notice like this
|
||||
when it starts in an interactive mode:
|
||||
|
||||
Gnomovision version 69, Copyright (C) year name of author
|
||||
Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
|
||||
This is free software, and you are welcome to redistribute it
|
||||
under certain conditions; type `show c' for details.
|
||||
|
||||
The hypothetical commands `show w' and `show c' should show the appropriate
|
||||
parts of the General Public License. Of course, the commands you use may
|
||||
be called something other than `show w' and `show c'; they could even be
|
||||
mouse-clicks or menu items--whatever suits your program.
|
||||
|
||||
You should also get your employer (if you work as a programmer) or your
|
||||
school, if any, to sign a "copyright disclaimer" for the program, if
|
||||
necessary. Here is a sample; alter the names:
|
||||
|
||||
Yoyodyne, Inc., hereby disclaims all copyright interest in the program
|
||||
`Gnomovision' (which makes passes at compilers) written by James Hacker.
|
||||
|
||||
<signature of Ty Coon>, 1 April 1989
|
||||
Ty Coon, President of Vice
|
||||
|
||||
This General Public License does not permit incorporating your program into
|
||||
proprietary programs. If your program is a subroutine library, you may
|
||||
consider it more useful to permit linking proprietary applications with the
|
||||
library. If this is what you want to do, use the GNU Lesser General
|
||||
Public License instead of this License.
|
||||
152
Config.in
152
Config.in
@@ -8,15 +8,13 @@ config BR2_HAVE_DOT_CONFIG
|
||||
|
||||
config BR2_VERSION
|
||||
string
|
||||
default "2010.08"
|
||||
default "2009.02-rc4"
|
||||
|
||||
source "target/Config.in.arch"
|
||||
source "target/device/Config.in"
|
||||
|
||||
menu "Build options"
|
||||
|
||||
menu "Commands"
|
||||
|
||||
config BR2_WGET
|
||||
string "Wget command"
|
||||
default "wget --passive-ftp -nd"
|
||||
@@ -29,14 +27,6 @@ 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"
|
||||
@@ -69,21 +59,28 @@ config BR2_TAR_OPTIONS
|
||||
E.g. " -v --exclude='*.svn*'" to exclude all .svn internal files
|
||||
and to be verbose.
|
||||
|
||||
endmenu
|
||||
|
||||
config BR2_DL_DIR
|
||||
string "Download dir"
|
||||
default "$(TOPDIR)/dl"
|
||||
default "$(BASE_DIR)/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 $(TOPDIR)/dl
|
||||
The default is $(BASE_DIR)/dl
|
||||
|
||||
config BR2_COPYTO
|
||||
string "Copy result to..."
|
||||
default ""
|
||||
help
|
||||
Setting this variable will (eventually) override
|
||||
any other copyto configurations in buildroot.
|
||||
|
||||
source "target/device/Config.in.mirrors"
|
||||
|
||||
config BR2_STAGING_DIR
|
||||
string "Toolchain and header file location?"
|
||||
default "$(BASE_DIR)/staging"
|
||||
default "$(BUILD_DIR)/staging_dir"
|
||||
help
|
||||
This is the location where the toolchain will be installed. The
|
||||
toolchain will not work if it is moved from this location.
|
||||
@@ -92,21 +89,99 @@ config BR2_STAGING_DIR
|
||||
will be used.
|
||||
|
||||
Most people will leave this set to the default value of
|
||||
"$(BASE_DIR)/staging".
|
||||
"$(BUILD_DIR)/staging_dir".
|
||||
|
||||
source "target/device/Config.in.mirrors"
|
||||
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]
|
||||
|
||||
config BR2_GNU_BUILD_SUFFIX
|
||||
string "GNU build hostname suffix"
|
||||
default "pc-linux-gnu"
|
||||
help
|
||||
The string used to pass to configure scripts via the
|
||||
--build= option. Just specify the suffix here, the leading
|
||||
arch will be filled in automatically.
|
||||
|
||||
Here's some copy and paste build host options for you:
|
||||
linux: pc-linux-gnu
|
||||
cygwin: pc-cygwin
|
||||
os x: apple-darwin7 / apple-darwin8
|
||||
|
||||
config BR2_GNU_TARGET_SUFFIX
|
||||
string "GNU target suffix"
|
||||
default "linux-uclibcgnueabi" if BR2_ARM_EABI
|
||||
default "linux-uclibc"
|
||||
help
|
||||
The string used to pass to configure scripts via the
|
||||
--target= option. Just specify the suffix here, the leading
|
||||
arch will be filled in automatically.
|
||||
|
||||
Most users will want to stick with the default setting, though
|
||||
other users (most notably ARM EABI) like to add on to this in
|
||||
order to stay in line with gcc conventions.
|
||||
|
||||
Default options are:
|
||||
linux-uclibcgnueabi for ARM EABI
|
||||
linux-uclibc for the rest
|
||||
gnuhurd-uclibc for the hurd
|
||||
|
||||
config BR2_JLEVEL
|
||||
int "Number of jobs to run simultaneously"
|
||||
default "2"
|
||||
default "1"
|
||||
help
|
||||
Number of jobs to run simultaneously
|
||||
|
||||
config BR2_PREFER_IMA
|
||||
bool "prefer IMA compiles"
|
||||
help
|
||||
Where possible, compile package with Inter Module Analysis.
|
||||
This potentially uses alot of system resources on your compile
|
||||
host with the benefit of creating smaller binaries for the target.
|
||||
|
||||
If unsure, say No.
|
||||
|
||||
WARNING: This is highly experimental at the moment.
|
||||
|
||||
config BR2_DEPRECATED
|
||||
bool "Show packages that are deprecated or obsolete"
|
||||
help
|
||||
This option hides outdated/obsolete versions of packages.
|
||||
|
||||
config BR2_RECENT
|
||||
bool "Show packages that are of the latest major version"
|
||||
default y
|
||||
help
|
||||
This option show recent versions of packages.
|
||||
|
||||
config BR2_CONFIG_CACHE
|
||||
bool "Use a central configure cache file"
|
||||
help
|
||||
This determines if a central config cache is used by
|
||||
packages, reducing the configure time for packages as each
|
||||
one caches its findings.
|
||||
|
||||
config BR2_ENABLE_DEBUG
|
||||
bool "build packages with debugging symbols"
|
||||
select BR2_PACKAGE_GDB_SERVER
|
||||
@@ -181,11 +256,13 @@ choice
|
||||
|
||||
config BR2_OPTIMIZE_0
|
||||
bool "optimization level 0"
|
||||
depends on !BR2_PACKAGE_LINUX
|
||||
help
|
||||
Do not optimize. This is the default.
|
||||
|
||||
config BR2_OPTIMIZE_1
|
||||
bool "optimization level 1"
|
||||
depends on !BR2_PACKAGE_LINUX
|
||||
help
|
||||
Optimize. Optimizing compilation takes somewhat more time,
|
||||
and a lot more memory for a large function. With -O, the
|
||||
@@ -250,11 +327,24 @@ config BR2_PREFER_STATIC_LIB
|
||||
|
||||
WARNING: This is highly experimental at the moment.
|
||||
|
||||
config BR2_HAVE_MANPAGES
|
||||
bool "manpages on the target"
|
||||
help
|
||||
Leave the manpages on the target.
|
||||
If you say n here, your target will not contain any
|
||||
manpage.
|
||||
|
||||
config BR2_HAVE_INFOPAGES
|
||||
bool "infopages on the target"
|
||||
help
|
||||
Leave the infopages on the target.
|
||||
If you say n here, your target will not contain any
|
||||
infopage.
|
||||
|
||||
config BR2_HAVE_DOCUMENTATION
|
||||
bool "documentation on the target"
|
||||
help
|
||||
Install the documentation, including manual pages and info
|
||||
pages, on the target.
|
||||
Leave the documentation on the target.
|
||||
If you say n here, your target will not contain any
|
||||
documentation.
|
||||
|
||||
@@ -264,19 +354,7 @@ config BR2_HAVE_DEVFILES
|
||||
Install headers and static libraries in the
|
||||
target filesystem
|
||||
|
||||
menu "Advanced"
|
||||
|
||||
config BR2_CONFIG_CACHE
|
||||
bool "Use a central configure cache file (EXPERIMENTAL)"
|
||||
help
|
||||
Notice: This is experimental and known to break with certain
|
||||
package combinations.
|
||||
|
||||
This determines if a central config cache is used by
|
||||
packages, reducing the configure time for packages as each
|
||||
one caches its findings.
|
||||
|
||||
endmenu
|
||||
source package/gnuconfig/Config.in
|
||||
|
||||
endmenu
|
||||
|
||||
@@ -284,8 +362,4 @@ source "toolchain/Config.in"
|
||||
|
||||
source "package/Config.in"
|
||||
|
||||
source "fs/Config.in"
|
||||
|
||||
source "boot/Config.in"
|
||||
|
||||
source "linux/Config.in"
|
||||
source "target/Config.in"
|
||||
|
||||
495
Makefile
495
Makefile
@@ -1,7 +1,7 @@
|
||||
# Makefile for buildroot2
|
||||
#
|
||||
# Copyright (C) 1999-2005 by Erik Andersen <andersen@codepoet.org>
|
||||
# Copyright (C) 2006-2010 by the Buildroot developers <buildroot@uclibc.org>
|
||||
# Copyright (C) 2006-2009 by the Buildroot developers <buildroot@uclibc.org>
|
||||
#
|
||||
# This program is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
@@ -22,57 +22,46 @@
|
||||
# Just run 'make menuconfig', configure stuff, then run 'make'.
|
||||
# You shouldn't need to mess with anything beyond this point...
|
||||
#--------------------------------------------------------------
|
||||
# absolute path
|
||||
TOPDIR:=$(shell pwd)
|
||||
TOPDIR=./
|
||||
CONFIG_CONFIG_IN=Config.in
|
||||
CONFIG_DEFCONFIG=.defconfig
|
||||
CONFIG=package/config
|
||||
DATE:=$(shell date +%Y%m%d)
|
||||
|
||||
noconfig_targets:=menuconfig gconfig xconfig config oldconfig randconfig \
|
||||
defconfig allyesconfig allnoconfig release \
|
||||
randpackageconfig allyespackageconfig allnopackageconfig \
|
||||
noconfig_targets:=menuconfig config oldconfig randconfig \
|
||||
defconfig allyesconfig allnoconfig release tags \
|
||||
source-check help
|
||||
|
||||
# Strip quotes and then whitespaces
|
||||
qstrip=$(strip $(subst ",,$(1)))
|
||||
#"))
|
||||
|
||||
# Use shell variables, if defined
|
||||
ifneq ($(BUILDROOT_LOCAL),)
|
||||
BR2_LOCAL:=$(BUILDROOT_LOCAL)
|
||||
else
|
||||
BR2_LOCAL:=$(TOPDIR)/local
|
||||
endif
|
||||
|
||||
# Variables for use in Make constructs
|
||||
comma:=,
|
||||
empty:=
|
||||
space:=$(empty) $(empty)
|
||||
|
||||
ifneq ("$(origin O)", "command line")
|
||||
O:=output
|
||||
CONFIG_DIR:=$(TOPDIR)
|
||||
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 =
|
||||
# strangely enough O is still passed to submakes with MAKEOVERRIDES
|
||||
# (with make 3.81 atleast), the only thing that changes is the output
|
||||
# of the origin function (command line -> environment).
|
||||
# Unfortunately some packages don't look at origin (E.G. uClibc 0.9.31+)
|
||||
# To really make O go away, we have to override it.
|
||||
override O:=$(O)
|
||||
CONFIG_DIR:=$(O)
|
||||
# we need to pass O= everywhere we call back into the toplevel makefile
|
||||
EXTRAMAKEARGS = O=$(O)
|
||||
endif
|
||||
|
||||
# $(shell find . -name *_defconfig |sed 's/.*\///')
|
||||
# Pull in the user's configuration file
|
||||
ifeq ($(filter $(noconfig_targets),$(MAKECMDGOALS)),)
|
||||
-include $(CONFIG_DIR)/.config
|
||||
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
|
||||
@@ -155,16 +144,6 @@ FCFLAGS_FOR_BUILD:=-g -O2
|
||||
endif
|
||||
export HOSTAR HOSTAS HOSTCC HOSTCXX HOSTFC HOSTLD
|
||||
|
||||
# bash prints the name of the directory on 'cd <dir>' if CDPATH is
|
||||
# set, so unset it here to not cause problems. Notice that the export
|
||||
# line doesn't affect the environment of $(shell ..) calls, so
|
||||
# explictly throw away any output from 'cd' here.
|
||||
export CDPATH:=
|
||||
BASE_DIR := $(shell mkdir -p $(O) && cd $(O) >/dev/null && pwd)
|
||||
$(if $(BASE_DIR),, $(error output directory "$(O)" does not exist))
|
||||
|
||||
BUILD_DIR:=$(BASE_DIR)/build
|
||||
|
||||
|
||||
ifeq ($(BR2_HAVE_DOT_CONFIG),y)
|
||||
|
||||
@@ -183,31 +162,29 @@ cc-option=$(shell if $(TARGET_CC) $(TARGET_CFLAGS) $(1) -S -o /dev/null -xc /dev
|
||||
unexport CROSS_COMPILE
|
||||
unexport ARCH
|
||||
|
||||
GNU_HOST_NAME:=$(shell package/gnuconfig/config.guess)
|
||||
|
||||
#############################################################
|
||||
#
|
||||
# Setup the proper filename extensions for the host
|
||||
#
|
||||
##############################################################
|
||||
ifneq ($(findstring linux,$(GNU_HOST_NAME)),)
|
||||
ifneq ($(findstring linux,$(BR2_GNU_BUILD_SUFFIX)),)
|
||||
HOST_EXEEXT:=
|
||||
HOST_LIBEXT:=.a
|
||||
HOST_SHREXT:=.so
|
||||
endif
|
||||
ifneq ($(findstring apple,$(GNU_HOST_NAME)),)
|
||||
ifneq ($(findstring apple,$(BR2_GNU_BUILD_SUFFIX)),)
|
||||
HOST_EXEEXT:=
|
||||
HOST_LIBEXT:=.a
|
||||
HOST_SHREXT:=.dylib
|
||||
endif
|
||||
ifneq ($(findstring cygwin,$(GNU_HOST_NAME)),)
|
||||
ifneq ($(findstring cygwin,$(BR2_GNU_BUILD_SUFFIX)),)
|
||||
HOST_EXEEXT:=.exe
|
||||
HOST_LIBEXT:=.lib
|
||||
HOST_SHREXT:=.dll
|
||||
HOST_LOADLIBES="-lcurses -lintl"
|
||||
export HOST_LOADLIBES
|
||||
endif
|
||||
ifneq ($(findstring mingw,$(GNU_HOST_NAME)),)
|
||||
ifneq ($(findstring mingw,$(BR2_GNU_BUILD_SUFFIX)),)
|
||||
HOST_EXEEXT:=.exe
|
||||
HOST_LIBEXT:=.lib
|
||||
HOST_SHREXT:=.dll
|
||||
@@ -229,53 +206,17 @@ PREFERRED_LIB_FLAGS:=--enable-static --enable-shared
|
||||
# along with the packages to build for the target.
|
||||
#
|
||||
##############################################################
|
||||
ifeq ($(BR2_TOOLCHAIN_BUILDROOT),y)
|
||||
ifeq ($(BR2_TOOLCHAIN_SOURCE),y)
|
||||
BASE_TARGETS:=uclibc-configured binutils cross_compiler uclibc-target-utils kernel-headers
|
||||
else ifeq ($(BR2_TOOLCHAIN_EXTERNAL),y)
|
||||
else
|
||||
BASE_TARGETS:=uclibc
|
||||
endif
|
||||
TARGETS:=
|
||||
|
||||
# silent mode requested?
|
||||
QUIET:=$(if $(findstring s,$(MAKEFLAGS)),-q)
|
||||
# setup our paths
|
||||
include project/Makefile.in
|
||||
|
||||
# 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
|
||||
|
||||
DL_DIR=$(call qstrip,$(BR2_DL_DIR))
|
||||
ifeq ($(DL_DIR),)
|
||||
DL_DIR:=$(TOPDIR)/dl
|
||||
endif
|
||||
|
||||
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
|
||||
TOOLCHAIN_DIR=$(BASE_DIR)/toolchain
|
||||
TARGET_SKELETON=$(TOPDIR)/fs/skeleton
|
||||
|
||||
BR2_DEPENDS_DIR=$(BUILD_DIR)/buildroot-config
|
||||
BR2_DEPENDS_DIR=$(PROJECT_BUILD_DIR)/buildroot-config
|
||||
|
||||
include toolchain/Makefile.in
|
||||
include package/Makefile.in
|
||||
@@ -290,29 +231,41 @@ include package/Makefile.in
|
||||
all: world
|
||||
|
||||
# In this section, we need .config
|
||||
-include $(CONFIG_DIR)/.config.cmd
|
||||
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.
|
||||
ifeq ($(BR2_TOOLCHAIN_BUILDROOT),y)
|
||||
include toolchain/toolchain-buildroot.mk
|
||||
else ifeq ($(BR2_TOOLCHAIN_EXTERNAL),y)
|
||||
include toolchain/toolchain-external.mk
|
||||
ifeq ($(BR2_TOOLCHAIN_SOURCE),y)
|
||||
# avoid pulling in external toolchain which is broken for toplvl parallel builds
|
||||
# Explicit ordering:
|
||||
include toolchain/dependencies/dependencies.mk
|
||||
include toolchain/binutils/binutils.mk
|
||||
include toolchain/ccache/ccache.mk
|
||||
include toolchain/elf2flt/elf2flt.mk
|
||||
include toolchain/gcc/gcc-uclibc-3.x.mk
|
||||
include toolchain/gcc/gcc-uclibc-4.x.mk
|
||||
include toolchain/gdb/gdb.mk
|
||||
include toolchain/kernel-headers/kernel-headers.mk
|
||||
include toolchain/mklibs/mklibs.mk
|
||||
include toolchain/sstrip/sstrip.mk
|
||||
include toolchain/uClibc/uclibc.mk
|
||||
else
|
||||
include toolchain/*/*.mk
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_LINUX),y)
|
||||
TARGETS+=linux26-modules
|
||||
endif
|
||||
|
||||
include package/*/*.mk
|
||||
|
||||
TARGETS+=target-finalize
|
||||
TARGETS+=target-devfiles
|
||||
|
||||
ifeq ($(BR2_ENABLE_LOCALE_PURGE),y)
|
||||
TARGETS+=target-purgelocales
|
||||
endif
|
||||
|
||||
include boot/common.mk
|
||||
# target stuff is last so it can override anything else
|
||||
include target/Makefile.in
|
||||
include linux/linux.mk
|
||||
include fs/common.mk
|
||||
|
||||
TARGETS+=erase-fakeroots
|
||||
|
||||
@@ -323,24 +276,26 @@ TARGETS_ALL:=$(patsubst %,__real_tgt_%,$(TARGETS))
|
||||
# all targets depend on the crosscompiler and it's prerequisites
|
||||
$(TARGETS_ALL): __real_tgt_%: $(BASE_TARGETS) %
|
||||
|
||||
$(BR2_DEPENDS_DIR): $(CONFIG_DIR)/.config
|
||||
# rm -rf $@
|
||||
# mkdir -p $(@D)
|
||||
# cp -dpRf $(CONFIG)/buildroot-config $@
|
||||
$(BR2_DEPENDS_DIR): .config
|
||||
rm -rf $@
|
||||
mkdir -p $(@D)
|
||||
cp -dpRf $(CONFIG)/buildroot-config $@
|
||||
|
||||
dirs: $(DL_DIR) $(TOOLCHAIN_DIR) $(BUILD_DIR) $(STAGING_DIR) $(TARGET_DIR) \
|
||||
$(HOST_DIR) $(BR2_DEPENDS_DIR) $(BINARIES_DIR) $(STAMP_DIR)
|
||||
dirs: $(DL_DIR) $(TOOL_BUILD_DIR) $(BUILD_DIR) $(STAGING_DIR) $(TARGET_DIR) \
|
||||
$(BR2_DEPENDS_DIR) $(BINARIES_DIR) $(PROJECT_BUILD_DIR) \
|
||||
$(PROJECT_BUILD_DIR)/autotools-stamps
|
||||
|
||||
$(BASE_TARGETS): dirs
|
||||
|
||||
world: dependencies dirs $(BASE_TARGETS) $(TARGETS_ALL)
|
||||
world: dependencies dirs target-host-info $(BASE_TARGETS) $(TARGETS_ALL)
|
||||
|
||||
|
||||
.PHONY: all world dirs clean distclean source \
|
||||
.PHONY: all world dirs clean dirclean distclean source \
|
||||
$(BASE_TARGETS) $(TARGETS) $(TARGETS_ALL) \
|
||||
$(TARGETS_CLEAN) $(TARGETS_DIRCLEAN) $(TARGETS_SOURCE) \
|
||||
$(DL_DIR) $(TOOLCHAIN_DIR) $(BUILD_DIR) $(STAGING_DIR) $(TARGET_DIR) \
|
||||
$(HOST_DIR) $(BR2_DEPENDS_DIR) $(BINARIES_DIR) $(STAMP_DIR)
|
||||
$(DL_DIR) $(TOOL_BUILD_DIR) $(BUILD_DIR) $(STAGING_DIR) $(TARGET_DIR) \
|
||||
$(BR2_DEPENDS_DIR) $(BINARIES_DIR) $(PROJECT_BUILD_DIR) \
|
||||
$(PROJECT_BUILD_DIR)/autotools-stamps
|
||||
|
||||
#############################################################
|
||||
#
|
||||
@@ -348,113 +303,90 @@ world: dependencies dirs $(BASE_TARGETS) $(TARGETS_ALL)
|
||||
# dependencies anywhere else
|
||||
#
|
||||
#############################################################
|
||||
$(DL_DIR) $(TOOLCHAIN_DIR) $(BUILD_DIR) $(HOST_DIR) $(BINARIES_DIR) $(STAMP_DIR):
|
||||
$(DL_DIR) $(TOOL_BUILD_DIR) $(BUILD_DIR) $(PROJECT_BUILD_DIR) \
|
||||
$(PROJECT_BUILD_DIR)/autotools-stamps $(BINARIES_DIR):
|
||||
@mkdir -p $@
|
||||
|
||||
$(STAGING_DIR):
|
||||
@mkdir -p $(STAGING_DIR)/bin
|
||||
@mkdir -p $(STAGING_DIR)/lib
|
||||
ifeq ($(BR2_TOOLCHAIN_SYSROOT),y)
|
||||
@mkdir -p $(STAGING_DIR)/usr/lib
|
||||
@mkdir -p $(STAGING_DIR)/usr/include
|
||||
@mkdir -p $(STAGING_DIR)/usr/bin
|
||||
|
||||
ifeq ($(BR2_ROOTFS_SKELETON_CUSTOM),y)
|
||||
TARGET_SKELETON=$(BR2_ROOTFS_SKELETON_CUSTOM_PATH)
|
||||
else
|
||||
ifneq ($(BR2_TOOLCHAIN_EXTERNAL),y)
|
||||
@ln -snf . $(STAGING_DIR)/usr
|
||||
@mkdir -p $(STAGING_DIR)/usr/$(REAL_GNU_TARGET_NAME)
|
||||
@ln -snf ../lib $(STAGING_DIR)/usr/lib
|
||||
@ln -snf ../lib $(STAGING_DIR)/usr/$(REAL_GNU_TARGET_NAME)/lib
|
||||
endif
|
||||
endif
|
||||
@mkdir -p $(STAGING_DIR)/usr/include
|
||||
|
||||
$(BUILD_DIR)/.root:
|
||||
$(PROJECT_BUILD_DIR)/.root:
|
||||
mkdir -p $(TARGET_DIR)
|
||||
if ! [ -d "$(TARGET_DIR)/bin" ]; then \
|
||||
if [ -d "$(TARGET_SKELETON)" ]; then \
|
||||
cp -fa $(TARGET_SKELETON)/* $(TARGET_DIR)/; \
|
||||
fi; \
|
||||
if [ -d "$(TARGET_SKELETON_PATCH)" ]; then \
|
||||
toolchain/patch-kernel.sh $(TARGET_DIR) $(TARGET_SKELETON_PATCH)/ \*patch\*; \
|
||||
fi; \
|
||||
touch $(STAGING_DIR)/.fakeroot.00000; \
|
||||
fi
|
||||
-find $(TARGET_DIR) -type d -name CVS -print0 -o -name .svn -print0 | xargs -0 rm -rf
|
||||
-find $(TARGET_DIR) -type f \( -name .empty -o -name '*~' \) -print0 | xargs -0 rm -rf
|
||||
-find $(TARGET_DIR) -type d -name CVS -o -name .svn | xargs rm -rf
|
||||
-find $(TARGET_DIR) -type f -name .empty | xargs rm -rf
|
||||
touch $@
|
||||
|
||||
$(TARGET_DIR): $(BUILD_DIR)/.root
|
||||
$(TARGET_DIR): $(PROJECT_BUILD_DIR)/.root
|
||||
|
||||
erase-fakeroots:
|
||||
rm -f $(BUILD_DIR)/.fakeroot*
|
||||
rm -f $(PROJECT_BUILD_DIR)/.fakeroot*
|
||||
|
||||
target-finalize:
|
||||
target-devfiles:
|
||||
ifeq ($(BR2_HAVE_DEVFILES),y)
|
||||
( scripts/copy.sh $(STAGING_DIR) $(TARGET_DIR) )
|
||||
else
|
||||
rm -rf $(TARGET_DIR)/usr/include $(TARGET_DIR)/usr/lib/pkgconfig $(TARGET_DIR)/usr/share/aclocal
|
||||
find $(TARGET_DIR)/lib \( -name '*.a' -o -name '*.la' \) -print0 | xargs -0 rm -f
|
||||
find $(TARGET_DIR)/usr/lib \( -name '*.a' -o -name '*.la' \) -print0 | xargs -0 rm -f
|
||||
endif
|
||||
ifneq ($(BR2_PACKAGE_GDB),y)
|
||||
rm -rf $(TARGET_DIR)/usr/share/gdb
|
||||
endif
|
||||
ifneq ($(BR2_HAVE_DOCUMENTATION),y)
|
||||
rm -rf $(TARGET_DIR)/usr/man $(TARGET_DIR)/usr/share/man
|
||||
rm -rf $(TARGET_DIR)/usr/info $(TARGET_DIR)/usr/share/info
|
||||
rm -rf $(TARGET_DIR)/usr/doc $(TARGET_DIR)/usr/share/doc
|
||||
rm -rf $(TARGET_DIR)/usr/share/gtk-doc
|
||||
endif
|
||||
find $(TARGET_DIR) -type f -perm +111 | xargs $(STRIPCMD) 2>/dev/null || true
|
||||
mkdir -p $(TARGET_DIR)/etc
|
||||
# Mandatory configuration file and auxilliary cache directory
|
||||
# for recent versions of ldconfig
|
||||
touch $(TARGET_DIR)/etc/ld.so.conf
|
||||
mkdir -p $(TARGET_DIR)/var/cache/ldconfig
|
||||
if [ -x "$(TARGET_CROSS)ldconfig" ]; \
|
||||
then \
|
||||
$(TARGET_CROSS)ldconfig -r $(TARGET_DIR); \
|
||||
else \
|
||||
/sbin/ldconfig -r $(TARGET_DIR); \
|
||||
fi
|
||||
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=$(BUILD_DIR)/locales.nopurge
|
||||
LOCALE_NOPURGE=$(call qstrip,$(BR2_ENABLE_LOCALE_WHITELIST))
|
||||
|
||||
target-purgelocales:
|
||||
rm -f $(LOCALE_WHITELIST)
|
||||
for i in $(LOCALE_NOPURGE); do echo $$i >> $(LOCALE_WHITELIST); done
|
||||
|
||||
for dir in $(wildcard $(addprefix $(TARGET_DIR),/usr/share/locale /usr/share/X11/locale /usr/man /usr/share/man)); \
|
||||
do \
|
||||
for lang in $$(cd $$dir; ls .|grep -v man); \
|
||||
do \
|
||||
grep -qx $$lang $(LOCALE_WHITELIST) || rm -rf $$dir/$$lang; \
|
||||
done; \
|
||||
done
|
||||
rm -rf $(TARGET_DIR)/usr/include $(TARGET_DIR)/usr/lib/pkgconfig
|
||||
find $(TARGET_DIR)/usr/lib -name '*.a' -delete
|
||||
find $(TARGET_DIR)/lib -name '*.a' -delete
|
||||
find $(TARGET_DIR)/usr/lib -name '*.la' -delete
|
||||
find $(TARGET_DIR)/lib -name '*.la' -delete
|
||||
endif
|
||||
|
||||
source: $(TARGETS_SOURCE) $(HOST_SOURCE)
|
||||
|
||||
_source-check:
|
||||
$(MAKE) $(EXTRAMAKEARGS) SPIDER=--spider source
|
||||
$(MAKE) SPIDER=--spider source
|
||||
|
||||
external-deps:
|
||||
@$(MAKE) -Bs BR2_WGET=$(TOPDIR)/toolchain/wget-show-external-deps.sh \
|
||||
$(EXTRAMAKEARGS) SPIDER=--spider source
|
||||
SPIDER=--spider source
|
||||
|
||||
show-targets:
|
||||
@echo $(TARGETS)
|
||||
#############################################################
|
||||
#
|
||||
# Cleanup and misc junk
|
||||
#
|
||||
#############################################################
|
||||
clean: $(TARGETS_CLEAN)
|
||||
rm -rf $(STAGING_DIR) $(TARGET_DIR) $(IMAGE) $(PROJECT_BUILD_DIR)/.root $(PROJECT_BUILD_DIR)/autotools-stamps
|
||||
|
||||
ifeq ($(BR2_CONFIG_CACHE),y)
|
||||
# drop configure caches if configuration is changed
|
||||
$(BUILD_DIR)/tgt-config.cache $(BUILD_DIR)/host-config.cache: $(CONFIG_DIR)/.config
|
||||
rm -f $@
|
||||
touch $@
|
||||
dirclean: $(TARGETS_DIRCLEAN)
|
||||
rm -rf $(STAGING_DIR) $(TARGET_DIR) $(IMAGE) $(PROJECT_BUILD_DIR)/.root $(PROJECT_BUILD_DIR)/autotools-stamps
|
||||
|
||||
$(BASE_TARGETS): | $(BUILD_DIR)/tgt-config.cache $(BUILD_DIR)/host-config.cache
|
||||
distclean:
|
||||
ifeq ($(DL_DIR),$(BASE_DIR)/dl)
|
||||
rm -rf $(DL_DIR)
|
||||
endif
|
||||
rm -rf $(BUILD_DIR) $(PROJECT_BUILD_DIR) $(BINARIES_DIR) \
|
||||
$(LINUX_KERNEL) $(BASE_DIR)/include \
|
||||
.config.cmd
|
||||
$(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)
|
||||
|
||||
@@ -466,107 +398,68 @@ all: menuconfig
|
||||
HOSTCFLAGS=$(CFLAGS_FOR_BUILD)
|
||||
export HOSTCFLAGS
|
||||
|
||||
$(BUILD_DIR)/buildroot-config/%onf:
|
||||
mkdir -p $(@D)/lxdialog
|
||||
$(MAKE) CC="$(HOSTCC)" obj=$(@D) -C $(CONFIG) $(@F)
|
||||
-@if [ ! -f $(CONFIG_DIR)/.config ]; then \
|
||||
cp $(CONFIG_DEFCONFIG) $(CONFIG_DIR)/.config; \
|
||||
$(CONFIG)/conf:
|
||||
@mkdir -p $(CONFIG)/buildroot-config
|
||||
$(MAKE) CC="$(HOSTCC)" -C $(CONFIG) conf
|
||||
-@if [ ! -f .config ]; then \
|
||||
cp $(CONFIG_DEFCONFIG) .config; \
|
||||
fi
|
||||
$(CONFIG)/mconf:
|
||||
@mkdir -p $(CONFIG)/buildroot-config
|
||||
$(MAKE) CC="$(HOSTCC)" -C $(CONFIG) conf mconf
|
||||
-@if [ ! -f .config ]; then \
|
||||
cp $(CONFIG_DEFCONFIG) .config; \
|
||||
fi
|
||||
|
||||
xconfig: $(BUILD_DIR)/buildroot-config/qconf
|
||||
@mkdir -p $(BUILD_DIR)/buildroot-config
|
||||
@if ! KCONFIG_AUTOCONFIG=$(BUILD_DIR)/buildroot-config/auto.conf \
|
||||
KCONFIG_AUTOHEADER=$(BUILD_DIR)/buildroot-config/autoconf.h \
|
||||
BUILDROOT_CONFIG=$(CONFIG_DIR)/.config $< $(CONFIG_CONFIG_IN); then \
|
||||
test -f $(CONFIG_DIR)/.config.cmd || rm -f $(CONFIG_DIR)/.config; \
|
||||
menuconfig: $(CONFIG)/mconf
|
||||
@mkdir -p $(CONFIG)/buildroot-config
|
||||
@if ! KCONFIG_AUTOCONFIG=$(CONFIG)/buildroot-config/auto.conf \
|
||||
KCONFIG_AUTOHEADER=$(CONFIG)/buildroot-config/autoconf.h \
|
||||
$(CONFIG)/mconf $(CONFIG_CONFIG_IN); then \
|
||||
test -f .config.cmd || rm -f .config; \
|
||||
fi
|
||||
|
||||
gconfig: $(BUILD_DIR)/buildroot-config/gconf
|
||||
@mkdir -p $(BUILD_DIR)/buildroot-config
|
||||
@if ! KCONFIG_AUTOCONFIG=$(BUILD_DIR)/buildroot-config/auto.conf \
|
||||
KCONFIG_AUTOHEADER=$(BUILD_DIR)/buildroot-config/autoconf.h \
|
||||
srctree=$(TOPDIR) \
|
||||
BUILDROOT_CONFIG=$(CONFIG_DIR)/.config $< $(CONFIG_CONFIG_IN); then \
|
||||
test -f $(CONFIG_DIR)/.config.cmd || rm -f $(CONFIG_DIR)/.config; \
|
||||
fi
|
||||
config: $(CONFIG)/conf
|
||||
@mkdir -p $(CONFIG)/buildroot-config
|
||||
@KCONFIG_AUTOCONFIG=$(CONFIG)/buildroot-config/auto.conf \
|
||||
KCONFIG_AUTOHEADER=$(CONFIG)/buildroot-config/autoconf.h \
|
||||
$(CONFIG)/conf $(CONFIG_CONFIG_IN)
|
||||
|
||||
menuconfig: $(BUILD_DIR)/buildroot-config/mconf
|
||||
@mkdir -p $(BUILD_DIR)/buildroot-config
|
||||
@if ! KCONFIG_AUTOCONFIG=$(BUILD_DIR)/buildroot-config/auto.conf \
|
||||
KCONFIG_AUTOHEADER=$(BUILD_DIR)/buildroot-config/autoconf.h \
|
||||
BUILDROOT_CONFIG=$(CONFIG_DIR)/.config $< $(CONFIG_CONFIG_IN); then \
|
||||
test -f $(CONFIG_DIR)/.config.cmd || rm -f $(CONFIG_DIR)/.config; \
|
||||
fi
|
||||
oldconfig: $(CONFIG)/conf
|
||||
@mkdir -p $(CONFIG)/buildroot-config
|
||||
@KCONFIG_AUTOCONFIG=$(CONFIG)/buildroot-config/auto.conf \
|
||||
KCONFIG_AUTOHEADER=$(CONFIG)/buildroot-config/autoconf.h \
|
||||
$(CONFIG)/conf -o $(CONFIG_CONFIG_IN)
|
||||
|
||||
config: $(BUILD_DIR)/buildroot-config/conf
|
||||
@mkdir -p $(BUILD_DIR)/buildroot-config
|
||||
@KCONFIG_AUTOCONFIG=$(BUILD_DIR)/buildroot-config/auto.conf \
|
||||
KCONFIG_AUTOHEADER=$(BUILD_DIR)/buildroot-config/autoconf.h \
|
||||
BUILDROOT_CONFIG=$(CONFIG_DIR)/.config $< $(CONFIG_CONFIG_IN)
|
||||
randconfig: $(CONFIG)/conf
|
||||
@mkdir -p $(CONFIG)/buildroot-config
|
||||
@KCONFIG_AUTOCONFIG=$(CONFIG)/buildroot-config/auto.conf \
|
||||
KCONFIG_AUTOHEADER=$(CONFIG)/buildroot-config/autoconf.h \
|
||||
$(CONFIG)/conf -r $(CONFIG_CONFIG_IN)
|
||||
|
||||
oldconfig: $(BUILD_DIR)/buildroot-config/conf
|
||||
mkdir -p $(BUILD_DIR)/buildroot-config
|
||||
@KCONFIG_AUTOCONFIG=$(BUILD_DIR)/buildroot-config/auto.conf \
|
||||
KCONFIG_AUTOHEADER=$(BUILD_DIR)/buildroot-config/autoconf.h \
|
||||
BUILDROOT_CONFIG=$(CONFIG_DIR)/.config $< -o $(CONFIG_CONFIG_IN)
|
||||
allyesconfig: $(CONFIG)/conf
|
||||
cat $(CONFIG_DEFCONFIG) > .config
|
||||
@mkdir -p $(CONFIG)/buildroot-config
|
||||
@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
|
||||
|
||||
randconfig: $(BUILD_DIR)/buildroot-config/conf
|
||||
@mkdir -p $(BUILD_DIR)/buildroot-config
|
||||
@KCONFIG_AUTOCONFIG=$(BUILD_DIR)/buildroot-config/auto.conf \
|
||||
KCONFIG_AUTOHEADER=$(BUILD_DIR)/buildroot-config/autoconf.h \
|
||||
BUILDROOT_CONFIG=$(CONFIG_DIR)/.config $< -r $(CONFIG_CONFIG_IN)
|
||||
allnoconfig: $(CONFIG)/conf
|
||||
@mkdir -p $(CONFIG)/buildroot-config
|
||||
@KCONFIG_AUTOCONFIG=$(CONFIG)/buildroot-config/auto.conf \
|
||||
KCONFIG_AUTOHEADER=$(CONFIG)/buildroot-config/autoconf.h \
|
||||
$(CONFIG)/conf -n $(CONFIG_CONFIG_IN)
|
||||
|
||||
allyesconfig: $(BUILD_DIR)/buildroot-config/conf
|
||||
cat $(CONFIG_DEFCONFIG) > $(CONFIG_DIR)/.config
|
||||
@mkdir -p $(BUILD_DIR)/buildroot-config
|
||||
@KCONFIG_AUTOCONFIG=$(BUILD_DIR)/buildroot-config/auto.conf \
|
||||
KCONFIG_AUTOHEADER=$(BUILD_DIR)/buildroot-config/autoconf.h \
|
||||
BUILDROOT_CONFIG=$(CONFIG_DIR)/.config $< -y $(CONFIG_CONFIG_IN)
|
||||
|
||||
allnoconfig: $(BUILD_DIR)/buildroot-config/conf
|
||||
@mkdir -p $(BUILD_DIR)/buildroot-config
|
||||
@KCONFIG_AUTOCONFIG=$(BUILD_DIR)/buildroot-config/auto.conf \
|
||||
KCONFIG_AUTOHEADER=$(BUILD_DIR)/buildroot-config/autoconf.h \
|
||||
BUILDROOT_CONFIG=$(CONFIG_DIR)/.config $< -n $(CONFIG_CONFIG_IN)
|
||||
|
||||
randpackageconfig: $(BUILD_DIR)/buildroot-config/conf
|
||||
@mkdir -p $(BUILD_DIR)/buildroot-config
|
||||
@grep -v BR2_PACKAGE_ $(CONFIG_DIR)/.config > $(CONFIG_DIR)/.config.nopkg
|
||||
@KCONFIG_AUTOCONFIG=$(BUILD_DIR)/buildroot-config/auto.conf \
|
||||
KCONFIG_AUTOHEADER=$(BUILD_DIR)/buildroot-config/autoconf.h \
|
||||
KCONFIG_ALLCONFIG=$(CONFIG_DIR)/.config.nopkg \
|
||||
BUILDROOT_CONFIG=$(CONFIG_DIR)/.config $< -r $(CONFIG_CONFIG_IN)
|
||||
@rm -f $(CONFIG_DIR)/.config.nopkg
|
||||
|
||||
allyespackageconfig: $(BUILD_DIR)/buildroot-config/conf
|
||||
@mkdir -p $(BUILD_DIR)/buildroot-config
|
||||
@grep -v BR2_PACKAGE_ $(CONFIG_DIR)/.config > $(CONFIG_DIR)/.config.nopkg
|
||||
@KCONFIG_AUTOCONFIG=$(BUILD_DIR)/buildroot-config/auto.conf \
|
||||
KCONFIG_AUTOHEADER=$(BUILD_DIR)/buildroot-config/autoconf.h \
|
||||
KCONFIG_ALLCONFIG=$(CONFIG_DIR)/.config.nopkg \
|
||||
BUILDROOT_CONFIG=$(CONFIG_DIR)/.config $< -y $(CONFIG_CONFIG_IN)
|
||||
@rm -f $(CONFIG_DIR)/.config.nopkg
|
||||
|
||||
allnopackageconfig: $(BUILD_DIR)/buildroot-config/conf
|
||||
@mkdir -p $(BUILD_DIR)/buildroot-config
|
||||
@grep -v BR2_PACKAGE_ $(CONFIG_DIR)/.config > $(CONFIG_DIR)/.config.nopkg
|
||||
@KCONFIG_AUTOCONFIG=$(BUILD_DIR)/buildroot-config/auto.conf \
|
||||
KCONFIG_AUTOHEADER=$(BUILD_DIR)/buildroot-config/autoconf.h \
|
||||
KCONFIG_ALLCONFIG=$(CONFIG_DIR)/.config.nopkg \
|
||||
BUILDROOT_CONFIG=$(CONFIG_DIR)/.config $< -n $(CONFIG_CONFIG_IN)
|
||||
@rm -f $(CONFIG_DIR)/.config.nopkg
|
||||
|
||||
defconfig: $(BUILD_DIR)/buildroot-config/conf
|
||||
@mkdir -p $(BUILD_DIR)/buildroot-config
|
||||
@KCONFIG_AUTOCONFIG=$(BUILD_DIR)/buildroot-config/auto.conf \
|
||||
KCONFIG_AUTOHEADER=$(BUILD_DIR)/buildroot-config/autoconf.h \
|
||||
BUILDROOT_CONFIG=$(CONFIG_DIR)/.config $< -d $(CONFIG_CONFIG_IN)
|
||||
defconfig: $(CONFIG)/conf
|
||||
@mkdir -p $(CONFIG)/buildroot-config
|
||||
@KCONFIG_AUTOCONFIG=$(CONFIG)/buildroot-config/auto.conf \
|
||||
KCONFIG_AUTOHEADER=$(CONFIG)/buildroot-config/autoconf.h \
|
||||
$(CONFIG)/conf -d $(CONFIG_CONFIG_IN)
|
||||
|
||||
# check if download URLs are outdated
|
||||
source-check: allyesconfig
|
||||
$(MAKE) $(EXTRAMAKEARGS) _source-check
|
||||
|
||||
endif # ifeq ($(BR2_HAVE_DOT_CONFIG),y)
|
||||
$(MAKE) _source-check
|
||||
|
||||
#############################################################
|
||||
#
|
||||
@@ -574,34 +467,43 @@ endif # ifeq ($(BR2_HAVE_DOT_CONFIG),y)
|
||||
#
|
||||
#############################################################
|
||||
clean:
|
||||
rm -rf $(STAGING_DIR) $(TARGET_DIR) $(BINARIES_DIR) $(HOST_DIR) \
|
||||
$(STAMP_DIR) $(BUILD_DIR) $(TOOLCHAIN_DIR)
|
||||
rm -f .config .config.old .config.cmd .tmpconfig.h .lognr.*
|
||||
-$(MAKE) -C $(CONFIG) clean
|
||||
|
||||
distclean: clean
|
||||
ifeq ($(DL_DIR),$(TOPDIR)/dl)
|
||||
rm -rf $(DL_DIR)
|
||||
endif
|
||||
ifeq ($(O),output)
|
||||
rm -rf $(O)
|
||||
endif
|
||||
rm -rf $(CONFIG_DIR)/.config $(CONFIG_DIR)/.config.old $(CONFIG_DIR)/.config.cmd $(CONFIG_DIR)/.auto.deps
|
||||
rm -rf sources/*
|
||||
|
||||
|
||||
endif # ifeq ($(BR2_HAVE_DOT_CONFIG),y)
|
||||
|
||||
flush:
|
||||
rm -f $(BUILD_DIR)/tgt-config.cache $(BUILD_DIR)/host-config.cache
|
||||
rm -f $(PROJECT_BUILD_DIR)/tgt-config.cache
|
||||
|
||||
%_defconfig: $(TOPDIR)/configs/%_defconfig
|
||||
cp $^ $(CONFIG_DIR)/.config
|
||||
@$(MAKE) $(EXTRAMAKEARGS) oldconfig
|
||||
%_defconfig: $(CONFIG)/conf
|
||||
cp $(shell find ./target/ -name $@) .config
|
||||
-@$(MAKE) oldconfig
|
||||
|
||||
update:
|
||||
cp .config $(BOARD_PATH)/$(PROJECT)_defconfig
|
||||
|
||||
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 all files created by build'
|
||||
@echo ' clean - delete temporary files created by build'
|
||||
@echo ' distclean - delete all non-source files (including .config)'
|
||||
@echo
|
||||
@echo 'Build:'
|
||||
@@ -609,17 +511,10 @@ help:
|
||||
@echo
|
||||
@echo 'Configuration:'
|
||||
@echo ' menuconfig - interactive curses-based configurator'
|
||||
@echo ' xconfig - interactive Qt-based configurator'
|
||||
@echo ' gconfig - interactive GTK-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'
|
||||
@@ -627,15 +522,15 @@ 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
|
||||
|
||||
release:
|
||||
release: distclean
|
||||
OUT=buildroot-$$(grep -A2 BR2_VERSION $(CONFIG_CONFIG_IN)|grep default|cut -f2 -d\"); \
|
||||
git archive --format=tar --prefix=$$OUT/ master|gzip -9 >$$OUT.tar.gz
|
||||
rm -rf ../$$OUT*; cp -al . ../$$OUT; cd ..; \
|
||||
tar cfz $$OUT.tar.gz --exclude .svn --exclude .git --exclude \*~ $$OUT; \
|
||||
rm -rf $$OUT
|
||||
|
||||
.PHONY: $(noconfig_targets)
|
||||
.PHONY: dummy subdirs release distclean clean config oldconfig \
|
||||
menuconfig tags check test depend defconfig help
|
||||
|
||||
|
||||
15
TODO
15
TODO
@@ -6,12 +6,9 @@ Buildroot2 TODOs
|
||||
packages/Makefile.autotools.in
|
||||
- fix setting of flags for packages
|
||||
|
||||
- coreutils: use make install-strip to install the packages. For now,
|
||||
it fails beause even if we pass STRIP="/path/to/$(ARCH)-strip", the
|
||||
coreutils build system uses the host strip to strip target
|
||||
binaries. The ./configure execution done by Buildroot properly
|
||||
detects the cross-strip, but when running make, build-aux/missing
|
||||
gets run, complains about aclocal-1.10c and atuomake-1.10c not being
|
||||
present, and rerun the configuration... with the wrong environment
|
||||
variables (STRIP= is missing). An autoreconf on this package is
|
||||
probably necessary.
|
||||
- stabilize for a 0.10.0 release
|
||||
|
||||
- think about using a common --config-cache for configure
|
||||
Should take care of expanding TARGET_CONFIGURE_ARGS for cross compiles
|
||||
to working presets.
|
||||
|
||||
|
||||
@@ -1,12 +0,0 @@
|
||||
menu "Bootloaders"
|
||||
|
||||
source "boot/barebox/Config.in"
|
||||
source "boot/grub/Config.in"
|
||||
source "boot/grub2/Config.in"
|
||||
source "boot/syslinux/Config.in"
|
||||
source "boot/u-boot/Config.in"
|
||||
source "boot/at91bootstrap/Config.in"
|
||||
source "boot/at91dataflashboot/Config.in"
|
||||
|
||||
endmenu
|
||||
|
||||
@@ -1,22 +0,0 @@
|
||||
Disable the automatic installation of at91dataflashboot since it tries
|
||||
to install things to /tftpboot, which is not possible when not
|
||||
building as root.
|
||||
|
||||
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
|
||||
---
|
||||
Makefile | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
Index: at91dataflashboot-1.05/Makefile
|
||||
===================================================================
|
||||
--- at91dataflashboot-1.05.orig/Makefile
|
||||
+++ at91dataflashboot-1.05/Makefile
|
||||
@@ -40,7 +40,7 @@
|
||||
|
||||
I=config.h com.h dataflash.h embedded_services.h main.h stdio.h include/AT91RM9200.h include/lib_AT91RM9200.h
|
||||
|
||||
-all: clean $(BINNAME) $(LSSNAME) install
|
||||
+all: clean $(BINNAME) $(LSSNAME)
|
||||
$(SIZE) $(OUTNAME)
|
||||
|
||||
# C objects here
|
||||
@@ -1,43 +0,0 @@
|
||||
Get at91dataflashboot to build with EABI toolchains, by providing the
|
||||
__aeabi_uidiv and __aeabi_uidivmod symbols. The code is based on
|
||||
U-Boot's code.
|
||||
|
||||
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
|
||||
---
|
||||
_udivsi3.S | 14 ++++++++++++++
|
||||
1 file changed, 14 insertions(+)
|
||||
|
||||
Index: DataflashBoot-1.05/_udivsi3.S
|
||||
===================================================================
|
||||
--- DataflashBoot-1.05.orig/_udivsi3.S
|
||||
+++ DataflashBoot-1.05/_udivsi3.S
|
||||
@@ -12,8 +12,11 @@
|
||||
.text
|
||||
.globl __udivsi3
|
||||
.type __udivsi3 ,function
|
||||
+ .globl __aeabi_uidiv
|
||||
+ .type __aeabi_uidiv ,function
|
||||
.align 0
|
||||
__udivsi3 :
|
||||
+ __aeabi_uidiv:
|
||||
cmp divisor, #0
|
||||
beq Ldiv0
|
||||
mov curbit, #1
|
||||
@@ -68,6 +71,17 @@
|
||||
mov r0, #0 @ about as wrong as it could be
|
||||
ldmia sp!, {pc}
|
||||
.size __udivsi3 , . - __udivsi3
|
||||
+
|
||||
+.globl __aeabi_uidivmod
|
||||
+__aeabi_uidivmod:
|
||||
+
|
||||
+ stmfd sp!, {r0, r1, ip, lr}
|
||||
+ bl __aeabi_uidiv
|
||||
+ ldmfd sp!, {r1, r2, ip, lr}
|
||||
+ mul r3, r0, r2
|
||||
+ sub r1, r1, r3
|
||||
+ mov pc, lr
|
||||
+
|
||||
/* # 235 "libgcc1.S" */
|
||||
/* # 320 "libgcc1.S" */
|
||||
/* # 421 "libgcc1.S" */
|
||||
@@ -1,14 +0,0 @@
|
||||
menuconfig BR2_TARGET_BAREBOX
|
||||
bool "Barebox"
|
||||
help
|
||||
The Barebox bootloader, formerly known as U-Boot v2.
|
||||
|
||||
http://www.barebox.org
|
||||
|
||||
if BR2_TARGET_BAREBOX
|
||||
config BR2_TARGET_BAREBOX_BOARD_DEFCONFIG
|
||||
string "board defconfig"
|
||||
help
|
||||
Name of the board for which Barebox should be built, without
|
||||
the _defconfig suffix.
|
||||
endif
|
||||
@@ -1,61 +0,0 @@
|
||||
#############################################################
|
||||
#
|
||||
# Barebox
|
||||
#
|
||||
#############################################################
|
||||
|
||||
BAREBOX_VERSION:=2010.05.0
|
||||
BAREBOX_SOURCE:=barebox-$(BAREBOX_VERSION).tar.bz2
|
||||
BAREBOX_SITE:=http://www.barebox.org/download/
|
||||
BAREBOX_DIR:=$(BUILD_DIR)/barebox-$(BAREBOX_VERSION)
|
||||
BAREBOX_CAT:=$(BZCAT)
|
||||
BAREBOX_BOARD_DEFCONFIG:=$(call qstrip,$(BR2_TARGET_BAREBOX_BOARD_DEFCONFIG))
|
||||
|
||||
ifeq ($(KERNEL_ARCH),i386)
|
||||
BAREBOX_ARCH=x86
|
||||
else ifeq ($(KERNEL_ARCH),powerpc)
|
||||
BAREBOX_ARCH=ppc
|
||||
else
|
||||
BAREBOX_ARCH=$(KERNEL_ARCH)
|
||||
endif
|
||||
|
||||
BAREBOX_MAKE_FLAGS = ARCH=$(BAREBOX_ARCH) CROSS_COMPILE=$(TARGET_CROSS)
|
||||
|
||||
$(DL_DIR)/$(BAREBOX_SOURCE):
|
||||
$(call DOWNLOAD,$(BAREBOX_SITE),$(BAREBOX_SOURCE))
|
||||
|
||||
$(BAREBOX_DIR)/.unpacked: $(DL_DIR)/$(BAREBOX_SOURCE)
|
||||
mkdir -p $(@D)
|
||||
$(INFLATE$(suffix $(BAREBOX_SOURCE))) $(DL_DIR)/$(BAREBOX_SOURCE) \
|
||||
| tar $(TAR_STRIP_COMPONENTS)=1 -C $(@D) $(TAR_OPTIONS) -
|
||||
touch $@
|
||||
|
||||
$(BAREBOX_DIR)/.patched: $(BAREBOX_DIR)/.unpacked
|
||||
toolchain/patch-kernel.sh $(BAREBOX_DIR) boot/barebox \
|
||||
barebox-$(BAREBOX_VERSION)-\*.patch \
|
||||
barebox-$(BAREBOX_VERSION)-\*.patch.$(ARCH)
|
||||
touch $@
|
||||
|
||||
$(BAREBOX_DIR)/.configured: $(BAREBOX_DIR)/.patched
|
||||
$(MAKE) $(BAREBOX_MAKE_FLAGS) -C $(BAREBOX_DIR) $(BAREBOX_BOARD_DEFCONFIG)_defconfig
|
||||
touch $@
|
||||
|
||||
$(BAREBOX_DIR)/.built: $(BAREBOX_DIR)/.configured
|
||||
$(MAKE) $(BAREBOX_MAKE_FLAGS) -C $(BAREBOX_DIR)
|
||||
touch $@
|
||||
|
||||
$(BAREBOX_DIR)/.installed: $(BAREBOX_DIR)/.built
|
||||
cp $(BAREBOX_DIR)/barebox.bin $(BINARIES_DIR)
|
||||
touch $@
|
||||
|
||||
barebox: $(BAREBOX_DIR)/.installed
|
||||
|
||||
ifeq ($(BR2_TARGET_BAREBOX),y)
|
||||
TARGETS+=barebox
|
||||
|
||||
# we NEED a board defconfig file
|
||||
ifeq ($(BAREBOX_BOARD_DEFCONFIG),)
|
||||
$(error No Barebox defconfig file. Check your BR2_TARGET_BAREBOX_BOARD_DEFCONFIG setting)
|
||||
endif
|
||||
|
||||
endif
|
||||
@@ -1 +0,0 @@
|
||||
include boot/*/*.mk
|
||||
@@ -1,9 +0,0 @@
|
||||
config BR2_TARGET_GRUB2
|
||||
bool "grub2"
|
||||
# Only supports PC, Mac (Power, x86 and x86-64), Pegasos
|
||||
depends on BR2_i386 || BR2_powerpc
|
||||
# Build process is broken (./configure doesn't work, Ruby
|
||||
# required, etc.)
|
||||
depends on BROKEN
|
||||
help
|
||||
The GRand Unified Bootloader for x86 systems, take #2.
|
||||
@@ -1,93 +0,0 @@
|
||||
#############################################################
|
||||
#
|
||||
# grub2
|
||||
#
|
||||
# TODO
|
||||
#
|
||||
# * grub2's autogen uses ruby, which isn't part of the core Debian
|
||||
# installation. So either decide it is a requirement for Buildroot,
|
||||
# or build it for the host.
|
||||
#
|
||||
# * improve the installation procedure. For the moment, it just
|
||||
# installs everything in $(TARGET_DIR).
|
||||
#
|
||||
#############################################################
|
||||
GRUB2_SOURCE:=grub2_1.98.orig.tar.gz
|
||||
GRUB2_PATCH:=grub2_1.98-1.diff.gz
|
||||
GRUB2_SITE=$(BR2_DEBIAN_MIRROR)/debian/pool/main/g/grub2
|
||||
GRUB2_PATCH_SITE:=$(GRUB2_SITE)
|
||||
GRUB2_CAT:=$(ZCAT)
|
||||
GRUB2_DIR:=$(BUILD_DIR)/grub-1.98
|
||||
|
||||
GRUB2_CFLAGS=-DSUPPORT_LOOPDEV
|
||||
ifeq ($(BR2_LARGEFILE),)
|
||||
GRUB2_CFLAGS+=-U_FILE_OFFSET_BITS
|
||||
endif
|
||||
|
||||
$(DL_DIR)/$(GRUB2_SOURCE):
|
||||
$(call DOWNLOAD,$(GRUB2_SITE),$(GRUB2_SOURCE))
|
||||
|
||||
$(DL_DIR)/$(GRUB2_PATCH):
|
||||
$(call DOWNLOAD,$(GRUB2_PATCH_SITE),$(GRUB2_PATCH))
|
||||
|
||||
grub2-source: $(DL_DIR)/$(GRUB2_SOURCE) $(DL_DIR)/$(GRUB2_PATCH)
|
||||
|
||||
$(GRUB2_DIR)/.unpacked: $(DL_DIR)/$(GRUB2_SOURCE) $(DL_DIR)/$(GRUB2_PATCH)
|
||||
mkdir -p $(@D)
|
||||
$(GRUB2_CAT) $(DL_DIR)/$(GRUB2_SOURCE) | tar $(TAR_STRIP_COMPONENTS)=1 -C $(@D) -xvf -
|
||||
toolchain/patch-kernel.sh $(@D) $(DL_DIR) $(GRUB2_PATCH)
|
||||
for i in `grep -v "^#" $(@D)/debian/patches/00list`; do \
|
||||
cat $(@D)/debian/patches/$$i | patch -p1 -d $(@D); \
|
||||
done
|
||||
toolchain/patch-kernel.sh $(@D) boot/grub2 grub-\*.patch
|
||||
touch $@
|
||||
|
||||
$(GRUB2_DIR)/.configured: $(GRUB2_DIR)/.unpacked
|
||||
(cd $(GRUB2_DIR); rm -rf config.cache; \
|
||||
$(TARGET_CONFIGURE_OPTS) ; \
|
||||
./autogen.sh ; \
|
||||
$(TARGET_CONFIGURE_OPTS) \
|
||||
$(TARGET_CONFIGURE_ARGS) \
|
||||
CPPFLAGS="$(GRUB2_CFLAGS)" \
|
||||
grub_cv_i386_check_nested_functions=no \
|
||||
./configure $(QUIET) \
|
||||
--target=$(GNU_TARGET_NAME) \
|
||||
--host=$(GNU_TARGET_NAME) \
|
||||
--build=$(GNU_HOST_NAME) \
|
||||
--prefix=/ \
|
||||
--mandir=/usr/man \
|
||||
--infodir=/usr/info \
|
||||
--disable-grub-mkfont \
|
||||
--disable-grub-fstest \
|
||||
--disable-grub-emu-usb \
|
||||
--disable-werror \
|
||||
$(DISABLE_LARGEFILE) \
|
||||
$(GRUB2_CONFIG-y) \
|
||||
)
|
||||
touch $@
|
||||
|
||||
$(GRUB2_DIR)/.compiled: $(GRUB2_DIR)/.configured
|
||||
$(MAKE) CC="$(TARGET_CC)" -C $(@D)
|
||||
touch $@
|
||||
|
||||
$(GRUB2_DIR)/.installed: $(GRUB2_DIR)/.compiled
|
||||
$(MAKE) DESTDIR=$(TARGET_DIR) -C $(@D) install
|
||||
touch $@
|
||||
|
||||
grub2: host-automake host-autoconf $(GRUB2_DIR)/.installed
|
||||
|
||||
grub2-clean:
|
||||
$(MAKE) DESTDIR=$(TARGET_DIR) CC="$(TARGET_CC)" -C $(GRUB2_DIR) uninstall
|
||||
-$(MAKE) -C $(GRUB2_DIR) clean
|
||||
|
||||
grub2-dirclean:
|
||||
rm -rf $(GRUB2_DIR)
|
||||
|
||||
#############################################################
|
||||
#
|
||||
# Toplevel Makefile options
|
||||
#
|
||||
#############################################################
|
||||
ifeq ($(BR2_TARGET_GRUB2),y)
|
||||
TARGETS+=grub2
|
||||
endif
|
||||
@@ -1,17 +0,0 @@
|
||||
---
|
||||
Makefile | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
Index: syslinux-3.85/Makefile
|
||||
===================================================================
|
||||
--- syslinux-3.85.orig/Makefile
|
||||
+++ syslinux-3.85/Makefile
|
||||
@@ -43,7 +43,7 @@
|
||||
mbr/mbr_c.bin mbr/altmbr_c.bin mbr/gptmbr_c.bin \
|
||||
mbr/mbr_f.bin mbr/altmbr_f.bin mbr/gptmbr_f.bin \
|
||||
core/pxelinux.0 core/isolinux.bin core/isolinux-debug.bin \
|
||||
- gpxe/gpxelinux.0 dos/syslinux.com win32/syslinux.exe \
|
||||
+ gpxe/gpxelinux.0 dos/syslinux.com \
|
||||
dosutil/*.com dosutil/*.sys \
|
||||
$(MODULES)
|
||||
|
||||
@@ -1,54 +0,0 @@
|
||||
#############################################################
|
||||
#
|
||||
# syslinux to make target msdos/iso9660 filesystems bootable
|
||||
#
|
||||
#############################################################
|
||||
|
||||
SYSLINUX_VERSION:=3.85
|
||||
SYSLINUX_DIR=$(BUILD_DIR)/syslinux-$(SYSLINUX_VERSION)
|
||||
SYSLINUX_SOURCE=syslinux-$(SYSLINUX_VERSION).tar.bz2
|
||||
SYSLINUX_CAT:=$(BZCAT)
|
||||
SYSLINUX_SITE=$(BR2_KERNEL_MIRROR)/linux/utils/boot/syslinux/3.xx/
|
||||
|
||||
$(DL_DIR)/$(SYSLINUX_SOURCE):
|
||||
$(call DOWNLOAD,$(SYSLINUX_SITE),$(SYSLINUX_SOURCE))
|
||||
|
||||
syslinux-source: $(DL_DIR)/$(SYSLINUX_SOURCE)
|
||||
|
||||
$(SYSLINUX_DIR)/.unpacked: $(DL_DIR)/$(SYSLINUX_SOURCE) $(SYSLINUX_PATCH)
|
||||
mkdir -p $(@D)
|
||||
$(SYSLINUX_CAT) $(DL_DIR)/$(SYSLINUX_SOURCE) | tar $(TAR_STRIP_COMPONENTS)=1 -C $(@D) $(TAR_OPTIONS) -
|
||||
toolchain/patch-kernel.sh $(@D) boot/syslinux/ \*.patch
|
||||
touch -c $@
|
||||
|
||||
$(SYSLINUX_DIR)/.compiled: $(SYSLINUX_DIR)/.unpacked
|
||||
$(TARGET_MAKE_ENV) $(MAKE) CC="$(HOSTCC)" AR="$(HOSTAR)" -C $(SYSLINUX_DIR)
|
||||
touch -c $@
|
||||
|
||||
$(BINARIES_DIR)/isolinux.bin: $(SYSLINUX_DIR)/.compiled
|
||||
cp -a $(SYSLINUX_DIR)/core/isolinux.bin $@
|
||||
|
||||
$(BINARIES_DIR)/pxelinux.bin: $(SYSLINUX_DIR)/.compiled
|
||||
cp -a $(SYSLINUX_DIR)/core/pxelinux.bin $@
|
||||
|
||||
syslinux: host-nasm $(BINARIES_DIR)/isolinux.bin
|
||||
pxelinux: host-nasm $(BINARIES_DIR)/pxelinux.bin
|
||||
|
||||
pxelinux-clean syslinux-clean:
|
||||
rm -f $(BINARIES_DIR)/isolinux.bin $(BINARIES_DIR)/pxelinux.bin
|
||||
-$(MAKE) -C $(SYSLINUX_DIR) clean
|
||||
|
||||
pxelinux-dirclean syslinux-dirclean:
|
||||
rm -rf $(SYSLINUX_DIR)
|
||||
|
||||
#############################################################
|
||||
#
|
||||
# Toplevel Makefile options
|
||||
#
|
||||
#############################################################
|
||||
ifeq ($(BR2_TARGET_SYSLINUX),y)
|
||||
TARGETS+=syslinux
|
||||
endif
|
||||
ifeq ($(BR2_TARGET_PXELINUX),y)
|
||||
TARGETS+=pxelinux
|
||||
endif
|
||||
@@ -1,128 +0,0 @@
|
||||
menuconfig BR2_TARGET_UBOOT
|
||||
bool "U-Boot"
|
||||
help
|
||||
Build "Das U-Boot" Boot Monitor
|
||||
|
||||
if BR2_TARGET_UBOOT
|
||||
config BR2_TARGET_UBOOT_BOARDNAME
|
||||
string "U-Boot board name"
|
||||
help
|
||||
One of U-Boot supported boards to be built.
|
||||
This will be suffixed with _config to meet U-Boot standard naming.
|
||||
|
||||
choice
|
||||
prompt "U-Boot Version"
|
||||
default BR2_TARGET_UBOOT_2010_06
|
||||
help
|
||||
Select the specific U-Boot version you want to use
|
||||
|
||||
config BR2_TARGET_UBOOT_2010_06
|
||||
bool "2010.06"
|
||||
|
||||
config BR2_TARGET_UBOOT_2010_03
|
||||
bool "2010.03"
|
||||
|
||||
config BR2_TARGET_UBOOT_2009_11
|
||||
bool "2009.11"
|
||||
|
||||
config BR2_TARGET_UBOOT_2009_08
|
||||
bool "2009.08"
|
||||
|
||||
config BR2_TARGET_UBOOT_CUSTOM_TARBALL
|
||||
bool "Custom tarball"
|
||||
|
||||
endchoice
|
||||
|
||||
if BR2_TARGET_UBOOT_CUSTOM_TARBALL
|
||||
|
||||
config BR2_TARGET_UBOOT_CUSTOM_TARBALL_LOCATION
|
||||
string "URL of custom U-Boot tarball"
|
||||
|
||||
endif
|
||||
|
||||
config BR2_TARGET_UBOOT_VERSION
|
||||
string
|
||||
default "2010.06" if BR2_TARGET_UBOOT_2010_06
|
||||
default "2010.03" if BR2_TARGET_UBOOT_2010_03
|
||||
default "2009.11" if BR2_TARGET_UBOOT_2009_11
|
||||
default "2009.08" if BR2_TARGET_UBOOT_2009_08
|
||||
default "custom" if BR2_TARGET_UBOOT_CUSTOM_TARBALL
|
||||
|
||||
config BR2_TARGET_UBOOT_CUSTOM_PATCH_DIR
|
||||
string "custom patch dir"
|
||||
help
|
||||
If your board requires custom patches, add the path to the
|
||||
directory containing the patches here. The patches must be
|
||||
named u-boot-<version>-<something>.patch.
|
||||
|
||||
Most users may leave this empty
|
||||
|
||||
choice
|
||||
prompt "U-Boot binary format"
|
||||
|
||||
config BR2_TARGET_UBOOT_FORMAT_BIN
|
||||
bool "u-boot.bin"
|
||||
|
||||
config BR2_TARGET_UBOOT_FORMAT_KWB
|
||||
depends on BR2_arm
|
||||
bool "u-boot.kwb (Marvell)"
|
||||
|
||||
endchoice
|
||||
|
||||
config BR2_TARGET_UBOOT_TOOL_MKIMAGE
|
||||
bool "mkimage tool in target"
|
||||
help
|
||||
Install mkimage tool in target.
|
||||
|
||||
config BR2_TARGET_UBOOT_TOOL_ENV
|
||||
bool "fw_printenv tool in target"
|
||||
help
|
||||
Install fw_printenv / fw_setenv tools in target.
|
||||
|
||||
menuconfig BR2_TARGET_UBOOT_NETWORK
|
||||
bool "Network Settings"
|
||||
default y
|
||||
help
|
||||
Network settings for U-boot
|
||||
|
||||
if BR2_TARGET_UBOOT_NETWORK
|
||||
|
||||
config BR2_TARGET_UBOOT_SERVERIP
|
||||
string "server ip"
|
||||
default "10.175.196.221"
|
||||
help
|
||||
TFTP server ip address
|
||||
|
||||
config BR2_TARGET_UBOOT_IPADDR
|
||||
string "ip address"
|
||||
default "10.175.196.18"
|
||||
help
|
||||
Target ip address
|
||||
|
||||
config BR2_TARGET_UBOOT_GATEWAY
|
||||
string "gateway ip"
|
||||
default "10.175.196.1"
|
||||
help
|
||||
Gateway ip address
|
||||
|
||||
config BR2_TARGET_UBOOT_NETMASK
|
||||
string "netmask"
|
||||
default "255.255.255.0"
|
||||
help
|
||||
Network Mask
|
||||
|
||||
config BR2_TARGET_UBOOT_ETHADDR
|
||||
string "ethernet address"
|
||||
default "04:25:fe:ed:00:18"
|
||||
help
|
||||
Target MAC address for the ethernet interface.
|
||||
This should be changed for production units
|
||||
|
||||
config BR2_TARGET_UBOOT_ETH1ADDR
|
||||
string "ethernet 2 address"
|
||||
help
|
||||
Target MAC address for the second ethernet interface.
|
||||
|
||||
endif # BR2_TARGET_UBOOT_NETWORK
|
||||
|
||||
endif # BR2_TARGET_UBOOT
|
||||
@@ -1,5 +0,0 @@
|
||||
diff -Naur u-boot-2010.03-orig/include/asm-avr32/unaligned.h u-boot-2010.03/include/asm-avr32/unaligned.h
|
||||
--- u-boot-2010.03-orig/include/asm-avr32/unaligned.h 1969-12-31 21:00:00.000000000 -0300
|
||||
+++ u-boot-2010.03/include/asm-avr32/unaligned.h 2010-06-22 23:09:49.000000000 -0300
|
||||
@@ -0,0 +1 @@
|
||||
+#include <asm-generic/unaligned.h>
|
||||
@@ -1,200 +0,0 @@
|
||||
#############################################################
|
||||
#
|
||||
# U-Boot
|
||||
#
|
||||
#############################################################
|
||||
U_BOOT_VERSION:=$(call qstrip,$(BR2_TARGET_UBOOT_VERSION))
|
||||
U_BOOT_BOARD_NAME:=$(call qstrip,$(BR2_TARGET_UBOOT_BOARDNAME))
|
||||
|
||||
# U-Boot may not be selected in the configuration, but mkimage might
|
||||
# be needed to build/prepare a kernel image. In this case, we just
|
||||
# pick some random stable U-Boot version that will be used just to
|
||||
# build mkimage.
|
||||
ifeq ($(U_BOOT_VERSION),)
|
||||
U_BOOT_VERSION=2010.03
|
||||
endif
|
||||
|
||||
ifeq ($(U_BOOT_VERSION),custom)
|
||||
# Handle custom U-Boot tarballs as specified by the configuration
|
||||
U_BOOT_TARBALL=$(call qstrip,$(BR2_TARGET_UBOOT_CUSTOM_TARBALL_LOCATION))
|
||||
U_BOOT_SITE:=$(dir $(U_BOOT_TARBALL))
|
||||
U_BOOT_SOURCE:=$(notdir $(U_BOOT_TARBALL))
|
||||
else
|
||||
# Handle stable official U-Boot versions
|
||||
U_BOOT_SITE:=ftp://ftp.denx.de/pub/u-boot
|
||||
U_BOOT_SOURCE:=u-boot-$(U_BOOT_VERSION).tar.bz2
|
||||
endif
|
||||
|
||||
U_BOOT_DIR:=$(BUILD_DIR)/u-boot-$(U_BOOT_VERSION)
|
||||
U_BOOT_CAT:=$(BZCAT)
|
||||
|
||||
ifeq ($(BR2_TARGET_UBOOT_FORMAT_KWB),y)
|
||||
U_BOOT_BIN:=u-boot.kwb
|
||||
U_BOOT_MAKE_OPT:=$(U_BOOT_BIN)
|
||||
else
|
||||
U_BOOT_BIN:=u-boot.bin
|
||||
endif
|
||||
|
||||
MKIMAGE:=$(HOST_DIR)/usr/bin/mkimage
|
||||
|
||||
U_BOOT_TARGETS:=$(BINARIES_DIR)/$(U_BOOT_BIN) $(MKIMAGE)
|
||||
U_BOOT_ARCH=$(KERNEL_ARCH)
|
||||
|
||||
# u-boot in the past used arch=ppc for powerpc
|
||||
ifneq ($(findstring x200,x$(U_BOOT_VERSION))$(findstring x2010.03,x$(U_BOOT_VERSION)),)
|
||||
U_BOOT_ARCH=$(KERNEL_ARCH:powerpc=ppc)
|
||||
endif
|
||||
|
||||
U_BOOT_INC_CONF_FILE:=$(U_BOOT_DIR)/include/config.h
|
||||
|
||||
ifeq ($(BR2_TARGET_UBOOT_TOOL_MKIMAGE),y)
|
||||
U_BOOT_TARGETS+=$(TARGET_DIR)/usr/bin/mkimage
|
||||
endif
|
||||
ifeq ($(BR2_TARGET_UBOOT_TOOL_ENV),y)
|
||||
U_BOOT_TARGETS+=$(TARGET_DIR)/usr/sbin/fw_printenv
|
||||
endif
|
||||
|
||||
U_BOOT_CONFIGURE_OPTS += CONFIG_NOSOFTFLOAT=1
|
||||
|
||||
# Define a helper function
|
||||
define insert_define
|
||||
@echo "#ifdef $(strip $(1))" >> $(U_BOOT_INC_CONF_FILE)
|
||||
@echo "#undef $(strip $(1))" >> $(U_BOOT_INC_CONF_FILE)
|
||||
@echo "#endif" >> $(U_BOOT_INC_CONF_FILE)
|
||||
@echo '#define $(strip $(1)) $(call qstrip,$(2))' >> $(U_BOOT_INC_CONF_FILE)
|
||||
endef
|
||||
|
||||
$(DL_DIR)/$(U_BOOT_SOURCE):
|
||||
$(call DOWNLOAD,$(U_BOOT_SITE),$(U_BOOT_SOURCE))
|
||||
|
||||
$(U_BOOT_DIR)/.unpacked: $(DL_DIR)/$(U_BOOT_SOURCE)
|
||||
mkdir -p $(@D)
|
||||
$(INFLATE$(suffix $(U_BOOT_SOURCE))) $(DL_DIR)/$(U_BOOT_SOURCE) \
|
||||
| tar $(TAR_STRIP_COMPONENTS)=1 -C $(@D) $(TAR_OPTIONS) -
|
||||
touch $@
|
||||
|
||||
$(U_BOOT_DIR)/.patched: $(U_BOOT_DIR)/.unpacked
|
||||
toolchain/patch-kernel.sh $(U_BOOT_DIR) boot/u-boot \
|
||||
u-boot-$(U_BOOT_VERSION)-\*.patch \
|
||||
u-boot-$(U_BOOT_VERSION)-\*.patch.$(ARCH)
|
||||
ifneq ($(call qstrip,$(BR2_TARGET_UBOOT_CUSTOM_PATCH_DIR)),)
|
||||
toolchain/patch-kernel.sh $(U_BOOT_DIR) $(BR2_TARGET_UBOOT_CUSTOM_PATCH_DIR) u-boot-$(U_BOOT_VERSION)-\*.patch
|
||||
endif
|
||||
touch $@
|
||||
|
||||
$(U_BOOT_DIR)/.configured: $(U_BOOT_DIR)/.patched
|
||||
ifeq ($(U_BOOT_BOARD_NAME),)
|
||||
$(error NO U-Boot board name set. Check your BR2_TARGET_UBOOT_BOARDNAME setting)
|
||||
endif
|
||||
$(TARGET_CONFIGURE_OPTS) \
|
||||
$(U_BOOT_CONFIGURE_OPTS) \
|
||||
$(MAKE) -C $(U_BOOT_DIR) \
|
||||
$(U_BOOT_BOARD_NAME)_config
|
||||
touch $@
|
||||
|
||||
$(U_BOOT_DIR)/.header_modified: $(U_BOOT_DIR)/.configured
|
||||
# Modify configuration header in $(U_BOOT_INC_CONF_FILE)
|
||||
ifdef BR2_TARGET_UBOOT_NETWORK
|
||||
@echo >> $(U_BOOT_INC_CONF_FILE)
|
||||
@echo "/* Add a wrapper around the values Buildroot sets. */" >> $(U_BOOT_INC_CONF_FILE)
|
||||
@echo "#ifndef __BR2_ADDED_CONFIG_H" >> $(U_BOOT_INC_CONF_FILE)
|
||||
@echo "#define __BR2_ADDED_CONFIG_H" >> $(U_BOOT_INC_CONF_FILE)
|
||||
$(call insert_define, DATE, $(DATE))
|
||||
$(call insert_define, CONFIG_LOAD_SCRIPTS, 1)
|
||||
ifneq ($(strip $(BR2_TARGET_UBOOT_IPADDR)),"")
|
||||
$(call insert_define, CONFIG_IPADDR, $(BR2_TARGET_UBOOT_IPADDR))
|
||||
endif
|
||||
ifneq ($(strip $(BR2_TARGET_UBOOT_GATEWAY)),"")
|
||||
$(call insert_define, CONFIG_GATEWAYIP, $(BR2_TARGET_UBOOT_GATEWAY))
|
||||
endif
|
||||
ifneq ($(strip $(BR2_TARGET_UBOOT_NETMASK)),"")
|
||||
$(call insert_define, CONFIG_NETMASK, $(BR2_TARGET_UBOOT_NETMASK))
|
||||
endif
|
||||
ifneq ($(strip $(BR2_TARGET_UBOOT_SERVERIP)),"")
|
||||
$(call insert_define, CONFIG_SERVERIP, $(BR2_TARGET_UBOOT_SERVERIP))
|
||||
endif
|
||||
ifneq ($(strip $(BR2_TARGET_UBOOT_ETHADDR)),"")
|
||||
$(call insert_define, CONFIG_ETHADDR, $(BR2_TARGET_UBOOT_ETHADDR))
|
||||
endif
|
||||
ifneq ($(strip $(BR2_TARGET_UBOOT_ETH1ADDR)),"")
|
||||
$(call insert_define, CONFIG_ETH1ADDR, $(BR2_TARGET_UBOOT_ETH1ADDR))
|
||||
endif
|
||||
@echo "#endif /* __BR2_ADDED_CONFIG_H */" >> $(U_BOOT_INC_CONF_FILE)
|
||||
endif # BR2_TARGET_UBOOT_NETWORK
|
||||
touch $@
|
||||
|
||||
# Build U-Boot itself
|
||||
$(U_BOOT_DIR)/$(U_BOOT_BIN): $(U_BOOT_DIR)/.header_modified
|
||||
$(TARGET_CONFIGURE_OPTS) \
|
||||
CFLAGS="$(TARGET_CFLAGS)" \
|
||||
LDFLAGS="$(TARGET_LDFLAGS)" \
|
||||
$(U_BOOT_CONFIGURE_OPTS) \
|
||||
$(MAKE) CROSS_COMPILE="$(TARGET_CROSS)" ARCH=$(U_BOOT_ARCH) \
|
||||
$(U_BOOT_MAKE_OPT) -C $(U_BOOT_DIR)
|
||||
|
||||
# Copy the result to the images/ directory
|
||||
$(BINARIES_DIR)/$(U_BOOT_BIN): $(U_BOOT_DIR)/$(U_BOOT_BIN)
|
||||
rm -f $(BINARIES_DIR)/$(U_BOOT_BIN)
|
||||
cp -dpf $(U_BOOT_DIR)/$(U_BOOT_BIN) $(BINARIES_DIR)/
|
||||
|
||||
# Build just mkimage for the host. It might have already been built by
|
||||
# the U-Boot build procedure, but mkimage may also be needed even if
|
||||
# U-Boot isn't selected in the configuration, to generate a kernel
|
||||
# uImage.
|
||||
$(MKIMAGE): $(U_BOOT_DIR)/.patched
|
||||
mkdir -p $(@D)
|
||||
$(MAKE) -C $(U_BOOT_DIR) tools
|
||||
cp -dpf $(U_BOOT_DIR)/tools/mkimage $(@D)
|
||||
|
||||
# Build manually mkimage for the target
|
||||
$(TARGET_DIR)/usr/bin/mkimage: $(U_BOOT_DIR)/.configured
|
||||
mkdir -p $(@D)
|
||||
$(TARGET_CC) -I$(U_BOOT_DIR)/include -I$(U_BOOT_DIR)/tools \
|
||||
-DUSE_HOSTCC -o $@ \
|
||||
$(U_BOOT_DIR)/common/image.c \
|
||||
$(wildcard $(addprefix $(U_BOOT_DIR)/tools/,default_image.c \
|
||||
fit_image.c imximage.c kwbimage.c mkimage.c)) \
|
||||
$(addprefix $(U_BOOT_DIR)/lib*/,crc32.c md5.c sha1.c) \
|
||||
$(U_BOOT_DIR)/tools/os_support.c \
|
||||
$(wildcard $(U_BOOT_DIR)/libfdt/fdt*.c $(U_BOOT_DIR)/lib/libfdt/fdt*.c)
|
||||
|
||||
$(STRIPCMD) $(STRIP_STRIP_UNNEEDED) $@
|
||||
|
||||
# Build manually fw_printenv for the target
|
||||
$(TARGET_DIR)/usr/sbin/fw_printenv: $(U_BOOT_DIR)/.configured
|
||||
mkdir -p $(@D)
|
||||
$(TARGET_CC) -I$(U_BOOT_DIR)/include -I$(LINUX_HEADERS_DIR)/include \
|
||||
-DUSE_HOSTCC -o $@ \
|
||||
$(U_BOOT_DIR)/tools/env/*.c $(U_BOOT_DIR)/lib*/crc32.c
|
||||
$(STRIPCMD) $(STRIP_STRIP_UNNEEDED) $@
|
||||
ln -sf fw_printenv $(TARGET_DIR)/usr/sbin/fw_setenv
|
||||
|
||||
u-boot: $(U_BOOT_TARGETS)
|
||||
|
||||
u-boot-clean:
|
||||
-$(MAKE) -C $(U_BOOT_DIR) clean
|
||||
rm -f $(MKIMAGE)
|
||||
|
||||
u-boot-dirclean:
|
||||
rm -rf $(U_BOOT_DIR)
|
||||
|
||||
u-boot-source: $(DL_DIR)/$(U_BOOT_SOURCE)
|
||||
|
||||
u-boot-unpacked: $(U_BOOT_DIR)/.patched
|
||||
|
||||
u-boot-configured: $(U_BOOT_DIR)/.header_modified
|
||||
|
||||
#############################################################
|
||||
#
|
||||
# Toplevel Makefile options
|
||||
#
|
||||
#############################################################
|
||||
ifeq ($(BR2_TARGET_UBOOT),y)
|
||||
TARGETS+=u-boot
|
||||
|
||||
# we NEED a board name
|
||||
ifeq ($(U_BOOT_BOARD_NAME),)
|
||||
$(error NO U-Boot board name set. Check your BR2_TARGET_UBOOT_BOARDNAME setting)
|
||||
endif
|
||||
|
||||
endif
|
||||
@@ -1,750 +0,0 @@
|
||||
#
|
||||
# Automatically generated make config: don't edit
|
||||
# Tue Jul 13 13:53:48 2010
|
||||
#
|
||||
BR2_HAVE_DOT_CONFIG=y
|
||||
BR2_VERSION="2010.08-git"
|
||||
# BR2_alpha is not set
|
||||
BR2_arm=y
|
||||
# BR2_armeb is not set
|
||||
# BR2_avr32 is not set
|
||||
# BR2_cris is not set
|
||||
# BR2_ia64 is not set
|
||||
# BR2_i386 is not set
|
||||
# BR2_m68k is not set
|
||||
# BR2_mips is not set
|
||||
# BR2_mipsel is not set
|
||||
# BR2_powerpc is not set
|
||||
# BR2_sh is not set
|
||||
# BR2_sh64 is not set
|
||||
# BR2_sparc is not set
|
||||
# BR2_sparc64 is not set
|
||||
# BR2_x86_64 is not set
|
||||
# BR2_xtensa is not set
|
||||
# BR2_generic_arm is not set
|
||||
# BR2_arm7tdmi is not set
|
||||
# BR2_arm610 is not set
|
||||
# BR2_arm710 is not set
|
||||
# BR2_arm720t is not set
|
||||
# BR2_arm920t is not set
|
||||
# BR2_arm922t is not set
|
||||
BR2_arm926t=y
|
||||
# BR2_arm10t is not set
|
||||
# BR2_arm1136jf_s is not set
|
||||
# BR2_arm1176jz_s is not set
|
||||
# BR2_arm1176jzf_s is not set
|
||||
|
||||
#
|
||||
# cortex-A8 needs gcc >= 4.4.x
|
||||
#
|
||||
# BR2_cortex_a8 is not set
|
||||
# BR2_sa110 is not set
|
||||
# BR2_sa1100 is not set
|
||||
# BR2_xscale is not set
|
||||
# BR2_iwmmxt is not set
|
||||
BR2_ARM_TYPE="ARM926T"
|
||||
BR2_ARM_EABI=y
|
||||
# BR2_ARM_OABI is not set
|
||||
BR2_ARCH="arm"
|
||||
BR2_ENDIAN="LITTLE"
|
||||
BR2_GCC_TARGET_TUNE="arm926ej-s"
|
||||
BR2_GCC_TARGET_ARCH="armv5te"
|
||||
BR2_GCC_TARGET_ABI="aapcs-linux"
|
||||
|
||||
#
|
||||
# Target options
|
||||
#
|
||||
|
||||
#
|
||||
# Preset Devices
|
||||
#
|
||||
BR2_TARGET_ARMLTD=y
|
||||
|
||||
#
|
||||
# ARM Ltd. based Device Support
|
||||
#
|
||||
# BR2_TARGET_ARM_INTEGRATOR_926 is not set
|
||||
BR2_TARGET_ARM_INTEGRATOR_926_HUGE=y
|
||||
BR2_BOARD_NAME="integrator926_huge"
|
||||
BR2_BOARD_PATH="target/device/Atmel/$(BR2_BOARD_NAME)"
|
||||
# BR2_TARGET_ATMEL is not set
|
||||
# BR2_TARGET_KWIKBYTE is not set
|
||||
BR2_TARGET_GENERIC_HOSTNAME="buildroot"
|
||||
BR2_TARGET_GENERIC_ISSUE="Welcome to Buildroot with NPTL"
|
||||
BR2_TARGET_GENERIC_GETTY=y
|
||||
# BR2_TARGET_GENERIC_GETTY_NONE is not set
|
||||
# BR2_TARGET_GENERIC_GETTY_TTYS0 is not set
|
||||
# BR2_TARGET_GENERIC_GETTY_TTYS1 is not set
|
||||
# BR2_TARGET_GENERIC_GETTY_TTYS2 is not set
|
||||
# BR2_TARGET_GENERIC_GETTY_TTYS3 is not set
|
||||
BR2_TARGET_GENERIC_GETTY_TTYAMA0=y
|
||||
# BR2_TARGET_GENERIC_GETTY_TTYAMA1 is not set
|
||||
# BR2_TARGET_GENERIC_GETTY_TTYAMA2 is not set
|
||||
# BR2_TARGET_GENERIC_GETTY_TTYAMA3 is not set
|
||||
# BR2_TARGET_GENERIC_GETTY_TTYSAC0 is not set
|
||||
# BR2_TARGET_GENERIC_GETTY_TTYSAC1 is not set
|
||||
# BR2_TARGET_GENERIC_GETTY_TTYSAC2 is not set
|
||||
# BR2_TARGET_GENERIC_GETTY_TTYSAC3 is not set
|
||||
# BR2_TARGET_GENERIC_GETTY_TTYMXC0 is not set
|
||||
# BR2_TARGET_GENERIC_GETTY_TTYMXC1 is not set
|
||||
# BR2_TARGET_GENERIC_GETTY_TTYMXC2 is not set
|
||||
# BR2_TARGET_GENERIC_GETTY_TTYUL0 is not set
|
||||
# BR2_TARGET_GENERIC_GETTY_TTYUL1 is not set
|
||||
# BR2_TARGET_GENERIC_GETTY_TTYUL2 is not set
|
||||
# BR2_TARGET_GENERIC_GETTY_TTYUL3 is not set
|
||||
# BR2_TARGET_GENERIC_GETTY_TTYPSC0 is not set
|
||||
# BR2_TARGET_GENERIC_GETTY_TTYPSC1 is not set
|
||||
# BR2_TARGET_GENERIC_GETTY_TTYPSC2 is not set
|
||||
# BR2_TARGET_GENERIC_GETTY_TTYPSC3 is not set
|
||||
# BR2_TARGET_GENERIC_GETTY_TTYCPM0 is not set
|
||||
# BR2_TARGET_GENERIC_GETTY_TTYCPM1 is not set
|
||||
# BR2_TARGET_GENERIC_GETTY_TTYCPM2 is not set
|
||||
# BR2_TARGET_GENERIC_GETTY_TTYCPM3 is not set
|
||||
BR2_TARGET_GENERIC_GETTY_PORT="ttyAMA0"
|
||||
# BR2_TARGET_GENERIC_GETTY_BAUDRATE_KEEP is not set
|
||||
# BR2_TARGET_GENERIC_GETTY_BAUDRATE_9600 is not set
|
||||
# BR2_TARGET_GENERIC_GETTY_BAUDRATE_19200 is not set
|
||||
# BR2_TARGET_GENERIC_GETTY_BAUDRATE_38400 is not set
|
||||
# BR2_TARGET_GENERIC_GETTY_BAUDRATE_57600 is not set
|
||||
BR2_TARGET_GENERIC_GETTY_BAUDRATE_115200=y
|
||||
BR2_TARGET_GENERIC_GETTY_BAUDRATE="115200"
|
||||
|
||||
#
|
||||
# Build options
|
||||
#
|
||||
|
||||
#
|
||||
# Commands
|
||||
#
|
||||
BR2_WGET="wget --passive-ftp -nd"
|
||||
BR2_SVN_CO="svn co"
|
||||
BR2_SVN_UP="svn up"
|
||||
BR2_BZR_CO="bzr co"
|
||||
BR2_BZR_UP="bzr up"
|
||||
BR2_GIT="git clone"
|
||||
BR2_ZCAT="gzip -d -c"
|
||||
BR2_BZCAT="bzcat"
|
||||
BR2_TAR_OPTIONS=""
|
||||
BR2_DL_DIR="$(TOPDIR)/dl"
|
||||
BR2_STAGING_DIR="$(BASE_DIR)/staging"
|
||||
|
||||
#
|
||||
# Mirrors and Download locations
|
||||
#
|
||||
BR2_PRIMARY_SITE=""
|
||||
BR2_BACKUP_SITE="http://sources.buildroot.net/"
|
||||
BR2_SOURCEFORGE_MIRROR="easynews"
|
||||
BR2_KERNEL_MIRROR="http://www.kernel.org/pub/"
|
||||
BR2_GNU_MIRROR="http://ftp.gnu.org/pub/gnu"
|
||||
BR2_DEBIAN_MIRROR="http://ftp.debian.org"
|
||||
BR2_JLEVEL=2
|
||||
# BR2_DEPRECATED is not set
|
||||
# BR2_ENABLE_DEBUG is not set
|
||||
BR2_STRIP_strip=y
|
||||
# BR2_STRIP_sstrip is not set
|
||||
# BR2_STRIP_none is not set
|
||||
# BR2_OPTIMIZE_0 is not set
|
||||
# BR2_OPTIMIZE_1 is not set
|
||||
BR2_OPTIMIZE_2=y
|
||||
# BR2_OPTIMIZE_3 is not set
|
||||
# BR2_OPTIMIZE_S is not set
|
||||
# BR2_PREFER_STATIC_LIB is not set
|
||||
# BR2_HAVE_DOCUMENTATION is not set
|
||||
# BR2_HAVE_DEVFILES is not set
|
||||
|
||||
#
|
||||
# Advanced
|
||||
#
|
||||
# BR2_CONFIG_CACHE is not set
|
||||
|
||||
#
|
||||
# Toolchain
|
||||
#
|
||||
BR2_TOOLCHAIN_BUILDROOT=y
|
||||
# BR2_TOOLCHAIN_EXTERNAL is not set
|
||||
|
||||
#
|
||||
# Kernel Header Options
|
||||
#
|
||||
# BR2_KERNEL_HEADERS_2_6_27 is not set
|
||||
# BR2_KERNEL_HEADERS_2_6_28 is not set
|
||||
# BR2_KERNEL_HEADERS_2_6_29 is not set
|
||||
# BR2_KERNEL_HEADERS_2_6_30 is not set
|
||||
# BR2_KERNEL_HEADERS_2_6_31 is not set
|
||||
# BR2_KERNEL_HEADERS_2_6_32 is not set
|
||||
# BR2_KERNEL_HEADERS_2_6_33 is not set
|
||||
BR2_KERNEL_HEADERS_2_6_34=y
|
||||
# BR2_KERNEL_HEADERS_VERSION is not set
|
||||
# BR2_KERNEL_HEADERS_SNAP is not set
|
||||
BR2_DEFAULT_KERNEL_HEADERS="2.6.34.1"
|
||||
|
||||
#
|
||||
# uClibc Options
|
||||
#
|
||||
# BR2_UCLIBC_VERSION_0_9_29 is not set
|
||||
# BR2_UCLIBC_VERSION_0_9_30 is not set
|
||||
# BR2_UCLIBC_VERSION_0_9_31 is not set
|
||||
BR2_UCLIBC_VERSION_SNAPSHOT=y
|
||||
BR2_USE_UCLIBC_SNAPSHOT="snapshot"
|
||||
BR2_UCLIBC_VERSION_STRING="snapshot"
|
||||
BR2_UCLIBC_CONFIG="toolchain/uClibc/uClibc-snapshot.config"
|
||||
BR2_PTHREAD_DEBUG=y
|
||||
# BR2_UCLIBC_INSTALL_TEST_SUITE is not set
|
||||
|
||||
#
|
||||
# Binutils Options
|
||||
#
|
||||
# BR2_BINUTILS_VERSION_2_17 is not set
|
||||
# BR2_BINUTILS_VERSION_2_18 is not set
|
||||
# BR2_BINUTILS_VERSION_2_18_AVR32_1_0_1 is not set
|
||||
# BR2_BINUTILS_VERSION_2_19 is not set
|
||||
# BR2_BINUTILS_VERSION_2_19_1 is not set
|
||||
# BR2_BINUTILS_VERSION_2_20 is not set
|
||||
BR2_BINUTILS_VERSION_2_20_1=y
|
||||
BR2_BINUTILS_VERSION="2.20.1"
|
||||
BR2_EXTRA_BINUTILS_CONFIG_OPTIONS=""
|
||||
|
||||
#
|
||||
# GCC Options
|
||||
#
|
||||
# BR2_GCC_VERSION_4_2_1 is not set
|
||||
# BR2_GCC_VERSION_4_2_2 is not set
|
||||
# BR2_GCC_VERSION_4_2_2_AVR32_2_1_5 is not set
|
||||
# BR2_GCC_VERSION_4_2_3 is not set
|
||||
# BR2_GCC_VERSION_4_2_4 is not set
|
||||
# BR2_GCC_VERSION_4_3_X is not set
|
||||
BR2_GCC_VERSION_4_4_X=y
|
||||
# BR2_GCC_VERSION_SNAP is not set
|
||||
BR2_GCC_SUPPORTS_FINEGRAINEDMTUNE=y
|
||||
BR2_GCC_VERSION="4.4.4"
|
||||
# BR2_GCC_USE_SJLJ_EXCEPTIONS is not set
|
||||
BR2_EXTRA_GCC_CONFIG_OPTIONS=""
|
||||
# BR2_GCC_CROSS_FORTRAN is not set
|
||||
# BR2_INSTALL_LIBGCJ is not set
|
||||
# BR2_INSTALL_OBJC is not set
|
||||
# BR2_INSTALL_FORTRAN is not set
|
||||
BR2_GCC_SHARED_LIBGCC=y
|
||||
BR2_GCC_ENABLE_TLS=y
|
||||
|
||||
#
|
||||
# Ccache Options
|
||||
#
|
||||
# BR2_CCACHE is not set
|
||||
|
||||
#
|
||||
# Gdb Options
|
||||
#
|
||||
# BR2_PACKAGE_GDB is not set
|
||||
|
||||
#
|
||||
# Gdb debugger for the target needs WCHAR support in toolchain
|
||||
#
|
||||
# BR2_PACKAGE_GDB_SERVER is not set
|
||||
# BR2_PACKAGE_GDB_HOST is not set
|
||||
|
||||
#
|
||||
# Common Toolchain Options
|
||||
#
|
||||
BR2_LARGEFILE=y
|
||||
BR2_INET_IPV6=y
|
||||
BR2_INET_RPC=y
|
||||
BR2_ENABLE_LOCALE=y
|
||||
# BR2_ENABLE_LOCALE_PURGE is not set
|
||||
BR2_NEEDS_GETTEXT=y
|
||||
BR2_NEEDS_GETTEXT_IF_LOCALE=y
|
||||
BR2_USE_WCHAR=y
|
||||
BR2_PREFER_SOFT_FLOAT=y
|
||||
BR2_SOFT_FLOAT=y
|
||||
# BR2_USE_SSP is not set
|
||||
# BR2_PTHREADS_NONE is not set
|
||||
# BR2_PTHREADS is not set
|
||||
# BR2_PTHREADS_OLD is not set
|
||||
BR2_PTHREADS_NATIVE=y
|
||||
# BR2_PROGRAM_INVOCATION is not set
|
||||
BR2_GCC_CROSS_CXX=y
|
||||
BR2_INSTALL_LIBSTDCPP=y
|
||||
BR2_TARGET_OPTIMIZATION="-Os -pipe"
|
||||
# BR2_ELF2FLT is not set
|
||||
# BR2_MKLIBS is not set
|
||||
# BR2_PACKAGE_SSTRIP_TARGET is not set
|
||||
# BR2_PACKAGE_SSTRIP_HOST is not set
|
||||
# BR2_ENABLE_MULTILIB is not set
|
||||
BR2_CROSS_TOOLCHAIN_TARGET_UTILS=y
|
||||
|
||||
#
|
||||
# Package Selection for the target
|
||||
#
|
||||
BR2_PACKAGE_BUSYBOX=y
|
||||
# BR2_BUSYBOX_VERSION_1_13_X is not set
|
||||
# BR2_BUSYBOX_VERSION_1_14_X is not set
|
||||
# BR2_BUSYBOX_VERSION_1_15_X is not set
|
||||
# BR2_BUSYBOX_VERSION_1_16_X is not set
|
||||
BR2_BUSYBOX_VERSION_1_17_X=y
|
||||
# BR2_PACKAGE_BUSYBOX_SNAPSHOT is not set
|
||||
BR2_BUSYBOX_VERSION="1.17.0"
|
||||
BR2_PACKAGE_BUSYBOX_FULLINSTALL=y
|
||||
BR2_PACKAGE_BUSYBOX_CONFIG="package/busybox/busybox-1.16.x.config"
|
||||
BR2_PACKAGE_BUSYBOX_SHOW_OTHERS=y
|
||||
# BR2_PACKAGE_BUSYBOX_SKELETON is not set
|
||||
# BR2_PACKAGE_CUSTOMIZE is not set
|
||||
|
||||
#
|
||||
# Audio and video libraries and applications
|
||||
#
|
||||
# BR2_PACKAGE_ALSA_LIB is not set
|
||||
# BR2_PACKAGE_AUMIX is not set
|
||||
# BR2_PACKAGE_FLAC is not set
|
||||
# BR2_PACKAGE_FFMPEG is not set
|
||||
# BR2_PACKAGE_GSTREAMER is not set
|
||||
# BR2_PACKAGE_LIBCDAUDIO is not set
|
||||
# BR2_PACKAGE_LIBDVDREAD is not set
|
||||
# BR2_PACKAGE_LIBDVDNAV is not set
|
||||
# BR2_PACKAGE_LIBID3TAG is not set
|
||||
# BR2_PACKAGE_LIBMAD is not set
|
||||
# BR2_PACKAGE_LIBMMS is not set
|
||||
# BR2_PACKAGE_LIBMPD is not set
|
||||
# BR2_PACKAGE_LIBOGG is not set
|
||||
# BR2_PACKAGE_LIBSNDFILE is not set
|
||||
# BR2_PACKAGE_LIBTHEORA is not set
|
||||
# BR2_PACKAGE_LIBVORBIS is not set
|
||||
# BR2_PACKAGE_MADPLAY is not set
|
||||
# BR2_PACKAGE_MPG123 is not set
|
||||
# BR2_PACKAGE_MPLAYER is not set
|
||||
# BR2_PACKAGE_SPEEX is not set
|
||||
# BR2_PACKAGE_SWFDEC is not set
|
||||
# BR2_PACKAGE_FESTIVAL is not set
|
||||
# BR2_PACKAGE_TAGLIB is not set
|
||||
# BR2_PACKAGE_TREMOR is not set
|
||||
|
||||
#
|
||||
# Compressors and decompressors
|
||||
#
|
||||
# BR2_PACKAGE_BZIP2 is not set
|
||||
# BR2_PACKAGE_GZIP is not set
|
||||
# BR2_PACKAGE_LZOP is not set
|
||||
# BR2_PACKAGE_LZMA is not set
|
||||
|
||||
#
|
||||
# Debugging, profiling and benchmark
|
||||
#
|
||||
# BR2_PACKAGE_DMALLOC is not set
|
||||
# BR2_PACKAGE_KEXEC is not set
|
||||
# BR2_PACKAGE_LMBENCH is not set
|
||||
# BR2_PACKAGE_LSOF is not set
|
||||
# BR2_PACKAGE_LTRACE is not set
|
||||
# BR2_PACKAGE_MEMSTAT is not set
|
||||
# BR2_PACKAGE_NETPERF is not set
|
||||
# BR2_PACKAGE_OPROFILE is not set
|
||||
# BR2_PACKAGE_STRACE is not set
|
||||
|
||||
#
|
||||
# Development tools
|
||||
#
|
||||
# BR2_PACKAGE_AUTOCONF is not set
|
||||
# BR2_PACKAGE_AUTOMAKE is not set
|
||||
# BR2_PACKAGE_BISON is not set
|
||||
# BR2_PACKAGE_BSDIFF is not set
|
||||
|
||||
#
|
||||
# coreutils requires a toolchain with WCHAR and PROGRAM_INVOCATION support
|
||||
#
|
||||
# BR2_PACKAGE_CVS is not set
|
||||
# BR2_PACKAGE_DIFFUTILS is not set
|
||||
# BR2_PACKAGE_DISTCC is not set
|
||||
# BR2_PACKAGE_FAKEROOT is not set
|
||||
# BR2_PACKAGE_FINDUTILS is not set
|
||||
# BR2_PACKAGE_FLEX is not set
|
||||
# BR2_PACKAGE_GAWK is not set
|
||||
|
||||
#
|
||||
# native toolchain needs development files in target filesystem
|
||||
#
|
||||
# BR2_PACKAGE_GETTEXT is not set
|
||||
# BR2_PACKAGE_LIBINTL is not set
|
||||
# BR2_PACKAGE_LIBGMP is not set
|
||||
# BR2_PACKAGE_GPERF is not set
|
||||
# BR2_PACKAGE_GREP is not set
|
||||
# BR2_PACKAGE_INTLTOOL is not set
|
||||
# BR2_PACKAGE_MAKE is not set
|
||||
# BR2_PACKAGE_LIBMPFR is not set
|
||||
# BR2_PACKAGE_LIBTOOL is not set
|
||||
# BR2_PACKAGE_M4 is not set
|
||||
# BR2_PACKAGE_PATCH is not set
|
||||
# BR2_PACKAGE_PKG_CONFIG is not set
|
||||
# BR2_PACKAGE_SED is not set
|
||||
|
||||
#
|
||||
# tar requires a toolchain with WCHAR and PROGRAM_INVOCATION support
|
||||
#
|
||||
|
||||
#
|
||||
# Games
|
||||
#
|
||||
# BR2_PACKAGE_GNUCHESS is not set
|
||||
# BR2_PACKAGE_PRBOOM is not set
|
||||
|
||||
#
|
||||
# Graphic libraries and applications (graphic/text)
|
||||
#
|
||||
|
||||
#
|
||||
# graphic libraries
|
||||
#
|
||||
# BR2_PACKAGE_DIRECTFB is not set
|
||||
# BR2_PACKAGE_FBDUMP is not set
|
||||
# BR2_PACKAGE_FBSET is not set
|
||||
# BR2_PACKAGE_FBV is not set
|
||||
# BR2_PACKAGE_IMAGEMAGICK is not set
|
||||
# BR2_PACKAGE_LINUX_FUSION is not set
|
||||
# BR2_PACKAGE_SDL is not set
|
||||
|
||||
#
|
||||
# other GUIs
|
||||
#
|
||||
# BR2_PACKAGE_QT is not set
|
||||
# BR2_PACKAGE_XORG7 is not set
|
||||
|
||||
#
|
||||
# X libraries and helper libraries
|
||||
#
|
||||
# BR2_PACKAGE_LIBERATION is not set
|
||||
|
||||
#
|
||||
# X Window managers
|
||||
#
|
||||
|
||||
#
|
||||
# X applications
|
||||
#
|
||||
# BR2_PACKAGE_GOB2 is not set
|
||||
|
||||
#
|
||||
# Hardware handling
|
||||
#
|
||||
# BR2_PACKAGE_CDRKIT is not set
|
||||
# BR2_PACKAGE_CRAMFS is not set
|
||||
|
||||
#
|
||||
# dbus not available (need expat or libxml2)
|
||||
#
|
||||
# BR2_PACKAGE_DEVMEM2 is not set
|
||||
# BR2_PACKAGE_DMRAID is not set
|
||||
# BR2_PACKAGE_DOSFSTOOLS is not set
|
||||
# BR2_PACKAGE_E2FSPROGS is not set
|
||||
# BR2_PACKAGE_EEPROG is not set
|
||||
# BR2_PACKAGE_FCONFIG is not set
|
||||
# BR2_PACKAGE_FIS is not set
|
||||
# BR2_PACKAGE_GADGETFS_TEST is not set
|
||||
# BR2_PACKAGE_GENEXT2FS is not set
|
||||
# BR2_PACKAGE_GENROMFS is not set
|
||||
# BR2_PACKAGE_GVFS is not set
|
||||
# BR2_PACKAGE_HAL is not set
|
||||
# BR2_PACKAGE_HDPARM is not set
|
||||
# BR2_PACKAGE_HOTPLUG is not set
|
||||
# BR2_PACKAGE_HWDATA is not set
|
||||
# BR2_PACKAGE_I2C_TOOLS is not set
|
||||
# BR2_PACKAGE_INPUT_TOOLS is not set
|
||||
# BR2_PACKAGE_IOSTAT is not set
|
||||
# BR2_PACKAGE_LM_SENSORS is not set
|
||||
# BR2_PACKAGE_LVM2 is not set
|
||||
# BR2_PACKAGE_MAKEDEVS is not set
|
||||
# BR2_PACKAGE_MDADM is not set
|
||||
# BR2_PACKAGE_MEMTESTER is not set
|
||||
# BR2_PACKAGE_MTD is not set
|
||||
# BR2_PACKAGE_NTFS_3G is not set
|
||||
# BR2_PACKAGE_NTFSPROGS is not set
|
||||
# BR2_PACKAGE_PCIUTILS is not set
|
||||
# BR2_PACKAGE_SETSERIAL is not set
|
||||
# BR2_PACKAGE_SFDISK is not set
|
||||
# BR2_PACKAGE_SMARTMONTOOLS is not set
|
||||
# BR2_PACKAGE_SQUASHFS is not set
|
||||
# BR2_PACKAGE_SYSSTAT is not set
|
||||
# BR2_PACKAGE_UDEV is not set
|
||||
# BR2_PACKAGE_USB_MODESWITCH is not set
|
||||
# BR2_PACKAGE_USBMOUNT is not set
|
||||
# BR2_PACKAGE_USBUTILS is not set
|
||||
# BR2_PACKAGE_WIPE is not set
|
||||
# BR2_PACKAGE_XFSPROGS is not set
|
||||
|
||||
#
|
||||
# Interpreter languages and scripting
|
||||
#
|
||||
# BR2_PACKAGE_HASERL is not set
|
||||
# BR2_PACKAGE_LUA is not set
|
||||
# BR2_PACKAGE_MICROPERL is not set
|
||||
# BR2_PACKAGE_PHP is not set
|
||||
# BR2_PACKAGE_PYTHON is not set
|
||||
# BR2_PACKAGE_RUBY is not set
|
||||
# BR2_PACKAGE_TCL is not set
|
||||
|
||||
#
|
||||
# Libraries
|
||||
#
|
||||
|
||||
#
|
||||
# Compression and decompression
|
||||
#
|
||||
# BR2_PACKAGE_LIBARCHIVE is not set
|
||||
# BR2_PACKAGE_LZO is not set
|
||||
# BR2_PACKAGE_ZLIB is not set
|
||||
|
||||
#
|
||||
# Crypto
|
||||
#
|
||||
# BR2_PACKAGE_BEECRYPT is not set
|
||||
# BR2_PACKAGE_LIBGCRYPT is not set
|
||||
# BR2_PACKAGE_LIBGPG_ERROR is not set
|
||||
# BR2_PACKAGE_OPENSSL is not set
|
||||
|
||||
#
|
||||
# Database
|
||||
#
|
||||
# BR2_PACKAGE_BERKELEYDB is not set
|
||||
# BR2_PACKAGE_MYSQL_CLIENT is not set
|
||||
# BR2_PACKAGE_SQLITE is not set
|
||||
|
||||
#
|
||||
# Filesystem
|
||||
#
|
||||
# BR2_PACKAGE_GAMIN is not set
|
||||
# BR2_PACKAGE_LIBCONFIG is not set
|
||||
# BR2_PACKAGE_LIBCONFUSE is not set
|
||||
# BR2_PACKAGE_LIBFUSE is not set
|
||||
# BR2_PACKAGE_LIBLOCKFILE is not set
|
||||
# BR2_PACKAGE_LIBSYSFS is not set
|
||||
|
||||
#
|
||||
# Graphics
|
||||
#
|
||||
# BR2_PACKAGE_ATK is not set
|
||||
# BR2_PACKAGE_CAIRO is not set
|
||||
# BR2_PACKAGE_FONTCONFIG is not set
|
||||
# BR2_PACKAGE_FREETYPE is not set
|
||||
# BR2_PACKAGE_JPEG is not set
|
||||
# BR2_PACKAGE_LIBART is not set
|
||||
# BR2_PACKAGE_LIBPNG is not set
|
||||
# BR2_PACKAGE_LIBSVGTINY is not set
|
||||
# BR2_PACKAGE_LIBUNGIF is not set
|
||||
# BR2_PACKAGE_PANGO is not set
|
||||
# BR2_PACKAGE_PIXMAN is not set
|
||||
# BR2_PACKAGE_TIFF is not set
|
||||
|
||||
#
|
||||
# Hardware handling
|
||||
#
|
||||
# BR2_PACKAGE_LIBAIO is not set
|
||||
# BR2_PACKAGE_LIBRAW1394 is not set
|
||||
# BR2_PACKAGE_TSLIB is not set
|
||||
# BR2_PACKAGE_LIBUSB is not set
|
||||
|
||||
#
|
||||
# Java
|
||||
#
|
||||
# BR2_PACKAGE_CLASSPATH is not set
|
||||
|
||||
#
|
||||
# Networking
|
||||
#
|
||||
# BR2_PACKAGE_LIBCGI is not set
|
||||
# BR2_PACKAGE_LIBCGICC is not set
|
||||
# BR2_PACKAGE_LIBCURL is not set
|
||||
# BR2_PACKAGE_LIBDNET is not set
|
||||
# BR2_PACKAGE_LIBEXOSIP2 is not set
|
||||
# BR2_PACKAGE_LIBIDN is not set
|
||||
# BR2_PACKAGE_LIBMICROHTTPD is not set
|
||||
# BR2_PACKAGE_NEON is not set
|
||||
# BR2_PACKAGE_LIBNL is not set
|
||||
# BR2_PACKAGE_LIBPCAP is not set
|
||||
# BR2_PACKAGE_LIBOSIP2 is not set
|
||||
# BR2_PACKAGE_LIBRSYNC is not set
|
||||
# BR2_PACKAGE_LIBSOUP is not set
|
||||
# BR2_PACKAGE_LIBUPNP is not set
|
||||
|
||||
#
|
||||
# Other
|
||||
#
|
||||
# BR2_PACKAGE_LIBATOMIC_OPS is not set
|
||||
# BR2_PACKAGE_LIBCAP is not set
|
||||
# BR2_PACKAGE_LIBDAEMON is not set
|
||||
# BR2_PACKAGE_LIBELF is not set
|
||||
# BR2_PACKAGE_LIBEVENT is not set
|
||||
# BR2_PACKAGE_LIBGLIB12 is not set
|
||||
# BR2_PACKAGE_LIBGLIB2 is not set
|
||||
# BR2_PACKAGE_LIBOIL is not set
|
||||
|
||||
#
|
||||
# Text and terminal handling
|
||||
#
|
||||
# BR2_PACKAGE_ENCHANT is not set
|
||||
# BR2_PACKAGE_ICU is not set
|
||||
# BR2_PACKAGE_NCURSES is not set
|
||||
# BR2_PACKAGE_NEWT is not set
|
||||
# BR2_PACKAGE_PCRE is not set
|
||||
# BR2_PACKAGE_POPT is not set
|
||||
# BR2_PACKAGE_READLINE is not set
|
||||
# BR2_PACKAGE_SLANG is not set
|
||||
|
||||
#
|
||||
# XML
|
||||
#
|
||||
# BR2_PACKAGE_EXPAT is not set
|
||||
# BR2_PACKAGE_EZXML is not set
|
||||
# BR2_PACKAGE_LIBXML_PARSER_PERL is not set
|
||||
# BR2_PACKAGE_LIBXML2 is not set
|
||||
# BR2_PACKAGE_LIBXSLT is not set
|
||||
# BR2_PACKAGE_XERCES is not set
|
||||
|
||||
#
|
||||
# Miscellaneous
|
||||
#
|
||||
# BR2_PACKAGE_SHARED_MIME_INFO is not set
|
||||
|
||||
#
|
||||
# Networking applications
|
||||
#
|
||||
# BR2_PACKAGE_ARGUS is not set
|
||||
# BR2_PACKAGE_AVAHI is not set
|
||||
# BR2_PACKAGE_AXEL is not set
|
||||
# BR2_PACKAGE_BOA is not set
|
||||
# BR2_PACKAGE_BIND is not set
|
||||
# BR2_PACKAGE_BMON is not set
|
||||
# BR2_PACKAGE_BRIDGE is not set
|
||||
# BR2_PACKAGE_CTORRENT is not set
|
||||
# BR2_PACKAGE_CUPS is not set
|
||||
# BR2_PACKAGE_ISC_DHCP is not set
|
||||
# BR2_PACKAGE_DNSMASQ is not set
|
||||
# BR2_PACKAGE_DROPBEAR is not set
|
||||
# BR2_PACKAGE_ETHTOOL is not set
|
||||
# BR2_PACKAGE_HOSTAPD is not set
|
||||
# BR2_PACKAGE_IFPLUGD is not set
|
||||
# BR2_PACKAGE_IPERF is not set
|
||||
# BR2_PACKAGE_IPROUTE2 is not set
|
||||
# BR2_PACKAGE_IPSEC_TOOLS is not set
|
||||
# BR2_PACKAGE_IPTABLES is not set
|
||||
# BR2_PACKAGE_IW is not set
|
||||
# BR2_PACKAGE_KISMET is not set
|
||||
# BR2_PACKAGE_L2TP is not set
|
||||
# BR2_PACKAGE_LIGHTTPD is not set
|
||||
# BR2_PACKAGE_LINKS is not set
|
||||
# BR2_PACKAGE_LRZSZ is not set
|
||||
# BR2_PACKAGE_MIIDIAG is not set
|
||||
# BR2_PACKAGE_MROUTED is not set
|
||||
# BR2_PACKAGE_MUTT is not set
|
||||
# BR2_PACKAGE_NBD is not set
|
||||
# BR2_PACKAGE_NCFTP is not set
|
||||
# BR2_PACKAGE_NETCAT is not set
|
||||
# BR2_PACKAGE_NETKITBASE is not set
|
||||
# BR2_PACKAGE_NETKITTELNET is not set
|
||||
# BR2_PACKAGE_NETPLUG is not set
|
||||
# BR2_PACKAGE_NETSNMP is not set
|
||||
# BR2_PACKAGE_NETSTAT_NAT is not set
|
||||
# BR2_PACKAGE_NFS_UTILS is not set
|
||||
# BR2_PACKAGE_NTP is not set
|
||||
# BR2_PACKAGE_OLSR is not set
|
||||
# BR2_PACKAGE_OPENNTPD is not set
|
||||
# BR2_PACKAGE_OPENSSH is not set
|
||||
# BR2_PACKAGE_OPENVPN is not set
|
||||
# BR2_PACKAGE_PORTMAP is not set
|
||||
# BR2_PACKAGE_PPPD is not set
|
||||
# BR2_PACKAGE_RADVD is not set
|
||||
# BR2_PACKAGE_PPTP_LINUX is not set
|
||||
# BR2_PACKAGE_PROFTPD is not set
|
||||
# BR2_PACKAGE_QUAGGA is not set
|
||||
# BR2_PACKAGE_RSYNC is not set
|
||||
# BR2_PACKAGE_SAMBA is not set
|
||||
# BR2_PACKAGE_SER2NET is not set
|
||||
# BR2_PACKAGE_SOCAT is not set
|
||||
# BR2_PACKAGE_SPAWN_FCGI is not set
|
||||
# BR2_PACKAGE_SQUID is not set
|
||||
# BR2_PACKAGE_STUNNEL is not set
|
||||
# BR2_PACKAGE_TCPDUMP is not set
|
||||
# BR2_PACKAGE_DHCPDUMP is not set
|
||||
# BR2_PACKAGE_TCPREPLAY is not set
|
||||
# BR2_PACKAGE_TFTPD is not set
|
||||
# BR2_PACKAGE_THTTPD is not set
|
||||
# BR2_PACKAGE_TINYHTTPD is not set
|
||||
# BR2_PACKAGE_TN5250 is not set
|
||||
# BR2_PACKAGE_TTCP is not set
|
||||
# BR2_PACKAGE_UDPCAST is not set
|
||||
# BR2_PACKAGE_VPNC is not set
|
||||
# BR2_PACKAGE_VSFTPD is not set
|
||||
# BR2_PACKAGE_VTUN is not set
|
||||
# BR2_PACKAGE_WEBIF is not set
|
||||
# BR2_PACKAGE_WGET is not set
|
||||
# BR2_PACKAGE_WIRELESS_TOOLS is not set
|
||||
# BR2_PACKAGE_WPA_SUPPLICANT is not set
|
||||
|
||||
#
|
||||
# Package managers
|
||||
#
|
||||
# BR2_PACKAGE_IPKG is not set
|
||||
|
||||
#
|
||||
# rpm requires libneon with SSL, XML and ZLIB support
|
||||
#
|
||||
|
||||
#
|
||||
# Shell and utilities
|
||||
#
|
||||
# BR2_PACKAGE_AT is not set
|
||||
# BR2_PACKAGE_BASH is not set
|
||||
# BR2_PACKAGE_DASH is not set
|
||||
# BR2_PACKAGE_DIALOG is not set
|
||||
# BR2_PACKAGE_FILE is not set
|
||||
# BR2_PACKAGE_LOCKFILE_PROGS is not set
|
||||
# BR2_PACKAGE_LOGROTATE is not set
|
||||
# BR2_PACKAGE_SCREEN is not set
|
||||
# BR2_PACKAGE_SUDO is not set
|
||||
# BR2_PACKAGE_WHICH is not set
|
||||
|
||||
#
|
||||
# System tools
|
||||
#
|
||||
# BR2_PACKAGE_BOOTUTILS is not set
|
||||
# BR2_PACKAGE_MODULE_INIT_TOOLS is not set
|
||||
# BR2_PACKAGE_PROCPS is not set
|
||||
# BR2_PACKAGE_PSMISC is not set
|
||||
# BR2_PACKAGE_SYSKLOGD is not set
|
||||
# BR2_PACKAGE_SYSVINIT is not set
|
||||
# BR2_PACKAGE_UTIL-LINUX is not set
|
||||
|
||||
#
|
||||
# Text editors and viewers
|
||||
#
|
||||
# BR2_PACKAGE_ED is not set
|
||||
# BR2_PACKAGE_LESS is not set
|
||||
# BR2_PACKAGE_NANO is not set
|
||||
# BR2_PACKAGE_UEMACS is not set
|
||||
# BR2_PACKAGE_VIM is not set
|
||||
|
||||
#
|
||||
# Target filesystem options
|
||||
#
|
||||
BR2_ROOTFS_POST_BUILD_SCRIPT=""
|
||||
BR2_ROOTFS_DEVICE_TABLE="target/generic/device_table.txt"
|
||||
# BR2_TARGET_ROOTFS_CRAMFS is not set
|
||||
# BR2_TARGET_ROOTFS_CLOOP is not set
|
||||
# BR2_TARGET_ROOTFS_EXT2 is not set
|
||||
# BR2_TARGET_ROOTFS_JFFS2 is not set
|
||||
# BR2_TARGET_ROOTFS_UBIFS is not set
|
||||
# BR2_TARGET_ROOTFS_SQUASHFS is not set
|
||||
# BR2_TARGET_ROOTFS_TAR is not set
|
||||
# BR2_TARGET_ROOTFS_CPIO is not set
|
||||
|
||||
#
|
||||
# initramfs requires a Linux kernel to be built
|
||||
#
|
||||
# BR2_TARGET_ROOTFS_ROMFS is not set
|
||||
|
||||
#
|
||||
# Bootloaders
|
||||
#
|
||||
# BR2_TARGET_BAREBOX is not set
|
||||
# BR2_TARGET_UBOOT is not set
|
||||
# BR2_TARGET_AT91BOOTSTRAP is not set
|
||||
# BR2_TARGET_DATAFLASHBOOT is not set
|
||||
|
||||
#
|
||||
# Kernel
|
||||
#
|
||||
# BR2_LINUX_KERNEL is not set
|
||||
@@ -1,819 +0,0 @@
|
||||
#
|
||||
# Automatically generated make config: don't edit
|
||||
# Mon May 17 00:57:05 2010
|
||||
#
|
||||
BR2_HAVE_DOT_CONFIG=y
|
||||
BR2_VERSION="2010.05-rc2"
|
||||
# BR2_alpha is not set
|
||||
# BR2_arm is not set
|
||||
# BR2_armeb is not set
|
||||
BR2_avr32=y
|
||||
# BR2_cris is not set
|
||||
# BR2_ia64 is not set
|
||||
# BR2_i386 is not set
|
||||
# BR2_m68k is not set
|
||||
# BR2_mips is not set
|
||||
# BR2_mipsel is not set
|
||||
# BR2_powerpc is not set
|
||||
# BR2_sh is not set
|
||||
# BR2_sh64 is not set
|
||||
# BR2_sparc is not set
|
||||
# BR2_sparc64 is not set
|
||||
# BR2_x86_64 is not set
|
||||
# BR2_xtensa is not set
|
||||
BR2_ARCH="avr32"
|
||||
BR2_ENDIAN="BIG"
|
||||
|
||||
#
|
||||
# Target options
|
||||
#
|
||||
|
||||
#
|
||||
# Preset Devices
|
||||
#
|
||||
BR2_BOARD_NAME="atngw100"
|
||||
BR2_BOARD_PATH="target/device/Atmel/$(BR2_BOARD_NAME)"
|
||||
BR2_TARGET_ATMEL=y
|
||||
|
||||
#
|
||||
# Atmel AVR32 Specific Device Support
|
||||
#
|
||||
BR2_TARGET_AVR32=y
|
||||
BR2_TARGET_AT32AP7000=y
|
||||
# BR2_TARGET_AT32AP7001 is not set
|
||||
# BR2_TARGET_AT32AP7002 is not set
|
||||
# BR2_TARGET_AT32AP7200 is not set
|
||||
|
||||
#
|
||||
# Development board support
|
||||
#
|
||||
# BR2_TARGET_AVR32_ATSTK1002 is not set
|
||||
# BR2_TARGET_AVR32_ATSTK1005 is not set
|
||||
BR2_TARGET_AVR32_ATNGW100=y
|
||||
# BR2_TARGET_AVR32_ATNGW100_BASE is not set
|
||||
|
||||
#
|
||||
# Package support
|
||||
#
|
||||
|
||||
#
|
||||
# Secondary locations
|
||||
#
|
||||
# BR2_TARGET_VALKA is not set
|
||||
|
||||
#
|
||||
# Build options
|
||||
#
|
||||
|
||||
#
|
||||
# Commands
|
||||
#
|
||||
BR2_WGET="wget --passive-ftp --retry-connrefused --waitretry=10"
|
||||
BR2_SVN_CO="svn co"
|
||||
BR2_SVN_UP="svn up"
|
||||
BR2_BZR_CO="bzr co"
|
||||
BR2_BZR_UP="bzr up"
|
||||
BR2_GIT="git clone"
|
||||
BR2_ZCAT="zcat"
|
||||
BR2_BZCAT="bzcat"
|
||||
BR2_TAR_OPTIONS=""
|
||||
BR2_DL_DIR="$(TOPDIR)/dl"
|
||||
BR2_STAGING_DIR="$(BASE_DIR)/staging"
|
||||
|
||||
#
|
||||
# Mirrors and Download locations
|
||||
#
|
||||
BR2_PRIMARY_SITE=""
|
||||
BR2_BACKUP_SITE="http://sources.buildroot.net/"
|
||||
BR2_SOURCEFORGE_MIRROR="easynews"
|
||||
BR2_KERNEL_MIRROR="http://www.kernel.org/pub/"
|
||||
BR2_GNU_MIRROR="http://ftp.gnu.org/pub/gnu"
|
||||
BR2_DEBIAN_MIRROR="http://ftp.debian.org"
|
||||
BR2_ATMEL_MIRROR="ftp://www.at91.com/pub/buildroot/"
|
||||
BR2_AT91_PATCH_MIRROR="http://maxim.org.za/AT91RM9200/2.6/"
|
||||
BR2_JLEVEL=2
|
||||
# BR2_DEPRECATED is not set
|
||||
# BR2_ENABLE_DEBUG is not set
|
||||
BR2_STRIP_strip=y
|
||||
# BR2_STRIP_sstrip is not set
|
||||
# BR2_STRIP_none is not set
|
||||
# BR2_OPTIMIZE_0 is not set
|
||||
# BR2_OPTIMIZE_1 is not set
|
||||
# BR2_OPTIMIZE_2 is not set
|
||||
# BR2_OPTIMIZE_3 is not set
|
||||
BR2_OPTIMIZE_S=y
|
||||
# BR2_PREFER_STATIC_LIB is not set
|
||||
# BR2_HAVE_DOCUMENTATION is not set
|
||||
# BR2_HAVE_DEVFILES is not set
|
||||
|
||||
#
|
||||
# Advanced
|
||||
#
|
||||
# BR2_CONFIG_CACHE is not set
|
||||
|
||||
#
|
||||
# Toolchain
|
||||
#
|
||||
BR2_TOOLCHAIN_BUILDROOT=y
|
||||
# BR2_TOOLCHAIN_EXTERNAL is not set
|
||||
|
||||
#
|
||||
# Kernel Header Options
|
||||
#
|
||||
# BR2_KERNEL_HEADERS_2_6_27 is not set
|
||||
# BR2_KERNEL_HEADERS_2_6_28 is not set
|
||||
# BR2_KERNEL_HEADERS_2_6_29 is not set
|
||||
# BR2_KERNEL_HEADERS_2_6_30 is not set
|
||||
# BR2_KERNEL_HEADERS_2_6_31 is not set
|
||||
# BR2_KERNEL_HEADERS_2_6_32 is not set
|
||||
BR2_KERNEL_HEADERS_2_6_33=y
|
||||
# BR2_KERNEL_HEADERS_VERSION is not set
|
||||
# BR2_KERNEL_HEADERS_SNAP is not set
|
||||
BR2_DEFAULT_KERNEL_HEADERS="2.6.33.3"
|
||||
|
||||
#
|
||||
# uClibc Options
|
||||
#
|
||||
# BR2_UCLIBC_VERSION_0_9_29 is not set
|
||||
BR2_UCLIBC_VERSION_0_9_30=y
|
||||
# BR2_UCLIBC_VERSION_0_9_31 is not set
|
||||
# BR2_UCLIBC_VERSION_SNAPSHOT is not set
|
||||
BR2_UCLIBC_VERSION_STRING="0.9.30.3"
|
||||
BR2_UCLIBC_CONFIG="toolchain/uClibc/uClibc-0.9.30.config"
|
||||
# BR2_PTHREAD_DEBUG is not set
|
||||
# BR2_UCLIBC_INSTALL_TEST_SUITE is not set
|
||||
|
||||
#
|
||||
# Binutils Options
|
||||
#
|
||||
# BR2_BINUTILS_VERSION_2_17 is not set
|
||||
# BR2_BINUTILS_VERSION_2_18 is not set
|
||||
BR2_BINUTILS_VERSION_2_18_AVR32_1_0_1=y
|
||||
# BR2_BINUTILS_VERSION_2_19 is not set
|
||||
# BR2_BINUTILS_VERSION_2_19_1 is not set
|
||||
# BR2_BINUTILS_VERSION_2_20 is not set
|
||||
# BR2_BINUTILS_VERSION_2_20_1 is not set
|
||||
BR2_BINUTILS_VERSION="2.18-avr32-1.0.1"
|
||||
BR2_EXTRA_BINUTILS_CONFIG_OPTIONS=""
|
||||
|
||||
#
|
||||
# GCC Options
|
||||
#
|
||||
# BR2_GCC_VERSION_4_1_2 is not set
|
||||
# BR2_GCC_VERSION_4_2_1 is not set
|
||||
# BR2_GCC_VERSION_4_2_2 is not set
|
||||
BR2_GCC_VERSION_4_2_2_AVR32_2_1_5=y
|
||||
# BR2_GCC_VERSION_4_2_3 is not set
|
||||
# BR2_GCC_VERSION_4_2_4 is not set
|
||||
# BR2_GCC_VERSION_4_3_2 is not set
|
||||
# BR2_GCC_VERSION_4_3_3 is not set
|
||||
# BR2_GCC_VERSION_4_3_4 is not set
|
||||
# BR2_GCC_VERSION_4_4_X is not set
|
||||
# BR2_GCC_VERSION_SNAP is not set
|
||||
BR2_GCC_SUPPORTS_SYSROOT=y
|
||||
BR2_GCC_VERSION="4.2.2-avr32-2.1.5"
|
||||
BR2_TOOLCHAIN_SYSROOT=y
|
||||
BR2_EXTRA_GCC_CONFIG_OPTIONS=""
|
||||
BR2_GCC_SHARED_LIBGCC=y
|
||||
BR2_GCC_ENABLE_TLS=y
|
||||
|
||||
#
|
||||
# Ccache Options
|
||||
#
|
||||
BR2_CCACHE=y
|
||||
BR2_CCACHE_DIR="$(TOOLCHAIN_DIR)/ccache-$(CCACHE_VER)/cache"
|
||||
|
||||
#
|
||||
# Gdb Options
|
||||
#
|
||||
# BR2_PACKAGE_GDB is not set
|
||||
|
||||
#
|
||||
# Gdb debugger for the target needs WCHAR support in toolchain
|
||||
#
|
||||
BR2_PACKAGE_GDB_SERVER=y
|
||||
BR2_PACKAGE_GDB_HOST=y
|
||||
# BR2_GDB_VERSION_6_6 is not set
|
||||
# BR2_GDB_VERSION_6_7_1 is not set
|
||||
BR2_GDB_VERSION_6_7_1_AVR32_2_1_5=y
|
||||
# BR2_GDB_VERSION_6_8 is not set
|
||||
# BR2_GDB_VERSION_7_0_1 is not set
|
||||
# BR2_GDB_VERSION_7_1 is not set
|
||||
BR2_GDB_VERSION="6.7.1-avr32-2.1.5"
|
||||
|
||||
#
|
||||
# Common Toolchain Options
|
||||
#
|
||||
BR2_LARGEFILE=y
|
||||
BR2_INET_IPV6=y
|
||||
BR2_INET_RPC=y
|
||||
BR2_ENABLE_LOCALE=y
|
||||
# BR2_ENABLE_LOCALE_PURGE is not set
|
||||
BR2_USE_WCHAR=y
|
||||
BR2_PREFER_SOFT_FLOAT=y
|
||||
BR2_SOFT_FLOAT=y
|
||||
BR2_USE_SSP=y
|
||||
# BR2_PTHREADS_NONE is not set
|
||||
# BR2_PTHREADS is not set
|
||||
BR2_PTHREADS_OLD=y
|
||||
# BR2_PTHREADS_NATIVE is not set
|
||||
# BR2_PROGRAM_INVOCATION is not set
|
||||
BR2_GCC_CROSS_CXX=y
|
||||
BR2_INSTALL_LIBSTDCPP=y
|
||||
BR2_TARGET_OPTIMIZATION="-Os -pipe"
|
||||
# BR2_MKLIBS is not set
|
||||
# BR2_PACKAGE_SSTRIP_TARGET is not set
|
||||
# BR2_PACKAGE_SSTRIP_HOST is not set
|
||||
BR2_CROSS_TOOLCHAIN_TARGET_UTILS=y
|
||||
|
||||
#
|
||||
# Package Selection for the target
|
||||
#
|
||||
BR2_PACKAGE_BUSYBOX=y
|
||||
# BR2_BUSYBOX_VERSION_1_12_X is not set
|
||||
# BR2_BUSYBOX_VERSION_1_13_X is not set
|
||||
# BR2_BUSYBOX_VERSION_1_14_X is not set
|
||||
# BR2_BUSYBOX_VERSION_1_15_X is not set
|
||||
BR2_BUSYBOX_VERSION_1_16_X=y
|
||||
# BR2_PACKAGE_BUSYBOX_SNAPSHOT is not set
|
||||
BR2_BUSYBOX_VERSION="1.16.1"
|
||||
BR2_PACKAGE_BUSYBOX_FULLINSTALL=y
|
||||
BR2_PACKAGE_BUSYBOX_CONFIG="package/busybox/busybox-1.13.x.config"
|
||||
# BR2_PACKAGE_BUSYBOX_SHOW_OTHERS is not set
|
||||
# BR2_PACKAGE_CUSTOMIZE is not set
|
||||
|
||||
#
|
||||
# Audio and video libraries and applications
|
||||
#
|
||||
# BR2_PACKAGE_ALSA_LIB is not set
|
||||
# BR2_PACKAGE_AUMIX is not set
|
||||
# BR2_PACKAGE_FLAC is not set
|
||||
# BR2_PACKAGE_GSTREAMER is not set
|
||||
# BR2_PACKAGE_LIBCDAUDIO is not set
|
||||
# BR2_PACKAGE_LIBDVDREAD is not set
|
||||
# BR2_PACKAGE_LIBDVDNAV is not set
|
||||
# BR2_PACKAGE_LIBID3TAG is not set
|
||||
# BR2_PACKAGE_LIBMAD is not set
|
||||
# BR2_PACKAGE_LIBMMS is not set
|
||||
# BR2_PACKAGE_LIBMPD is not set
|
||||
# BR2_PACKAGE_LIBOGG is not set
|
||||
# BR2_PACKAGE_LIBSNDFILE is not set
|
||||
# BR2_PACKAGE_LIBTHEORA is not set
|
||||
# BR2_PACKAGE_LIBVORBIS is not set
|
||||
# BR2_PACKAGE_MADPLAY is not set
|
||||
# BR2_PACKAGE_MPG123 is not set
|
||||
# BR2_PACKAGE_MPLAYER is not set
|
||||
# BR2_PACKAGE_SPEEX is not set
|
||||
# BR2_PACKAGE_SWFDEC is not set
|
||||
# BR2_PACKAGE_FESTIVAL is not set
|
||||
# BR2_PACKAGE_TAGLIB is not set
|
||||
# BR2_PACKAGE_TREMOR is not set
|
||||
|
||||
#
|
||||
# Compressors and decompressors
|
||||
#
|
||||
# BR2_PACKAGE_LZOP is not set
|
||||
# BR2_PACKAGE_LZMA is not set
|
||||
|
||||
#
|
||||
# Debugging, profiling and benchmark
|
||||
#
|
||||
# BR2_PACKAGE_DMALLOC is not set
|
||||
# BR2_PACKAGE_KEXEC is not set
|
||||
# BR2_PACKAGE_LMBENCH is not set
|
||||
# BR2_PACKAGE_LSOF is not set
|
||||
# BR2_PACKAGE_MEMSTAT is not set
|
||||
# BR2_PACKAGE_NETPERF is not set
|
||||
# BR2_PACKAGE_OPROFILE is not set
|
||||
BR2_PACKAGE_STRACE=y
|
||||
|
||||
#
|
||||
# Development tools
|
||||
#
|
||||
# BR2_PACKAGE_AUTOCONF is not set
|
||||
# BR2_PACKAGE_AUTOMAKE is not set
|
||||
# BR2_PACKAGE_BISON is not set
|
||||
# BR2_PACKAGE_BSDIFF is not set
|
||||
# BR2_PACKAGE_CVS is not set
|
||||
# BR2_PACKAGE_DISTCC is not set
|
||||
# BR2_PACKAGE_FAKEROOT is not set
|
||||
# BR2_PACKAGE_FLEX is not set
|
||||
|
||||
#
|
||||
# native toolchain needs development files in target filesystem
|
||||
#
|
||||
BR2_PACKAGE_GETTEXT=y
|
||||
BR2_PACKAGE_LIBINTL=y
|
||||
# BR2_PACKAGE_LIBGMP is not set
|
||||
# BR2_PACKAGE_GPERF is not set
|
||||
# BR2_PACKAGE_INTLTOOL is not set
|
||||
# BR2_PACKAGE_MAKE is not set
|
||||
# BR2_PACKAGE_LIBMPFR is not set
|
||||
# BR2_PACKAGE_LIBTOOL is not set
|
||||
# BR2_PACKAGE_M4 is not set
|
||||
# BR2_PACKAGE_PKG_CONFIG is not set
|
||||
|
||||
#
|
||||
# Games
|
||||
#
|
||||
# BR2_PACKAGE_GNUCHESS is not set
|
||||
# BR2_PACKAGE_PRBOOM is not set
|
||||
|
||||
#
|
||||
# Graphic libraries and applications (graphic/text)
|
||||
#
|
||||
|
||||
#
|
||||
# graphic libraries
|
||||
#
|
||||
# BR2_PACKAGE_DIRECTFB is not set
|
||||
# BR2_PACKAGE_FBDUMP is not set
|
||||
# BR2_PACKAGE_FBV is not set
|
||||
# BR2_PACKAGE_IMAGEMAGICK is not set
|
||||
# BR2_PACKAGE_LINUX_FUSION is not set
|
||||
# BR2_PACKAGE_SDL is not set
|
||||
|
||||
#
|
||||
# other GUIs
|
||||
#
|
||||
# BR2_PACKAGE_QT is not set
|
||||
# BR2_PACKAGE_XORG7 is not set
|
||||
|
||||
#
|
||||
# X libraries and helper libraries
|
||||
#
|
||||
# BR2_PACKAGE_LIBERATION is not set
|
||||
|
||||
#
|
||||
# X Window managers
|
||||
#
|
||||
|
||||
#
|
||||
# X applications
|
||||
#
|
||||
# BR2_PACKAGE_GOB2 is not set
|
||||
# BR2_PACKAGE_SYLPHEED is not set
|
||||
|
||||
#
|
||||
# Hardware handling
|
||||
#
|
||||
# BR2_PACKAGE_CDRKIT is not set
|
||||
# BR2_PACKAGE_CRAMFS is not set
|
||||
|
||||
#
|
||||
# dbus not available (need expat or libxml2)
|
||||
#
|
||||
# BR2_PACKAGE_DMRAID is not set
|
||||
# BR2_PACKAGE_DOSFSTOOLS is not set
|
||||
# BR2_PACKAGE_E2FSPROGS is not set
|
||||
# BR2_PACKAGE_EEPROG is not set
|
||||
# BR2_PACKAGE_FCONFIG is not set
|
||||
# BR2_PACKAGE_FIS is not set
|
||||
# BR2_PACKAGE_GADGETFS_TEST is not set
|
||||
# BR2_PACKAGE_GENEXT2FS is not set
|
||||
# BR2_PACKAGE_GENROMFS is not set
|
||||
# BR2_PACKAGE_GVFS is not set
|
||||
# BR2_PACKAGE_HAL is not set
|
||||
# BR2_PACKAGE_HWDATA is not set
|
||||
# BR2_PACKAGE_I2C_TOOLS is not set
|
||||
# BR2_PACKAGE_INPUT_TOOLS is not set
|
||||
# BR2_PACKAGE_IOSTAT is not set
|
||||
# BR2_PACKAGE_LM_SENSORS is not set
|
||||
# BR2_PACKAGE_LVM2 is not set
|
||||
# BR2_PACKAGE_MAKEDEVS is not set
|
||||
# BR2_PACKAGE_MDADM is not set
|
||||
# BR2_PACKAGE_MEMTESTER is not set
|
||||
BR2_PACKAGE_MTD=y
|
||||
|
||||
#
|
||||
# MTD tools selection
|
||||
#
|
||||
# BR2_PACKAGE_MTD_DOCFDISK is not set
|
||||
# BR2_PACKAGE_MTD_DOC_LOADBIOS is not set
|
||||
BR2_PACKAGE_MTD_FLASHCP=y
|
||||
BR2_PACKAGE_MTD_FLASH_ERASE=y
|
||||
BR2_PACKAGE_MTD_FLASH_ERASEALL=y
|
||||
BR2_PACKAGE_MTD_FLASH_INFO=y
|
||||
# BR2_PACKAGE_MTD_FLASH_LOCK is not set
|
||||
# BR2_PACKAGE_MTD_FLASH_OTP_DUMP is not set
|
||||
# BR2_PACKAGE_MTD_FLASH_OTP_INFO is not set
|
||||
# BR2_PACKAGE_MTD_FLASH_UNLOCK is not set
|
||||
# BR2_PACKAGE_MTD_FTL_CHECK is not set
|
||||
# BR2_PACKAGE_MTD_FTL_FORMAT is not set
|
||||
# BR2_PACKAGE_MTD_JFFS2DUMP is not set
|
||||
# BR2_PACKAGE_MTD_MKFSJFFS2 is not set
|
||||
BR2_PACKAGE_MTD_MTD_DEBUG=y
|
||||
# BR2_PACKAGE_MTD_NANDDUMP is not set
|
||||
BR2_PACKAGE_MTD_NANDTEST=y
|
||||
# BR2_PACKAGE_MTD_NANDWRITE is not set
|
||||
# BR2_PACKAGE_MTD_NFTLDUMP is not set
|
||||
# BR2_PACKAGE_MTD_NFTL_FORMAT is not set
|
||||
# BR2_PACKAGE_MTD_RECV_IMAGE is not set
|
||||
# BR2_PACKAGE_MTD_RFDDUMP is not set
|
||||
# BR2_PACKAGE_MTD_RFDFORMAT is not set
|
||||
# BR2_PACKAGE_MTD_SERVE_IMAGE is not set
|
||||
# BR2_PACKAGE_MTD_SUMTOOL is not set
|
||||
BR2_PACKAGE_MTD_MTDINFO=y
|
||||
BR2_PACKAGE_MTD_UBIATTACH=y
|
||||
BR2_PACKAGE_MTD_UBICRC32=y
|
||||
BR2_PACKAGE_MTD_UBIDETACH=y
|
||||
BR2_PACKAGE_MTD_UBIFORMAT=y
|
||||
BR2_PACKAGE_MTD_UBIMKVOL=y
|
||||
BR2_PACKAGE_MTD_UBINFO=y
|
||||
BR2_PACKAGE_MTD_UBINIZE=y
|
||||
BR2_PACKAGE_MTD_UBIRENAME=y
|
||||
BR2_PACKAGE_MTD_UBIRMVOL=y
|
||||
BR2_PACKAGE_MTD_UBIRSVOL=y
|
||||
BR2_PACKAGE_MTD_UBIUPDATEVOL=y
|
||||
# BR2_PACKAGE_NTFS_3G is not set
|
||||
# BR2_PACKAGE_NTFSPROGS is not set
|
||||
# BR2_PACKAGE_PCIUTILS is not set
|
||||
# BR2_PACKAGE_PCMCIA is not set
|
||||
# BR2_PACKAGE_SETSERIAL is not set
|
||||
# BR2_PACKAGE_SMARTMONTOOLS is not set
|
||||
# BR2_PACKAGE_SQUASHFS is not set
|
||||
# BR2_PACKAGE_SYSSTAT is not set
|
||||
# BR2_PACKAGE_USB_MODESWITCH is not set
|
||||
# BR2_PACKAGE_USBMOUNT is not set
|
||||
# BR2_PACKAGE_USBUTILS is not set
|
||||
# BR2_PACKAGE_WIPE is not set
|
||||
# BR2_PACKAGE_XFSPROGS is not set
|
||||
|
||||
#
|
||||
# Interpreter languages and scripting
|
||||
#
|
||||
BR2_PACKAGE_HASERL=y
|
||||
# BR2_PACKAGE_HASERL_WITH_LUA is not set
|
||||
# BR2_PACKAGE_HASERL_VERSION_0_8_X is not set
|
||||
BR2_PACKAGE_HASERL_VERSION_0_9_X=y
|
||||
BR2_PACKAGE_HASERL_VERSION="0.9.26"
|
||||
# BR2_PACKAGE_LUA is not set
|
||||
# BR2_PACKAGE_MICROPERL is not set
|
||||
# BR2_PACKAGE_PHP is not set
|
||||
# BR2_PACKAGE_PYTHON is not set
|
||||
# BR2_PACKAGE_RUBY is not set
|
||||
# BR2_PACKAGE_TCL is not set
|
||||
|
||||
#
|
||||
# Libraries
|
||||
#
|
||||
|
||||
#
|
||||
# Compression and decompression
|
||||
#
|
||||
# BR2_PACKAGE_LIBARCHIVE is not set
|
||||
BR2_PACKAGE_LZO=y
|
||||
BR2_PACKAGE_ZLIB=y
|
||||
|
||||
#
|
||||
# Crypto
|
||||
#
|
||||
# BR2_PACKAGE_BEECRYPT is not set
|
||||
# BR2_PACKAGE_LIBGCRYPT is not set
|
||||
# BR2_PACKAGE_LIBGPG_ERROR is not set
|
||||
# BR2_PACKAGE_OPENSSL is not set
|
||||
|
||||
#
|
||||
# Database
|
||||
#
|
||||
# BR2_PACKAGE_BERKELEYDB is not set
|
||||
# BR2_PACKAGE_MYSQL_CLIENT is not set
|
||||
# BR2_PACKAGE_SQLITE is not set
|
||||
|
||||
#
|
||||
# Filesystem
|
||||
#
|
||||
# BR2_PACKAGE_GAMIN is not set
|
||||
# BR2_PACKAGE_LIBCONFIG is not set
|
||||
# BR2_PACKAGE_LIBCONFUSE is not set
|
||||
# BR2_PACKAGE_LIBFUSE is not set
|
||||
# BR2_PACKAGE_LIBLOCKFILE is not set
|
||||
# BR2_PACKAGE_LIBSYSFS is not set
|
||||
|
||||
#
|
||||
# Graphics
|
||||
#
|
||||
# BR2_PACKAGE_ATK is not set
|
||||
# BR2_PACKAGE_CAIRO is not set
|
||||
# BR2_PACKAGE_FONTCONFIG is not set
|
||||
# BR2_PACKAGE_FREETYPE is not set
|
||||
# BR2_PACKAGE_JPEG is not set
|
||||
# BR2_PACKAGE_LIBART is not set
|
||||
# BR2_PACKAGE_LIBPNG is not set
|
||||
# BR2_PACKAGE_LIBUNGIF is not set
|
||||
# BR2_PACKAGE_PANGO is not set
|
||||
# BR2_PACKAGE_PIXMAN is not set
|
||||
# BR2_PACKAGE_TIFF is not set
|
||||
# BR2_PACKAGE_WEBKIT is not set
|
||||
|
||||
#
|
||||
# Hardware handling
|
||||
#
|
||||
# BR2_PACKAGE_LIBAIO is not set
|
||||
# BR2_PACKAGE_LIBRAW1394 is not set
|
||||
# BR2_PACKAGE_TSLIB is not set
|
||||
# BR2_PACKAGE_LIBUSB is not set
|
||||
|
||||
#
|
||||
# Java
|
||||
#
|
||||
# BR2_PACKAGE_CLASSPATH is not set
|
||||
|
||||
#
|
||||
# Networking
|
||||
#
|
||||
# BR2_PACKAGE_LIBCGI is not set
|
||||
# BR2_PACKAGE_LIBCGICC is not set
|
||||
# BR2_PACKAGE_LIBCURL is not set
|
||||
# BR2_PACKAGE_LIBDNET is not set
|
||||
# BR2_PACKAGE_LIBEXOSIP2 is not set
|
||||
# BR2_PACKAGE_LIBIDN is not set
|
||||
# BR2_PACKAGE_LIBMICROHTTPD is not set
|
||||
# BR2_PACKAGE_NEON is not set
|
||||
# BR2_PACKAGE_LIBNL is not set
|
||||
# BR2_PACKAGE_LIBPCAP is not set
|
||||
# BR2_PACKAGE_LIBOSIP2 is not set
|
||||
# BR2_PACKAGE_LIBRSYNC is not set
|
||||
# BR2_PACKAGE_LIBSOUP is not set
|
||||
# BR2_PACKAGE_LIBUPNP is not set
|
||||
|
||||
#
|
||||
# Other
|
||||
#
|
||||
# BR2_PACKAGE_LIBATOMIC_OPS is not set
|
||||
# BR2_PACKAGE_LIBCAP is not set
|
||||
BR2_PACKAGE_LIBDAEMON=y
|
||||
# BR2_PACKAGE_LIBELF is not set
|
||||
# BR2_PACKAGE_LIBEVENT is not set
|
||||
# BR2_PACKAGE_LIBGLIB12 is not set
|
||||
BR2_PACKAGE_LIBGLIB2=y
|
||||
# BR2_PACKAGE_LIBOIL is not set
|
||||
# BR2_PACKAGE_STARTUP_NOTIFICATION is not set
|
||||
|
||||
#
|
||||
# Text and terminal handling
|
||||
#
|
||||
# BR2_PACKAGE_ENCHANT is not set
|
||||
# BR2_PACKAGE_ICU is not set
|
||||
BR2_PACKAGE_LIBICONV=y
|
||||
# BR2_PACKAGE_NCURSES is not set
|
||||
# BR2_PACKAGE_NEWT is not set
|
||||
# BR2_PACKAGE_PCRE is not set
|
||||
# BR2_PACKAGE_POPT is not set
|
||||
# BR2_PACKAGE_READLINE is not set
|
||||
# BR2_PACKAGE_SLANG is not set
|
||||
|
||||
#
|
||||
# XML
|
||||
#
|
||||
# BR2_PACKAGE_EXPAT is not set
|
||||
# BR2_PACKAGE_EZXML is not set
|
||||
# BR2_PACKAGE_LIBXML_PARSER_PERL is not set
|
||||
# BR2_PACKAGE_LIBXML2 is not set
|
||||
# BR2_PACKAGE_LIBXSLT is not set
|
||||
# BR2_PACKAGE_XERCES is not set
|
||||
|
||||
#
|
||||
# Miscellaneous
|
||||
#
|
||||
# BR2_PACKAGE_SHARED_MIME_INFO is not set
|
||||
|
||||
#
|
||||
# Networking applications
|
||||
#
|
||||
# BR2_PACKAGE_ARGUS is not set
|
||||
BR2_PACKAGE_AVAHI=y
|
||||
BR2_PACKAGE_AVAHI_AUTOIPD=y
|
||||
# BR2_PACKAGE_AVAHI_DAEMON is not set
|
||||
# BR2_PACKAGE_AXEL is not set
|
||||
# BR2_PACKAGE_BIND is not set
|
||||
# BR2_PACKAGE_BMON is not set
|
||||
BR2_PACKAGE_BRIDGE=y
|
||||
# BR2_PACKAGE_CTORRENT is not set
|
||||
# BR2_PACKAGE_CUPS is not set
|
||||
BR2_PACKAGE_DNSMASQ=y
|
||||
BR2_PACKAGE_DNSMASQ_TFTP=y
|
||||
BR2_PACKAGE_DNSMASQ_DHCP=y
|
||||
# BR2_PACKAGE_DNSMASQ_IDN is not set
|
||||
BR2_PACKAGE_DROPBEAR=y
|
||||
# BR2_PACKAGE_ETHTOOL is not set
|
||||
# BR2_PACKAGE_HOSTAPD is not set
|
||||
# BR2_PACKAGE_IFPLUGD is not set
|
||||
# BR2_PACKAGE_IPERF is not set
|
||||
# BR2_PACKAGE_IPROUTE2 is not set
|
||||
# BR2_PACKAGE_IPSEC_TOOLS is not set
|
||||
BR2_PACKAGE_IPTABLES=y
|
||||
# BR2_PACKAGE_IW is not set
|
||||
# BR2_PACKAGE_KISMET is not set
|
||||
# BR2_PACKAGE_L2TP is not set
|
||||
# BR2_PACKAGE_LINKS is not set
|
||||
BR2_PACKAGE_LRZSZ=y
|
||||
# BR2_PACKAGE_MIIDIAG is not set
|
||||
# BR2_PACKAGE_MROUTED is not set
|
||||
# BR2_PACKAGE_MUTT is not set
|
||||
BR2_PACKAGE_NBD=y
|
||||
BR2_NBD_CLIENT=y
|
||||
# BR2_NBD_SERVER is not set
|
||||
BR2_PACKAGE_NCFTP=y
|
||||
|
||||
#
|
||||
# ncFTP tools selection
|
||||
#
|
||||
# BR2_PACKAGE_NCFTP_GET is not set
|
||||
# BR2_PACKAGE_NCFTP_PUT is not set
|
||||
# BR2_PACKAGE_NCFTP_LS is not set
|
||||
# BR2_PACKAGE_NCFTP_BATCH is not set
|
||||
# BR2_PACKAGE_NCFTP_BOOKMARKS is not set
|
||||
# BR2_PACKAGE_NETPLUG is not set
|
||||
# BR2_PACKAGE_NETSNMP is not set
|
||||
# BR2_PACKAGE_NETSTAT_NAT is not set
|
||||
# BR2_PACKAGE_NFS_UTILS is not set
|
||||
BR2_PACKAGE_NTP=y
|
||||
# BR2_PACKAGE_NTP_SNTP is not set
|
||||
# BR2_PACKAGE_OLSR is not set
|
||||
# BR2_PACKAGE_OPENNTPD is not set
|
||||
# BR2_PACKAGE_OPENSSH is not set
|
||||
# BR2_PACKAGE_OPENVPN is not set
|
||||
BR2_PACKAGE_PORTMAP=y
|
||||
# BR2_PACKAGE_PPPD is not set
|
||||
# BR2_PACKAGE_RADVD is not set
|
||||
# BR2_PACKAGE_RP_PPPOE is not set
|
||||
# BR2_PACKAGE_PPTP_LINUX is not set
|
||||
BR2_PACKAGE_PROFTPD=y
|
||||
# BR2_PACKAGE_QUAGGA is not set
|
||||
# BR2_PACKAGE_RSYNC is not set
|
||||
# BR2_PACKAGE_SAMBA is not set
|
||||
# BR2_PACKAGE_SER2NET is not set
|
||||
# BR2_PACKAGE_SOCAT is not set
|
||||
# BR2_PACKAGE_SPAWN_FCGI is not set
|
||||
# BR2_PACKAGE_SQUID is not set
|
||||
# BR2_PACKAGE_STUNNEL is not set
|
||||
# BR2_PACKAGE_TCPDUMP is not set
|
||||
# BR2_PACKAGE_DHCPDUMP is not set
|
||||
# BR2_PACKAGE_TCPREPLAY is not set
|
||||
# BR2_PACKAGE_TN5250 is not set
|
||||
# BR2_PACKAGE_TTCP is not set
|
||||
# BR2_PACKAGE_UDPCAST is not set
|
||||
# BR2_PACKAGE_VPNC is not set
|
||||
# BR2_PACKAGE_VSFTPD is not set
|
||||
# BR2_PACKAGE_VTUN is not set
|
||||
# BR2_PACKAGE_WEBIF is not set
|
||||
BR2_PACKAGE_WIRELESS_TOOLS=y
|
||||
# BR2_PACKAGE_WPA_SUPPLICANT is not set
|
||||
|
||||
#
|
||||
# Package managers
|
||||
#
|
||||
# BR2_PACKAGE_IPKG is not set
|
||||
# BR2_PACKAGE_PORTAGE is not set
|
||||
|
||||
#
|
||||
# Shell and utilities
|
||||
#
|
||||
# BR2_PACKAGE_AT is not set
|
||||
# BR2_PACKAGE_DIALOG is not set
|
||||
# BR2_PACKAGE_FILE is not set
|
||||
# BR2_PACKAGE_LOCKFILE_PROGS is not set
|
||||
# BR2_PACKAGE_LOGROTATE is not set
|
||||
# BR2_PACKAGE_SCREEN is not set
|
||||
# BR2_PACKAGE_SUDO is not set
|
||||
# BR2_PACKAGE_WHICH is not set
|
||||
|
||||
#
|
||||
# System tools
|
||||
#
|
||||
|
||||
#
|
||||
# Text editors and viewers
|
||||
#
|
||||
# BR2_PACKAGE_ED is not set
|
||||
# BR2_PACKAGE_NANO is not set
|
||||
# BR2_PACKAGE_UEMACS is not set
|
||||
|
||||
#
|
||||
# Target filesystem options
|
||||
#
|
||||
BR2_ROOTFS_POST_BUILD_SCRIPT=""
|
||||
BR2_ROOTFS_DEVICE_TABLE="target/device/Atmel/atngw100/device_table.txt"
|
||||
# BR2_TARGET_ROOTFS_CRAMFS is not set
|
||||
# BR2_TARGET_ROOTFS_CLOOP is not set
|
||||
# BR2_TARGET_ROOTFS_EXT2 is not set
|
||||
BR2_TARGET_ROOTFS_JFFS2=y
|
||||
# BR2_TARGET_ROOTFS_JFFS2_DATAFLASH_1056 is not set
|
||||
# BR2_TARGET_ROOTFS_JFFS2_DATAFLASH_528 is not set
|
||||
# BR2_TARGET_ROOTFS_JFFS2_NANDFLASH_512_16K is not set
|
||||
# BR2_TARGET_ROOTFS_JFFS2_NANDFLASH_2K_128K is not set
|
||||
BR2_TARGET_ROOTFS_JFFS2_FLASH_128=y
|
||||
# BR2_TARGET_ROOTFS_JFFS2_FLASH_64 is not set
|
||||
# BR2_TARGET_ROOTFS_JFFS2_CUSTOM is not set
|
||||
BR2_TARGET_ROOTFS_JFFS2_PAGESIZE=0x1000
|
||||
BR2_TARGET_ROOTFS_JFFS2_EBSIZE=0x20000
|
||||
BR2_TARGET_ROOTFS_JFFS2_NOCLEANMARKER=y
|
||||
# BR2_JFFS2_TARGET_SREC is not set
|
||||
# BR2_TARGET_ROOTFS_JFFS2_PAD is not set
|
||||
# BR2_TARGET_ROOTFS_JFFS2_LE is not set
|
||||
BR2_TARGET_ROOTFS_JFFS2_BE=y
|
||||
# BR2_TARGET_ROOTFS_JFFS2_SUMMARY is not set
|
||||
# BR2_TARGET_ROOTFS_UBIFS is not set
|
||||
# BR2_TARGET_ROOTFS_SQUASHFS is not set
|
||||
BR2_TARGET_ROOTFS_TAR=y
|
||||
BR2_TARGET_ROOTFS_TAR_NONE=y
|
||||
# BR2_TARGET_ROOTFS_TAR_GZIP is not set
|
||||
# BR2_TARGET_ROOTFS_TAR_BZIP2 is not set
|
||||
# BR2_TARGET_ROOTFS_TAR_LZMA is not set
|
||||
BR2_TARGET_ROOTFS_TAR_OPTIONS=""
|
||||
# BR2_TARGET_ROOTFS_CPIO is not set
|
||||
# BR2_TARGET_ROOTFS_INITRAMFS is not set
|
||||
# BR2_TARGET_ROOTFS_ROMFS is not set
|
||||
|
||||
#
|
||||
# Bootloaders
|
||||
#
|
||||
BR2_TARGET_UBOOT=y
|
||||
BR2_TARGET_UBOOT_BOARDNAME="atngw100"
|
||||
# BR2_TARGET_UBOOT_2010_03 is not set
|
||||
# BR2_TARGET_UBOOT_2009_11 is not set
|
||||
BR2_TARGET_UBOOT_2009_08=y
|
||||
BR2_UBOOT_VERSION="2009.08"
|
||||
BR2_TARGET_UBOOT_CUSTOM_PATCH_DIR=""
|
||||
# BR2_TARGET_UBOOT_TOOL_MKIMAGE is not set
|
||||
# BR2_TARGET_UBOOT_TOOL_ENV is not set
|
||||
BR2_TARGET_UBOOT_NETWORK=y
|
||||
BR2_TARGET_UBOOT_SERVERIP="10.175.196.221"
|
||||
BR2_TARGET_UBOOT_IPADDR="10.175.196.18"
|
||||
BR2_TARGET_UBOOT_GATEWAY="10.175.196.1"
|
||||
BR2_TARGET_UBOOT_NETMASK="255.255.255.0"
|
||||
BR2_TARGET_UBOOT_ETHADDR="04:25:fe:ed:00:18"
|
||||
BR2_TARGET_UBOOT_ETH1ADDR=""
|
||||
|
||||
#
|
||||
# Kernel
|
||||
#
|
||||
# BR2_KERNEL_none is not set
|
||||
BR2_KERNEL_LINUX_ADVANCED=y
|
||||
# BR2_KERNEL_LINUX is not set
|
||||
BR2_PACKAGE_LINUX=y
|
||||
BR2_PACKAGE_LINUX_KCONFIG="$(BR2_BOARD_PATH)/$(BR2_BOARD_NAME)-linux-2.6.29.2.config"
|
||||
BR2_PACKAGE_LINUX_FORMAT="uImage"
|
||||
BR2_KERNEL_CURRENT_VERSION="2.6.33.2"
|
||||
BR2_KERNEL_LATEST_2_6_33="2"
|
||||
BR2_KERNEL_LATEST_2_6_32="11"
|
||||
BR2_KERNEL_LATEST_2_6_31="13"
|
||||
BR2_KERNEL_LATEST_2_6_30="10"
|
||||
BR2_KERNEL_LATEST_2_6_29="6"
|
||||
BR2_KERNEL_LATEST_2_6_28="10"
|
||||
BR2_KERNEL_LATEST_2_6_27="46"
|
||||
BR2_KERNEL_PATCH_LEVEL="6"
|
||||
BR2_KERNEL_NEXT_VERSION="2.6.30"
|
||||
BR2_KERNEL_THIS_VERSION="2.6.29"
|
||||
BR2_KERNEL_SITE="http://ftp.kernel.org/pub/linux/kernel/v2.6"
|
||||
BR2_KERNEL_PATCH_SITE="$(BR2_KERNEL_SITE)"
|
||||
# BR2_LINUX_2_6_STABLE is not set
|
||||
# BR2_LINUX_2_6_33 is not set
|
||||
# BR2_LINUX_2_6_32 is not set
|
||||
# BR2_LINUX_2_6_31 is not set
|
||||
# BR2_LINUX_2_6_30 is not set
|
||||
BR2_LINUX_2_6_29=y
|
||||
# BR2_LINUX_2_6_28 is not set
|
||||
# BR2_LINUX_2_6_27 is not set
|
||||
# BR2_LINUX26_CUSTOM is not set
|
||||
|
||||
#
|
||||
# Patches
|
||||
#
|
||||
BR2_KERNEL_ADD_KERNEL_ORG_PATCH=y
|
||||
BR2_KERNEL_ADD_LATEST=y
|
||||
BR2_KERNEL_ADD_LATEST_MINORPATCH=y
|
||||
# BR2_KERNEL_ADD_MINORPATCH is not set
|
||||
# BR2_KERNEL_ADD_LATEST_RC_PATCH is not set
|
||||
# BR2_KERNEL_ADD_RC_PATCH is not set
|
||||
# BR2_KERNEL_ADD_LATEST_SNAPSHOT is not set
|
||||
# BR2_KERNEL_ADD_SNAPSHOT is not set
|
||||
BR2_KERNEL_ADD_PATCH=y
|
||||
# BR2_KERNEL_ARCH_PATCH_ENABLED is not set
|
||||
BR2_LINUX_BSP_PATCH=""
|
||||
BR2_KERNEL_PATCH="patch-$(BR2_DOWNLOAD_LINUX26_VERSION).$(BR2_KERNEL_PATCH_LEVEL).bz2"
|
||||
BR2_EXTRA_VERSION=".$(BR2_KERNEL_PATCH_LEVEL)"
|
||||
BR2_KERNEL_BASE=y
|
||||
BR2_DOWNLOAD_LINUX26_VERSION="$(BR2_KERNEL_THIS_VERSION)"
|
||||
BR2_LINUX26_VERSION="$(BR2_KERNEL_THIS_VERSION).$(BR2_KERNEL_PATCH_LEVEL)"
|
||||
|
||||
#
|
||||
# Linux Kernel Configuration
|
||||
#
|
||||
BR2_PACKAGE_LINUX_USE_KCONFIG=y
|
||||
# BR2_PACKAGE_LINUX_USE_DEFCONFIG is not set
|
||||
# BR2_PACKAGE_LINUX_USE_XCONFIG is not set
|
||||
# BR2_LINUX_BIN_BZIMAGE is not set
|
||||
BR2_LINUX_BIN_UIMAGE=y
|
||||
# BR2_LINUX_BIN_VMLINUX is not set
|
||||
# BR2_LINUX_BIN_ZIMAGE is not set
|
||||
# BR2_LINUX_BIN_CUSTOM is not set
|
||||
|
||||
#
|
||||
# Destinations for linux kernel binaries
|
||||
#
|
||||
BR2_LINUX_COPYTO_ROOTFS=y
|
||||
# BR2_LINUX_COPYTO_TFTPBOOT is not set
|
||||
BR2_LINUX_COPYTO=""
|
||||
# BR2_LINUX_COPY_CONFIGURATION is not set
|
||||
@@ -35,7 +35,7 @@ make command line, E.G.:
|
||||
|
||||
$ make O=/tmp/build
|
||||
|
||||
And all the output files (including .config) will be located under /tmp/build.
|
||||
And all the output files will be located under /tmp/build.
|
||||
|
||||
More finegrained configuration:
|
||||
===============================
|
||||
|
||||
@@ -16,10 +16,11 @@
|
||||
<h1>U-boot extensions in 2009.01-rc1</h1>
|
||||
</div>
|
||||
|
||||
<p><a href="http://buildroot.net/">U-Boot</a>
|
||||
<p><a href="http://buildroot.uclibc.org/">U-Boot</a>
|
||||
usage and documentation by Ulf Samuelsson.
|
||||
</p>
|
||||
|
||||
<p><small>$LastChangedDate: 2008-12-16 10:00:11 +0100 (tis, 16 dec 2008) $</small></p>
|
||||
<ul>
|
||||
<li><a href="#about">About U-Boot</a></li>
|
||||
<li><a href="#at91rm9200dk">Board Support for AT91RM9200DK</a></li>
|
||||
|
||||
@@ -3,62 +3,24 @@
|
||||
|
||||
<!-- Begin Introduction section -->
|
||||
|
||||
<h3>Buildroot: making Embedded Linux easy</h3>
|
||||
<h3>buildroot: making Embedded Linux easy</h3>
|
||||
|
||||
<div align="center">
|
||||
<a href="images/menuconfig.png">
|
||||
<img src="images/menuconfig_small.png" width="340" height="220"
|
||||
alt="Buildroot menuconfig" border="0">
|
||||
</a>
|
||||
</div>
|
||||
|
||||
<p>Buildroot is a set of Makefiles and patches that makes it easy to
|
||||
generate a complete embedded Linux system. Buildroot can generate any
|
||||
or all of a cross-compilation toolchain, a root filesystem, a kernel
|
||||
image and a bootloader image. Buildroot is useful mainly for people
|
||||
working with small or embedded systems, using various CPU
|
||||
architectures (x86, ARM, MIPS, PowerPC, etc.) : it automates the
|
||||
building process of your embedded system and eases the
|
||||
cross-compilation process.</p>
|
||||
Buildroot is a set of Makefiles and patches that makes it easy generate a
|
||||
cross-compilation toolchain and root filesystem for your target Linux
|
||||
system using the <a href= "http://www.uclibc.org/">uClibc C library</a>.
|
||||
Buildroot is useful mainly for people working with small or embedded
|
||||
systems. Embedded systems often use processors that are not the regular
|
||||
x86 processors everyone is used to using on their PC. It can be PowerPC
|
||||
processors, MIPS processors, ARM processors, etc. And to be extra safe,
|
||||
you do not need to be root to build or run buildroot.
|
||||
|
||||
<p>The major Buildroot features are:</p>
|
||||
<p>
|
||||
|
||||
<ul>
|
||||
|
||||
<li>Can <b>handle everything</b> in your embedded system development
|
||||
project: cross-compiling toolchain, root filesystem generation,
|
||||
kernel image compilation and bootloader compilation. Buildroot is
|
||||
also sufficiently flexible that it can also be used for only one or
|
||||
several of these steps.</li>
|
||||
|
||||
<li>Is <b>very easy</b> to set up, thanks to its menuconfig, gconfig
|
||||
and xconfig configuration interfaces, familiar to all embedded Linux
|
||||
developers. Building a basic embedded Linux system with Buildroot
|
||||
typically takes 15-30 minutes.</li>
|
||||
|
||||
<li>Supports <b>several hundreds of packages</b> for userspace
|
||||
applications and libraries: X.org stack, Gtk2, Qt, DirectFB, SDL,
|
||||
GStreamer and a large number of network-related and system-related
|
||||
utilities and libraries are supported.</li>
|
||||
|
||||
<li>Supports <b>multiple filesystem types</b> for the root
|
||||
filesystem image: JFFS2, UBIFS, tarballs, romfs, cramfs, squashfs
|
||||
and more.</li>
|
||||
|
||||
<li>Can generate an uClibc cross-compilation toolchain, or re-use
|
||||
your existing glibc, eglibc or uClibc cross-compilation
|
||||
toolchain</li>
|
||||
|
||||
<li>Has a <b>simple structure</b> that makes it easy to understand
|
||||
and extend. It relies only on the well-know Makefile language.</li>
|
||||
|
||||
</ul>
|
||||
|
||||
<p>Buildroot is maintained by <a href=
|
||||
"mailto:jacmet@uclibc.org">Peter Korsgaard</a>, and licensed under the
|
||||
<a href="http://www.gnu.org/licenses/old-licenses/gpl-2.0.html">GNU
|
||||
GENERAL PUBLIC LICENSE V2 (Or later)</a>. Stable releases are
|
||||
delivered every three months.</p>
|
||||
buildroot is maintained by <a href=
|
||||
"mailto:jacmet@uclibc.org">Peter Korsgaard</a>, and
|
||||
licensed under the
|
||||
<a href="http://www.gnu.org/copyleft/lgpl.html">GNU LIBRARY GENERAL PUBLIC LICENSE</a>.
|
||||
|
||||
|
||||
<!--#include file="footer.html" -->
|
||||
|
||||
1819
docs/buildroot.html
1819
docs/buildroot.html
File diff suppressed because it is too large
Load Diff
@@ -1,6 +1,6 @@
|
||||
|
||||
The code and graphics on this website (and it's mirror sites, if any) are
|
||||
Copyright (c) 1999-2005 by Erik Andersen, 2006-2010 The Buildroot
|
||||
Copyright (c) 1999-2005 by Erik Andersen, 2006-2009 The Buildroot
|
||||
developers. All rights reserved.
|
||||
|
||||
Documents on this Web site including their graphical elements, design, and
|
||||
@@ -25,6 +25,6 @@ HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
|
||||
|
||||
You have been warned.
|
||||
|
||||
You can contact the webmaster at <buildroot@uclibc.org> if you have some sort
|
||||
You can contact the webmaster at <andersen@codepoet.org> if you have some sort
|
||||
of problem with this.
|
||||
|
||||
|
||||
@@ -1,46 +1,64 @@
|
||||
<!--#include file="header.html" -->
|
||||
|
||||
|
||||
<h3>Developer Access</h3>
|
||||
<h3>Subversion Read/Write Access</h3>
|
||||
|
||||
Because we use Git for version control, you don't need developer (ssh)
|
||||
access on uclibc.org to contribute to Buildroot, but you can request
|
||||
it if needed.
|
||||
If you want to be able to commit things to Subversion, first contribute some
|
||||
stuff to show you are serious. Then, very nicely ask <a
|
||||
href="mailto:buildroot@uclibc.org">The Buildroot Developers</a> to set you up
|
||||
with commit access to the Subversion repository. To access Subversion, you
|
||||
will want to add the following to set up your environment:
|
||||
|
||||
<p>
|
||||
|
||||
To obtain developer access, you will need to demonstrate you are
|
||||
serious by submitting a few good patches first. Then, you will need
|
||||
to select a username to use when logging in, you will need to send me
|
||||
the username you have selected, you must send me your preferred
|
||||
contact email address, and finally, you must send me an ssh version 2
|
||||
DSA key with 1024 bits (the default) or more. If you do not currently
|
||||
have an ssh version 2 DSA key, you can generate a key using the
|
||||
command<pre>ssh-keygen -t dsa</pre> This will create the
|
||||
files <pre>/home/<USERNAME>/ssh/id_dsa
|
||||
/home/<USERNAME>/.ssh/id_dsa.pub</pre> It is recommended that
|
||||
you generate a key with a "passphrase" for security reasons.
|
||||
To obtain commit access, you will need to demonstrate you are serious by
|
||||
submitting a few good patches first. Then, you will need to select a username
|
||||
to use when committing changes to SVN, you will need to send me the username
|
||||
you have selected, you must send me your preferred contact email address, and
|
||||
finally, you must send me an ssh version 2 DSA key with 1024 bits (the default)
|
||||
or more. If you do not currently have an ssh version 2 DSA key, you can
|
||||
generate a key using the command<pre>ssh-keygen -t dsa</pre> This will
|
||||
create the files <pre>/home/<USERNAME>/ssh/id_dsa
|
||||
/home/<USERNAME>/.ssh/id_dsa.pub</pre>
|
||||
It is recommended that you generate a key with a "passphrase" for security reasons.
|
||||
|
||||
<p>
|
||||
Make the file known to the system by running
|
||||
|
||||
<pre>ssh-add ~/.ssh/id_dsa</pre>
|
||||
|
||||
You must then send the content of 'id_dsa.pub' to me so I can setup your account.
|
||||
You must then send the content of 'id_dsa.pub' to me so I can setup your account.
|
||||
The content of 'id_dsa' should of course be kept secret.
|
||||
|
||||
<p>
|
||||
|
||||
Once you have an account, you can use it to store Git
|
||||
repositories. Simply put them in subdirectories of your ~/git, and
|
||||
touch ~/git/<repo>/git-daemon-export-ok, after which the hourly
|
||||
cronjob will pick them up and show them in cgit. They are also
|
||||
available though git-daemon:
|
||||
Once you are setup with an account, you will need to use your account to
|
||||
checkout a copy of buildroot from Subversion:
|
||||
|
||||
<pre>git clone git://git.buildroot.net/~<USERNAME>/git/<REPO></pre>
|
||||
<pre>
|
||||
svn list svn+ssh://username@svn.uclibc.org/svn/trunk/buildroot</pre>
|
||||
<br>
|
||||
It goes without saying you must change <em>username</em> to your own
|
||||
username...
|
||||
<p>
|
||||
|
||||
You can then enter the newly checked out buildroot directory, make changes, check
|
||||
your changes, diff your changes, revert your changes, and and commit your
|
||||
changes usine commands such as:
|
||||
|
||||
<pre>
|
||||
svn diff
|
||||
svn status
|
||||
svn revert
|
||||
svn commit</pre>
|
||||
|
||||
<p>
|
||||
|
||||
For additional detail on how to use Subversion, please visit the
|
||||
<a href="http://subversion.tigris.org/">the Subversion website</a>.
|
||||
You might also want to read online or buy a copy of <a
|
||||
href="http://svnbook.red-bean.com/">the Subversion Book</a>...
|
||||
|
||||
For additional detail on how to use Git, please visit the
|
||||
<a href="http://git-scm.org/">the Git website</a>.
|
||||
|
||||
<!--#include file="footer.html" -->
|
||||
|
||||
|
||||
@@ -1,32 +1,29 @@
|
||||
<!--#include file="header.html" -->
|
||||
|
||||
|
||||
<h3>Documentation</h3>
|
||||
|
||||
<p>Our document "Buildroot 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>If you find that you need help with Buildroot, you can ask for
|
||||
help:</p>
|
||||
Current documentation for buildroot includes:
|
||||
|
||||
<ul>
|
||||
|
||||
<li>On the <a href="lists.html">buildroot mailing list</a>
|
||||
at <code>buildroot at uclibc.org</code></li>
|
||||
<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.
|
||||
</li>
|
||||
|
||||
<li>On the <a href="irc://freenode.net/#uclibc">Buildroot IRC
|
||||
channel</a>, <code>#uclibc</code> on Freenode</li>
|
||||
<li>
|
||||
<a href="README">README</a>. This is the README file included in the
|
||||
buildroot source release.
|
||||
</li>
|
||||
|
||||
<li>On our <a href="https://bugs.uclibc.org">bugtracker</a>.</li>
|
||||
|
||||
<li>Through the various companies offering commercial Buildroot
|
||||
support.</li>
|
||||
<li>
|
||||
If you find that you need help with buildroot, you can ask for help on the
|
||||
<a href= "lists/uClibc/">buildroot mailing list</a> at buildroot at mail.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>
|
||||
|
||||
</ul>
|
||||
|
||||
|
||||
@@ -6,40 +6,30 @@
|
||||
|
||||
<p>
|
||||
|
||||
The latest stable release is <b>2010.08</b>, which can be downloaded
|
||||
here:<p>
|
||||
|
||||
<a href="/downloads/buildroot-2010.08.tar.gz">buildroot-2010.08.tar.gz</a>
|
||||
or
|
||||
<a href="/downloads/buildroot-2010.08.tar.bz2">buildroot-2010.08.tar.bz2</a>.
|
||||
<p>
|
||||
<!--
|
||||
The latest release candidate is <b>2010.08-rc2</b>, which can be
|
||||
downloaded here:<p>
|
||||
|
||||
<a href="/downloads/buildroot-2010.08-rc2.tar.gz">buildroot-2010.08-rc2.tar.gz</a>
|
||||
or
|
||||
<a href="/downloads/buildroot-2010.08-rc2.tar.bz2">buildroot-2010.08-rc2.tar.bz2</a>.
|
||||
<p>
|
||||
-->
|
||||
This and earlier releases can always be downloaded from
|
||||
<a href="/downloads/">http://buildroot.net/downloads/</a>.
|
||||
The latest release can always be dowloaded from
|
||||
<a href="/downloads/">http://buildroot.uclibc.org/downloads/</a>.
|
||||
|
||||
<p>
|
||||
|
||||
You can also obtain <a href="/downloads/snapshots/">Daily
|
||||
Snapshots</a> of the latest Buildroot source tree if you want to to
|
||||
follow development, but cannot or do not wish to use Git.
|
||||
follow development, but cannot or do not wish to use Subversion (svn).
|
||||
|
||||
<ul>
|
||||
<li> Click here to <a href="downloads/snapshots/">Daily Snapshots</a>.
|
||||
</li>
|
||||
|
||||
<li> Click here to <a href="http://git.buildroot.net/buildroot">browse the source tree</a>.
|
||||
<li> Click here to <a href="http://sources.busybox.net/index.py/trunk/buildroot/">browse the source tree</a>.
|
||||
</li>
|
||||
|
||||
<li>Anonymous <a href="git.html">Git access</a> is available.
|
||||
<li>Anonymous <a href="subversion.html">Subversion access</a> is available.
|
||||
</li>
|
||||
|
||||
<li>For those that are actively contributing obtaining
|
||||
<a href="developer.html">Subversion read/write access</a> is also possible.
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
|
||||
<!--#include file="footer.html" -->
|
||||
|
||||
|
||||
@@ -9,8 +9,7 @@
|
||||
|
||||
<p>
|
||||
<font face="arial, helvetica, sans-serif" size="-1">
|
||||
<a HREF="/copyright.txt">Copyright © 1999-2005 Erik Andersen,
|
||||
2006-2010 The Buildroot developers</a>
|
||||
<a HREF="/copyright.txt">Copyright © 1999-2009 Erik Andersen</a>
|
||||
<br>
|
||||
Mail all comments, insults, suggestions and bribes to
|
||||
<br>
|
||||
|
||||
@@ -1,44 +0,0 @@
|
||||
<!--#include file="header.html" -->
|
||||
|
||||
|
||||
<h3>Git Access</h3>
|
||||
|
||||
The buildroot repository can be browsed online through cgit at
|
||||
<a href="http://git.buildroot.net/buildroot">http://git.buildroot.net/buildroot</a>.
|
||||
To grab a copy of the repository use
|
||||
|
||||
<pre>
|
||||
git clone git://git.buildroot.net/buildroot</pre>
|
||||
|
||||
Or if you're behind a firewall blocking git:
|
||||
|
||||
<pre>
|
||||
git clone http://git.buildroot.net/git/buildroot.git</pre>
|
||||
|
||||
<p>
|
||||
|
||||
Please use the native git protocol if at all possible, as it's a lot
|
||||
more efficient than HTTP.
|
||||
|
||||
<p>
|
||||
|
||||
If you are not already familiar with using Git, we recommend you visit <a
|
||||
href="http://git-scm.org">the Git website</a>.
|
||||
|
||||
<p>
|
||||
|
||||
Once you've checked out a copy of the source tree, you can update your source
|
||||
tree at any time so it is in sync with the latest and greatest by entering your
|
||||
buildroot directory and running the command:
|
||||
|
||||
<pre>
|
||||
git pull
|
||||
</pre>
|
||||
|
||||
Because you've only been granted anonymous access to the tree, you won't be
|
||||
able to commit any changes. Changes can be submitted for inclusion by posting
|
||||
them to the buildroot mailing list or to the <a
|
||||
href="https://bugs.uclibc.org/">Bug and Patch Tracking System</a>.
|
||||
|
||||
<!--#include file="footer.html" -->
|
||||
|
||||
@@ -27,16 +27,28 @@
|
||||
|
||||
|
||||
<tr>
|
||||
<td valign="TOP">
|
||||
<a href="/"><IMG SRC="images/logo_small.png" alt="Buildroot"
|
||||
border="0" width="200" height="100"></a><BR>
|
||||
<td>
|
||||
<div class="c3">
|
||||
<table border="0" cellspacing="1" cellpadding="2">
|
||||
<tr>
|
||||
<td class="c1">BUILDROOT</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<a href="/"><IMG SRC="images/busybox1.png" alt="Buildroot" border="0"></a><BR>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
|
||||
<td valign="TOP">
|
||||
<br><a href="/about.html">About</a>
|
||||
<br><a href="/news.html">Latest News</a>
|
||||
<br><a href="/download.html">Download</a>
|
||||
<br><a href="http://git.buildroot.net/buildroot">Browse Source</a>
|
||||
<br><a href="/git.html">Accessing Source</a>
|
||||
<br><a href="https://bugs.uclibc.org/">Bug Tracking</a>
|
||||
<br><a href="http://sources.busybox.net/index.py/trunk/buildroot/">Browse Source</a>
|
||||
<br><a href="/subversion.html">Accessing Source</a>
|
||||
<br><a href="http://bugs.uclibc.org/">Bug Tracking</a>
|
||||
<br><a href="/docs.html">Documentation</a>
|
||||
<br><a href="/lists.html">Mailing Lists</a>
|
||||
|
||||
|
||||
BIN
docs/images/busybox1.png
Normal file
BIN
docs/images/busybox1.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 11 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 126 KiB |
Binary file not shown.
Binary file not shown.
|
Before Width: | Height: | Size: 3.5 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 8.9 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 8.4 KiB |
@@ -1 +1 @@
|
||||
<!--#include file="about.html" -->
|
||||
<!--#include file="news.html" -->
|
||||
|
||||
@@ -8,9 +8,7 @@ development. You can subscribe by visiting
|
||||
<a href="http://lists.busybox.net/mailman/listinfo/buildroot">this page</a>.
|
||||
Only subscribers to the Buildroot mailing list are allowed to post
|
||||
to this list.
|
||||
<p>
|
||||
The list is also available through <a
|
||||
href="http://gmane.org">Gmane</a> at <a href="http://dir.gmane.org/gmane.comp.lib.uclibc.buildroot">gmane.comp.lib.uclibc.buildroot</a>.
|
||||
|
||||
<p>
|
||||
|
||||
<h3>Search the List Archives</h3>
|
||||
@@ -22,8 +20,8 @@ list with frequently asked questions...
|
||||
|
||||
<center>
|
||||
<form method="GET" action="http://www.google.com/custom">
|
||||
<input type="hidden" name="domains" value="lists.busybox.net">
|
||||
<input type="hidden" name="sitesearch" value="lists.busybox.net">
|
||||
<input type="hidden" name="domains" value="buildroot.uclibc.org">
|
||||
<input type="hidden" name="sitesearch" value="buildroot.uclibc.org">
|
||||
<input type="text" name="q" size="31" maxlength="255" value="">
|
||||
<br>
|
||||
<input type="submit" name="sa" value="search the mailing list archives">
|
||||
|
||||
337
docs/news.html
337
docs/news.html
@@ -1,337 +1,8 @@
|
||||
<!--#include file="header.html" -->
|
||||
|
||||
<h3>News</h3>
|
||||
|
||||
<p>
|
||||
|
||||
<ul>
|
||||
|
||||
<li><b>31 August 2010 -- 2010.08 released</b>
|
||||
|
||||
<p>The stable 2010.08 release is out - Thanks to everyone
|
||||
contributing and testing the release candidates. See the
|
||||
<a href="http://git.buildroot.net/buildroot/plain/CHANGES?id=2010.08">CHANGES</a>
|
||||
file for more details,
|
||||
and go to the <a href="/downloads/">downloads page</a> to pick up the
|
||||
<a href="/downloads/buildroot-2010.08.tar.bz2">2010.08 release</a>.</p>
|
||||
|
||||
<li><b>30 August 2010 -- 2010.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=2010.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-2010.08-rc2.tar.bz2">2010.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>
|
||||
|
||||
This is very much expected to be the final release
|
||||
candidate, so give it a good test and expect a final 2010.08
|
||||
release before September unless critical issues are found.</p>
|
||||
|
||||
<li><b>30 July 2010 -- 2010.08-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=2010.08_rc1">CHANGES</a>
|
||||
file for details.
|
||||
|
||||
<p>Head to the <a href="/downloads/">downloads page</a> to pick up the
|
||||
<a href="/downloads/buildroot-2010.08-rc1.tar.bz2">2010.08-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>30 May 2010 -- 2010.05 released</b>
|
||||
|
||||
<p>The stable 2010.05 release is out - Thanks to everyone
|
||||
contributing and testing the release candidates. See the
|
||||
<a href="http://git.buildroot.net/buildroot/plain/CHANGES?id=2010.05">CHANGES</a>
|
||||
file for more details, read the
|
||||
<a href="http://lists.busybox.net/pipermail/buildroot/2010-May/034878.html">announcement</a>
|
||||
and go to the <a href="/downloads/">downloads page</a> to pick up the
|
||||
<a href="/downloads/buildroot-2010.05.tar.bz2">2010.05 release</a>.</p>
|
||||
|
||||
<li><b>27 May 2010 -- 2010.05-rc3 released</b>
|
||||
|
||||
<p>RC3 is out with more cleanups and bugfixes, see the <a
|
||||
href="http://git.buildroot.net/buildroot/plain/CHANGES?id=2010.05_rc3">CHANGES</a>
|
||||
file for details.
|
||||
|
||||
<p>Head to the <a href="/downloads/">downloads page</a> to pick up the
|
||||
<a href="/downloads/buildroot-2010.05-rc3.tar.bz2">2010.05-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>11 May 2010 -- 2010.05-rc2 released</b>
|
||||
|
||||
<p>Another week, another release candidate with a bunch of
|
||||
cleanups and build fixes.</p>
|
||||
|
||||
<p>Head to the <a href="/downloads/">downloads page</a> to pick up the
|
||||
<a href="/downloads/buildroot-2010.05-rc2.tar.bz2">2010.05-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>3 May 2010 -- 2010.05-rc1 released</b>
|
||||
|
||||
<p>We have a new release candidate! Lots of changes all over the
|
||||
tree, see the <a
|
||||
href="http://git.buildroot.net/buildroot/plain/CHANGES?id=2010.05_rc1">CHANGES</a>
|
||||
file for details.
|
||||
|
||||
<p>Head to the <a href="/downloads/">downloads page</a> to pick up the
|
||||
<a href="/downloads/buildroot-2010.05-rc1.tar.bz2">2010.05-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>2 May 2010 - FOSDEM slides online</b>
|
||||
|
||||
<p>The slides from the <a
|
||||
href="http://fosdem.org/2010/schedule/events/emb_cross_build">Cross
|
||||
Build Systems: Present & Future</a> session at <a
|
||||
href="http://fosdem.org/2010">FOSDEM</a> are now <a
|
||||
href="http://send-patches.org/news/20100211-1-FOSDEM-Crossdev-Workshop.pdf">online</a>.
|
||||
|
||||
<li><b>26 February 2010 -- 2010.02 released</b>
|
||||
|
||||
<p>The stable 2010.02 release is out - Thanks to everyone
|
||||
contributing and testing the release candidates. See the
|
||||
<a href="http://git.buildroot.net/buildroot/plain/CHANGES?id=2010.02">CHANGES</a>
|
||||
file for more details, and go to the <a href="/downloads/">downloads page</a>
|
||||
to pick up the <a href="/downloads/buildroot-2010.02.tar.bz2">2010.02
|
||||
release</a>.</p>
|
||||
|
||||
<li><b>23 February 2010 -- 2010.02-rc2 released</b>
|
||||
|
||||
<p>RC2 is out with more cleanups and bugfixes, see the <a
|
||||
href="http://git.buildroot.net/buildroot/plain/CHANGES?id=2010.02_rc2">CHANGES</a>
|
||||
file for details.
|
||||
|
||||
<p>Head to the <a href="/downloads/">downloads page</a> to pick up the
|
||||
<a href="/downloads/buildroot-2010.02-rc2.tar.bz2">2010.02-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>9 February 2010 -- 2010.02-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=2010.02_rc1">CHANGES</a>
|
||||
file for details.
|
||||
|
||||
<p>Head to the <a href="/downloads/">downloads page</a> to pick up the
|
||||
<a href="/downloads/buildroot-2010.02-rc1.tar.bz2">2010.02-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>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://lists.busybox.net/pipermail/buildroot/2009-December/030672.html">announcement</a>
|
||||
or <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
|
||||
tree, see the <a
|
||||
href="http://git.buildroot.net/buildroot/plain/CHANGES?id=2009.08_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.08-rc1.tar.bz2">2009.08-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>1 June 2009 -- 2009.05 released</b>
|
||||
|
||||
<p>The stable 2009.05 release is out - Thanks to everyone
|
||||
contributing and testing the release candidates. See the
|
||||
<a href="http://lists.busybox.net/pipermail/buildroot/2009-June/027640.html">announcement</a>
|
||||
or <a href="http://git.buildroot.net/buildroot/plain/CHANGES?id=2009.05">CHANGES</a>
|
||||
for more details, and go to the <a href="/downloads/">downloads page</a>
|
||||
to pick up the <a href="/downloads/buildroot-2009.05.tar.bz2">2009.05
|
||||
release</a>.</p>
|
||||
|
||||
<li><b>27 May 2009 -- 2009.05-rc3 released</b>
|
||||
|
||||
<p>We had a number of fixes post-RC2, so RC3 is out (see <a
|
||||
href="http://git.buildroot.net/buildroot/plain/CHANGES?id=2009.05_rc3">CHANGES</a>
|
||||
for details). Now is the moment to test and verify that everything
|
||||
is working for your favorite config - Expect a final 2009.05 very soon.</p>
|
||||
|
||||
<p>Head to the <a href="/downloads/">downloads page</a> to pick up the
|
||||
<a href="/downloads/buildroot-2009.05-rc3.tar.bz2">2009.05-rc3
|
||||
release candidate</a>, and report any problems found to the <a
|
||||
href="lists.html">mailing list</a> or <a
|
||||
href="https://bugs.uclibc.org">bug tracker</a>.</p>
|
||||
|
||||
<li><b>19 May 2009 -- 2009.05-rc2 released</b>
|
||||
|
||||
<p>RC2 is out with more cleanups and bug fixes (see <a
|
||||
href="http://git.buildroot.net/buildroot/plain/CHANGES?id=2009.05_rc2">CHANGES</a>).
|
||||
Unless big issues are found, expect this to be the last release
|
||||
candidate before the release - So give it a good test.</p>
|
||||
|
||||
<p>Head to the <a href="/downloads/">downloads page</a> to pick up the
|
||||
<a href="/downloads/buildroot-2009.05-rc2.tar.bz2">2009.05-rc2
|
||||
release candidate</a>, and report any problems found to the <a
|
||||
href="lists.html">mailing list</a> or <a
|
||||
href="https://bugs.uclibc.org">bug tracker</a>.</p>
|
||||
|
||||
<li><b>14 May 2009 -- Buildroot.org</b>
|
||||
|
||||
<p>Earl Levine has been so kind to donate the <b>buildroot.org</b>
|
||||
domain to us, so the website can now also be reached at <a
|
||||
href="http://www.buildroot.org">www.buildroot.org</a> (and git at
|
||||
<a href="http://git.buildroot.org/buildroot">git.buildroot.org</a>).
|
||||
|
||||
Thanks a lot Earl!</p>
|
||||
|
||||
<li><b>5 May 2009 -- 2009.05-rc1 released</b>
|
||||
|
||||
<p>We have a new release candidate! Lots of changes all over the
|
||||
tree, see the <a
|
||||
href="http://git.buildroot.net/buildroot/plain/CHANGES?id=2009.05_rc1">CHANGES</a>
|
||||
file for details.
|
||||
|
||||
<p>Head to the <a href="/downloads/">downloads page</a> to pick up the
|
||||
<a href="/downloads/buildroot-2009.05-rc1.tar.bz2">2009.05-rc1
|
||||
release candidate</a>, and report any problems found to the <a
|
||||
href="lists.html">mailing list</a> or <a
|
||||
href="https://bugs.uclibc.org">bug tracker</a>.</p>
|
||||
|
||||
<li><b>3 May 2009 -- Moved to git</b>
|
||||
|
||||
<p>We've moved the source code from <a
|
||||
href="http://subversion.tigris.org">Subversion</a> to <a
|
||||
href="http://git-scm.org">Git</a>. You can browse the repo online
|
||||
<a href="http://git.buildroot.net/buildroot">here</a>, and clone
|
||||
the repo using:
|
||||
<pre>git clone git://git.buildroot.net/buildroot</pre>
|
||||
See the <a href="/git.html">Git Access</a> page for more details.
|
||||
</p>
|
||||
|
||||
<li><b>27 March 2009 -- new Logo</b>
|
||||
|
||||
<p>We have a <a href="images/logo.png">logo</a>! We have so far
|
||||
been using the <a href="http://busybox.net">Busybox</a> logo on
|
||||
the website, as the website was a copy of the <a
|
||||
href="http://busybox.net">Busybox</a> one - But not anymore, we
|
||||
now have a shiny new logo of our own.</p>
|
||||
|
||||
<li><b>12 February 2009 -- 2009.02 released</b>
|
||||
<p>The stable 2009.02 release is out - Thanks to everyone
|
||||
contributing and testing the release candidates. See the
|
||||
<a href="http://lists.busybox.net/pipermail/buildroot/2009-February/025974.html">announcement</a>
|
||||
for more details, and go to the <a href="/downloads/">downloads page</a>
|
||||
to pick up the <a href="/downloads/buildroot-2009.02.tar.bz2">2009.02
|
||||
release</a>.</p>
|
||||
|
||||
<li><b>9 February 2009 -- 2009.02-rc4 released</b>
|
||||
<p>We had more than 50 changes since RC3, several of them
|
||||
toolchain related, so decided to make a RC4 as well. This is
|
||||
very much expected to be the final release candidate, so give it
|
||||
a good test and expect a final 2009.02 release this week unless
|
||||
critical issues are found.</p>
|
||||
|
||||
<p>Head to the <a href="/downloads/">downloads page</a> to pick up the
|
||||
<a href="/downloads/buildroot-2009.02-rc4.tar.bz2">2009.02-rc4
|
||||
release candidate</a>, and report any problems found to the <a
|
||||
href="lists.html">mailing list</a> or <a
|
||||
href="https://bugs.uclibc.org">bug tracker</a>.</p>
|
||||
|
||||
<li><b>31 January 2009 -- 2009.02-rc3 released</b>
|
||||
<p>RC3 is out with more cleanups and bug fixes. Unless big issues
|
||||
are found, expect this to be the last release candidate before the
|
||||
@@ -341,7 +12,7 @@
|
||||
<a href="/downloads/buildroot-2009.02-rc3.tar.bz2">2009.02-rc3
|
||||
release candidate</a>, and report any problems found to the <a
|
||||
href="lists.html">mailing list</a> or <a
|
||||
href="https://bugs.uclibc.org">bug tracker</a>.</p>
|
||||
href="http://bugs.uclibc.org">bug tracker</a>.</p>
|
||||
|
||||
<li><b>23 January 2009 -- 2009.02-rc2 released</b>
|
||||
<p>Another week, another release candidate with a bunch of
|
||||
@@ -351,7 +22,7 @@
|
||||
<a href="/downloads/buildroot-2009.02-rc2.tar.bz2">2009.02-rc2
|
||||
release candidate</a>, and report any problems found to the <a
|
||||
href="lists.html">mailing list</a> or <a
|
||||
href="https://bugs.uclibc.org">bug tracker</a>.</p>
|
||||
href="http://bugs.uclibc.org">bug tracker</a>.</p>
|
||||
|
||||
<li><b>16 January 2009 -- Release candidate and new maintainer</b>
|
||||
<p>It has been a long time coming, but we finally have a new
|
||||
@@ -361,7 +32,7 @@
|
||||
<a href="/downloads/buildroot-2009.02-rc1.tar.bz2">2009.02-rc1
|
||||
release candidate</a>, and report any problems found to the <a
|
||||
href="lists.html">mailing list</a> or <a
|
||||
href="https://bugs.uclibc.org">bug tracker</a>. The plan is to
|
||||
href="http://bugs.uclibc.org">bug tracker</a>. The plan is to
|
||||
release 2009.02 in time for <a
|
||||
href="http://www.fosdem.org/2009/">FOSDEM</a>.</p>
|
||||
|
||||
@@ -389,7 +60,7 @@
|
||||
|
||||
If you find a bug in buildroot, or wish to submit a patch to fix a problem
|
||||
or add a shiny new feature, please use the <a
|
||||
href="https://bugs.uclibc.org/">Bug and Patch Tracking System</a> to post
|
||||
href="http://bugs.uclibc.org/">Bug and Patch Tracking System</a> to post
|
||||
the details, to make certain your work is not lost.
|
||||
|
||||
|
||||
|
||||
@@ -49,16 +49,6 @@ h3 {
|
||||
margin-left: 10px;
|
||||
margin-right: 10px;
|
||||
color: #336699;
|
||||
border-bottom: 2px solid #336699;
|
||||
}
|
||||
|
||||
h4 {
|
||||
font: italic normal 14pt georgia;
|
||||
letter-spacing: 1px;
|
||||
margin-bottom: 0px;
|
||||
margin-left: 10px;
|
||||
margin-right: 10px;
|
||||
border-bottom: 1px dashed black;
|
||||
}
|
||||
|
||||
p {
|
||||
|
||||
40
docs/subversion.html
Normal file
40
docs/subversion.html
Normal file
@@ -0,0 +1,40 @@
|
||||
<!--#include file="header.html" -->
|
||||
|
||||
|
||||
<h3>Anonymous Subversion Access</h3>
|
||||
|
||||
We allow anonymous (read-only) Subversion (svn) access to everyone. To
|
||||
grab a copy of the latest version of buildroot using anonymous svn access:
|
||||
|
||||
<pre>
|
||||
svn co svn://uclibc.org/trunk/buildroot</pre>
|
||||
|
||||
|
||||
<p>
|
||||
|
||||
If you are not already familiar with using Subversion, I recommend you visit <a
|
||||
href="http://subversion.tigris.org/">the Subversion website</a>. You might
|
||||
also want to read online or buy a copy of <a
|
||||
href="http://svnbook.red-bean.com/">the Subversion Book</a>. If you are
|
||||
already comfortable with using CVS, you may want to skip ahead to the <a
|
||||
href="http://svnbook.red-bean.com/en/1.1/apa.html">Subversion for CVS Users</a>
|
||||
part of the Subversion Book.
|
||||
|
||||
<p>
|
||||
|
||||
Once you've checked out a copy of the source tree, you can update your source
|
||||
tree at any time so it is in sync with the latest and greatest by entering your
|
||||
buildroot directory and running the command:
|
||||
|
||||
<pre>
|
||||
svn update</pre>
|
||||
|
||||
Because you've only been granted anonymous access to the tree, you won't be
|
||||
able to commit any changes. Changes can be submitted for inclusion by posting
|
||||
them to the buildroot mailing list or to the <a
|
||||
href="http://bugs.uclibc.org/">Bug and Patch Tracking System</a>.
|
||||
For those that are actively contributing <a
|
||||
href="developer.html">Subversion commit access</a> can be made available.
|
||||
|
||||
<!--#include file="footer.html" -->
|
||||
|
||||
61
fs/Config.in
61
fs/Config.in
@@ -1,61 +0,0 @@
|
||||
menu "Target filesystem options"
|
||||
|
||||
config BR2_ROOTFS_POST_BUILD_SCRIPT
|
||||
string "Custom script to run before packing files"
|
||||
default ""
|
||||
help
|
||||
Specify a script to be run after the build has finished and before
|
||||
the BR2 starts packing the files into selected packages.
|
||||
|
||||
This gives users the oportunity to do board-specific cleanups,
|
||||
add-ons and the like, so the generated files can be used directly
|
||||
without further processing.
|
||||
|
||||
The script is called with the target directory name as first and
|
||||
only argument. Make sure the exit code of that script is 0,
|
||||
otherwise make will stop after calling it.
|
||||
|
||||
config BR2_ROOTFS_DEVICE_TABLE
|
||||
string "Path to the device table"
|
||||
default "target/generic/device_table.txt"
|
||||
help
|
||||
Specify the location of a device table, that will be passed
|
||||
to the makedevs utility to create all the special device
|
||||
files in the target filesystem.
|
||||
|
||||
choice
|
||||
prompt "Root FS skeleton"
|
||||
|
||||
config BR2_ROOTFS_SKELETON_DEFAULT
|
||||
bool "default target skeleton"
|
||||
help
|
||||
Use default target skeleton
|
||||
|
||||
config BR2_ROOTFS_SKELETON_CUSTOM
|
||||
bool "custom target skeleton"
|
||||
help
|
||||
Use custom target skeleton.
|
||||
|
||||
endchoice
|
||||
|
||||
if BR2_ROOTFS_SKELETON_CUSTOM
|
||||
config BR2_ROOTFS_SKELETON_CUSTOM_PATH
|
||||
string "custom target skeleton path"
|
||||
default "fs/skeleton"
|
||||
help
|
||||
Path custom target skeleton.
|
||||
endif
|
||||
|
||||
source "fs/cramfs/Config.in"
|
||||
source "fs/cloop/Config.in"
|
||||
source "fs/ext2/Config.in"
|
||||
source "fs/jffs2/Config.in"
|
||||
source "fs/ubifs/Config.in"
|
||||
source "fs/squashfs/Config.in"
|
||||
source "fs/tar/Config.in"
|
||||
source "fs/cpio/Config.in"
|
||||
source "fs/iso9660/Config.in"
|
||||
source "fs/initramfs/Config.in"
|
||||
source "fs/romfs/Config.in"
|
||||
|
||||
endmenu
|
||||
@@ -1,13 +0,0 @@
|
||||
#############################################################
|
||||
#
|
||||
# Build the compressed loop root filesystem image
|
||||
#
|
||||
#############################################################
|
||||
|
||||
ROOTFS_CLOOP_DEPENDENCIES = host-cloop host-cdrkit
|
||||
|
||||
define ROOTFS_CLOOP_CMD
|
||||
$(HOST_DIR)/usr/bin/genisoimage -r $(TARGET_DIR) | $(HOST_DIR)/usr/bin/create_compressed_fs - 65536 > $$@
|
||||
endef
|
||||
|
||||
$(eval $(call ROOTFS_TARGET,cloop))
|
||||
78
fs/common.mk
78
fs/common.mk
@@ -1,78 +0,0 @@
|
||||
#
|
||||
# Macro that builds the needed Makefile target to create a root
|
||||
# filesystem image.
|
||||
#
|
||||
# The following variable must be defined before calling this macro
|
||||
#
|
||||
# ROOTFS_$(FSTYPE)_CMD, the command that generates the root
|
||||
# filesystem image. A single command is allowed. The filename of the
|
||||
# filesystem image that it must generate is $$@.
|
||||
#
|
||||
# The following variables can optionaly be defined
|
||||
#
|
||||
# ROOTFS_$(FSTYPE)_DEPENDENCIES, the list of dependencies needed to
|
||||
# build the root filesystem (usually host tools)
|
||||
#
|
||||
# ROOTFS_$(FSTYPE)_PRE_GEN_HOOKS, a list of hooks to call before
|
||||
# generating the filesystem image
|
||||
#
|
||||
# ROOTFS_$(FSTYPE)_POST_GEN_HOOKS, a list of hooks to call after
|
||||
# generating the filesystem image
|
||||
#
|
||||
# ROOTFS_$(FSTYPE)_POST_TARGETS, the list of targets that should be
|
||||
# run after running the main filesystem target. This is useful for
|
||||
# initramfs, to rebuild the kernel once the initramfs is generated.
|
||||
#
|
||||
# In terms of configuration option, this macro assumes that the
|
||||
# BR2_TARGET_ROOTFS_$(FSTYPE) config option allows to enable/disable
|
||||
# the generation of a filesystem image of a particular type. If
|
||||
# configura options BR2_TARGET_ROOTFS_$(FSTYPE)_GZIP,
|
||||
# BR2_TARGET_ROOTFS_$(FSTYPE)_BZIP2 or
|
||||
# BR2_TARGET_ROOTFS_$(FSTYPE)_LZMA exist and are enabled, then the
|
||||
# macro will automatically generate a compressed filesystem image.
|
||||
|
||||
FAKEROOT_SCRIPT = $(BUILD_DIR)/_fakeroot.fs
|
||||
ROOTFS_DEVICE_TABLE = $(call qstrip,$(BR2_ROOTFS_DEVICE_TABLE))
|
||||
|
||||
define ROOTFS_TARGET_INTERNAL
|
||||
|
||||
$(BINARIES_DIR)/rootfs.$(1): $(ROOTFS_$(2)_DEPENDENCIES) host-fakeroot host-makedevs $(if $(BR2_TARGET_ROOTFS_$(2)_LZMA),host-lzma)
|
||||
@$(call MESSAGE,"Generating root filesystem image rootfs.$(1)")
|
||||
$(foreach hook,$(ROOTFS_$(2)_PRE_GEN_HOOKS),$(call $(hook))$(sep))
|
||||
rm -f $(FAKEROOT_SCRIPT)
|
||||
touch $(BUILD_DIR)/.fakeroot.00000
|
||||
cat $(BUILD_DIR)/.fakeroot* > $(FAKEROOT_SCRIPT)
|
||||
echo "chown -R 0:0 $(TARGET_DIR)" >> $(FAKEROOT_SCRIPT)
|
||||
ifneq ($(ROOTFS_DEVICE_TABLE),)
|
||||
echo "$(HOST_DIR)/usr/bin/makedevs -d $(ROOTFS_DEVICE_TABLE) $(TARGET_DIR)" >> $(FAKEROOT_SCRIPT)
|
||||
endif
|
||||
echo "$(ROOTFS_$(2)_CMD)" >> $(FAKEROOT_SCRIPT)
|
||||
chmod a+x $(FAKEROOT_SCRIPT)
|
||||
$(HOST_DIR)/usr/bin/fakeroot -- $(FAKEROOT_SCRIPT)
|
||||
-@rm -f $(FAKEROOT_SCRIPT)
|
||||
$(foreach hook,$(ROOTFS_$(2)_POST_GEN_HOOKS),$(call $(hook))$(sep))
|
||||
ifeq ($$(BR2_TARGET_ROOTFS_$(2)_GZIP),y)
|
||||
gzip -9 -c $$@ > $$@.gz
|
||||
endif
|
||||
ifeq ($$(BR2_TARGET_ROOTFS_$(2)_BZIP2),y)
|
||||
bzip2 -9 -c $$@ > $$@.bz2
|
||||
endif
|
||||
ifeq ($$(BR2_TARGET_ROOTFS_$(2)_LZMA),y)
|
||||
$(LZMA) -9 -c $$@ > $$@.lzma
|
||||
endif
|
||||
|
||||
$(1)-root-show-depends:
|
||||
@echo $(ROOTFS_$(2)_DEPENDENCIES) host-fakeroot host-makedevs $(if $(BR2_TARGET_ROOTFS_$(2)_LZMA),host-lzma)
|
||||
|
||||
$(1)-root: $(BINARIES_DIR)/rootfs.$(1) $(ROOTFS_$(2)_POST_TARGETS)
|
||||
|
||||
ifeq ($$(BR2_TARGET_ROOTFS_$(2)),y)
|
||||
TARGETS += $(1)-root
|
||||
endif
|
||||
endef
|
||||
|
||||
define ROOTFS_TARGET
|
||||
$(call ROOTFS_TARGET_INTERNAL,$(1),$(call UPPERCASE,$(1)))
|
||||
endef
|
||||
|
||||
include fs/*/*.mk
|
||||
@@ -1,18 +0,0 @@
|
||||
#############################################################
|
||||
#
|
||||
# cpio to archive target filesystem
|
||||
#
|
||||
#############################################################
|
||||
|
||||
define ROOTFS_CPIO_INIT_SYMLINK
|
||||
rm -f $(TARGET_DIR)/init
|
||||
ln -s sbin/init $(TARGET_DIR)/init
|
||||
endef
|
||||
|
||||
ROOTFS_CPIO_PRE_GEN_HOOKS += ROOTFS_CPIO_INIT_SYMLINK
|
||||
|
||||
define ROOTFS_CPIO_CMD
|
||||
cd $(TARGET_DIR) && find . | cpio --quiet -o -H newc > $$@
|
||||
endef
|
||||
|
||||
$(eval $(call ROOTFS_TARGET,cpio))
|
||||
@@ -1,22 +0,0 @@
|
||||
#############################################################
|
||||
#
|
||||
# Build the cramfs root filesystem image
|
||||
#
|
||||
#############################################################
|
||||
ifeq ($(BR2_ENDIAN),"BIG")
|
||||
CRAMFS_OPTS=-b
|
||||
else
|
||||
CRAMFS_OPTS=-l
|
||||
endif
|
||||
|
||||
ifneq ($(ROOTFS_DEVICE_TABLE),)
|
||||
CRAMFS_OPTS += -D $(ROOTFS_DEVICE_TABLE)
|
||||
endif
|
||||
|
||||
define ROOTFS_CRAMFS_CMD
|
||||
$(HOST_DIR)/usr/bin/mkcramfs -q $(CRAMFS_OPTS) $(TARGET_DIR) $$@
|
||||
endef
|
||||
|
||||
ROOTFS_CRAMFS_DEPENDENCIES = host-cramfs
|
||||
|
||||
$(eval $(call ROOTFS_TARGET,cramfs))
|
||||
@@ -1,31 +0,0 @@
|
||||
#############################################################
|
||||
#
|
||||
# Build the ext2 root filesystem image
|
||||
#
|
||||
#############################################################
|
||||
|
||||
EXT2_OPTS :=
|
||||
|
||||
ifeq ($(BR2_TARGET_ROOTFS_EXT2_SQUASH),y)
|
||||
EXT2_OPTS += -U
|
||||
endif
|
||||
|
||||
ifneq ($(strip $(BR2_TARGET_ROOTFS_EXT2_BLOCKS)),0)
|
||||
EXT2_OPTS += -b $(BR2_TARGET_ROOTFS_EXT2_BLOCKS)
|
||||
endif
|
||||
|
||||
ifneq ($(strip $(BR2_TARGET_ROOTFS_EXT2_INODES)),0)
|
||||
EXT2_OPTS += -N $(BR2_TARGET_ROOTFS_EXT2_INODES)
|
||||
endif
|
||||
|
||||
ifneq ($(strip $(BR2_TARGET_ROOTFS_EXT2_RESBLKS)),0)
|
||||
EXT2_OPTS += -m $(BR2_TARGET_ROOTFS_EXT2_RESBLKS)
|
||||
endif
|
||||
|
||||
ROOTFS_EXT2_DEPENDENCIES = host-genext2fs
|
||||
|
||||
define ROOTFS_EXT2_CMD
|
||||
PATH=$(TARGET_PATH) fs/ext2/genext2fs.sh -d $(TARGET_DIR) $(EXT2_OPTS) $$@
|
||||
endef
|
||||
|
||||
$(eval $(call ROOTFS_TARGET,ext2))
|
||||
@@ -1,39 +0,0 @@
|
||||
#!/bin/sh
|
||||
# genext2fs wrapper calculating needed blocks/inodes values if not specified
|
||||
|
||||
export LC_ALL=C
|
||||
|
||||
CALC_BLOCKS=1
|
||||
CALC_INODES=1
|
||||
|
||||
while getopts x:d:D:b:i:N:m:g:e:zfqUPhVv f
|
||||
do
|
||||
case $f in
|
||||
b) CALC_BLOCKS=0 ;;
|
||||
N) CALC_INODES=0 ;;
|
||||
d) TARGET_DIR=$OPTARG ;;
|
||||
esac
|
||||
done
|
||||
|
||||
# calculate needed blocks
|
||||
if [ $CALC_BLOCKS -eq 1 ];
|
||||
then
|
||||
BLOCKS=$(du -s -c -k $TARGET_DIR | grep total | sed -e "s/total//")
|
||||
if [ $BLOCKS -ge 20000 ];
|
||||
then
|
||||
BLOCKS=$(expr $BLOCKS + 16384)
|
||||
else
|
||||
BLOCKS=$(expr $BLOCKS + 2400)
|
||||
fi
|
||||
set -- $@ -b $BLOCKS
|
||||
fi
|
||||
|
||||
# calculate needed inodes
|
||||
if [ $CALC_INODES -eq 1 ];
|
||||
then
|
||||
INODES=$(find $TARGET_DIR | wc -l)
|
||||
INODES=$(expr $INODES + 400)
|
||||
set -- $@ -N $INODES
|
||||
fi
|
||||
|
||||
exec genext2fs $@
|
||||
@@ -1,20 +0,0 @@
|
||||
config BR2_TARGET_ROOTFS_INITRAMFS
|
||||
bool "initramfs for initial ramdisk of linux kernel"
|
||||
depends on BR2_LINUX_KERNEL
|
||||
help
|
||||
Integrate the root filesystem generated by Buildroot as an
|
||||
initramfs inside the kernel image. This integration will
|
||||
take place automatically.
|
||||
|
||||
The rootfs.initramfs file generated in the images/ directory
|
||||
is only a text file describing the contents of the initramfs
|
||||
in a format understood by the CONFIG_INITRAMFS_SOURCE kernel
|
||||
configuration option.
|
||||
|
||||
Note that enabling initramfs together with other filesystem
|
||||
formats doesn't make sense: you would end up having two
|
||||
identical root filesystems, one embedded inside the kernel
|
||||
image, and one separatly.
|
||||
|
||||
comment "initramfs requires a Linux kernel to be built"
|
||||
depends on !BR2_LINUX_KERNEL
|
||||
@@ -1,29 +0,0 @@
|
||||
#############################################################
|
||||
#
|
||||
# Make a initramfs_list file to be used by gen_init_cpio
|
||||
# gen_init_cpio is part of the 2.6 linux kernels to build an
|
||||
# initial ramdisk filesystem based on cpio
|
||||
#
|
||||
#############################################################
|
||||
|
||||
ifeq ($(BR2_TARGET_ROOTFS_INITRAMFS),y)
|
||||
INITRAMFS_TARGET:=initramfs-root
|
||||
else
|
||||
INITRAMFS_TARGET:= #nothing
|
||||
endif
|
||||
|
||||
define ROOTFS_INITRAMFS_INIT_SYMLINK
|
||||
if [ ! -e $(TARGET_DIR)/init ]; then \
|
||||
ln -s sbin/init $(TARGET_DIR)/init; \
|
||||
fi
|
||||
endef
|
||||
|
||||
ROOTFS_INITRAMFS_PRE_GEN_HOOKS += ROOTFS_INITRAMFS_INIT_SYMLINK
|
||||
|
||||
define ROOTFS_INITRAMFS_CMD
|
||||
$(SHELL) fs/initramfs/gen_initramfs_list.sh -u 0 -g 0 $(TARGET_DIR) > $$@
|
||||
endef
|
||||
|
||||
ROOTFS_INITRAMFS_POST_TARGETS += linux26-rebuild-with-initramfs
|
||||
|
||||
$(eval $(call ROOTFS_TARGET,initramfs))
|
||||
@@ -1,49 +0,0 @@
|
||||
#############################################################
|
||||
#
|
||||
# Build the iso96600 root filesystem image
|
||||
#
|
||||
# Cannot be converted to the ROOTFS_TARGET infrastructure, because of
|
||||
# the temporary construction in ISO9660_TARGET_DIR.
|
||||
#
|
||||
#############################################################
|
||||
|
||||
ISO9660_TARGET_DIR=$(BUILD_DIR)/iso9660
|
||||
ISO9660_BOOT_MENU:=$(call qstrip,$(BR2_TARGET_ROOTFS_ISO9660_BOOT_MENU))
|
||||
ISO9660_OPTS:=
|
||||
|
||||
ifeq ($(BR2_TARGET_ROOTFS_ISO9660_SQUASH),y)
|
||||
ISO9660_OPTS+=-U
|
||||
endif
|
||||
|
||||
$(BINARIES_DIR)/rootfs.iso9660: host-cdrkit host-fakeroot linux26 ext2-root grub
|
||||
@$(call MESSAGE,"Generating root filesystem image rootfs.iso9660")
|
||||
mkdir -p $(ISO9660_TARGET_DIR)
|
||||
mkdir -p $(ISO9660_TARGET_DIR)/boot/grub
|
||||
cp $(GRUB_DIR)/stage2/stage2_eltorito $(ISO9660_TARGET_DIR)/boot/grub/
|
||||
cp $(ISO9660_BOOT_MENU) $(ISO9660_TARGET_DIR)/boot/grub/menu.lst
|
||||
cp $(LINUX26_IMAGE_PATH) $(ISO9660_TARGET_DIR)/kernel
|
||||
cp $(BINARIES_DIR)/rootfs.ext2 $(ISO9660_TARGET_DIR)/initrd
|
||||
# Use fakeroot to pretend all target binaries are owned by root
|
||||
rm -f $(FAKEROOT_SCRIPT)
|
||||
touch $(BUILD_DIR)/.fakeroot.00000
|
||||
cat $(BUILD_DIR)/.fakeroot* > $(FAKEROOT_SCRIPT)
|
||||
echo "chown -R 0:0 $(ISO9660_TARGET_DIR)" >> $(FAKEROOT_SCRIPT)
|
||||
# Use fakeroot so mkisofs believes the previous fakery
|
||||
echo "$(HOST_DIR)/usr/bin/genisoimage -R -b boot/grub/stage2_eltorito -no-emul-boot " \
|
||||
"-boot-load-size 4 -boot-info-table -o $@ $(ISO9660_TARGET_DIR)" \
|
||||
>> $(FAKEROOT_SCRIPT)
|
||||
chmod a+x $(FAKEROOT_SCRIPT)
|
||||
$(HOST_DIR)/usr/bin/fakeroot -- $(FAKEROOT_SCRIPT)
|
||||
-@rm -f $(FAKEROOT_SCRIPT)
|
||||
-@rm -rf $(ISO9660_TARGET_DIR)
|
||||
|
||||
iso9660-root: $(BINARIES_DIR)/rootfs.iso9660
|
||||
|
||||
#############################################################
|
||||
#
|
||||
# Toplevel Makefile options
|
||||
#
|
||||
#############################################################
|
||||
ifeq ($(BR2_TARGET_ROOTFS_ISO9660),y)
|
||||
TARGETS+=iso9660-root
|
||||
endif
|
||||
@@ -1,57 +0,0 @@
|
||||
#############################################################
|
||||
#
|
||||
# Build the jffs2 root filesystem image
|
||||
#
|
||||
#############################################################
|
||||
|
||||
JFFS2_OPTS := -e $(BR2_TARGET_ROOTFS_JFFS2_EBSIZE)
|
||||
SUMTOOL_OPTS := $(JFFS2_OPTS)
|
||||
|
||||
ifeq ($(BR2_TARGET_ROOTFS_JFFS2_PAD),y)
|
||||
ifneq ($(strip $(BR2_TARGET_ROOTFS_JFFS2_PADSIZE)),0x0)
|
||||
JFFS2_OPTS += --pad=$(strip $(BR2_TARGET_ROOTFS_JFFS2_PADSIZE))
|
||||
else
|
||||
JFFS2_OPTS += -p
|
||||
endif
|
||||
SUMTOOL_OPTS += -p
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_TARGET_ROOTFS_JFFS2_LE),y)
|
||||
JFFS2_OPTS += -l
|
||||
SUMTOOL_OPTS += -l
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_TARGET_ROOTFS_JFFS2_BE),y)
|
||||
JFFS2_OPTS += -b
|
||||
SUMTOOL_OPTS += -b
|
||||
endif
|
||||
|
||||
JFFS2_OPTS += -s $(BR2_TARGET_ROOTFS_JFFS2_PAGESIZE)
|
||||
ifeq ($(BR2_TARGET_ROOTFS_JFFS2_NOCLEANMARKER),y)
|
||||
JFFS2_OPTS += -n
|
||||
SUMTOOL_OPTS += -n
|
||||
endif
|
||||
|
||||
ROOTFS_JFFS2_DEPENDENCIES = host-mtd
|
||||
|
||||
ifneq ($(BR2_TARGET_ROOTFS_JFFS2_SUMMARY),)
|
||||
define ROOTFS_JFFS2_CMD
|
||||
$(MKFS_JFFS2) $(JFFS2_OPTS) -d $(TARGET_DIR) -o $$@.nosummary && \
|
||||
$(SUMTOOL) $(SUMTOOL_OPTS) -i $$@.nosummary -o $$@ && \
|
||||
rm $$@.nosummary
|
||||
endef
|
||||
else
|
||||
define ROOTFS_JFFS2_CMD
|
||||
$(MKFS_JFFS2) $(JFFS2_OPTS) -d $(TARGET_DIR) -o $$@
|
||||
endef
|
||||
endif
|
||||
|
||||
define JFFS2_GEN_SREC
|
||||
$(TARGET_CROSS)objcopy -I binary -O srec --adjust-vma 0xa1000000 $$@ $$@.srec
|
||||
endef
|
||||
|
||||
ifeq ($(BR2_JFFS2_TARGET_SREC),y)
|
||||
ROOTFS_JFFS2_POST_GEN_HOOKS += JFFS2_GEN_SREC
|
||||
endif
|
||||
|
||||
$(eval $(call ROOTFS_TARGET,jffs2))
|
||||
@@ -1,15 +0,0 @@
|
||||
#############################################################
|
||||
#
|
||||
# Build the romfs root filesystem image
|
||||
#
|
||||
#############################################################
|
||||
|
||||
ROMFS_TARGET=$(IMAGE).romfs
|
||||
|
||||
ROOTFS_ROMFS_DEPENDENCIES = host-genromfs
|
||||
|
||||
define ROOTFS_ROMFS_CMD
|
||||
$(HOST_DIR)/usr/bin/genromfs -d $(TARGET_DIR) -f $$@
|
||||
endef
|
||||
|
||||
$(eval $(call ROOTFS_TARGET,romfs))
|
||||
@@ -1 +0,0 @@
|
||||
buildroot
|
||||
@@ -1,3 +0,0 @@
|
||||
|
||||
Welcome to Buildroot
|
||||
|
||||
@@ -1,23 +0,0 @@
|
||||
config BR2_TARGET_ROOTFS_SQUASHFS
|
||||
bool "squashfs root filesystem"
|
||||
help
|
||||
Build a squashfs root filesystem
|
||||
|
||||
if BR2_TARGET_ROOTFS_SQUASHFS
|
||||
choice
|
||||
prompt "SquashFS version"
|
||||
default BR2_TARGET_ROOTFS_SQUASHFS4
|
||||
help
|
||||
Select the Squash filesystem version to use to generate the
|
||||
root filesystem.
|
||||
|
||||
config BR2_TARGET_ROOTFS_SQUASHFS4
|
||||
bool "4.x"
|
||||
|
||||
config BR2_TARGET_ROOTFS_SQUASHFS3
|
||||
depends on BR2_DEPRECATED
|
||||
bool "3.x"
|
||||
|
||||
endchoice
|
||||
endif
|
||||
|
||||
@@ -1,26 +0,0 @@
|
||||
#############################################################
|
||||
#
|
||||
# Build the squashfs root filesystem image
|
||||
#
|
||||
#############################################################
|
||||
|
||||
ifeq ($(BR2_TARGET_ROOTFS_SQUASHFS4),y)
|
||||
ROOTFS_SQUASHFS_DEPENDENCIES = host-squashfs
|
||||
else
|
||||
ROOTFS_SQUASHFS_DEPENDENCIES = host-squashfs3
|
||||
|
||||
ifeq ($(BR2_ENDIAN),"BIG")
|
||||
ROOTFS_SQUASHFS_ARGS=-be
|
||||
else
|
||||
ROOTFS_SQUASHFS_ARGS=-le
|
||||
endif
|
||||
|
||||
endif
|
||||
|
||||
define ROOTFS_SQUASHFS_CMD
|
||||
$(HOST_DIR)/usr/bin/mksquashfs $(TARGET_DIR) $$@ -noappend \
|
||||
$(ROOTFS_SQUASHFS_ARGS) && \
|
||||
chmod 0644 $$@
|
||||
endef
|
||||
|
||||
$(eval $(call ROOTFS_TARGET,squashfs))
|
||||
@@ -1,13 +0,0 @@
|
||||
#############################################################
|
||||
#
|
||||
# tar to archive target filesystem
|
||||
#
|
||||
#############################################################
|
||||
|
||||
TAR_OPTS:=$(BR2_TARGET_ROOTFS_TAR_OPTIONS)
|
||||
|
||||
define ROOTFS_TAR_CMD
|
||||
tar -c$(TAR_OPTS)f $$@ -C $(TARGET_DIR) .
|
||||
endef
|
||||
|
||||
$(eval $(call ROOTFS_TARGET,tar))
|
||||
@@ -1,25 +0,0 @@
|
||||
#############################################################
|
||||
#
|
||||
# Build the ubifs root filesystem image
|
||||
#
|
||||
#############################################################
|
||||
|
||||
UBIFS_OPTS := -e $(BR2_TARGET_ROOTFS_UBIFS_LEBSIZE) -c $(BR2_TARGET_ROOTFS_UBIFS_MAXLEBCNT) -m $(BR2_TARGET_ROOTFS_UBIFS_MINIOSIZE)
|
||||
|
||||
ifeq ($(BR2_TARGET_ROOTFS_UBIFS_RT_ZLIB),y)
|
||||
UBIFS_OPTS += -x zlib
|
||||
endif
|
||||
ifeq ($(BR2_TARGET_ROOTFS_UBIFS_RT_LZO),y)
|
||||
UBIFS_OPTS += -x lzo
|
||||
endif
|
||||
ifeq ($(BR2_TARGET_ROOTFS_UBIFS_RT_NONE),y)
|
||||
UBIFS_OPTS += -x none
|
||||
endif
|
||||
|
||||
ROOTFS_UBIFS_DEPENDENCIES = host-mtd
|
||||
|
||||
define ROOTFS_UBIFS_CMD
|
||||
$(HOST_DIR)/usr/sbin/mkfs.ubifs -d $(TARGET_DIR) $(UBIFS_OPTS) -o $$@
|
||||
endef
|
||||
|
||||
$(eval $(call ROOTFS_TARGET,ubifs))
|
||||
133
linux/Config.in
133
linux/Config.in
@@ -1,133 +0,0 @@
|
||||
menu "Kernel"
|
||||
|
||||
config BR2_LINUX_KERNEL
|
||||
bool "Linux Kernel"
|
||||
help
|
||||
Enable this option if you want to build a Linux kernel for
|
||||
your embedded device
|
||||
|
||||
if BR2_LINUX_KERNEL
|
||||
|
||||
#
|
||||
# Version selection. We provide the choice between:
|
||||
#
|
||||
# 1. A single fairly recent stable kernel version
|
||||
# 2. In case an internal toolchain has been built, the same kernel
|
||||
# version as the kernel headers
|
||||
# 3. A custom stable version
|
||||
# 4. A custom tarball
|
||||
#
|
||||
choice
|
||||
prompt "Kernel version"
|
||||
default BR2_LINUX_KERNEL_2_6_34
|
||||
|
||||
config BR2_LINUX_KERNEL_2_6_34
|
||||
bool "2.6.34"
|
||||
|
||||
config BR2_LINUX_KERNEL_SAME_AS_HEADERS
|
||||
bool "Same as toolchain kernel headers"
|
||||
depends on BR2_TOOLCHAIN_BUILDROOT
|
||||
help
|
||||
This option will re-use the same kernel sources as the one
|
||||
that have been used for the kernel headers of the
|
||||
cross-compiling toolchain. Having the same version for the
|
||||
kernel running on the system and for the kernel headers is
|
||||
not a requirement, but using the same version allows to
|
||||
download only one tarball of the kernel sources.
|
||||
|
||||
config BR2_LINUX_KERNEL_CUSTOM_VERSION
|
||||
bool "Custom version"
|
||||
help
|
||||
This option allows to use a specific 2.6.x or 2.6.x.y
|
||||
official versions, as available on kernel.org
|
||||
|
||||
config BR2_LINUX_KERNEL_CUSTOM_TARBALL
|
||||
bool "Custom tarball"
|
||||
help
|
||||
This option allows to specify the http or ftp location of a
|
||||
specific kernel source tarball
|
||||
|
||||
endchoice
|
||||
|
||||
config BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE
|
||||
string "Kernel version"
|
||||
depends on BR2_LINUX_KERNEL_CUSTOM_VERSION
|
||||
default "2.6.34"
|
||||
|
||||
config BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION
|
||||
string "URL of custom kernel tarball"
|
||||
depends on BR2_LINUX_KERNEL_CUSTOM_TARBALL
|
||||
|
||||
config BR2_LINUX_KERNEL_VERSION
|
||||
string
|
||||
default "2.6.34.1" if BR2_LINUX_KERNEL_2_6_34
|
||||
default BR2_DEFAULT_KERNEL_HEADERS if BR2_LINUX_KERNEL_SAME_AS_HEADERS
|
||||
default BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE if BR2_LINUX_KERNEL_CUSTOM_VERSION
|
||||
default "custom" if BR2_LINUX_KERNEL_CUSTOM_TARBALL
|
||||
|
||||
#
|
||||
# Patch selection
|
||||
#
|
||||
|
||||
config BR2_LINUX_KERNEL_PATCH
|
||||
string "Custom kernel patch"
|
||||
help
|
||||
The location can be an URL, a file path, or a directory. In
|
||||
the case of a directory, all files matching linux-*.patch
|
||||
will be applied.
|
||||
|
||||
#
|
||||
# Configuration selection
|
||||
#
|
||||
|
||||
choice
|
||||
prompt "Kernel configuration"
|
||||
default BR2_LINUX_KERNEL_USE_DEFCONFIG
|
||||
|
||||
config BR2_LINUX_KERNEL_USE_DEFCONFIG
|
||||
bool "Using a defconfig"
|
||||
|
||||
config BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG
|
||||
bool "Using a custom config file"
|
||||
|
||||
endchoice
|
||||
|
||||
config BR2_LINUX_KERNEL_DEFCONFIG
|
||||
string "Defconfig name"
|
||||
depends on BR2_LINUX_KERNEL_USE_DEFCONFIG
|
||||
help
|
||||
Name of the defconfig file to use, without the trailing
|
||||
_defconfig
|
||||
|
||||
config BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE
|
||||
string "Configuration file path"
|
||||
depends on BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG
|
||||
help
|
||||
Path to the kernel configuration file
|
||||
|
||||
#
|
||||
# Binary format
|
||||
#
|
||||
|
||||
choice
|
||||
prompt "Kernel binary format"
|
||||
default BR2_LINUX_KERNEL_UIMAGE if !BR2_i386 && !BR2_x86_64
|
||||
default BR2_LINUX_KERNEL_BZIMAGE if BR2_i386 || BR2_x86_64
|
||||
|
||||
config BR2_LINUX_KERNEL_UIMAGE
|
||||
bool "uImage"
|
||||
|
||||
config BR2_LINUX_KERNEL_BZIMAGE
|
||||
bool "bzImage"
|
||||
|
||||
config BR2_LINUX_KERNEL_ZIMAGE
|
||||
bool "zImage"
|
||||
|
||||
config BR2_LINUX_KERNEL_VMLINUX
|
||||
bool "vmlinux"
|
||||
|
||||
endchoice
|
||||
|
||||
endif # BR2_LINUX_KERNEL
|
||||
|
||||
endmenu
|
||||
175
linux/linux.mk
175
linux/linux.mk
@@ -1,175 +0,0 @@
|
||||
###############################################################################
|
||||
#
|
||||
# Linux kernel 2.6 target
|
||||
#
|
||||
###############################################################################
|
||||
LINUX26_VERSION=$(call qstrip,$(BR2_LINUX_KERNEL_VERSION))
|
||||
|
||||
# Compute LINUX26_SOURCE and LINUX26_SITE from the configuration
|
||||
ifeq ($(LINUX26_VERSION),custom)
|
||||
LINUX26_TARBALL:=$(call qstrip,$(BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION))
|
||||
LINUX26_SITE:=$(dir $(LINUX26_TARBALL))
|
||||
LINUX26_SOURCE:=$(notdir $(LINUX26_TARBALL))
|
||||
else
|
||||
LINUX26_SOURCE:=linux-$(LINUX26_VERSION).tar.bz2
|
||||
LINUX26_SITE:=$(BR2_KERNEL_MIRROR)/linux/kernel/v2.6/
|
||||
endif
|
||||
|
||||
LINUX26_DIR:=$(BUILD_DIR)/linux-$(LINUX26_VERSION)
|
||||
LINUX26_PATCH=$(call qstrip,$(BR2_LINUX_KERNEL_PATCH))
|
||||
|
||||
LINUX26_MAKE_FLAGS = \
|
||||
HOSTCC="$(HOSTCC)" \
|
||||
HOSTCFLAGS="$(HOSTCFLAGS)" \
|
||||
ARCH=$(KERNEL_ARCH) \
|
||||
INSTALL_MOD_PATH=$(TARGET_DIR) \
|
||||
CROSS_COMPILE=$(TARGET_CROSS) \
|
||||
LDFLAGS="$(TARGET_LDFLAGS)" \
|
||||
LZMA="$(LZMA)"
|
||||
|
||||
# Get the real Linux version, which tells us where kernel modules are
|
||||
# going to be installed in the target filesystem.
|
||||
LINUX26_VERSION_PROBED = $(shell $(MAKE) $(LINUX26_MAKE_FLAGS) -C $(LINUX26_DIR) --no-print-directory -s kernelrelease)
|
||||
|
||||
ifeq ($(BR2_LINUX_KERNEL_UIMAGE),y)
|
||||
LINUX26_IMAGE_NAME=uImage
|
||||
LINUX26_DEPENDENCIES+=$(MKIMAGE)
|
||||
else ifeq ($(BR2_LINUX_KERNEL_BZIMAGE),y)
|
||||
LINUX26_IMAGE_NAME=bzImage
|
||||
else ifeq ($(BR2_LINUX_KERNEL_ZIMAGE),y)
|
||||
LINUX26_IMAGE_NAME=zImage
|
||||
else ifeq ($(BR2_LINUX_KERNEL_VMLINUX),y)
|
||||
LINUX26_IMAGE_NAME=vmlinux.bin
|
||||
endif
|
||||
|
||||
LINUX26_IMAGE_PATH=$(LINUX26_DIR)/arch/$(KERNEL_ARCH)/boot/$(LINUX26_IMAGE_NAME)
|
||||
|
||||
# Download
|
||||
$(LINUX26_DIR)/.stamp_downloaded:
|
||||
@$(call MESSAGE,"Downloading kernel")
|
||||
$(call DOWNLOAD,$(LINUX26_SITE),$(LINUX26_SOURCE))
|
||||
ifneq ($(filter ftp://% http://%,$(LINUX26_PATCH)),)
|
||||
$(call DOWNLOAD,$(dir $(LINUX26_PATCH)),$(notdir $(LINUX26_PATCH)))
|
||||
endif
|
||||
mkdir -p $(@D)
|
||||
touch $@
|
||||
|
||||
# Extraction
|
||||
$(LINUX26_DIR)/.stamp_extracted: $(LINUX26_DIR)/.stamp_downloaded
|
||||
@$(call MESSAGE,"Extracting kernel")
|
||||
mkdir -p $(@D)
|
||||
$(Q)$(INFLATE$(suffix $(LINUX26_SOURCE))) $(DL_DIR)/$(LINUX26_SOURCE) | \
|
||||
tar -C $(@D) $(TAR_STRIP_COMPONENTS)=1 $(TAR_OPTIONS) -
|
||||
$(Q)touch $@
|
||||
|
||||
# Patch
|
||||
$(LINUX26_DIR)/.stamp_patched: $(LINUX26_DIR)/.stamp_extracted
|
||||
@$(call MESSAGE,"Patching kernel")
|
||||
ifneq ($(LINUX26_PATCH),)
|
||||
ifneq ($(filter ftp://% http://%,$(LINUX26_PATCH)),)
|
||||
toolchain/patch-kernel.sh $(@D) $(DL_DIR) $(notdir $(LINUX26_PATCH))
|
||||
else ifeq ($(shell test -d $(LINUX26_PATCH) && echo "dir"),dir)
|
||||
toolchain/patch-kernel.sh $(@D) $(LINUX26_PATCH) linux-\*.patch
|
||||
else
|
||||
toolchain/patch-kernel.sh $(@D) $(dir $(LINUX26_PATCH)) $(notdir $(LINUX26_PATCH))
|
||||
endif
|
||||
endif
|
||||
$(Q)touch $@
|
||||
|
||||
|
||||
# Configuration
|
||||
$(LINUX26_DIR)/.stamp_configured: $(LINUX26_DIR)/.stamp_patched
|
||||
@$(call MESSAGE,"Configuring kernel")
|
||||
ifeq ($(BR2_LINUX_KERNEL_USE_DEFCONFIG),y)
|
||||
$(TARGET_MAKE_ENV) $(MAKE1) $(LINUX26_MAKE_FLAGS) -C $(@D) $(call qstrip,$(BR2_LINUX_KERNEL_DEFCONFIG))_defconfig
|
||||
else ifeq ($(BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG),y)
|
||||
cp $(BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE) $(@D)/.config
|
||||
endif
|
||||
ifeq ($(BR2_ARM_EABI),y)
|
||||
$(call KCONFIG_ENABLE_OPT,CONFIG_AEABI,$(@D)/.config)
|
||||
else
|
||||
$(call KCONFIG_DISABLE_OPT,CONFIG_AEABI,$(@D)/.config)
|
||||
endif
|
||||
ifeq ($(BR2_INET_IPV6),y)
|
||||
$(call KCONFIG_ENABLE_OPT,CONFIG_IPV6,$(@D)/.config)
|
||||
else
|
||||
$(call KCONFIG_DISABLE_OPT,CONFIG_IPV6,$(@D)/.config)
|
||||
endif
|
||||
ifeq ($(BR2_TARGET_ROOTFS_INITRAMFS),y)
|
||||
# As the kernel gets compiled before root filesystems are
|
||||
# built, we create a fake initramfs file list. It'll be
|
||||
# replaced later by the real list, and the kernel will be
|
||||
# rebuilt using the linux26-rebuild-with-initramfs target.
|
||||
touch $(BINARIES_DIR)/rootfs.initramfs
|
||||
$(call KCONFIG_ENABLE_OPT,CONFIG_BLK_DEV_INITRD,$(@D)/.config)
|
||||
$(call KCONFIG_SET_OPT,CONFIG_INITRAMFS_SOURCE,\"$(BINARIES_DIR)/rootfs.initramfs\",$(@D)/.config)
|
||||
$(call KCONFIG_ENABLE_OPT,CONFIG_INITRAMFS_COMPRESSION_GZIP,$(@D)/.config)
|
||||
else
|
||||
$(call KCONFIG_DISABLE_OPT,CONFIG_BLK_DEV_INITRD,$(@D)/.config)
|
||||
$(call KCONFIG_SET_OPT,CONFIG_INITRAMFS_SOURCE,\"\",$(@D)/.config)
|
||||
endif
|
||||
$(TARGET_MAKE_ENV) $(MAKE) $(LINUX26_MAKE_FLAGS) -C $(@D) oldconfig
|
||||
$(Q)touch $@
|
||||
|
||||
# Compilation. We make sure the kernel gets rebuilt when the
|
||||
# configuration has changed.
|
||||
$(LINUX26_DIR)/.stamp_compiled: $(LINUX26_DIR)/.stamp_configured $(LINUX26_DIR)/.config
|
||||
@$(call MESSAGE,"Compiling kernel")
|
||||
$(TARGET_MAKE_ENV) $(MAKE) $(LINUX26_MAKE_FLAGS) -C $(@D) $(LINUX26_IMAGE_NAME)
|
||||
@if [ $(shell grep -c "CONFIG_MODULES=y" $(LINUX26_DIR)/.config) != 0 ] ; then \
|
||||
$(TARGET_MAKE_ENV) $(MAKE) $(LINUX26_MAKE_FLAGS) -C $(@D) modules ; \
|
||||
fi
|
||||
$(Q)touch $@
|
||||
|
||||
# Installation
|
||||
$(LINUX26_DIR)/.stamp_installed: $(LINUX26_DIR)/.stamp_compiled
|
||||
@$(call MESSAGE,"Installing kernel")
|
||||
cp $(LINUX26_IMAGE_PATH) $(BINARIES_DIR)
|
||||
# Install modules and remove symbolic links pointing to build
|
||||
# directories, not relevant on the target
|
||||
@if [ $(shell grep -c "CONFIG_MODULES=y" $(LINUX26_DIR)/.config) != 0 ] ; then \
|
||||
$(TARGET_MAKE_ENV) $(MAKE1) $(LINUX26_MAKE_FLAGS) -C $(@D) \
|
||||
INSTALL_MOD_PATH=$(TARGET_DIR) modules_install ; \
|
||||
rm -f $(TARGET_DIR)/lib/modules/$(LINUX26_VERSION_PROBED)/build ; \
|
||||
rm -f $(TARGET_DIR)/lib/modules/$(LINUX26_VERSION_PROBED)/source ; \
|
||||
fi
|
||||
$(Q)touch $@
|
||||
|
||||
linux26: host-module-init-tools $(LINUX26_DEPENDENCIES) $(LINUX26_DIR)/.stamp_installed
|
||||
|
||||
linux26-menuconfig linux26-xconfig linux26-gconfig: host-sed dirs $(LINUX26_DIR)/.stamp_configured
|
||||
$(MAKE) $(LINUX26_MAKE_FLAGS) -C $(LINUX26_DIR) $(subst linux26-,,$@)
|
||||
|
||||
# Support for rebuilding the kernel after the initramfs file list has
|
||||
# been generated in $(BINARIES_DIR)/rootfs.initramfs.
|
||||
$(LINUX26_DIR)/.stamp_initramfs_rebuilt: $(LINUX26_DIR)/.stamp_installed $(BINARIES_DIR)/rootfs.initramfs
|
||||
@$(call MESSAGE,"Rebuilding kernel with initramfs")
|
||||
# Remove the previously generated initramfs which was empty,
|
||||
# to make sure the kernel will actually regenerate it.
|
||||
$(RM) -f $(@D)/usr/initramfs_data.cpio.*
|
||||
# Build the kernel.
|
||||
$(TARGET_MAKE_ENV) $(MAKE) $(LINUX26_MAKE_FLAGS) -C $(@D) $(LINUX26_IMAGE_NAME)
|
||||
# Copy the kernel image to its final destination
|
||||
cp $(LINUX26_IMAGE_PATH) $(BINARIES_DIR)
|
||||
$(Q)touch $@
|
||||
|
||||
# The initramfs building code must make sure this target gets called
|
||||
# after it generated the initramfs list of files.
|
||||
linux26-rebuild-with-initramfs: $(LINUX26_DIR)/.stamp_initramfs_rebuilt
|
||||
|
||||
ifeq ($(BR2_LINUX_KERNEL),y)
|
||||
TARGETS+=linux26
|
||||
endif
|
||||
|
||||
# Checks to give errors that the user can understand
|
||||
ifeq ($(BR2_LINUX_KERNEL_USE_DEFCONFIG),y)
|
||||
ifeq ($(call qstrip,$(BR2_LINUX_KERNEL_DEFCONFIG)),)
|
||||
$(error No kernel defconfig name specified, check your BR2_LINUX_KERNEL_DEFCONFIG setting)
|
||||
endif
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG),y)
|
||||
ifeq ($(call qstrip,$(BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE)),)
|
||||
$(error No kernel configuration file specified, check your BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE setting)
|
||||
endif
|
||||
endif
|
||||
@@ -1,120 +1,373 @@
|
||||
menu "Package Selection for the target"
|
||||
|
||||
source "package/busybox/Config.in"
|
||||
source "package/customize/Config.in"
|
||||
|
||||
# Audio and video applications
|
||||
source "package/multimedia/Config.in"
|
||||
comment "The minimum needed to build a uClibc development system"
|
||||
|
||||
menu "Compressors and decompressors"
|
||||
if BR2_PACKAGE_BUSYBOX_SHOW_OTHERS
|
||||
if !BR2_PACKAGE_BUSYBOX_HIDE_OTHERS
|
||||
source "package/bash/Config.in"
|
||||
source "package/bzip2/Config.in"
|
||||
source "package/gzip/Config.in"
|
||||
source "package/coreutils/Config.in"
|
||||
source "package/diffutils/Config.in"
|
||||
source "package/findutils/Config.in"
|
||||
endif
|
||||
source "package/flex/Config.in"
|
||||
if !BR2_PACKAGE_BUSYBOX_HIDE_OTHERS
|
||||
source "package/gawk/Config.in"
|
||||
endif
|
||||
source "toolchain/gcc/Config.in.2"
|
||||
if !BR2_PACKAGE_BUSYBOX_HIDE_OTHERS
|
||||
source "package/grep/Config.in"
|
||||
endif
|
||||
source "package/make/Config.in"
|
||||
if !BR2_PACKAGE_BUSYBOX_HIDE_OTHERS
|
||||
source "package/patch/Config.in"
|
||||
source "package/sed/Config.in"
|
||||
source "package/tar/Config.in"
|
||||
endif
|
||||
source "package/lzop/Config.in"
|
||||
source "package/lzma/Config.in"
|
||||
endmenu
|
||||
|
||||
menu "Debugging, profiling and benchmark"
|
||||
comment "Other development stuff"
|
||||
source "package/autoconf/Config.in"
|
||||
source "package/automake/Config.in"
|
||||
source "package/bison/Config.in"
|
||||
source "toolchain/ccache/Config.in.2"
|
||||
source "package/cvs/Config.in"
|
||||
source "package/distcc/Config.in"
|
||||
source "package/dmalloc/Config.in"
|
||||
source "package/fakeroot/Config.in"
|
||||
source "package/gettext/Config.in"
|
||||
source "package/gmp/Config.in"
|
||||
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/pkgconfig/Config.in"
|
||||
source "package/readline/Config.in"
|
||||
source "package/valgrind/Config.in"
|
||||
source "package/pcre/Config.in"
|
||||
|
||||
comment "Other stuff"
|
||||
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
|
||||
source "package/bootutils/Config.in"
|
||||
endif
|
||||
source "package/cups/Config.in"
|
||||
source "package/customize/Config.in"
|
||||
if !BR2_PACKAGE_BUSYBOX_HIDE_OTHERS
|
||||
source "package/dash/Config.in"
|
||||
endif
|
||||
source "package/file/Config.in"
|
||||
source "package/gamin/Config.in"
|
||||
source "package/icu/Config.in"
|
||||
source "package/kexec/Config.in"
|
||||
source "package/lmbench/Config.in"
|
||||
if !BR2_PACKAGE_BUSYBOX_HIDE_OTHERS
|
||||
source "package/less/Config.in"
|
||||
endif
|
||||
source "package/libconfig/Config.in"
|
||||
source "package/libconfuse/Config.in"
|
||||
source "package/libdaemon/Config.in"
|
||||
source "package/libelf/Config.in"
|
||||
source "package/libevent/Config.in"
|
||||
source "package/libfloat/Config.in"
|
||||
source "package/libgcrypt/Config.in"
|
||||
source "package/libgpg-error/Config.in"
|
||||
source "package/libiconv/Config.in"
|
||||
source "package/libidn/Config.in"
|
||||
source "package/liblockfile/Config.in"
|
||||
source "package/liboil/Config.in"
|
||||
source "package/libsysfs/Config.in"
|
||||
source "package/lockfile-progs/Config.in"
|
||||
source "package/logrotate/Config.in"
|
||||
source "package/lsof/Config.in"
|
||||
source "package/ltp-testsuite/Config.in"
|
||||
source "package/ltrace/Config.in"
|
||||
source "package/memstat/Config.in"
|
||||
source "package/netperf/Config.in"
|
||||
source "package/oprofile/Config.in"
|
||||
if !BR2_PACKAGE_BUSYBOX_HIDE_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
|
||||
source "package/procps/Config.in"
|
||||
endif
|
||||
if !BR2_PACKAGE_BUSYBOX_HIDE_OTHERS
|
||||
source "package/psmisc/Config.in"
|
||||
endif
|
||||
source "package/screen/Config.in"
|
||||
source "package/startup-notification/Config.in"
|
||||
source "package/strace/Config.in"
|
||||
source "package/valgrind/Config.in"
|
||||
source "package/sudo/Config.in"
|
||||
if !BR2_PACKAGE_BUSYBOX_HIDE_OTHERS
|
||||
source "package/sysklogd/Config.in"
|
||||
# busybox has init and the runit stuff
|
||||
source "package/sysvinit/Config.in"
|
||||
source "package/util-linux/Config.in"
|
||||
source "package/which/Config.in"
|
||||
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
|
||||
source "package/boa/Config.in"
|
||||
endif
|
||||
source "package/bind/Config.in"
|
||||
source "package/bridge-utils/Config.in"
|
||||
if !BR2_PACKAGE_BUSYBOX_HIDE_OTHERS
|
||||
source "package/dhcp/Config.in"
|
||||
endif
|
||||
source "package/dnsmasq/Config.in"
|
||||
source "package/dropbear/Config.in"
|
||||
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"
|
||||
source "package/iptables/Config.in"
|
||||
source "package/kismet/Config.in"
|
||||
source "package/l2tp/Config.in"
|
||||
source "package/libcgi/Config.in"
|
||||
source "package/libcgicc/Config.in"
|
||||
source "package/libcurl/Config.in"
|
||||
source "package/libdnet/Config.in"
|
||||
source "package/libeXosip2/Config.in"
|
||||
source "package/libosip2/Config.in"
|
||||
source "package/libpcap/Config.in"
|
||||
source "package/libupnp/Config.in"
|
||||
if !BR2_PACKAGE_BUSYBOX_HIDE_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 || !BR2_PACKAGE_BUSYBOX_SNAPSHOT
|
||||
source "package/microcom/Config.in"
|
||||
endif
|
||||
source "package/mii-diag/Config.in"
|
||||
source "package/mrouted/Config.in"
|
||||
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
|
||||
source "package/netcat/Config.in"
|
||||
endif
|
||||
source "package/netkitbase/Config.in"
|
||||
source "package/netkittelnet/Config.in"
|
||||
source "package/netplug/Config.in"
|
||||
source "package/netsnmp/Config.in"
|
||||
source "package/nfs-utils/Config.in"
|
||||
source "package/ntp/Config.in"
|
||||
source "package/olsr/Config.in"
|
||||
source "package/openntpd/Config.in"
|
||||
source "package/openssh/Config.in"
|
||||
source "package/openssl/Config.in"
|
||||
source "package/openvpn/Config.in"
|
||||
source "package/openswan/Config.in"
|
||||
source "package/portmap/Config.in"
|
||||
source "package/pppd/Config.in"
|
||||
source "package/radvd/Config.in"
|
||||
source "package/rp-pppoe/Config.in"
|
||||
source "package/pptp-linux/Config.in"
|
||||
source "package/proftpd/Config.in"
|
||||
source "package/quagga/Config.in"
|
||||
source "package/rsync/Config.in"
|
||||
source "package/samba/Config.in"
|
||||
source "package/socat/Config.in"
|
||||
source "package/stunnel/Config.in"
|
||||
source "package/tcpdump/Config.in"
|
||||
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
|
||||
source "package/wget/Config.in"
|
||||
endif
|
||||
source "package/wireless-tools/Config.in"
|
||||
|
||||
endmenu
|
||||
|
||||
menu "Development tools"
|
||||
source "package/autoconf/Config.in"
|
||||
source "package/automake/Config.in"
|
||||
source "package/bison/Config.in"
|
||||
source "package/bsdiff/Config.in"
|
||||
source "toolchain/ccache/Config.in.2"
|
||||
if BR2_PACKAGE_BUSYBOX_SHOW_OTHERS
|
||||
source "package/coreutils/Config.in"
|
||||
menu "Hardware handling / blockdevices and filesystem maintenance"
|
||||
source "package/acpid/Config.in"
|
||||
source "package/dbus/Config.in"
|
||||
source "package/dbus-glib/Config.in"
|
||||
source "package/devmem2/Config.in"
|
||||
source "package/dm/Config.in"
|
||||
source "package/dmraid/Config.in"
|
||||
source "package/e2fsprogs/Config.in"
|
||||
source "package/eeprog/Config.in"
|
||||
source "package/fconfig/Config.in"
|
||||
source "package/fis/Config.in"
|
||||
source "package/fuse/Config.in"
|
||||
source "package/gadgetfs-test/Config.in"
|
||||
source "package/hal/Config.in"
|
||||
if !BR2_PACKAGE_BUSYBOX_HIDE_OTHERS
|
||||
source "package/hdparm/Config.in"
|
||||
source "package/hotplug/Config.in"
|
||||
endif
|
||||
source "package/cvs/Config.in"
|
||||
if BR2_PACKAGE_BUSYBOX_SHOW_OTHERS
|
||||
source "package/diffutils/Config.in"
|
||||
source "package/hwdata/Config.in"
|
||||
source "package/i2c-tools/Config.in"
|
||||
source "package/input-tools/Config.in"
|
||||
source "package/iostat/Config.in"
|
||||
source "package/libaio/Config.in"
|
||||
source "package/libraw1394/Config.in"
|
||||
source "package/libusb/Config.in"
|
||||
source "package/lm-sensors/Config.in"
|
||||
source "package/lvm2/Config.in"
|
||||
source "package/mdadm/Config.in"
|
||||
source "package/memtester/Config.in"
|
||||
source "package/mkdosfs/Config.in"
|
||||
source "package/mtd/Config.in"
|
||||
source "package/ntfs-3g/Config.in"
|
||||
source "package/pciutils/Config.in"
|
||||
source "package/pcmcia/Config.in"
|
||||
source "package/setserial/Config.in"
|
||||
if !BR2_PACKAGE_BUSYBOX_HIDE_OTHERS
|
||||
# busybox has fdisk
|
||||
source "package/sfdisk/Config.in"
|
||||
endif
|
||||
source "package/distcc/Config.in"
|
||||
source "package/fakeroot/Config.in"
|
||||
if BR2_PACKAGE_BUSYBOX_SHOW_OTHERS
|
||||
source "package/findutils/Config.in"
|
||||
endif
|
||||
source "package/flex/Config.in"
|
||||
if BR2_PACKAGE_BUSYBOX_SHOW_OTHERS
|
||||
source "package/gawk/Config.in"
|
||||
endif
|
||||
source "toolchain/gcc/Config.in.2"
|
||||
source "package/gettext/Config.in"
|
||||
source "package/gmp/Config.in"
|
||||
source "package/gperf/Config.in"
|
||||
if BR2_PACKAGE_BUSYBOX_SHOW_OTHERS
|
||||
source "package/grep/Config.in"
|
||||
endif
|
||||
source "package/intltool/Config.in"
|
||||
source "package/make/Config.in"
|
||||
source "package/mpfr/Config.in"
|
||||
source "package/libtool/Config.in"
|
||||
source "package/m4/Config.in"
|
||||
if BR2_PACKAGE_BUSYBOX_SHOW_OTHERS
|
||||
source "package/patch/Config.in"
|
||||
endif
|
||||
source "package/pkg-config/Config.in"
|
||||
if BR2_PACKAGE_BUSYBOX_SHOW_OTHERS
|
||||
source "package/sed/Config.in"
|
||||
source "package/tar/Config.in"
|
||||
source "package/smartmontools/Config.in"
|
||||
if !BR2_PACKAGE_BUSYBOX_HIDE_OTHERS
|
||||
# mdev
|
||||
source "package/udev/Config.in"
|
||||
endif
|
||||
source "package/usbmount/Config.in"
|
||||
source "package/usbutils/Config.in"
|
||||
source "package/wipe/Config.in"
|
||||
source "package/xfsprogs/Config.in"
|
||||
endmenu
|
||||
|
||||
menu "Games"
|
||||
source "package/games/ace_of_penguins/Config.in"
|
||||
source "package/games/gnuchess/Config.in"
|
||||
source "package/games/magiccube4d/Config.in"
|
||||
source "package/games/prboom/Config.in"
|
||||
source "package/games/doom-wad/Config.in"
|
||||
source "package/games/rubix/Config.in"
|
||||
endmenu
|
||||
# Audio/Video support
|
||||
source "package/multimedia/Config.in"
|
||||
|
||||
menu "Graphic libraries and applications (graphic/text)"
|
||||
comment "text rendering libraries"
|
||||
source "package/ncurses/Config.in"
|
||||
source "package/newt/Config.in"
|
||||
source "package/slang/Config.in"
|
||||
|
||||
comment "text rendering applications"
|
||||
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"
|
||||
if BR2_PACKAGE_BUSYBOX_SHOW_OTHERS
|
||||
source "package/fbset/Config.in"
|
||||
endif
|
||||
source "package/fbv/Config.in"
|
||||
source "package/imagemagick/Config.in"
|
||||
source "package/jpeg/Config.in"
|
||||
source "package/libart/Config.in"
|
||||
source "package/libpng/Config.in"
|
||||
source "package/libungif/Config.in"
|
||||
source "package/linux-fusion/Config.in"
|
||||
source "package/lite/Config.in"
|
||||
source "package/pixman/Config.in"
|
||||
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"
|
||||
source "package/tiff/Config.in"
|
||||
|
||||
comment "busybox graphic applications"
|
||||
comment "--> May be broken in busybox"
|
||||
source "package/fbv/Config.in"
|
||||
source "package/fbset/Config.in"
|
||||
|
||||
comment "other GUIs"
|
||||
source "package/qt/Config.in"
|
||||
source "package/qte/Config.in"
|
||||
source "package/qtopia4/Config.in"
|
||||
|
||||
#source "package/microwin/Config.in"
|
||||
|
||||
|
||||
choice
|
||||
prompt "X Window System server"
|
||||
default BR2_PACKAGE_XSERVER_none
|
||||
help
|
||||
Select the X Window System server to use
|
||||
|
||||
config BR2_PACKAGE_XSERVER_none
|
||||
bool "none"
|
||||
config BR2_PACKAGE_XSERVER_xorg
|
||||
bool "modular xorg"
|
||||
depends on BR2_USE_WCHAR # && BR2_ENABLE_LOCALE
|
||||
# depending on BR2_ENABLE_LOCALE gives a recursion error with dbus
|
||||
comment "xorg requires a toolchain with LOCALE and WCHAR support"
|
||||
depends on !(BR2_USE_WCHAR && BR2_ENABLE_LOCALE)
|
||||
config BR2_PACKAGE_XSERVER_tinyx
|
||||
bool "tinyx"
|
||||
depends on BR2_USE_WCHAR
|
||||
comment "tinyx requires a toolchain with WCHAR support"
|
||||
depends on !BR2_USE_WCHAR
|
||||
endchoice
|
||||
|
||||
config BR2_X11_PREFIX
|
||||
string
|
||||
default "/usr/X11R6" if BR2_PACKAGE_XSERVER_xorg
|
||||
default "/usr" if BR2_PACKAGE_XSERVER_tinyx
|
||||
help
|
||||
X11 apps root location
|
||||
|
||||
if !BR2_PACKAGE_XSERVER_none
|
||||
source "package/x11r7/Config.in"
|
||||
endif
|
||||
|
||||
comment "X libraries and helper libraries"
|
||||
#XXX: maybe some of these should depend on !BR2_PACKAGE_XSERVER_none
|
||||
source "package/atk/Config.in"
|
||||
source "package/cairo/Config.in"
|
||||
source "package/pango/Config.in"
|
||||
source "package/libdrm/Config.in"
|
||||
source "package/liberation/Config.in"
|
||||
source "package/libglade/Config.in"
|
||||
source "package/libglib12/Config.in"
|
||||
source "package/libglib2/Config.in"
|
||||
source "package/libgtk12/Config.in"
|
||||
source "package/libgtk2/Config.in"
|
||||
source "package/gtk2-engines/Config.in"
|
||||
source "package/gtk2-themes/Config.in"
|
||||
source "package/libsexy/Config.in"
|
||||
source "package/fltk/Config.in"
|
||||
source "package/openmotif/Config.in"
|
||||
source "package/fontconfig/Config.in"
|
||||
source "package/freetype/Config.in"
|
||||
source "package/tslib/Config.in"
|
||||
source "package/webkit/Config.in"
|
||||
|
||||
comment "X Window managers"
|
||||
source "package/matchbox/Config.in"
|
||||
@@ -127,364 +380,63 @@ source "package/dillo/Config.in"
|
||||
source "package/docker/Config.in"
|
||||
source "package/gqview/Config.in"
|
||||
source "package/gmpc/Config.in"
|
||||
source "package/gob2/Config.in"
|
||||
source "package/gtkperf/Config.in"
|
||||
source "package/leafpad/Config.in"
|
||||
source "package/midori/Config.in"
|
||||
source "package/pcmanfm/Config.in"
|
||||
source "package/rdesktop/Config.in"
|
||||
source "package/rxvt/Config.in"
|
||||
source "package/sylpheed/Config.in"
|
||||
source "package/synergy/Config.in"
|
||||
source "package/torsmo/Config.in"
|
||||
source "package/x11vnc/Config.in"
|
||||
source "package/xpdf/Config.in"
|
||||
source "package/xstroke/Config.in"
|
||||
source "package/xterm/Config.in"
|
||||
source "package/xvkbd/Config.in"
|
||||
endmenu
|
||||
|
||||
menu "Hardware handling"
|
||||
source "package/acpid/Config.in"
|
||||
source "package/cdrkit/Config.in"
|
||||
source "package/cramfs/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"
|
||||
source "package/eeprog/Config.in"
|
||||
source "package/fconfig/Config.in"
|
||||
source "package/fis/Config.in"
|
||||
source "package/gadgetfs-test/Config.in"
|
||||
source "package/genext2fs/Config.in"
|
||||
source "package/genromfs/Config.in"
|
||||
source "package/gvfs/Config.in"
|
||||
source "package/hal/Config.in"
|
||||
if BR2_PACKAGE_BUSYBOX_SHOW_OTHERS
|
||||
source "package/hdparm/Config.in"
|
||||
source "package/hotplug/Config.in"
|
||||
endif
|
||||
source "package/hwdata/Config.in"
|
||||
source "package/i2c-tools/Config.in"
|
||||
source "package/input-tools/Config.in"
|
||||
source "package/iostat/Config.in"
|
||||
source "package/lm-sensors/Config.in"
|
||||
source "package/lvm2/Config.in"
|
||||
source "package/makedevs/Config.in"
|
||||
source "package/mdadm/Config.in"
|
||||
source "package/memtester/Config.in"
|
||||
source "package/mtd/Config.in"
|
||||
source "package/ntfs-3g/Config.in"
|
||||
source "package/ntfsprogs/Config.in"
|
||||
source "package/pciutils/Config.in"
|
||||
source "package/pcmcia/Config.in"
|
||||
source "package/setserial/Config.in"
|
||||
if BR2_PACKAGE_BUSYBOX_SHOW_OTHERS
|
||||
# busybox has fdisk
|
||||
source "package/sfdisk/Config.in"
|
||||
endif
|
||||
source "package/smartmontools/Config.in"
|
||||
source "package/squashfs/Config.in"
|
||||
source "package/squashfs3/Config.in"
|
||||
source "package/sshfs/Config.in"
|
||||
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"
|
||||
source "package/xfsprogs/Config.in"
|
||||
endmenu
|
||||
menu "Compressors / decompressors"
|
||||
|
||||
menu "Interpreter languages and scripting"
|
||||
source "package/haserl/Config.in"
|
||||
source "package/java/jamvm/Config.in"
|
||||
source "package/lua/Config.in"
|
||||
if BR2_PACKAGE_LUA
|
||||
menu "LUA libraries/modules"
|
||||
source "package/cgilua/Config.in"
|
||||
source "package/copas/Config.in"
|
||||
source "package/coxpcall/Config.in"
|
||||
source "package/luafilesystem/Config.in"
|
||||
source "package/luasocket/Config.in"
|
||||
source "package/rings/Config.in"
|
||||
source "package/wsapi/Config.in"
|
||||
source "package/xavante/Config.in"
|
||||
endmenu
|
||||
if !BR2_PACKAGE_BUSYBOX_HIDE_OTHERS
|
||||
source "package/gzip/Config.in"
|
||||
endif
|
||||
source "package/microperl/Config.in"
|
||||
source "package/php/Config.in"
|
||||
source "package/python/Config.in"
|
||||
source "package/ruby/Config.in"
|
||||
source "package/tcl/Config.in"
|
||||
endmenu
|
||||
|
||||
menu "Libraries"
|
||||
|
||||
menu "Compression and decompression"
|
||||
source "package/libarchive/Config.in"
|
||||
source "package/lzo/Config.in"
|
||||
source "package/lzma/Config.in"
|
||||
source "package/zlib/Config.in"
|
||||
endmenu
|
||||
|
||||
menu "Crypto"
|
||||
source "package/beecrypt/Config.in"
|
||||
source "package/libgcrypt/Config.in"
|
||||
source "package/libgpg-error/Config.in"
|
||||
source "package/openssl/Config.in"
|
||||
endmenu
|
||||
menu "Package managers"
|
||||
|
||||
menu "Database"
|
||||
source "package/berkeleydb/Config.in"
|
||||
source "package/mysql_client/Config.in"
|
||||
source "package/sqlite/Config.in"
|
||||
endmenu
|
||||
|
||||
menu "Filesystem"
|
||||
source "package/gamin/Config.in"
|
||||
source "package/libconfig/Config.in"
|
||||
source "package/libconfuse/Config.in"
|
||||
source "package/fuse/Config.in"
|
||||
source "package/liblockfile/Config.in"
|
||||
source "package/libsysfs/Config.in"
|
||||
endmenu
|
||||
|
||||
menu "Graphics"
|
||||
source "package/atk/Config.in"
|
||||
source "package/cairo/Config.in"
|
||||
source "package/fltk/Config.in"
|
||||
source "package/fontconfig/Config.in"
|
||||
source "package/freetype/Config.in"
|
||||
source "package/gtk2-engines/Config.in"
|
||||
source "package/gtk2-themes/Config.in"
|
||||
source "package/jpeg/Config.in"
|
||||
source "package/libart/Config.in"
|
||||
source "package/libdrm/Config.in"
|
||||
source "package/libgail/Config.in"
|
||||
source "package/libglade/Config.in"
|
||||
source "package/libgtk12/Config.in"
|
||||
source "package/libgtk2/Config.in"
|
||||
source "package/libpng/Config.in"
|
||||
source "package/libsvgtiny/Config.in"
|
||||
source "package/libungif/Config.in"
|
||||
source "package/pango/Config.in"
|
||||
source "package/pixman/Config.in"
|
||||
source "package/tiff/Config.in"
|
||||
source "package/webkit/Config.in"
|
||||
endmenu
|
||||
|
||||
menu "Hardware handling"
|
||||
source "package/libaio/Config.in"
|
||||
source "package/libraw1394/Config.in"
|
||||
source "package/tslib/Config.in"
|
||||
source "package/libusb/Config.in"
|
||||
source "package/libusb-compat/Config.in"
|
||||
endmenu
|
||||
|
||||
if BROKEN
|
||||
menu "Java"
|
||||
source "package/java/classpath/Config.in"
|
||||
source "package/java/concierge/Config.in"
|
||||
endmenu
|
||||
source "package/ipkg/Config.in"
|
||||
source "package/portage/Config.in"
|
||||
if !BR2_PACKAGE_BUSYBOX_HIDE_OTHERS
|
||||
source "package/rpm/Config.in"
|
||||
endif
|
||||
|
||||
menu "Networking"
|
||||
source "package/libcgi/Config.in"
|
||||
source "package/libcgicc/Config.in"
|
||||
source "package/libcurl/Config.in"
|
||||
source "package/libdnet/Config.in"
|
||||
source "package/libeXosip2/Config.in"
|
||||
source "package/libidn/Config.in"
|
||||
source "package/libmicrohttpd/Config.in"
|
||||
source "package/neon/Config.in"
|
||||
source "package/libnl/Config.in"
|
||||
source "package/libpcap/Config.in"
|
||||
source "package/libosip2/Config.in"
|
||||
source "package/librsync/Config.in"
|
||||
source "package/libsoup/Config.in"
|
||||
source "package/libupnp/Config.in"
|
||||
endmenu
|
||||
|
||||
menu "Other"
|
||||
source "package/libatomic_ops/Config.in"
|
||||
source "package/libcap/Config.in"
|
||||
source "package/libdaemon/Config.in"
|
||||
source "package/libelf/Config.in"
|
||||
source "package/libevent/Config.in"
|
||||
source "package/libfloat/Config.in"
|
||||
source "package/libglib12/Config.in"
|
||||
source "package/libglib2/Config.in"
|
||||
source "package/liboil/Config.in"
|
||||
source "package/startup-notification/Config.in"
|
||||
menu "Interpreter languages / Scripting"
|
||||
|
||||
source "package/lua/Config.in"
|
||||
source "package/microperl/Config.in"
|
||||
source "package/python/Config.in"
|
||||
source "package/ruby/Config.in"
|
||||
source "package/tcl/Config.in"
|
||||
source "package/php/Config.in"
|
||||
endmenu
|
||||
|
||||
menu "Text and terminal handling"
|
||||
source "package/enchant/Config.in"
|
||||
source "package/icu/Config.in"
|
||||
source "package/libiconv/Config.in"
|
||||
source "package/ncurses/Config.in"
|
||||
source "package/newt/Config.in"
|
||||
source "package/pcre/Config.in"
|
||||
source "package/popt/Config.in"
|
||||
source "package/readline/Config.in"
|
||||
source "package/slang/Config.in"
|
||||
endmenu
|
||||
menu "XML handling"
|
||||
|
||||
menu "XML"
|
||||
source "package/expat/Config.in"
|
||||
source "package/ezxml/Config.in"
|
||||
source "package/libxml-parser-perl/Config.in"
|
||||
source "package/libxml2/Config.in"
|
||||
source "package/libxslt/Config.in"
|
||||
source "package/xerces/Config.in"
|
||||
endmenu
|
||||
|
||||
endmenu
|
||||
# java support
|
||||
source "package/java/Config.in"
|
||||
|
||||
menu "Miscellaneous"
|
||||
source "package/ng-spice-rework/Config.in"
|
||||
source "package/shared-mime-info/Config.in"
|
||||
endmenu
|
||||
|
||||
menu "Networking applications"
|
||||
source "package/argus/Config.in"
|
||||
source "package/avahi/Config.in"
|
||||
source "package/axel/Config.in"
|
||||
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"
|
||||
source "package/cups/Config.in"
|
||||
if BR2_PACKAGE_BUSYBOX_SHOW_OTHERS
|
||||
source "package/dhcp/Config.in"
|
||||
endif
|
||||
source "package/dnsmasq/Config.in"
|
||||
source "package/dropbear/Config.in"
|
||||
source "package/ethtool/Config.in"
|
||||
source "package/hostapd/Config.in"
|
||||
source "package/ifplugd/Config.in"
|
||||
source "package/iperf/Config.in"
|
||||
source "package/iproute2/Config.in"
|
||||
source "package/ipsec-tools/Config.in"
|
||||
source "package/iptables/Config.in"
|
||||
source "package/iw/Config.in"
|
||||
source "package/kismet/Config.in"
|
||||
source "package/l2tp/Config.in"
|
||||
if BR2_PACKAGE_BUSYBOX_SHOW_OTHERS
|
||||
source "package/lighttpd/Config.in"
|
||||
endif
|
||||
source "package/links/Config.in"
|
||||
source "package/lrzsz/Config.in"
|
||||
if BR2_PACKAGE_BUSYBOX_SHOW_OTHERS
|
||||
source "package/microcom/Config.in"
|
||||
endif
|
||||
source "package/mii-diag/Config.in"
|
||||
source "package/mrouted/Config.in"
|
||||
source "package/mutt/Config.in"
|
||||
source "package/nbd/Config.in"
|
||||
source "package/ncftp/Config.in"
|
||||
if BR2_PACKAGE_BUSYBOX_SHOW_OTHERS
|
||||
source "package/netcat/Config.in"
|
||||
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"
|
||||
source "package/nfs-utils/Config.in"
|
||||
source "package/ntp/Config.in"
|
||||
source "package/olsr/Config.in"
|
||||
source "package/openntpd/Config.in"
|
||||
source "package/openssh/Config.in"
|
||||
source "package/openvpn/Config.in"
|
||||
source "package/portmap/Config.in"
|
||||
source "package/pppd/Config.in"
|
||||
source "package/radvd/Config.in"
|
||||
source "package/rp-pppoe/Config.in"
|
||||
source "package/pptp-linux/Config.in"
|
||||
source "package/proftpd/Config.in"
|
||||
source "package/quagga/Config.in"
|
||||
source "package/rsync/Config.in"
|
||||
source "package/samba/Config.in"
|
||||
source "package/ser2net/Config.in"
|
||||
source "package/socat/Config.in"
|
||||
source "package/spawn-fcgi/Config.in"
|
||||
source "package/squid/Config.in"
|
||||
source "package/tcpdump/Config.in"
|
||||
source "package/tcpreplay/Config.in"
|
||||
if BR2_PACKAGE_BUSYBOX_SHOW_OTHERS
|
||||
source "package/tftpd/Config.in"
|
||||
source "package/thttpd/Config.in"
|
||||
source "package/tinyhttpd/Config.in"
|
||||
endif
|
||||
source "package/tn5250/Config.in"
|
||||
source "package/ttcp/Config.in"
|
||||
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_SHOW_OTHERS
|
||||
source "package/wget/Config.in"
|
||||
endif
|
||||
source "package/wireless_tools/Config.in"
|
||||
source "package/wpa_supplicant/Config.in"
|
||||
|
||||
endmenu
|
||||
|
||||
menu "Package managers"
|
||||
source "package/ipkg/Config.in"
|
||||
if BR2_PACKAGE_BUSYBOX_SHOW_OTHERS
|
||||
source "package/rpm/Config.in"
|
||||
endif
|
||||
endmenu
|
||||
|
||||
menu "Shell and utilities"
|
||||
source "package/at/Config.in"
|
||||
if BR2_PACKAGE_BUSYBOX_SHOW_OTHERS
|
||||
source "package/bash/Config.in"
|
||||
source "package/dash/Config.in"
|
||||
endif
|
||||
source "package/dialog/Config.in"
|
||||
source "package/file/Config.in"
|
||||
source "package/lockfile-progs/Config.in"
|
||||
source "package/logrotate/Config.in"
|
||||
source "package/screen/Config.in"
|
||||
source "package/sudo/Config.in"
|
||||
source "package/which/Config.in"
|
||||
endmenu
|
||||
|
||||
menu "System tools"
|
||||
if BR2_PACKAGE_BUSYBOX_SHOW_OTHERS
|
||||
source "package/bootutils/Config.in"
|
||||
source "package/module-init-tools/Config.in"
|
||||
source "package/procps/Config.in"
|
||||
source "package/psmisc/Config.in"
|
||||
source "package/sysklogd/Config.in"
|
||||
source "package/sysvinit/Config.in"
|
||||
source "package/util-linux/Config.in"
|
||||
endif
|
||||
endmenu
|
||||
|
||||
menu "Text editors and viewers"
|
||||
source "package/ed/Config.in"
|
||||
if BR2_PACKAGE_BUSYBOX_SHOW_OTHERS
|
||||
source "package/less/Config.in"
|
||||
endif
|
||||
source "package/nano/Config.in"
|
||||
source "package/uemacs/Config.in"
|
||||
if BR2_PACKAGE_BUSYBOX_SHOW_OTHERS
|
||||
source "package/vim/Config.in"
|
||||
endif
|
||||
endmenu
|
||||
# various games packages
|
||||
source "package/games/Config.in"
|
||||
|
||||
endmenu
|
||||
|
||||
@@ -1,277 +1,458 @@
|
||||
################################################################################
|
||||
# Autotools package infrastructure
|
||||
#
|
||||
# This file implements an infrastructure that eases development of
|
||||
# package .mk files for autotools packages. It should be used for all
|
||||
# packages that use the autotools as their build system. Non-autotools
|
||||
# packages should use the generic infrastructure in
|
||||
# package/Makefile.package.in.
|
||||
# Makefile.autotools.in --
|
||||
#
|
||||
# See the Buildroot documentation for details on the usage of this
|
||||
# infrastructure
|
||||
# Implicit and Generated Rules for easily creating autotools-compatible
|
||||
# buildroot packages
|
||||
#
|
||||
# In terms of implementation, this autotools infrastructure requires
|
||||
# the .mk file to only specify metadata informations about the
|
||||
# package: name, version, download URL, etc.
|
||||
## Example minimal makefile for a package named 'foo'
|
||||
#
|
||||
# We still allow the package .mk file to override what the different
|
||||
# steps are doing, if needed. For example, if <PKG>_BUILD_CMDS is
|
||||
# already defined, it is used as the list of commands to perform to
|
||||
# build the package, instead of the default autotools behaviour. The
|
||||
# package can also define some post operation hooks.
|
||||
# | FOO_VERSION = 1.0
|
||||
# | FOO_SOURCE = foo-$(FOO_VERSION).tar.gz
|
||||
# | FOO_SITE = http://www.libfoo.org/dist
|
||||
# | $(eval $(call AUTOTARGETS,foo))
|
||||
#
|
||||
## The following targets can be called from the shell:
|
||||
#
|
||||
# foo, foo-source, foo-patch, foo-configure, foo-build, foo-install,
|
||||
# foo-install-target, foo-install-staging, foo-uninstall, foo-clean,
|
||||
# foo-dirclean
|
||||
#
|
||||
## The following variables which can be (re)defined in the package makefile:
|
||||
#
|
||||
# FOO_VERSION [mandatory]
|
||||
# version string of the package
|
||||
# FOO_SOURCE [default foo-$(FOO_VERSION).tar.gz]
|
||||
# file name of the package source
|
||||
# FOO_SITE [default sourceforge project "foo"]
|
||||
# URL under wich $(FOO_SOURCE) can be found
|
||||
# FOO_DEPENDENCIES [default empty]
|
||||
# list of (package) targets that must be built before foo
|
||||
# FOO_AUTORECONF [YES/NO, default NO]
|
||||
# run <autoreconf> before <configure>
|
||||
# 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)]
|
||||
# Do you wany to use the central configure cache file? See BR2_CONFIG_CACHE.
|
||||
# FOO_CONF_ENV [default empty]
|
||||
# environment passed to the <configure> script
|
||||
# FOO_CONF_OPT [default empty]
|
||||
# arguments passed to the <configure> script
|
||||
# FOO_MAKE [default $(MAKE)]
|
||||
# command to use to execute <make>
|
||||
# FOO_MAKE_ENV [default empty]
|
||||
# environment passed to all calls to <make> in the package source
|
||||
# directory
|
||||
# FOO_MAKE_OPT [default empty]
|
||||
# arguments passed to <make> while building
|
||||
# FOO_INSTALL_STAGING [YES/NO, default NO]
|
||||
# install the package to the staging directory
|
||||
# FOO_INSTALL_TARGET [YES/NO, default YES]
|
||||
# install the package to the target directory
|
||||
# FOO_INSTALL_STAGING_OPT [default DESTDIR=$(STAGING_DIR) install]
|
||||
# arguments passed to <make> while installing to the staging directory
|
||||
# FOO_INSTALL_TARGET_OPT [default DESTDIR=$(TARGET_DIR) install-exec/install-strip]
|
||||
# arguments passed to <make> while installing to the target directory
|
||||
# FOO_CLEAN_OPT [default clean]
|
||||
# arguments passed to <make> while installing to the staging directory
|
||||
# FOO_UNINSTALL_STAGING_OPT [default DESTDIR=$(STAGING_DIR) uninstall]
|
||||
# arguments passed to <make> while uninstalling from the staging
|
||||
# directory
|
||||
# FOO_UNINSTALL_TARGET_OPT [default DESTDIR=$(TARGET_DIR) uninstall]
|
||||
# arguments passed to <make> while uninstalling from the target
|
||||
# directory
|
||||
# FOO_SUBDIR [default empty]
|
||||
# relative path in the package source from which to run configure and
|
||||
# make
|
||||
# FOO_DIR_PREFIX [default empty]
|
||||
# toplevel relative path to package *.mk file and corresponding patches
|
||||
#
|
||||
## The following variables contain hook target names
|
||||
## by default they do nothing, they can be overriden in package makefiles
|
||||
#
|
||||
# FOO_HOOK_POST_EXTRACT, FOO_HOOK_POST_CONFIGURE,
|
||||
# FOO_HOOK_POST_BUILD, FOO_HOOK_POST_INSTALL
|
||||
#
|
||||
## The following variables contain targets that can be overriden
|
||||
#
|
||||
# FOO_TARGET_INSTALL_TARGET FOO_TARGET_INSTALL_STAGING FOO_TARGET_BUILD
|
||||
# FOO_TARGET_CONFIGURE FOO_TARGET_PATCH FOO_TARGET_EXTRACT FOO_TARGET_SOURCE
|
||||
# FOO_TARGET_UNINSTALL FOO_TARGET_CLEAN FOO_TARGET_DIRCLEAN
|
||||
#
|
||||
# E.g. if your package has a no <configure> script you can place the following
|
||||
# in your package makefile:
|
||||
#
|
||||
# | $(FOO_TARGET_INSTALL):
|
||||
# | touch $@
|
||||
#
|
||||
## The following variables are defined automatically and can be used in
|
||||
## overriden targets:
|
||||
#
|
||||
# PKG
|
||||
# is always the current package name ("foo" in the example)
|
||||
# FOO_DIR
|
||||
# the directory in which the package source is extracted.
|
||||
# the base name will always be foo-$(FOO_VERSION), no matter what the
|
||||
# archive name or the directory-in-archive name are.
|
||||
# MESSAGE
|
||||
# macro that outputs a pretty message to stdout, e.g. use
|
||||
# $(call MESSAGE,"Hello World")
|
||||
# in a target.
|
||||
#
|
||||
# Caveats:
|
||||
# - the 'eval' line (final line in the example) must be placed
|
||||
# after all variable settings, but before all target re-definition
|
||||
# (including hooks)
|
||||
################################################################################
|
||||
|
||||
# UPPERCASE Macro -- transform its argument to uppercase and replace dots and
|
||||
# hyphens to underscores
|
||||
UPPERCASE = $(shell echo $(1) | tr "a-z.-" "A-Z__")
|
||||
|
||||
# Define extrators for different archive suffixes
|
||||
INFLATE.bz2 = $(BZCAT)
|
||||
INFLATE.gz = $(ZCAT)
|
||||
INFLATE.tbz = $(BZCAT)
|
||||
INFLATE.tgz = $(ZCAT)
|
||||
INFLATE.tar = cat
|
||||
|
||||
# MESSAGE Macro -- display a message in bold type
|
||||
MESSAGE = @echo "$(TERM_BOLD)>>> $($(PKG)_NAME) $($(PKG)_VERSION) $(1)$(TERM_RESET)"
|
||||
TERM_BOLD := $(shell tput smso)
|
||||
TERM_RESET := $(shell tput rmso)
|
||||
|
||||
################################################################################
|
||||
# AUTOTARGETS_INNER -- defines how the configuration, compilation and
|
||||
# installation of an autotools package should be done, implements a
|
||||
# few hooks to tune the build process for autotools specifities and
|
||||
# calls the generic package infrastructure to generate the necessary
|
||||
# make targets
|
||||
# DOWNLOAD -- Download helper. Will try to download source from:
|
||||
# 1) BR2_PRIMARY_SITE if enabled
|
||||
# 2) Download site
|
||||
# 3) BR2_BACKUP_SITE if enabled
|
||||
#
|
||||
# argument 1 is the lowercase package name
|
||||
# argument 2 is the uppercase package name, including an HOST_ prefix
|
||||
# for host packages
|
||||
# argument 3 is the uppercase package name, without the HOST_ prefix
|
||||
# for host packages
|
||||
# argument 4 is the package directory prefix
|
||||
# argument 5 is the type (target or host)
|
||||
# Argument 1 is the source location
|
||||
# Argument 2 is the source filename
|
||||
#
|
||||
# E.G. use like this:
|
||||
# $(call DOWNLOAD,$(FOO_SITE),$(FOO_SOURCE))
|
||||
################################################################################
|
||||
|
||||
# support make source-check/external-deps
|
||||
ifneq ($(SPIDER),)
|
||||
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))); \
|
||||
do $(WGET) -P $(DL_DIR) $$site/$(2) && exit; done
|
||||
endef
|
||||
endif
|
||||
|
||||
# Utility programs used to build packages
|
||||
TAR ?= tar
|
||||
#ACLOCAL_STAGING_DIR ?= $(STAGING_DIR)/usr/share/aclocal
|
||||
#ACLOCAL ?= aclocal -I $(ACLOCAL_STAGING_DIR)
|
||||
#AUTORECONF ?= autoreconf -v -i -f -I $(ACLOCAL_STAGING_DIR)
|
||||
# ACLOCAL="$(ACLOCAL)"
|
||||
|
||||
# Automatically detect tar --strip-path/components option
|
||||
TAR_STRIP_COMPONENTS := $(shell $(TAR) --help | grep strip-path > /dev/null ; if test $$? = 0 ; then echo '--strip-path' ; else echo '--strip-components' ; fi)
|
||||
|
||||
################################################################################
|
||||
# Implicit targets -- produce a stamp file for each step of a package build
|
||||
################################################################################
|
||||
|
||||
# Retrieve and unpack the archive
|
||||
$(BUILD_DIR)/%/.stamp_downloaded:
|
||||
# support make source-check/external-deps
|
||||
ifeq ($(SPIDER),)
|
||||
$(call MESSAGE,"Downloading")
|
||||
endif
|
||||
$(call DOWNLOAD,$($(PKG)_SITE),$($(PKG)_SOURCE))
|
||||
$(if $($(PKG)_PATCH),$(call DOWNLOAD,$($(PKG)_SITE),$($(PKG)_PATCH)))
|
||||
ifeq ($(SPIDER),)
|
||||
$(Q)mkdir -p $(@D)
|
||||
$(Q)touch $@
|
||||
endif
|
||||
|
||||
# Retrieve and unpack the archive
|
||||
$(BUILD_DIR)/%/.stamp_extracted:
|
||||
$(call MESSAGE,"Extracting")
|
||||
$(Q)mkdir -p $(@D)
|
||||
$(Q)$(INFLATE$(suffix $($(PKG)_SOURCE))) $(DL_DIR)/$($(PKG)_SOURCE) | \
|
||||
$(TAR) $(TAR_STRIP_COMPONENTS)=1 -C $(@D) $(TAR_OPTIONS) -
|
||||
# some packages have messed up permissions inside
|
||||
$(Q)chmod -R ug+rw $(@D)
|
||||
$(Q)touch $@
|
||||
|
||||
# Fix libtool support if required by the package
|
||||
$(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 \
|
||||
for i in `find $(@D) -name ltmain.sh`; do \
|
||||
toolchain/patch-kernel.sh $${i%/*} package buildroot-libtool.patch; \
|
||||
done \
|
||||
fi
|
||||
$(Q)touch $@
|
||||
|
||||
# Patch
|
||||
# XXX: FIXME: This has to be done differently and path-independent, i.e. use
|
||||
# XXX: FIXME: the dir-part of the stem as base-dir (instead of hardcoding
|
||||
# XXX: FIXME: "package/".
|
||||
$(BUILD_DIR)/%/.stamp_patched: NAMEVER = $($(PKG)_NAME)-$($(PKG)_VERSION)
|
||||
$(BUILD_DIR)/%/.stamp_patched:
|
||||
$(call MESSAGE,"Patching $($(PKG)_DIR_PREFIX)/$($(PKG)_NAME)")
|
||||
$(if $($(PKG)_PATCH),toolchain/patch-kernel.sh $(@D) $(DL_DIR) $($(PKG)_PATCH))
|
||||
$(Q)( \
|
||||
if test -d $($(PKG)_DIR_PREFIX)/$($(PKG)_NAME); then \
|
||||
if test "$(wildcard $($(PKG)_DIR_PREFIX)/$($(PKG)_NAME)/$(NAMEVER)*.patch*)"; then \
|
||||
toolchain/patch-kernel.sh $(@D) $($(PKG)_DIR_PREFIX)/$($(PKG)_NAME) $(NAMEVER)\*.patch $(NAMEVER)\*.patch.$(ARCH) || exit 1; \
|
||||
else \
|
||||
toolchain/patch-kernel.sh $(@D) $($(PKG)_DIR_PREFIX)/$($(PKG)_NAME) $($(PKG)_NAME)\*.patch $($(PKG)_NAME)\*.patch.$(ARCH) || exit 1; \
|
||||
if test -d $($(PKG)_DIR_PREFIX)/$($(PKG)_NAME)/$(NAMEVER); then \
|
||||
toolchain/patch-kernel.sh $(@D) $($(PKG)_DIR_PREFIX)/$($(PKG)_NAME)/$(NAMEVER) \*.patch \*.patch.$(ARCH) || exit 1; \
|
||||
fi; \
|
||||
fi; \
|
||||
fi; \
|
||||
)
|
||||
ifeq ($(BR2_UPDATE_CONFIG),y)
|
||||
$(Q)(for file in config.guess config.sub; do \
|
||||
for i in $$(find $(@D) -name $$file); do \
|
||||
cp package/gnuconfig/$$file $$i; \
|
||||
done; \
|
||||
done)
|
||||
endif
|
||||
$(Q)touch $@
|
||||
|
||||
# Running autoreconf
|
||||
$(BUILD_DIR)/%/.stamp_autoconfigured:
|
||||
$(call MESSAGE,"Running autoreconf")
|
||||
$(Q)cd $(@D)/$($(PKG)_SUBDIR) && $(AUTORECONF)
|
||||
# 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 \
|
||||
toolchain/patch-kernel.sh $${i%/*} package buildroot-libtool.patch; \
|
||||
done \
|
||||
fi
|
||||
$(Q)touch $@
|
||||
|
||||
# Configuring
|
||||
$(BUILD_DIR)/%/.stamp_configured:
|
||||
$(call MESSAGE,"Configuring")
|
||||
cd $(@D)/$($(PKG)_SUBDIR) && rm -f config.cache && \
|
||||
$(TARGET_CONFIGURE_OPTS) \
|
||||
$(TARGET_CONFIGURE_ARGS) \
|
||||
$(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",) \
|
||||
--target=$(GNU_TARGET_NAME) \
|
||||
--host=$(GNU_TARGET_NAME) \
|
||||
--build=$(GNU_HOST_NAME) \
|
||||
--prefix=/usr \
|
||||
--exec-prefix=/usr \
|
||||
--sysconfdir=/etc \
|
||||
$(DISABLE_DOCUMENTATION) \
|
||||
$(DISABLE_NLS) \
|
||||
$(DISABLE_LARGEFILE) \
|
||||
$(QUIET) $($(PKG)_CONF_OPT)
|
||||
$(Q)touch $@
|
||||
|
||||
# Build
|
||||
$(BUILD_DIR)/%/.stamp_built:
|
||||
$(call MESSAGE,"Building")
|
||||
$($(PKG)_MAKE_ENV) $($(PKG)_MAKE) $($(PKG)_MAKE_OPT) -C $(@D)/$($(PKG)_SUBDIR)
|
||||
$(Q)touch $@
|
||||
|
||||
# Install to staging dir
|
||||
$(BUILD_DIR)/%/.stamp_staging_installed:
|
||||
$(call MESSAGE,'Installing to host (staging directory)')
|
||||
$($(PKG)_MAKE_ENV) $($(PKG)_MAKE) $($(PKG)_INSTALL_STAGING_OPT) -C $(@D)/$($(PKG)_SUBDIR)
|
||||
# toolchain/replace.sh $(STAGING_DIR)/usr/lib ".*\.la" "\(['= ]\)/usr" "\\1$(STAGING_DIR)/usr"
|
||||
for i in $$(find $(STAGING_DIR)/usr/lib/ -name "*.la"); do \
|
||||
cp $$i $$i~; \
|
||||
$(SED) "s:\(['= ]\)/usr:\\1$(STAGING_DIR)/usr:g" $$i; \
|
||||
done
|
||||
touch $@
|
||||
|
||||
# Install to target dir
|
||||
$(PROJECT_BUILD_DIR)/autotools-stamps/%_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 \
|
||||
rm -rf $(TARGET_DIR)/$$d $(TARGET_DIR)/usr/$$d; \
|
||||
done)
|
||||
$(if $(BR2_HAVE_INFOPAGES),,for d in info share/info; do \
|
||||
rm -rf $(TARGET_DIR)/$$d $(TARGET_DIR)/usr/$$d; \
|
||||
done)
|
||||
$(if $(BR2_HAVE_DOCUMENTATION),,for d in doc share/doc; do \
|
||||
rm -rf $(TARGET_DIR)/$$d $(TARGET_DIR)/usr/$$d; \
|
||||
done)
|
||||
touch $@
|
||||
|
||||
$(BUILD_DIR)/%/.stamp_cleaned:
|
||||
$(call MESSAGE,"Cleaning up")
|
||||
-$($(PKG)_MAKE_ENV) $($(PKG)_MAKE) $($(PKG)_CLEAN_OPT) -C $(@D)/$($(PKG)_SUBDIR)
|
||||
rm -f $(@D)/.stamp_built
|
||||
|
||||
$(BUILD_DIR)/%/.stamp_uninstalled:
|
||||
$(call MESSAGE,"Uninstalling")
|
||||
$($(PKG)_MAKE_ENV) $($(PKG)_MAKE) $($(PKG)_UNINSTALL_STAGING_OPT) -C $(@D)/$($(PKG)_SUBDIR)
|
||||
rm -f $(@D)/.stamp_staging_installed
|
||||
$($(PKG)_MAKE_ENV) $($(PKG)_MAKE) $($(PKG)_UNINSTALL_TARGET_OPT) -C $(@D)/$($(PKG)_SUBDIR)
|
||||
rm -f $($(PKG)_TARGET_INSTALL_TARGET) $($(PKG)_HOOK_POST_INSTALL)
|
||||
|
||||
$(BUILD_DIR)/%/.stamp_dircleaned:
|
||||
rm -Rf $(@D)
|
||||
|
||||
|
||||
################################################################################
|
||||
# AUTOTARGETS -- the target generator macro; define a set of human-readable
|
||||
# make targets, stamps, and default per-package variables.
|
||||
# Argument 1 is the package directory prefix.
|
||||
# Argument 2 is the (lowercase) package name.
|
||||
################################################################################
|
||||
|
||||
define AUTOTARGETS
|
||||
$(call AUTOTARGETS_INNER,$(2),$(call UPPERCASE,$(2)),$(1))
|
||||
endef
|
||||
|
||||
# AUTOTARGETS_INNER -- does the job for AUTOTARGETS; argument 1 is the
|
||||
# lowercase package name, argument 2 the uppercase package name,
|
||||
# argument 3 the package directory prefix
|
||||
define AUTOTARGETS_INNER
|
||||
|
||||
# define package-specific variables to default values
|
||||
ifndef $(2)_SUBDIR
|
||||
ifdef $(3)_SUBDIR
|
||||
$(2)_SUBDIR = $($(3)_SUBDIR)
|
||||
else
|
||||
$(2)_SUBDIR ?=
|
||||
endif
|
||||
endif
|
||||
|
||||
ifndef $(2)_LIBTOOL_PATCH
|
||||
ifdef $(3)_LIBTOOL_PATCH
|
||||
$(2)_LIBTOOL_PATCH = $($(3)_LIBTOOL_PATCH)
|
||||
else
|
||||
$(2)_LIBTOOL_PATCH ?= YES
|
||||
endif
|
||||
endif
|
||||
|
||||
$(2)_NAME = $(1)
|
||||
$(2)_VERSION ?= undefined
|
||||
$(2)_DIR = $$(BUILD_DIR)/$(1)-$$($(2)_VERSION)
|
||||
$(2)_SOURCE ?= $(1)-$$($(2)_VERSION).tar.gz
|
||||
$(2)_SITE ?= \
|
||||
http://$$(BR2_SOURCEFORGE_MIRROR).dl.sourceforge.net/sourceforge/$(1)
|
||||
$(2)_DEPENDENCIES ?=
|
||||
$(2)_AUTORECONF ?= NO
|
||||
$(2)_LIBTOOL_PATCH ?= YES
|
||||
$(2)_USE_CONFIG_CACHE ?= $(if $(BR2_CONFIG_CACHE),YES,NO)
|
||||
$(2)_CONF_ENV ?=
|
||||
$(2)_CONF_OPT ?=
|
||||
$(2)_MAKE ?= $(MAKE)
|
||||
$(2)_MAKE_ENV ?=
|
||||
$(2)_MAKE_OPT ?=
|
||||
$(2)_AUTORECONF ?= NO
|
||||
$(2)_AUTORECONF_OPT ?=
|
||||
$(2)_USE_CONFIG_CACHE ?= $(if $(BR2_CONFIG_CACHE),YES,NO)
|
||||
$(2)_INSTALL_STAGING ?= NO
|
||||
$(2)_INSTALL_TARGET ?= YES
|
||||
$(2)_INSTALL_STAGING_OPT ?= DESTDIR=$$(STAGING_DIR) install
|
||||
ifeq ($(BR2_ENABLE_DEBUG),y)
|
||||
$(2)_INSTALL_TARGET_OPT ?= DESTDIR=$$(TARGET_DIR) install
|
||||
$(2)_INSTALL_TARGET_OPT ?= DESTDIR=$$(TARGET_DIR) install-exec
|
||||
else
|
||||
$(2)_INSTALL_TARGET_OPT ?= DESTDIR=$$(TARGET_DIR) install-strip
|
||||
endif
|
||||
$(2)_CLEAN_OPT ?= clean
|
||||
$(2)_UNINSTALL_STAGING_OPT ?= DESTDIR=$$(STAGING_DIR) uninstall
|
||||
$(2)_UNINSTALL_TARGET_OPT ?= DESTDIR=$$(TARGET_DIR) uninstall
|
||||
$(2)_SUBDIR ?=
|
||||
$(2)_DIR_PREFIX = $(if $(3),$(3),$(TOP_SRCDIR)/package)
|
||||
|
||||
$(2)_SRCDIR = $$($(2)_DIR)/$($(2)_SUBDIR)
|
||||
|
||||
#
|
||||
# Configure step. Only define it if not already defined by the package
|
||||
# .mk file. And take care of the differences between host and target
|
||||
# packages.
|
||||
#
|
||||
ifndef $(2)_CONFIGURE_CMDS
|
||||
ifeq ($(5),target)
|
||||
# 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_STAGING = $$($(2)_DIR)/.stamp_staging_installed
|
||||
$(2)_TARGET_BUILD = $$($(2)_DIR)/.stamp_built
|
||||
$(2)_TARGET_CONFIGURE = $$($(2)_DIR)/.stamp_configured
|
||||
$(2)_TARGET_AUTORECONF = $$($(2)_DIR)/.stamp_autoconfigured
|
||||
$(2)_TARGET_LIBTOOL_PATCH = $$($(2)_DIR)/.stamp_libtool_patch
|
||||
$(2)_TARGET_PATCH = $$($(2)_DIR)/.stamp_patched
|
||||
$(2)_TARGET_EXTRACT = $$($(2)_DIR)/.stamp_extracted
|
||||
$(2)_TARGET_SOURCE = $$($(2)_DIR)/.stamp_downloaded
|
||||
$(2)_TARGET_UNINSTALL = $$($(2)_DIR)/.stamp_uninstalled
|
||||
$(2)_TARGET_CLEAN = $$($(2)_DIR)/.stamp_cleaned
|
||||
$(2)_TARGET_DIRCLEAN = $$($(2)_DIR)/.stamp_dircleaned
|
||||
|
||||
# Configure package for target
|
||||
define $(2)_CONFIGURE_CMDS
|
||||
(cd $$($$(PKG)_SRCDIR) && rm -rf config.cache && \
|
||||
$$(TARGET_CONFIGURE_OPTS) \
|
||||
$$(TARGET_CONFIGURE_ARGS) \
|
||||
$$($$(PKG)_CONF_ENV) \
|
||||
./configure \
|
||||
$$(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) \
|
||||
--prefix=/usr \
|
||||
--exec-prefix=/usr \
|
||||
--sysconfdir=/etc \
|
||||
$$(DISABLE_DOCUMENTATION) \
|
||||
$$(DISABLE_NLS) \
|
||||
$$(DISABLE_LARGEFILE) \
|
||||
$$(DISABLE_IPV6) \
|
||||
$$(QUIET) $$($$(PKG)_CONF_OPT) \
|
||||
)
|
||||
endef
|
||||
$(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
|
||||
|
||||
# human-friendly targets and target sequencing
|
||||
$(1): $(1)-install
|
||||
$(1)-install: $(1)-install-staging $(1)-install-target \
|
||||
$$($(2)_HOOK_POST_INSTALL)
|
||||
|
||||
ifeq ($$($(2)_INSTALL_TARGET),YES)
|
||||
$(1)-install-target: $(1)-build $$($(2)_TARGET_INSTALL_TARGET)
|
||||
else
|
||||
|
||||
# Configure package for host
|
||||
define $(2)_CONFIGURE_CMDS
|
||||
(cd $$($$(PKG)_SRCDIR) && rm -rf config.cache; \
|
||||
$$(HOST_CONFIGURE_OPTS) \
|
||||
CFLAGS="$$(HOST_CFLAGS)" \
|
||||
LDFLAGS="$$(HOST_LDFLAGS)" \
|
||||
$$($$(PKG)_CONF_ENV) \
|
||||
./configure \
|
||||
$$(if $$(filter YES,$$($$(PKG)_USE_CONFIG_CACHE)),--cache-file="$(BUILD_DIR)/host-config.cache",) \
|
||||
--prefix="$$(HOST_DIR)/usr" \
|
||||
--sysconfdir="$$(HOST_DIR)/etc" \
|
||||
$$($$(PKG)_CONF_OPT) \
|
||||
)
|
||||
endef
|
||||
endif
|
||||
$(1)-install-target:
|
||||
endif
|
||||
|
||||
#
|
||||
# Hook to update config.sub and config.guess if needed
|
||||
#
|
||||
define UPDATE_CONFIG_HOOK
|
||||
for file in config.guess config.sub; do \
|
||||
for i in $$$$(find $$(@D) -name $$$$file); do \
|
||||
cp package/gnuconfig/$$$$file $$$$i; \
|
||||
done; \
|
||||
done
|
||||
endef
|
||||
|
||||
$(2)_POST_PATCH_HOOKS += UPDATE_CONFIG_HOOK
|
||||
|
||||
#
|
||||
# Hook to patch libtool to make it work properly for cross-compilation
|
||||
#
|
||||
define LIBTOOL_PATCH_HOOK
|
||||
@$(call MESSAGE,"Patching libtool")
|
||||
$(Q)if test "$$($$(PKG)_LIBTOOL_PATCH)" = "YES" -a \
|
||||
"$$($$(PKG)_AUTORECONF)" != "YES"; then \
|
||||
for i in `find $$($$(PKG)_SRCDIR) -name ltmain.sh`; do \
|
||||
toolchain/patch-kernel.sh $$$${i%/*} package buildroot-libtool.patch; \
|
||||
done \
|
||||
fi
|
||||
endef
|
||||
|
||||
# default values are not evaluated yet, so don't rely on this defaulting to YES
|
||||
ifneq ($$($(2)_LIBTOOL_PATCH),NO)
|
||||
$(2)_POST_PATCH_HOOKS += LIBTOOL_PATCH_HOOK
|
||||
ifeq ($$($(2)_INSTALL_STAGING),YES)
|
||||
$(1)-install-staging: $(1)-build $$($(2)_TARGET_INSTALL_STAGING)
|
||||
else
|
||||
$(1)-install-staging:
|
||||
endif
|
||||
|
||||
#
|
||||
# Hook to autoreconf the package if needed
|
||||
#
|
||||
define AUTORECONF_HOOK
|
||||
@$(call MESSAGE,"Autoreconfiguring")
|
||||
$(Q)cd $$($$(PKG)_SRCDIR) && $(AUTORECONF) $$($$(PKG)_AUTORECONF_OPT)
|
||||
$(Q)if test "$($$(PKG)_LIBTOOL_PATCH)" = "YES"; then \
|
||||
for i in `find $$($$(PKG)_SRCDIR) -name ltmain.sh`; do \
|
||||
toolchain/patch-kernel.sh $${i%/*} package buildroot-libtool.patch; \
|
||||
done \
|
||||
fi
|
||||
endef
|
||||
$(1)-build: $(1)-configure \
|
||||
$$($(2)_TARGET_BUILD) \
|
||||
$$($(2)_HOOK_POST_BUILD)
|
||||
|
||||
$(1)-configure: $(1)-autoreconf \
|
||||
$$($(2)_TARGET_CONFIGURE) \
|
||||
$$($(2)_HOOK_POST_CONFIGURE)
|
||||
|
||||
ifeq ($$($(2)_AUTORECONF),YES)
|
||||
$(2)_POST_PATCH_HOOKS += AUTORECONF_HOOK
|
||||
$(1)-autoreconf: $(1)-patch $$($(2)_TARGET_AUTORECONF)
|
||||
$(2)_DEPENDENCIES += host-automake host-autoconf host-libtool
|
||||
endif
|
||||
|
||||
#
|
||||
# Build step. Only define it if not already defined by the package .mk
|
||||
# file.
|
||||
#
|
||||
ifndef $(2)_BUILD_CMDS
|
||||
ifeq ($(5),target)
|
||||
define $(2)_BUILD_CMDS
|
||||
$(TARGET_MAKE_ENV) $$($$(PKG)_MAKE_ENV) $$($$(PKG)_MAKE) $$($$(PKG)_MAKE_OPT) -C $$($$(PKG)_SRCDIR)
|
||||
endef
|
||||
else
|
||||
define $(2)_BUILD_CMDS
|
||||
$(HOST_MAKE_ENV) $$($$(PKG)_MAKE_ENV) $$($$(PKG)_MAKE) $$($$(PKG)_MAKE_OPT) -C $$($$(PKG)_SRCDIR)
|
||||
endef
|
||||
endif
|
||||
$(1)-autoreconf: $(1)-patch
|
||||
endif
|
||||
|
||||
#
|
||||
# Host installation step. Only define it if not already defined by the
|
||||
# package .mk file.
|
||||
#
|
||||
ifndef $(2)_INSTALL_CMDS
|
||||
define $(2)_INSTALL_CMDS
|
||||
$(HOST_MAKE_ENV) $(MAKE) -C $$($$(PKG)_SRCDIR) install
|
||||
endef
|
||||
endif
|
||||
$(1)-patch: $(1)-extract $$($(2)_TARGET_PATCH)
|
||||
|
||||
#
|
||||
# Staging installation step. Only define it if not already defined by
|
||||
# the package .mk file.
|
||||
#
|
||||
ifndef $(2)_INSTALL_STAGING_CMDS
|
||||
define $(2)_INSTALL_STAGING_CMDS
|
||||
$$($$(PKG)_MAKE_ENV) $$($$(PKG)_MAKE) $$($$(PKG)_INSTALL_STAGING_OPT) -C $$($$(PKG)_SRCDIR)
|
||||
for i in $$$$(find $(STAGING_DIR)/usr/lib* -name "*.la"); do \
|
||||
cp -f $$$$i $$$$i~; \
|
||||
$$(SED) "s:\(['= ]\)/usr:\\1$(STAGING_DIR)/usr:g" $$$$i; \
|
||||
done
|
||||
endef
|
||||
endif
|
||||
$(1)-extract: $(1)-depends \
|
||||
$$($(2)_TARGET_EXTRACT) \
|
||||
$$($(2)_HOOK_POST_EXTRACT) \
|
||||
$$($(2)_TARGET_LIBTOOL_PATCH)
|
||||
|
||||
#
|
||||
# Target installation step. Only define it if not already defined by
|
||||
# the package .mk file.
|
||||
#
|
||||
ifndef $(2)_INSTALL_TARGET_CMDS
|
||||
define $(2)_INSTALL_TARGET_CMDS
|
||||
$$($$(PKG)_MAKE_ENV) $$($$(PKG)_MAKE) $$($$(PKG)_INSTALL_TARGET_OPT) -C $$($$(PKG)_SRCDIR)
|
||||
endef
|
||||
endif
|
||||
$(1)-depends: $(1)-source $$($(2)_DEPENDENCIES)
|
||||
|
||||
#
|
||||
# Clean step. Only define it if not already defined by
|
||||
# the package .mk file.
|
||||
#
|
||||
ifndef $(2)_CLEAN_CMDS
|
||||
define $(2)_CLEAN_CMDS
|
||||
-$$($$(PKG)_MAKE_ENV) $$($$(PKG)_MAKE) $$($$(PKG)_CLEAN_OPT) -C $$($$(PKG)_SRCDIR)
|
||||
endef
|
||||
endif
|
||||
$(1)-source: $$($(2)_TARGET_SOURCE)
|
||||
|
||||
#
|
||||
# Uninstall from staging step. Only define it if not already defined by
|
||||
# the package .mk file.
|
||||
#
|
||||
ifndef $(2)_UNINSTALL_STAGING_CMDS
|
||||
define $(2)_UNINSTALL_STAGING_CMDS
|
||||
$$($$(PKG)_MAKE_ENV) $$($$(PKG)_MAKE) $$($$(PKG)_UNINSTALL_STAGING_OPT) -C $$($$(PKG)_SRCDIR)
|
||||
endef
|
||||
endif
|
||||
# non-build targets
|
||||
$(1)-uninstall: $(1)-configure $$($(2)_TARGET_UNINSTALL)
|
||||
|
||||
#
|
||||
# Uninstall from target step. Only define it if not already defined
|
||||
# by the package .mk file.
|
||||
#
|
||||
ifndef $(2)_UNINSTALL_TARGET_CMDS
|
||||
define $(2)_UNINSTALL_TARGET_CMDS
|
||||
$$($$(PKG)_MAKE_ENV) $$($$(PKG)_MAKE) $$($$(PKG)_UNINSTALL_TARGET_OPT) -C $$($$(PKG)_SRCDIR)
|
||||
endef
|
||||
endif
|
||||
$(1)-clean: $(1)-uninstall \
|
||||
$$($(2)_TARGET_CLEAN)
|
||||
|
||||
# Call the generic package infrastructure to generate the necessary
|
||||
# make targets
|
||||
$(call GENTARGETS_INNER,$(1),$(2),$(3),$(4),$(5))
|
||||
$(1)-dirclean: $$($(2)_TARGET_DIRCLEAN)
|
||||
|
||||
endef
|
||||
# define the PKG variable for all targets, containing the
|
||||
# uppercase package variable prefix
|
||||
$$($(2)_TARGET_INSTALL_TARGET): PKG=$(2)
|
||||
$$($(2)_TARGET_INSTALL_STAGING): PKG=$(2)
|
||||
$$($(2)_TARGET_BUILD): PKG=$(2)
|
||||
$$($(2)_TARGET_CONFIGURE): PKG=$(2)
|
||||
$$($(2)_TARGET_LIBTOOL_PATCH): PKG=$(2)
|
||||
$$($(2)_TARGET_AUTORECONF): PKG=$(2)
|
||||
$$($(2)_TARGET_PATCH): PKG=$(2)
|
||||
$$($(2)_TARGET_EXTRACT): PKG=$(2)
|
||||
$$($(2)_TARGET_SOURCE): PKG=$(2)
|
||||
$$($(2)_TARGET_UNINSTALL): PKG=$(2)
|
||||
$$($(2)_TARGET_CLEAN): PKG=$(2)
|
||||
$$($(2)_TARGET_DIRCLEAN): PKG=$(2)
|
||||
$$($(2)_HOOK_POST_EXTRACT): PKG=$(2)
|
||||
$$($(2)_HOOK_POST_CONFIGURE): PKG=$(2)
|
||||
$$($(2)_HOOK_POST_BUILD): PKG=$(2)
|
||||
$$($(2)_HOOK_POST_INSTALL): PKG=$(2)
|
||||
|
||||
################################################################################
|
||||
# AUTOTARGETS -- the target generator macro for autotools packages
|
||||
#
|
||||
# Argument 1 is the package directory prefix [mandatory]
|
||||
# Argument 2 is the lowercase package name [mandatory]
|
||||
# Argument 3 is "target" or "host" [optional, default: "target"]
|
||||
################################################################################
|
||||
# define hook targets
|
||||
# default hook behaviour: do nothing
|
||||
$$($(2)_HOOK_POST_EXTRACT):
|
||||
$$($(2)_HOOK_POST_CONFIGURE):
|
||||
$$($(2)_HOOK_POST_BUILD):
|
||||
$$($(2)_HOOK_POST_INSTALL):
|
||||
|
||||
define AUTOTARGETS
|
||||
ifeq ($(3),host)
|
||||
$(call AUTOTARGETS_INNER,$(3)-$(2),$(call UPPERCASE,$(3)-$(2)),$(call UPPERCASE,$(2)),$(1),host)
|
||||
else
|
||||
$(call AUTOTARGETS_INNER,$(2),$(call UPPERCASE,$(2)),$(call UPPERCASE,$(2)),$(1),target)
|
||||
# add package to the general list of targets if requested by the buildroot
|
||||
# configuration
|
||||
ifeq ($$(BR2_PACKAGE_$(2)),y)
|
||||
TARGETS += $(1)
|
||||
endif
|
||||
endef
|
||||
|
||||
# :mode=makefile:
|
||||
|
||||
@@ -34,12 +34,23 @@ ifeq ($(BR2_DEBUG_3),y)
|
||||
TARGET_DEBUGGING=-g3
|
||||
endif
|
||||
|
||||
TARGET_CFLAGS=$(TARGET_OPTIMIZATION) $(TARGET_DEBUGGING)
|
||||
|
||||
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))
|
||||
#########################################################################
|
||||
ifeq ($(BR2_TOOLCHAIN_SOURCE),y)
|
||||
TARGET_CFLAGS=$(TARGET_OPTIMIZATION) $(TARGET_DEBUGGING) \
|
||||
-I$(STAGING_DIR)/usr/include -I$(STAGING_DIR)/include
|
||||
TARGET_LDFLAGS+=-L$(STAGING_DIR)/lib -L$(STAGING_DIR)/usr/lib
|
||||
ifeq ($(BR2_TOOLCHAIN_SYSROOT),y)
|
||||
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)))
|
||||
#"))
|
||||
ifneq ($(CC_TARGET_TUNE_),)
|
||||
TARGET_CFLAGS+=-mtune=$(CC_TARGET_TUNE_)
|
||||
endif
|
||||
@@ -77,65 +88,77 @@ ifeq ($(BR2_LARGEFILE),y)
|
||||
TARGET_CFLAGS+=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_TOOLCHAIN_BUILDROOT),y)
|
||||
TARGET_CFLAGS+=-I$(STAGING_DIR)/usr/include -I$(STAGING_DIR)/include
|
||||
endif
|
||||
|
||||
TARGET_LDFLAGS+=-L$(STAGING_DIR)/lib -L$(STAGING_DIR)/usr/lib
|
||||
TARGET_CXXFLAGS=$(TARGET_CFLAGS)
|
||||
TARGET_SYSROOT_OPT=--sysroot=$(STAGING_DIR)
|
||||
|
||||
# Compute GNU_TARGET_NAME and REAL_GNU_TARGET_NAME
|
||||
GNU_TARGET_NAME=$(ARCH)-linux
|
||||
|
||||
ifeq ($(BR2_TOOLCHAIN_BUILDROOT),y)
|
||||
LIBC=uclibc
|
||||
else ifeq ($(BR2_TOOLCHAIN_EXTERNAL_UCLIBC),y)
|
||||
LIBC=uclibc
|
||||
# else it's an external toolchain
|
||||
#########################################################################
|
||||
else
|
||||
LIBC=gnu
|
||||
TARGET_CFLAGS=$(TARGET_OPTIMIZATION) $(TARGET_DEBUGGING) -I$(STAGING_DIR)/include -I$(STAGING_DIR)/usr/include -I$(TOOLCHAIN_EXTERNAL_PATH)/$(TOOLCHAIN_EXTERNAL_PREFIX)/include --sysroot $(STAGING_DIR)/
|
||||
TARGET_CXXFLAGS=$(TARGET_CFLAGS)
|
||||
TARGET_LDFLAGS=-L$(STAGING_DIR)/lib -L$(STAGING_DIR)/usr/lib
|
||||
endif
|
||||
|
||||
# The ABI suffix is a bit special on ARM, as it needs to be
|
||||
# -uclibcgnueabi for uClibc EABI, -uclibc for uClibc OABI, -gnueabi
|
||||
# for glibc EABI and -gnu for glibc OABI. This means that the LIBC and
|
||||
# ABI aren't strictly orthogonal, which explains why we need the test
|
||||
# on LIBC below.
|
||||
ifeq ($(BR2_ARM_EABI),y)
|
||||
ifeq ($(LIBC),uclibc)
|
||||
ABI=gnueabi
|
||||
#########################################################################
|
||||
#ifeq ($(BR2_ROOTFS_SUFFIX),)
|
||||
ROOTFS_SUFFIX:=$(strip $(subst ",, $(BR2_ROOTFS_SUFFIX)))
|
||||
ifeq ($(ROOTFS_SUFFIX),)
|
||||
ROOTFS_SUFFIX:=
|
||||
else
|
||||
ABI=eabi
|
||||
endif
|
||||
XXXX=xxxx
|
||||
ROOTFS_SUFFIX:=-$(BR2_ROOTFS_SUFFIX)
|
||||
endif
|
||||
|
||||
REAL_GNU_TARGET_NAME=$(ARCH)-unknown-linux-$(LIBC)$(ABI)
|
||||
|
||||
ifeq ($(BR2_TOOLCHAIN_BUILDROOT),y)
|
||||
TARGET_CROSS=$(STAGING_DIR)/usr/bin/$(REAL_GNU_TARGET_NAME)-
|
||||
else ifeq ($(BR2_TOOLCHAIN_EXTERNAL),y)
|
||||
TOOLCHAIN_EXTERNAL_PREFIX:=$(call qstrip,$(BR2_TOOLCHAIN_EXTERNAL_PREFIX))
|
||||
TOOLCHAIN_EXTERNAL_PATH:=$(call qstrip,$(BR2_TOOLCHAIN_EXTERNAL_PATH))
|
||||
TARGET_CROSS=$(TOOLCHAIN_EXTERNAL_PATH)/bin/$(TOOLCHAIN_EXTERNAL_PREFIX)-
|
||||
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)
|
||||
|
||||
# Quotes are needed for spaces et al in path components.
|
||||
TARGET_PATH="$(HOST_DIR)/bin:$(HOST_DIR)/usr/bin:$(HOST_DIR)/usr/sbin/:$(PATH)"
|
||||
|
||||
# Define TARGET_xx variables for all common binutils/gcc tools by
|
||||
# including the --sysroot option where necessary.
|
||||
TARGET_AR = $(TARGET_CROSS)ar
|
||||
TARGET_AS = $(TARGET_CROSS)as
|
||||
TARGET_CC = $(TARGET_CROSS)gcc $(TARGET_SYSROOT_OPT)
|
||||
TARGET_CPP = $(TARGET_CROSS)cpp $(TARGET_SYSROOT_OPT)
|
||||
TARGET_CXX = $(TARGET_CROSS)g++ $(TARGET_SYSROOT_OPT)
|
||||
TARGET_FC = $(TARGET_CROSS)gfortran $(TARGET_SYSROOT_OPT)
|
||||
TARGET_LD = $(TARGET_CROSS)ld $(TARGET_SYSROOT_OPT)
|
||||
TARGET_NM = $(TARGET_CROSS)nm
|
||||
TARGET_RANLIB = $(TARGET_CROSS)ranlib
|
||||
TARGET_OBJCOPY = $(TARGET_CROSS)objcopy
|
||||
TARGET_OBJDUMP = $(TARGET_CROSS)objdump
|
||||
TARGET_PATH="$(TOOL_BUILD_DIR)/bin:$(STAGING_DIR)/bin:$(STAGING_DIR)/usr/bin:$(PATH)"
|
||||
IMAGE:=$(BINARIES_DIR)/$(BR2_ROOTFS_PREFIX).$(ARCH)$(COND_ARCH_FPU_SUFFIX)$(ROOTFS_SUFFIX)
|
||||
GNU_TARGET_NAME=$(OPTIMIZE_FOR_CPU)-linux
|
||||
REAL_GNU_TARGET_NAME=$(OPTIMIZE_FOR_CPU)$(GNU_TARGET_SUFFIX)
|
||||
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="$(STAGING_DIR)/bin:$(STAGING_DIR)/usr/bin:$(TOOL_BUILD_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)
|
||||
|
||||
REAL_GNU_TARGET_NAME=$(TOOLCHAIN_EXTERNAL_PREFIX)
|
||||
GNU_TARGET_NAME=$(TOOLCHAIN_EXTERNAL_PREFIX)
|
||||
KERNEL_CROSS=$(TOOLCHAIN_EXTERNAL_PATH)/bin/$(TOOLCHAIN_EXTERNAL_PREFIX)-
|
||||
TARGET_CROSS=$(TOOLCHAIN_EXTERNAL_PATH)/bin/$(TOOLCHAIN_EXTERNAL_PREFIX)-
|
||||
endif
|
||||
TARGET_AR=$(TARGET_CROSS)ar
|
||||
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
|
||||
TARGET_OBJCOPY=$(TARGET_CROSS)objcopy
|
||||
TARGET_OBJDUMP=$(TARGET_CROSS)objdump
|
||||
ifeq ($(BR2_TOOLCHAIN_EXTERNAL),y)
|
||||
TARGET_LDCONFIG=/sbin/ldconfig
|
||||
else
|
||||
TARGET_LDCONFIG=$(TARGET_CROSS)ldconfig
|
||||
endif
|
||||
ifeq ($(BR2_STRIP_strip),y)
|
||||
STRIP_DISCARD_ALL:=--discard-all
|
||||
STRIP_STRIP_UNNEEDED:=--strip-unneeded
|
||||
@@ -155,32 +178,52 @@ TARGET_STRIP=$(STAGING_DIR)/usr/bin/$(REAL_GNU_TARGET_NAME)-sstrip
|
||||
STRIPCMD=$(TARGET_STRIP)
|
||||
endif
|
||||
ifeq ($(BR2_STRIP_none),y)
|
||||
TARGET_STRIP=true
|
||||
TARGET_STRIP=true -Not_stripping
|
||||
STRIPCMD=$(TARGET_STRIP)
|
||||
endif
|
||||
INSTALL:=$(shell which install || type -p install)
|
||||
INSTALL=/usr/bin/install
|
||||
FLEX:=$(shell which flex || type -p flex)
|
||||
BISON:=$(shell which bison || type -p bison)
|
||||
|
||||
HOST_CFLAGS += -I$(HOST_DIR)/include -I$(HOST_DIR)/usr/include
|
||||
HOST_CXXFLAGS += -I$(HOST_DIR)/include -I$(HOST_DIR)/usr/include
|
||||
HOST_LDFLAGS += -L$(HOST_DIR)/lib -L$(HOST_DIR)/usr/lib -Wl,-rpath,$(HOST_DIR)/usr/lib
|
||||
HOST_PATH=$(HOST_DIR)/bin:$(HOST_DIR)/usr/bin:$(PATH)
|
||||
|
||||
# hostcc version as an integer - E.G. 4.3.2 => 432
|
||||
HOSTCC_VERSION:=$(shell $(HOSTCC) --version | \
|
||||
sed -n 's/^.* \([0-9]*\)\.\([0-9]*\)\.\([0-9]*\)[ ]*.*$$/\1\2\3/p')
|
||||
|
||||
HOST_ARCH:=$(shell $(HOSTCC) -dumpmachine | sed -e s'/-.*//' \
|
||||
-e 's/sparc.*/sparc/' \
|
||||
-e 's/arm.*/arm/g' \
|
||||
-e 's/m68k.*/m68k/' \
|
||||
-e 's/ppc/powerpc/g' \
|
||||
-e 's/v850.*/v850/g' \
|
||||
-e 's/sh[234]/sh/' \
|
||||
-e 's/mips-.*/mips/' \
|
||||
-e 's/mipsel-.*/mipsel/' \
|
||||
-e 's/cris.*/cris/' \
|
||||
-e 's/i[3-9]86/i386/' \
|
||||
)
|
||||
GNU_HOST_NAME:=$(HOST_ARCH)-$(subst ",,$(BR2_GNU_BUILD_SUFFIX))
|
||||
#")
|
||||
|
||||
AUTO_CONFIGURE_TARGET=\
|
||||
$(TARGET_CONFIGURE_OPTS) \
|
||||
$(TARGET_CONFIGURE_ARGS) \
|
||||
$(TARGET_CONFIGURE_ENV) \
|
||||
$(if $(THIS_SRCDIR),$(THIS_SRCDIR)/,./)configure \
|
||||
$(if $(BR2_CONFIG_CACHE),--cache-file="$(PROJECT_BUILD_DIR)/tgt-config.cache",) \
|
||||
--target=$(GNU_TARGET_NAME) \
|
||||
--host=$(GNU_TARGET_NAME) \
|
||||
--build=$(GNU_HOST_NAME)
|
||||
|
||||
TARGET_CONFIGURE_OPTS=PATH=$(TARGET_PATH) \
|
||||
AR="$(TARGET_AR)" \
|
||||
AS="$(TARGET_AS)" \
|
||||
LD="$(TARGET_LD)" \
|
||||
NM="$(TARGET_NM)" \
|
||||
CC="$(TARGET_CC)" \
|
||||
GCC="$(TARGET_CC)" \
|
||||
CPP="$(TARGET_CPP)" \
|
||||
CXX="$(TARGET_CXX)" \
|
||||
FC="$(TARGET_FC)" \
|
||||
CC="$(TARGET_CC) $(TARGET_CFLAGS)" \
|
||||
GCC="$(TARGET_CC) $(TARGET_CFLAGS)" \
|
||||
CPP="$(TARGET_CPP) $(TARGET_CFLAGS)" \
|
||||
CXX="$(TARGET_CXX) $(TARGET_CXXFLAGS)" \
|
||||
FC="$(TARGET_FC) $(TARGET_FCFLAGS)" \
|
||||
RANLIB="$(TARGET_RANLIB)" \
|
||||
STRIP="$(TARGET_STRIP)" \
|
||||
OBJCOPY="$(TARGET_OBJCOPY)" \
|
||||
@@ -195,46 +238,59 @@ TARGET_CONFIGURE_OPTS=PATH=$(TARGET_PATH) \
|
||||
CXXFLAGS_FOR_BUILD="$(HOST_CXXFLAGS)" \
|
||||
LDFLAGS_FOR_BUILD="$(HOST_LDFLAGS)" \
|
||||
FCFLAGS_FOR_BUILD="$(HOST_FCFLAGS)" \
|
||||
AR_FOR_TARGET="$(TARGET_AR)" \
|
||||
AS_FOR_TARGET="$(TARGET_AS)" \
|
||||
CC_FOR_TARGET="$(TARGET_CC)" \
|
||||
LD_FOR_TARGET="$(TARGET_LD)" \
|
||||
NM_FOR_TARGET="$(TARGET_NM)" \
|
||||
DEFAULT_ASSEMBLER="$(TARGET_AS)" \
|
||||
DEFAULT_LINKER="$(TARGET_LD)" \
|
||||
CFLAGS="$(TARGET_CFLAGS)" \
|
||||
CXXFLAGS="$(TARGET_CXXFLAGS)" \
|
||||
LDFLAGS="$(TARGET_LDFLAGS)" \
|
||||
FCFLAGS="$(TARGET_FCFLAGS)" \
|
||||
PKG_CONFIG_SYSROOT_DIR="$(STAGING_DIR)" \
|
||||
PKG_CONFIG="$(PKG_CONFIG_HOST_BINARY)" \
|
||||
PKG_CONFIG="$(STAGING_DIR)/usr/bin/pkg-config" \
|
||||
PKG_CONFIG_PATH="$(STAGING_DIR)/usr/lib/pkgconfig:$(PKG_CONFIG_PATH)" \
|
||||
PERLLIB="$(HOST_DIR)/usr/lib/perl" \
|
||||
STAGING_DIR="$(STAGING_DIR)"
|
||||
|
||||
TARGET_MAKE_ENV=PATH=$(TARGET_PATH) \
|
||||
PERLLIB="$(HOST_DIR)/usr/lib/perl"
|
||||
TARGET_CONFIGURE_ENV=\
|
||||
CFLAGS="$(TARGET_CFLAGS)" \
|
||||
CXXFLAGS="$(TARGET_CXXFLAGS)" \
|
||||
LDFLAGS="$(TARGET_LDFLAGS)" \
|
||||
FCFLAGS="$(TARGET_FCFLAGS)" \
|
||||
|
||||
HOST_CONFIGURE_OPTS=PATH=$(HOST_PATH) \
|
||||
HOST_CONFIGURE_OPTS=PATH=$(TARGET_PATH) \
|
||||
AR="$(HOSTAR)" \
|
||||
AS="$(HOSTAS)" \
|
||||
LD="$(HOSTLD)" \
|
||||
LD="$(HOSTLD) $(HOST_LDFLAGS)" \
|
||||
NM="$(HOSTNM)" \
|
||||
CC="$(HOSTCC)" \
|
||||
GCC="$(HOSTCC)" \
|
||||
CXX="$(HOSTCXX)" \
|
||||
CPP="$(HOSTCPP)" \
|
||||
CFLAGS="$(HOST_CFLAGS)" \
|
||||
CXXFLAGS="$(HOST_CXXFLAGS)" \
|
||||
LDFLAGS="$(HOST_LDFLAGS)" \
|
||||
PKG_CONFIG_ALLOW_SYSTEM_CFLAGS=1 \
|
||||
PKG_CONFIG_ALLOW_SYSTEM_LIBS=1 \
|
||||
PKG_CONFIG="$(PKG_CONFIG_HOST_BINARY)" \
|
||||
PKG_CONFIG_LIBDIR="$(HOST_DIR)/usr/lib/pkgconfig" \
|
||||
PERLLIB="$(HOST_DIR)/usr/lib/perl" \
|
||||
LD_LIBRARY_PATH="$(HOST_DIR)/usr/lib:$(LD_LIBRARY_PATH)"
|
||||
|
||||
HOST_MAKE_ENV=PATH=$(HOST_PATH) \
|
||||
LD_LIBRARY_PATH="$(HOST_DIR)/usr/lib:$(LD_LIBRARY_PATH)" \
|
||||
PKG_CONFIG="$(PKG_CONFIG_HOST_BINARY)" \
|
||||
PKG_CONFIG_LIBDIR="$(HOST_DIR)/usr/lib/pkgconfig" \
|
||||
PERLLIB="$(HOST_DIR)/usr/lib/perl"
|
||||
|
||||
CC="$(HOSTCC) $(HOST_CFLAGS)" \
|
||||
GCC="$(HOSTCC) $(HOST_CFLAGS)" \
|
||||
CXX="$(HOSTCXX) $(HOST_CXXFLAGS)" \
|
||||
CPP="$(HOSTCPP) $(HOST_CFLAGS)" \
|
||||
AR_FOR_BUILD="$(HOSTAR)" \
|
||||
AS_FOR_BUILD="$(HOSTAS)" \
|
||||
CC_FOR_BUILD="$(HOSTCC)" \
|
||||
GCC_FOR_BUILD="$(HOSTCC)" \
|
||||
CXX_FOR_BUILD="$(HOSTCXX)" \
|
||||
LD_FOR_BUILD="$(HOSTLD)" \
|
||||
FC_FOR_BUILD="$(HOSTFC)" \
|
||||
CFLAGS_FOR_BUILD="$(HOST_CFLAGS)" \
|
||||
CXXFLAGS_FOR_BUILD="$(HOST_CXXFLAGS)" \
|
||||
LDFLAGS_FOR_BUILD="$(HOST_LDFLAGS)" \
|
||||
FCFLAGS_FOR_BUILD="$(HOST_FCFLAGS)" \
|
||||
AR_FOR_TARGET="$(TARGET_AR)" \
|
||||
AS_FOR_TARGET="$(TARGET_AS)" \
|
||||
CC_FOR_TARGET="$(TARGET_CC)" \
|
||||
LD_FOR_TARGET="$(TARGET_LD)" \
|
||||
NM_FOR_TARGET="$(TARGET_NM)" \
|
||||
RANLIB_FOR_TARGET="$(TARGET_RANLIB)" \
|
||||
STRIP_FOR_TARGET="$(TARGET_STRIP)" \
|
||||
OBJCOPY_FOR_TARGET="$(TARGET_OBJCOPY)" \
|
||||
OBJDUMP_FOR_TARGET="$(TARGET_OBJDUMP)" \
|
||||
DEFAULT_ASSEMBLER="$(TARGET_AS)" \
|
||||
DEFAULT_LINKER="$(TARGET_LD)" \
|
||||
ORIGINAL_AS_FOR_TARGET="$(TARGET_AS)" \
|
||||
ORIGINAL_LD_FOR_TARGET="$(TARGET_LD)" \
|
||||
ORIGINAL_NM_FOR_TARGET="$(TARGET_NM)" \
|
||||
ORIGINAL_OBJDUMP_FOR_TARGET="$(TARGET_OBJDUMP)"
|
||||
|
||||
#######################################################################
|
||||
# settings we need to pass to configure
|
||||
@@ -260,6 +316,20 @@ else
|
||||
BR2_AC_CV_C_BIGENDIAN=ac_cv_c_bigendian=no
|
||||
endif
|
||||
|
||||
# XXX: FIXME: We would need to grab MALLOC_GLIBC_COMPAT from the uClibc.config
|
||||
# Including it doesn't seem wise, grepping is ugly.. Suggestions?
|
||||
# Does malloc return live pointer for malloc(0) ?
|
||||
ifeq ($(MALLOC_GLIBC_COMPAT),y)
|
||||
BR2_AC_CV_FUNC_MALLOC_0_NONNULL=ac_cv_func_malloc_0_nonnull=yes \
|
||||
gl_cv_func_malloc_0_nonnull=yes \
|
||||
ac_cv_func_realloc_0_nonnull=yes
|
||||
else
|
||||
BR2_AC_CV_FUNC_MALLOC_0_NONNULL=ac_cv_func_malloc_0_nonnull=no \
|
||||
gl_cv_func_malloc_0_nonnull=no \
|
||||
ac_cv_func_realloc_0_nonnull=no
|
||||
endif
|
||||
|
||||
|
||||
TARGET_CONFIGURE_ARGS= \
|
||||
$(BR2_AC_CV_TRAP_CHECK) \
|
||||
ac_cv_func_mmap_fixed_mapped=yes \
|
||||
@@ -284,7 +354,7 @@ DISABLE_LARGEFILE= --disable-largefile
|
||||
endif
|
||||
|
||||
ifneq ($(BR2_HAVE_DOCUMENTATION),y)
|
||||
DISABLE_DOCUMENTATION=--disable-gtk-doc
|
||||
DISABLE_DOCUMENTATION=--without-html-dir --disable-gtk-doc
|
||||
endif
|
||||
|
||||
ifneq ($(BR2_INET_IPV6),y)
|
||||
@@ -292,7 +362,7 @@ DISABLE_IPV6= --disable-ipv6
|
||||
endif
|
||||
|
||||
ifneq ($(BR2_GCC_CROSS_CXX),y)
|
||||
TARGET_CONFIGURE_OPTS+=CXX=false
|
||||
TARGET_CONFIGURE_OPTS+=CXX=""
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_ENABLE_DEBUG),y)
|
||||
@@ -301,5 +371,24 @@ else
|
||||
ENABLE_DEBUG:=
|
||||
endif
|
||||
|
||||
|
||||
# X Windowing system
|
||||
|
||||
XSERVER:=
|
||||
ifeq ($(BR2_PACKAGE_TINYX),y)
|
||||
XSERVER+=tinyx
|
||||
endif
|
||||
ifeq ($(BR2_PACKAGE_XORG),y)
|
||||
XSERVER+=xorg
|
||||
endif
|
||||
ifeq ($(BR2_PACKAGE_XORG7),y)
|
||||
XSERVER+=xserver_xorg-server
|
||||
endif
|
||||
ifeq ($(BR2_PACKAGE_XGGI),y)
|
||||
XSERVER+=xggi
|
||||
endif
|
||||
|
||||
X11_PREFIX:=$(strip $(subst ",, $(BR2_X11_PREFIX)))
|
||||
#"))
|
||||
|
||||
include package/Makefile.autotools.in
|
||||
include package/Makefile.package.in
|
||||
|
||||
@@ -1,421 +0,0 @@
|
||||
################################################################################
|
||||
# Generic package infrastructure
|
||||
#
|
||||
# This file implements an infrastructure that eases development of
|
||||
# package .mk files. It should be used for all non-autotools based
|
||||
# packages. Autotools-based packages should use the specialized
|
||||
# autotools infrastructure in package/Makefile.autotools.in.
|
||||
#
|
||||
# See the Buildroot documentation for details on the usage of this
|
||||
# infrastructure
|
||||
#
|
||||
# In terms of implementation, this generic infrastructure requires the
|
||||
# .mk file to specify:
|
||||
#
|
||||
# 1. Metadata informations about the package: name, version,
|
||||
# download URL, etc.
|
||||
#
|
||||
# 2. Description of the commands to be executed to configure, build
|
||||
# and install the package
|
||||
#
|
||||
# The autotools infrastructure specializes this generic infrastructure
|
||||
# by already implementing the configure, build and install steps.
|
||||
################################################################################
|
||||
|
||||
# UPPERCASE Macro -- transform its argument to uppercase and replace dots and
|
||||
# hyphens to underscores
|
||||
|
||||
# Heavily inspired by the up macro from gmsl (http://gmsl.sf.net)
|
||||
# This is approx 5 times faster than forking a shell and tr, and
|
||||
# as this macro is used a lot it matters
|
||||
# This works by creating translation character pairs (E.G. a:A b:B)
|
||||
# and then looping though all of them running $(subst from,to,text)
|
||||
[FROM] := a b c d e f g h i j k l m n o p q r s t u v w x y z . -
|
||||
[TO] := A B C D E F G H I J K L M N O P Q R S T U V W X Y Z _ _
|
||||
|
||||
UPPERCASE = $(strip $(eval __tmp := $1) \
|
||||
$(foreach c, $(join $(addsuffix :,$([FROM])),$([TO])), \
|
||||
$(eval __tmp := \
|
||||
$(subst $(word 1,$(subst :, ,$c)),$(word 2,$(subst :, ,$c)),\
|
||||
$(__tmp)))) \
|
||||
$(__tmp))
|
||||
|
||||
define KCONFIG_ENABLE_OPT
|
||||
$(SED) "/\\<$(1)\\>/d" $(2)
|
||||
echo "$(1)=y" >> $(2)
|
||||
endef
|
||||
|
||||
define KCONFIG_SET_OPT
|
||||
$(SED) "/\\<$(1)\\>/d" $(3)
|
||||
echo "$(1)=$(2)" >> $(3)
|
||||
endef
|
||||
|
||||
define KCONFIG_DISABLE_OPT
|
||||
$(SED) "/\\<$(1)\\>/d" $(2)
|
||||
echo "# $(1) is not set" >> $(2)
|
||||
endef
|
||||
|
||||
# Define extractors for different archive suffixes
|
||||
INFLATE.bz2 = $(BZCAT)
|
||||
INFLATE.gz = $(ZCAT)
|
||||
INFLATE.tbz = $(BZCAT)
|
||||
INFLATE.tbz2 = $(BZCAT)
|
||||
INFLATE.tgz = $(ZCAT)
|
||||
INFLATE.tar = cat
|
||||
|
||||
# MESSAGE Macro -- display a message in bold type
|
||||
MESSAGE = echo "$(TERM_BOLD)>>> $($(PKG)_NAME) $($(PKG)_VERSION) $(1)$(TERM_RESET)"
|
||||
TERM_BOLD := $(shell tput smso)
|
||||
TERM_RESET := $(shell tput rmso)
|
||||
|
||||
################################################################################
|
||||
# DOWNLOAD -- Download helper. Will try to download source from:
|
||||
# 1) BR2_PRIMARY_SITE if enabled
|
||||
# 2) Download site
|
||||
# 3) BR2_BACKUP_SITE if enabled
|
||||
#
|
||||
# Argument 1 is the source location
|
||||
# Argument 2 is the source filename
|
||||
#
|
||||
# E.G. use like this:
|
||||
# $(call DOWNLOAD,$(FOO_SITE),$(FOO_SOURCE))
|
||||
################################################################################
|
||||
|
||||
# support make source-check/external-deps
|
||||
ifneq ($(SPIDER),)
|
||||
DOWNLOAD=$(WGET) -P $(DL_DIR) $(1)/$(2)
|
||||
else
|
||||
define DOWNLOAD
|
||||
$(Q)test -e $(DL_DIR)/$(2) || \
|
||||
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
|
||||
|
||||
# Utility programs used to build packages
|
||||
TAR ?= tar
|
||||
|
||||
# Automatically detect tar --strip-path/components option
|
||||
TAR_STRIP_COMPONENTS := \
|
||||
$(shell $(TAR) --help | grep strip-path > /dev/null ; \
|
||||
if test $$? = 0 ; then \
|
||||
echo '--strip-path' ; \
|
||||
else \
|
||||
echo '--strip-components' ; \
|
||||
fi)
|
||||
|
||||
# Needed for the foreach loops to loop over the list of hooks, so that
|
||||
# each hook call is properly separated by a newline.
|
||||
define sep
|
||||
|
||||
|
||||
endef
|
||||
|
||||
################################################################################
|
||||
# Implicit targets -- produce a stamp file for each step of a package build
|
||||
################################################################################
|
||||
|
||||
# Retrieve the archive
|
||||
$(BUILD_DIR)/%/.stamp_downloaded:
|
||||
# support make source-check/external-deps
|
||||
ifeq ($(SPIDER),)
|
||||
# Only show the download message if it isn't already downloaded
|
||||
$(Q)(test -e $(DL_DIR)/$($(PKG)_SOURCE) && \
|
||||
(test -z $($(PKG)_PATCH) || test -e $(DL_DIR)$($(PKG)_PATCH))) || \
|
||||
$(call MESSAGE,"Downloading")
|
||||
endif
|
||||
$(call DOWNLOAD,$($(PKG)_SITE),$($(PKG)_SOURCE))
|
||||
$(if $($(PKG)_PATCH),$(call DOWNLOAD,$($(PKG)_SITE),$($(PKG)_PATCH)))
|
||||
ifeq ($(SPIDER),)
|
||||
$(Q)mkdir -p $(@D)
|
||||
$(Q)touch $@
|
||||
endif
|
||||
|
||||
# Unpack the archive
|
||||
$(BUILD_DIR)/%/.stamp_extracted:
|
||||
@$(call MESSAGE,"Extracting")
|
||||
$(Q)mkdir -p $(@D)
|
||||
$(Q)$(INFLATE$(suffix $($(PKG)_SOURCE))) $(DL_DIR)/$($(PKG)_SOURCE) | \
|
||||
$(TAR) $(TAR_STRIP_COMPONENTS)=1 -C $(@D) $(TAR_OPTIONS) -
|
||||
# some packages have messed up permissions inside
|
||||
$(Q)chmod -R ug+rw $(@D)
|
||||
$(foreach hook,$($(PKG)_POST_EXTRACT_HOOKS),$(call $(hook))$(sep))
|
||||
$(Q)touch $@
|
||||
|
||||
# Patch
|
||||
#
|
||||
# The NOHOSTPKG variable is the uppercased package name, without the
|
||||
# HOST_ prefix, even for host packages. This allows to find the
|
||||
# patches in the package directory, because $($(NOHOSTPKG)_NAME)
|
||||
# expands to the package directory name.
|
||||
#
|
||||
$(BUILD_DIR)/%/.stamp_patched: NAMEVER = $($(NOHOSTPKG)_NAME)-$($(PKG)_VERSION)
|
||||
$(BUILD_DIR)/%/.stamp_patched:
|
||||
@$(call MESSAGE,"Patching $($(PKG)_DIR_PREFIX)/$($(PKG)_NAME)")
|
||||
$(if $($(PKG)_PATCH),toolchain/patch-kernel.sh $(@D) $(DL_DIR) $($(PKG)_PATCH))
|
||||
$(Q)( \
|
||||
if test -d $($(PKG)_DIR_PREFIX)/$($(NOHOSTPKG)_NAME); then \
|
||||
if test "$(wildcard $($(PKG)_DIR_PREFIX)/$($(NOHOSTPKG)_NAME)/$(NAMEVER)*.patch*)"; then \
|
||||
toolchain/patch-kernel.sh $(@D) $($(PKG)_DIR_PREFIX)/$($(NOHOSTPKG)_NAME) $(NAMEVER)\*.patch $(NAMEVER)\*.patch.$(ARCH) || exit 1; \
|
||||
else \
|
||||
toolchain/patch-kernel.sh $(@D) $($(PKG)_DIR_PREFIX)/$($(NOHOSTPKG)_NAME) $($(NOHOSTPKG)_NAME)\*.patch $($(NOHOSTPKG)_NAME)\*.patch.$(ARCH) || exit 1; \
|
||||
if test -d $($(PKG)_DIR_PREFIX)/$($(PKG)_NAME)/$(NAMEVER); then \
|
||||
toolchain/patch-kernel.sh $(@D) $($(PKG)_DIR_PREFIX)/$($(NOHOSTPKG)_NAME)/$(NAMEVER) \*.patch \*.patch.$(ARCH) || exit 1; \
|
||||
fi; \
|
||||
fi; \
|
||||
fi; \
|
||||
)
|
||||
$(foreach hook,$($(PKG)_POST_PATCH_HOOKS),$(call $(hook))$(sep))
|
||||
$(Q)touch $@
|
||||
|
||||
# Configure
|
||||
$(BUILD_DIR)/%/.stamp_configured:
|
||||
@$(call MESSAGE,"Configuring")
|
||||
$($(PKG)_CONFIGURE_CMDS)
|
||||
$(foreach hook,$($(PKG)_POST_CONFIGURE_HOOKS),$(call $(hook))$(sep))
|
||||
$(Q)touch $@
|
||||
|
||||
# Build
|
||||
$(BUILD_DIR)/%/.stamp_built::
|
||||
@$(call MESSAGE,"Building")
|
||||
$($(PKG)_BUILD_CMDS)
|
||||
$(foreach hook,$($(PKG)_POST_BUILD_HOOKS),$(call $(hook))$(sep))
|
||||
$(Q)touch $@
|
||||
|
||||
# Install to host dir
|
||||
$(BUILD_DIR)/%/.stamp_host_installed:
|
||||
@$(call MESSAGE,'Installing to host directory')
|
||||
$($(PKG)_INSTALL_CMDS)
|
||||
$(foreach hook,$($(PKG)_POST_INSTALL_HOOKS),$(call $(hook))$(sep))
|
||||
$(Q)touch $@
|
||||
|
||||
# Install to staging dir
|
||||
$(BUILD_DIR)/%/.stamp_staging_installed:
|
||||
@$(call MESSAGE,'Installing to staging directory')
|
||||
$($(PKG)_INSTALL_STAGING_CMDS)
|
||||
$(foreach hook,$($(PKG)_POST_INSTALL_STAGING_HOOKS),$(call $(hook))$(sep))
|
||||
$(Q)touch $@
|
||||
|
||||
# Install to target dir
|
||||
$(BUILD_DIR)/%/.stamp_target_installed:
|
||||
@$(call MESSAGE,"Installing to target")
|
||||
$($(PKG)_INSTALL_TARGET_CMDS)
|
||||
$(foreach hook,$($(PKG)_POST_INSTALL_TARGET_HOOKS),$(call $(hook))$(sep))
|
||||
$(Q)touch $@
|
||||
|
||||
# Clean package
|
||||
$(BUILD_DIR)/%/.stamp_cleaned:
|
||||
@$(call MESSAGE,"Cleaning up")
|
||||
$($(PKG)_CLEAN_CMDS)
|
||||
rm -f $(@D)/.stamp_built
|
||||
|
||||
# Uninstall package from target and staging
|
||||
$(BUILD_DIR)/%/.stamp_uninstalled:
|
||||
@$(call MESSAGE,"Uninstalling")
|
||||
$($(PKG)_UNINSTALL_STAGING_CMDS)
|
||||
rm -f $($(PKG)_TARGET_INSTALL_STAGING)
|
||||
$($(PKG)_UNINSTALL_TARGET_CMDS)
|
||||
rm -f $($(PKG)_TARGET_INSTALL_TARGET) $($(PKG)_HOOK_POST_INSTALL)
|
||||
|
||||
# Remove package sources
|
||||
$(BUILD_DIR)/%/.stamp_dircleaned:
|
||||
rm -Rf $(@D)
|
||||
|
||||
################################################################################
|
||||
# GENTARGETS_INNER -- generates the make targets needed to build a
|
||||
# generic package
|
||||
#
|
||||
# argument 1 is the lowercase package name
|
||||
# argument 2 is the uppercase package name, including an HOST_ prefix
|
||||
# for host packages
|
||||
# argument 3 is the uppercase package name, without the HOST_ prefix
|
||||
# for host packages
|
||||
# argument 4 is the package directory prefix
|
||||
# argument 5 is the type (target or host)
|
||||
################################################################################
|
||||
|
||||
define GENTARGETS_INNER
|
||||
|
||||
# Define default values for various package-related variables, if not
|
||||
# already defined. For some variables (version, source, site and
|
||||
# subdir), if they are undefined, we try to see if a variable without
|
||||
# the HOST_ prefix is defined. If so, we use such a variable, so that
|
||||
# these informations have only to be specified once, for both the
|
||||
# target and host packages of a given .mk file.
|
||||
|
||||
$(2)_TYPE = $(5)
|
||||
$(2)_NAME = $(1)
|
||||
|
||||
ifndef $(2)_VERSION
|
||||
ifdef $(3)_VERSION
|
||||
$(2)_VERSION = $($(3)_VERSION)
|
||||
else
|
||||
$(2)_VERSION = undefined
|
||||
endif
|
||||
endif
|
||||
|
||||
$(2)_DIR = $$(BUILD_DIR)/$(1)-$$($(2)_VERSION)
|
||||
|
||||
ifndef $(2)_SOURCE
|
||||
ifdef $(3)_SOURCE
|
||||
$(2)_SOURCE = $($(3)_SOURCE)
|
||||
else
|
||||
$(2)_SOURCE ?= $(1)-$$($(2)_VERSION).tar.gz
|
||||
endif
|
||||
endif
|
||||
|
||||
ifndef $(2)_PATCH
|
||||
ifdef $(3)_PATCH
|
||||
$(2)_PATCH = $($(3)_PATCH)
|
||||
endif
|
||||
endif
|
||||
|
||||
ifndef $(2)_SITE
|
||||
ifdef $(3)_SITE
|
||||
$(2)_SITE = $($(3)_SITE)
|
||||
else
|
||||
$(2)_SITE ?= \
|
||||
http://$$(BR2_SOURCEFORGE_MIRROR).dl.sourceforge.net/sourceforge/$(1)
|
||||
endif
|
||||
endif
|
||||
|
||||
$(2)_DEPENDENCIES ?=
|
||||
$(2)_INSTALL_STAGING ?= NO
|
||||
$(2)_INSTALL_TARGET ?= YES
|
||||
$(2)_DIR_PREFIX = $(if $(4),$(4),$(TOP_SRCDIR)/package)
|
||||
|
||||
# define sub-target stamps
|
||||
$(2)_TARGET_INSTALL_TARGET = $$($(2)_DIR)/.stamp_target_installed
|
||||
$(2)_TARGET_INSTALL_STAGING = $$($(2)_DIR)/.stamp_staging_installed
|
||||
$(2)_TARGET_INSTALL_HOST = $$($(2)_DIR)/.stamp_host_installed
|
||||
$(2)_TARGET_BUILD = $$($(2)_DIR)/.stamp_built
|
||||
$(2)_TARGET_CONFIGURE = $$($(2)_DIR)/.stamp_configured
|
||||
$(2)_TARGET_PATCH = $$($(2)_DIR)/.stamp_patched
|
||||
$(2)_TARGET_EXTRACT = $$($(2)_DIR)/.stamp_extracted
|
||||
$(2)_TARGET_SOURCE ?= $$($(2)_DIR)/.stamp_downloaded
|
||||
$(2)_TARGET_UNINSTALL = $$($(2)_DIR)/.stamp_uninstalled
|
||||
$(2)_TARGET_CLEAN = $$($(2)_DIR)/.stamp_cleaned
|
||||
$(2)_TARGET_DIRCLEAN = $$($(2)_DIR)/.stamp_dircleaned
|
||||
|
||||
# new-style hooks
|
||||
$(2)_POST_EXTRACT_HOOKS ?=
|
||||
$(2)_POST_PATCH_HOOKS ?=
|
||||
$(2)_POST_CONFIGURE_HOOKS ?=
|
||||
$(2)_POST_BUILD_HOOKS ?=
|
||||
$(2)_POST_INSTALL_HOOKS ?=
|
||||
$(2)_POST_INSTALL_STAGING_HOOKS ?=
|
||||
$(2)_POST_INSTALL_TARGET_HOOKS ?=
|
||||
|
||||
# old-style hooks
|
||||
$(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 = $$($(2)_DIR)/.stamp_hook_post_install
|
||||
|
||||
# human-friendly targets and target sequencing
|
||||
$(1): $(1)-install
|
||||
|
||||
ifeq ($$($(2)_TYPE),host)
|
||||
$(1)-install: $(1)-install-host $$($(2)_HOOK_POST_INSTALL)
|
||||
else
|
||||
$(1)-install: $(1)-install-staging $(1)-install-target \
|
||||
$$($(2)_HOOK_POST_INSTALL)
|
||||
endif
|
||||
|
||||
ifeq ($$($(2)_INSTALL_TARGET),YES)
|
||||
$(1)-install-target: $(1)-build \
|
||||
$$($(2)_TARGET_INSTALL_TARGET)
|
||||
else
|
||||
$(1)-install-target:
|
||||
endif
|
||||
|
||||
ifeq ($$($(2)_INSTALL_STAGING),YES)
|
||||
$(1)-install-staging: $(1)-build \
|
||||
$$($(2)_TARGET_INSTALL_STAGING)
|
||||
else
|
||||
$(1)-install-staging:
|
||||
endif
|
||||
|
||||
$(1)-install-host: $(1)-build $$($(2)_TARGET_INSTALL_HOST)
|
||||
|
||||
$(1)-build: $(1)-configure \
|
||||
$$($(2)_TARGET_BUILD) \
|
||||
$$($(2)_HOOK_POST_BUILD)
|
||||
|
||||
$(1)-configure: $(1)-patch \
|
||||
$$($(2)_TARGET_CONFIGURE) \
|
||||
$$($(2)_HOOK_POST_CONFIGURE)
|
||||
|
||||
$(1)-patch: $(1)-extract $$($(2)_TARGET_PATCH)
|
||||
|
||||
$(1)-extract: $(1)-depends \
|
||||
$$($(2)_TARGET_EXTRACT) \
|
||||
$$($(2)_HOOK_POST_EXTRACT)
|
||||
|
||||
$(1)-depends: $(1)-source $$($(2)_DEPENDENCIES)
|
||||
|
||||
$(1)-show-depends:
|
||||
@echo $$($(2)_DEPENDENCIES)
|
||||
|
||||
$(1)-source: $$($(2)_TARGET_SOURCE)
|
||||
|
||||
$(1)-uninstall: $(1)-configure $$($(2)_TARGET_UNINSTALL)
|
||||
|
||||
$(1)-clean: $(1)-uninstall \
|
||||
$$($(2)_TARGET_CLEAN)
|
||||
|
||||
$(1)-dirclean: $$($(2)_TARGET_DIRCLEAN)
|
||||
|
||||
# define the PKG variable for all targets, containing the
|
||||
# uppercase package variable prefix
|
||||
$$($(2)_TARGET_INSTALL_TARGET): PKG=$(2)
|
||||
$$($(2)_TARGET_INSTALL_STAGING): PKG=$(2)
|
||||
$$($(2)_TARGET_INSTALL_HOST): PKG=$(2)
|
||||
$$($(2)_TARGET_BUILD): PKG=$(2)
|
||||
$$($(2)_TARGET_CONFIGURE): PKG=$(2)
|
||||
$$($(2)_TARGET_PATCH): PKG=$(2)
|
||||
$$($(2)_TARGET_PATCH): NOHOSTPKG=$(3)
|
||||
$$($(2)_TARGET_EXTRACT): PKG=$(2)
|
||||
$$($(2)_TARGET_SOURCE): PKG=$(2)
|
||||
$$($(2)_TARGET_UNINSTALL): PKG=$(2)
|
||||
$$($(2)_TARGET_CLEAN): PKG=$(2)
|
||||
$$($(2)_TARGET_DIRCLEAN): PKG=$(2)
|
||||
$$($(2)_HOOK_POST_EXTRACT): PKG=$(2)
|
||||
$$($(2)_HOOK_POST_CONFIGURE): PKG=$(2)
|
||||
$$($(2)_HOOK_POST_BUILD): PKG=$(2)
|
||||
$$($(2)_HOOK_POST_INSTALL): PKG=$(2)
|
||||
|
||||
# define hook targets
|
||||
# default hook behaviour: do nothing
|
||||
$$($(2)_HOOK_POST_EXTRACT):
|
||||
$$($(2)_HOOK_POST_CONFIGURE):
|
||||
$$($(2)_HOOK_POST_BUILD):
|
||||
$$($(2)_HOOK_POST_INSTALL):
|
||||
|
||||
# add package to the general list of targets if requested by the buildroot
|
||||
# configuration
|
||||
|
||||
ifeq ($$(BR2_PACKAGE_$(2)),y)
|
||||
TARGETS += $(1)
|
||||
endif
|
||||
endef
|
||||
|
||||
################################################################################
|
||||
# GENTARGETS -- the target generator macro for generic packages
|
||||
#
|
||||
# Argument 1 is the package directory prefix [mandatory]
|
||||
# Argument 2 is the lowercase package name [mandatory]
|
||||
# Argument 3 is "target" or "host" [optional, default: "target"]
|
||||
################################################################################
|
||||
|
||||
define GENTARGETS
|
||||
ifeq ($(3),host)
|
||||
# In the case of host packages, turn the package name "pkg" into "host-pkg"
|
||||
$(call GENTARGETS_INNER,$(3)-$(2),$(call UPPERCASE,$(3)-$(2)),$(call UPPERCASE,$(2)),$(1),host)
|
||||
else
|
||||
# In the case of target packages, keep the package name "pkg"
|
||||
$(call GENTARGETS_INNER,$(2),$(call UPPERCASE,$(2)),$(call UPPERCASE,$(2)),$(1),target)
|
||||
endif
|
||||
endef
|
||||
|
||||
# :mode=makefile:
|
||||
@@ -17,7 +17,7 @@ $(ACPID_DIR)/.unpacked: $(DL_DIR)/$(ACPID_SOURCE)
|
||||
touch $(ACPID_DIR)/.unpacked
|
||||
|
||||
$(ACPID_DIR)/acpid: $(ACPID_DIR)/.unpacked
|
||||
$(MAKE) CC="$(TARGET_CC)" -C $(ACPID_DIR)
|
||||
$(MAKE) CC=$(TARGET_CC) -C $(ACPID_DIR)
|
||||
$(STRIPCMD) $(STRIP_STRIP_ALL) $(ACPID_DIR)/acpid
|
||||
$(STRIPCMD) $(STRIP_STRIP_ALL) $(ACPID_DIR)/acpi_listen
|
||||
touch -c $(ACPID_DIR)/acpid $(ACPID_DIR)/acpi_listen
|
||||
|
||||
@@ -1,13 +1,7 @@
|
||||
config BR2_PACKAGE_ALSAMIXERGUI
|
||||
depends on BR2_PACKAGE_XORG7
|
||||
depends on BR2_PACKAGE_ALSA_LIB
|
||||
depends on BR2_INSTALL_LIBSTDCPP
|
||||
select BR2_PACKAGE_FLTK
|
||||
bool "alsamixergui"
|
||||
help
|
||||
A nice GUI mixer for Alsa using fltk
|
||||
|
||||
http://www.iua.upf.es/~mdeboer/projects/alsamixergui/
|
||||
|
||||
comment "alsamixergui requires a toolchain with C++ support enabled"
|
||||
depends on !BR2_INSTALL_LIBSTDCPP && BR2_PACKAGE_XORG7 && BR2_PACKAGE_ALSA_LIB
|
||||
|
||||
@@ -10,11 +10,9 @@ ALSAMIXERGUI_AUTORECONF = YES
|
||||
ALSAMIXERGUI_INSTALL_STAGING = NO
|
||||
ALSAMIXERGUI_INSTALL_TARGET = YES
|
||||
|
||||
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_CONF_OPT = LDFLAGS="-L$(STAGING_DIR)/usr/lib -L$(STAGING_DIR)/lib -lstdc++ -lX11"
|
||||
|
||||
ALSAMIXERGUI_DEPENDENCIES = fltk alsa-lib
|
||||
ALSAMIXERGUI_DEPENDENCIES = uclibc fltk
|
||||
|
||||
$(eval $(call AUTOTARGETS,package,alsamixergui))
|
||||
|
||||
|
||||
@@ -1,27 +0,0 @@
|
||||
Instead of hardcoding a wrong prototype for a libcap function, include
|
||||
the correct header.
|
||||
|
||||
Index: argus-3.0.0.rc.34/argus/ArgusSource.c
|
||||
===================================================================
|
||||
--- argus-3.0.0.rc.34.orig/argus/ArgusSource.c 2010-02-09 22:57:21.000000000 +0100
|
||||
+++ argus-3.0.0.rc.34/argus/ArgusSource.c 2010-02-09 22:57:29.000000000 +0100
|
||||
@@ -53,6 +53,7 @@
|
||||
#define PPP_HDRLEN 4 /* length of PPP header */
|
||||
#endif
|
||||
|
||||
+#include <pcap.h>
|
||||
|
||||
void ArgusGetInterfaceStatus (struct ArgusSourceStruct *src);
|
||||
|
||||
Index: argus-3.0.0.rc.34/argus/ArgusSource.h
|
||||
===================================================================
|
||||
--- argus-3.0.0.rc.34.orig/argus/ArgusSource.h 2010-02-09 22:57:35.000000000 +0100
|
||||
+++ argus-3.0.0.rc.34/argus/ArgusSource.h 2010-02-09 22:57:54.000000000 +0100
|
||||
@@ -381,7 +381,6 @@
|
||||
|
||||
int ArgusCreatePktFromFddi(const struct fddi_header *, struct ether_header *, int);
|
||||
|
||||
-extern char *bpf_image(struct bpf_insn *, int);
|
||||
|
||||
|
||||
#else /* defined(ArgusSource) */
|
||||
@@ -7,15 +7,63 @@ ARGUS_VERSION:=3.0.0.rc.34
|
||||
ARGUS_SOURCE:=argus_$(ARGUS_VERSION).orig.tar.gz
|
||||
ARGUS_PATCH:=argus_$(ARGUS_VERSION)-1.diff.gz
|
||||
ARGUS_SITE:=$(BR2_DEBIAN_MIRROR)/debian/pool/main/a/argus/
|
||||
ARGUS_DEPENDENCIES=libpcap
|
||||
ARGUS_INSTALL_TARGET_OPT=DESTDIR=$(TARGET_DIR) install
|
||||
ARGUS_DIR:=$(BUILD_DIR)/argus-$(ARGUS_VERSION)
|
||||
ARGUS_CAT:=$(ZCAT)
|
||||
ARGUS_BINARY:=bin/argus
|
||||
ARGUS_TARGET_BINARY:=usr/sbin/argus
|
||||
|
||||
define ARGUS_DEBIAN_PATCH_APPLY
|
||||
if [ -d $(@D)/debian/patches ]; then \
|
||||
toolchain/patch-kernel.sh $(@D) $(@D)/debian/patches \*.patch; \
|
||||
$(DL_DIR)/$(ARGUS_SOURCE):
|
||||
$(call DOWNLOAD,$(ARGUS_SITE),$(ARGUS_SOURCE))
|
||||
|
||||
$(DL_DIR)/$(ARGUS_PATCH):
|
||||
$(call DOWNLOAD,$(ARGUS_SITE),$(ARGUS_PATCH))
|
||||
|
||||
argus-source: $(DL_DIR)/$(ARGUS_SOURCE) $(DL_DIR)/$(ARGUS_PATCH)
|
||||
|
||||
$(ARGUS_DIR)/.unpacked: $(DL_DIR)/$(ARGUS_SOURCE) $(DL_DIR)/$(ARGUS_PATCH)
|
||||
$(ARGUS_CAT) $(DL_DIR)/$(ARGUS_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
|
||||
toolchain/patch-kernel.sh $(ARGUS_DIR) package/argus/ argus\*.patch
|
||||
ifneq ($(ARGUS_PATCH),)
|
||||
(cd $(ARGUS_DIR) && $(ARGUS_CAT) $(DL_DIR)/$(ARGUS_PATCH) | patch -p1)
|
||||
if [ -d $(ARGUS_DIR)/debian/patches ]; then \
|
||||
toolchain/patch-kernel.sh $(ARGUS_DIR) $(ARGUS_DIR)/debian/patches \*.patch; \
|
||||
fi
|
||||
endef
|
||||
endif
|
||||
touch $@
|
||||
|
||||
ARGUS_POST_PATCH_HOOKS += ARGUS_DEBIAN_PATCH_APPLY
|
||||
$(ARGUS_DIR)/.configured: $(ARGUS_DIR)/.unpacked
|
||||
(cd $(ARGUS_DIR); rm -rf config.cache; \
|
||||
$(TARGET_CONFIGURE_OPTS) \
|
||||
$(TARGET_CONFIGURE_ARGS) \
|
||||
./configure \
|
||||
--target=$(GNU_TARGET_NAME) \
|
||||
--host=$(GNU_TARGET_NAME) \
|
||||
--build=$(GNU_HOST_NAME) \
|
||||
--prefix=/usr \
|
||||
$(DISABLE_LARGEFILE) \
|
||||
)
|
||||
touch $@
|
||||
|
||||
$(eval $(call AUTOTARGETS,package,argus))
|
||||
$(ARGUS_DIR)/$(ARGUS_BINARY): $(ARGUS_DIR)/.configured
|
||||
$(MAKE) $(TARGET_CONFIGURE_OPTS) -C $(ARGUS_DIR)
|
||||
|
||||
$(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-clean:
|
||||
-$(MAKE) -C $(ARGUS_DIR) clean
|
||||
rm -f $(TARGET_DIR)/$(ARGUS_TARGET_BINARY)
|
||||
|
||||
argus-dirclean:
|
||||
rm -rf $(ARGUS_DIR)
|
||||
#############################################################
|
||||
#
|
||||
# Toplevel Makefile options
|
||||
#
|
||||
#############################################################
|
||||
ifeq ($(BR2_PACKAGE_ARGUS),y)
|
||||
TARGETS+=argus
|
||||
endif
|
||||
|
||||
@@ -1,38 +0,0 @@
|
||||
#!/bin/sh
|
||||
#
|
||||
# Starts at daemon
|
||||
#
|
||||
|
||||
umask 077
|
||||
|
||||
start() {
|
||||
echo -n "Starting atd: "
|
||||
start-stop-daemon --start --quiet --make-pidfile --pidfile /var/run/atd.pid --background --exec /usr/sbin/atd -- -f
|
||||
echo "OK"
|
||||
}
|
||||
stop() {
|
||||
echo -n "Stopping atd: "
|
||||
start-stop-daemon --stop --quiet --pidfile /var/run/atd.pid
|
||||
echo "OK"
|
||||
}
|
||||
restart() {
|
||||
stop
|
||||
start
|
||||
}
|
||||
|
||||
case "$1" in
|
||||
start)
|
||||
start
|
||||
;;
|
||||
stop)
|
||||
stop
|
||||
;;
|
||||
restart|reload)
|
||||
restart
|
||||
;;
|
||||
*)
|
||||
echo $"Usage: $0 {start|stop|restart}"
|
||||
exit 1
|
||||
esac
|
||||
|
||||
exit $?
|
||||
@@ -1,33 +0,0 @@
|
||||
From a182f18fa3b9fb3dd817b601b51c758f9a77f407 Mon Sep 17 00:00:00 2001
|
||||
From: Marc Kleine-Budde <mkl@pengutronix.de>
|
||||
Date: Tue, 1 Dec 2009 17:08:14 +0100
|
||||
Subject: [PATCH 1/5] configure.ac: remove manual compiler check with AC_TRY_RUN
|
||||
|
||||
AC_TRY_RUN breaks cross compilation, so remove it. autotools will take
|
||||
care about a working (cross-) compiler.
|
||||
|
||||
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
|
||||
---
|
||||
configure.ac | 6 ------
|
||||
1 files changed, 0 insertions(+), 6 deletions(-)
|
||||
|
||||
diff --git a/configure.ac b/configure.ac
|
||||
index a8c2a14..997a37f 100644
|
||||
--- a/configure.ac
|
||||
+++ b/configure.ac
|
||||
@@ -38,12 +38,6 @@ case "$host" in
|
||||
AC_MSG_RESULT(no)
|
||||
;;
|
||||
esac
|
||||
-AC_MSG_CHECKING(Trying to compile a trivial ANSI C program)
|
||||
-AC_TRY_RUN([ main(int ac, char **av) { return 0; } ],
|
||||
- AC_MSG_RESULT(yes),
|
||||
- AC_MSG_RESULT(no)
|
||||
- AC_MSG_ERROR(Could not compile and run even a trivial ANSI C program - check CC.),
|
||||
- AC_MSG_ERROR(Could not compile and run even a trivial ANSI C program - check CC.))
|
||||
|
||||
AC_MSG_CHECKING(__attribute__((noreturn)))
|
||||
AC_TRY_COMPILE([], [void __attribute__((noreturn)) panic(void);],
|
||||
--
|
||||
1.6.5.3
|
||||
|
||||
@@ -1,34 +0,0 @@
|
||||
From e12c96cccab550eda31cf7bb1dedddd3670ffe69 Mon Sep 17 00:00:00 2001
|
||||
From: Marc Kleine-Budde <mkl@pengutronix.de>
|
||||
Date: Tue, 1 Dec 2009 17:22:22 +0100
|
||||
Subject: [PATCH 2/5] configure.ac: convert AC_TRY_COMPILE -> AC_COMPILE_IFELSE
|
||||
|
||||
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
|
||||
---
|
||||
configure.ac | 10 +++++-----
|
||||
1 files changed, 5 insertions(+), 5 deletions(-)
|
||||
|
||||
diff --git a/configure.ac b/configure.ac
|
||||
index 997a37f..cab80ed 100644
|
||||
--- a/configure.ac
|
||||
+++ b/configure.ac
|
||||
@@ -40,11 +40,11 @@ case "$host" in
|
||||
esac
|
||||
|
||||
AC_MSG_CHECKING(__attribute__((noreturn)))
|
||||
-AC_TRY_COMPILE([], [void __attribute__((noreturn)) panic(void);],
|
||||
- AC_MSG_RESULT(yes)
|
||||
- AC_DEFINE(HAVE_ATTRIBUTE_NORETURN, 1,
|
||||
- [Define to 1 if compiler supports __attribute__((noreturn))]),
|
||||
- AC_MSG_RESULT(no)
|
||||
+AC_COMPILE_IFELSE(
|
||||
+ [AC_LANG_PROGRAM([[]], [[void __attribute__((noreturn)) panic(void);]])],
|
||||
+ [AC_MSG_RESULT(yes)
|
||||
+ AC_DEFINE(HAVE_ATTRIBUTE_NORETURN, 1, Define to 1 if compiler supports __attribute__((noreturn)))],
|
||||
+ [AC_MSG_RESULT(no)]
|
||||
)
|
||||
dnl Checks for libraries.
|
||||
|
||||
--
|
||||
1.6.5.3
|
||||
|
||||
@@ -1,38 +0,0 @@
|
||||
From 8720a71757f3626bf3bbc3a7aa2185e6387e5689 Mon Sep 17 00:00:00 2001
|
||||
From: Marc Kleine-Budde <mkl@pengutronix.de>
|
||||
Date: Tue, 1 Dec 2009 20:37:31 +0100
|
||||
Subject: [PATCH 3/5] Makefile.in: add LDFLAGS to linking stage
|
||||
|
||||
The linking stage ignores the LDFLAGS, this breaks if the flex library
|
||||
lives in a non standard location.
|
||||
|
||||
This patch add LDFLAGS to both "at" and "atd" linking stage.
|
||||
|
||||
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
|
||||
---
|
||||
Makefile.in | 4 ++--
|
||||
1 files changed, 2 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/Makefile.in b/Makefile.in
|
||||
index dae6b7d..b766bbb 100644
|
||||
--- a/Makefile.in
|
||||
+++ b/Makefile.in
|
||||
@@ -65,13 +65,13 @@ LIST = Filelist Filelist.asc
|
||||
all: at atd atrun
|
||||
|
||||
at: $(ATOBJECTS)
|
||||
- $(CC) $(CFLAGS) -o at $(ATOBJECTS) $(LIBS) $(LEXLIB)
|
||||
+ $(CC) $(CFLAGS) $(LDFLAGS) -o at $(ATOBJECTS) $(LIBS) $(LEXLIB)
|
||||
rm -f $(CLONES)
|
||||
$(LN_S) -f at atq
|
||||
$(LN_S) -f at atrm
|
||||
|
||||
atd: $(RUNOBJECTS)
|
||||
- $(CC) $(CFLAGS) -o atd $(RUNOBJECTS) $(LIBS) $(PAMLIB)
|
||||
+ $(CC) $(CFLAGS) $(LDFLAGS) -o atd $(RUNOBJECTS) $(LIBS) $(PAMLIB)
|
||||
|
||||
y.tab.c y.tab.h: parsetime.y
|
||||
$(YACC) -d parsetime.y
|
||||
--
|
||||
1.6.5.3
|
||||
|
||||
@@ -1,97 +0,0 @@
|
||||
From 195d30e2e01fe2f91ed3bdaeec3982aa66b309dd Mon Sep 17 00:00:00 2001
|
||||
From: Marc Kleine-Budde <mkl@pengutronix.de>
|
||||
Date: Tue, 1 Dec 2009 20:57:45 +0100
|
||||
Subject: [PATCH 5/5] Makefile.in: replace IROOT by DESTDIR
|
||||
|
||||
This patch replaces IROOT by DESTDIR, which is the autotools standard
|
||||
variable. For backwards compatibilty IROOT overwrites the DESTDIR.
|
||||
|
||||
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
|
||||
---
|
||||
Makefile.in | 64 +++++++++++++++++++++++++++++++-----------------------------
|
||||
1 file changed, 34 insertions(+), 30 deletions(-)
|
||||
|
||||
Index: at-3.1.12/Makefile.in
|
||||
===================================================================
|
||||
--- at-3.1.12.orig/Makefile.in
|
||||
+++ at-3.1.12/Makefile.in
|
||||
@@ -16,6 +16,10 @@ docdir = $(prefix)/doc
|
||||
atdocdir = $(docdir)/at
|
||||
etcdir = @ETCDIR@
|
||||
|
||||
+ifdef IROOT
|
||||
+DESTDIR = $(IROOT)
|
||||
+endif
|
||||
+
|
||||
DAEMON_USERNAME = @DAEMON_USERNAME@
|
||||
DAEMON_GROUPNAME= @DAEMON_GROUPNAME@
|
||||
LOADAVG_MX = @LOADAVG_MX@
|
||||
@@ -86,38 +90,38 @@ atrun: atrun.in
|
||||
$(CC) -c $(CFLAGS) $(DEFS) $*.c
|
||||
|
||||
install: all
|
||||
- $(INSTALL) -g root -o root -m 755 -d $(IROOT)$(etcdir)
|
||||
- $(INSTALL) -g root -o root -m 755 -d $(IROOT)$(bindir)
|
||||
- $(INSTALL) -g root -o root -m 755 -d $(IROOT)$(sbindir)
|
||||
- $(INSTALL) -g root -o root -m 755 -d $(IROOT)$(docdir)
|
||||
- $(INSTALL) -g root -o root -m 755 -d $(IROOT)$(atdocdir)
|
||||
- $(INSTALL) -g $(DAEMON_GROUPNAME) -o $(DAEMON_USERNAME) -m 755 -d $(IROOT)$(ATSPOOL_DIR) $(IROOT)$(ATJOB_DIR)
|
||||
- chmod 1770 $(IROOT)$(ATSPOOL_DIR) $(IROOT)$(ATJOB_DIR)
|
||||
- touch $(IROOT)$(LFILE)
|
||||
- chmod 600 $(IROOT)$(LFILE)
|
||||
- chown $(DAEMON_USERNAME):$(DAEMON_GROUPNAME) $(IROOT)$(LFILE)
|
||||
- test -f $(IROOT)$(etcdir)/at.allow || test -f $(IROOT)$(etcdir)/at.deny || $(INSTALL) -o root -g $(DAEMON_GROUPNAME) -m 640 at.deny $(IROOT)$(etcdir)/
|
||||
- $(INSTALL) -g $(DAEMON_GROUPNAME) -o $(DAEMON_USERNAME) -m 6755 -s at $(IROOT)$(bindir)
|
||||
- $(LN_S) -f at $(IROOT)$(bindir)/atq
|
||||
- $(LN_S) -f at $(IROOT)$(bindir)/atrm
|
||||
- $(INSTALL) -g root -o root -m 755 batch $(IROOT)$(bindir)
|
||||
- $(INSTALL) -d -o root -g root -m 755 $(IROOT)$(man1dir)
|
||||
- $(INSTALL) -d -o root -g root -m 755 $(IROOT)$(man5dir)
|
||||
- $(INSTALL) -d -o root -g root -m 755 $(IROOT)$(man8dir)
|
||||
- $(INSTALL) -g root -o root -m 755 -s atd $(IROOT)$(sbindir)
|
||||
- $(INSTALL) -g root -o root -m 755 atrun $(IROOT)$(sbindir)
|
||||
- $(INSTALL) -g root -o root -m 644 at.1 $(IROOT)$(man1dir)/
|
||||
- cd $(IROOT)$(man1dir) && $(LN_S) -f at.1 atq.1 && $(LN_S) -f at.1 batch.1 && $(LN_S) -f at.1 atrm.1
|
||||
- $(INSTALL) -g root -o root -m 644 atd.8 $(IROOT)$(man8dir)/
|
||||
+ $(INSTALL) -g root -o root -m 755 -d $(DESTDIR)$(etcdir)
|
||||
+ $(INSTALL) -g root -o root -m 755 -d $(DESTDIR)$(bindir)
|
||||
+ $(INSTALL) -g root -o root -m 755 -d $(DESTDIR)$(sbindir)
|
||||
+ $(INSTALL) -g root -o root -m 755 -d $(DESTDIR)$(docdir)
|
||||
+ $(INSTALL) -g root -o root -m 755 -d $(DESTDIR)$(atdocdir)
|
||||
+ $(INSTALL) -g $(DAEMON_GROUPNAME) -o $(DAEMON_USERNAME) -m 755 -d $(DESTDIR)$(ATSPOOL_DIR) $(DESTDIR)$(ATJOB_DIR)
|
||||
+ chmod 1770 $(DESTDIR)$(ATSPOOL_DIR) $(DESTDIR)$(ATJOB_DIR)
|
||||
+ touch $(DESTDIR)$(LFILE)
|
||||
+ chmod 600 $(DESTDIR)$(LFILE)
|
||||
+ chown $(DAEMON_USERNAME):$(DAEMON_GROUPNAME) $(DESTDIR)$(LFILE)
|
||||
+ test -f $(DESTDIR)$(etcdir)/at.allow || test -f $(DESTDIR)$(etcdir)/at.deny || $(INSTALL) -o root -g $(DAEMON_GROUPNAME) -m 640 at.deny $(DESTDIR)$(etcdir)/
|
||||
+ $(INSTALL) -g $(DAEMON_GROUPNAME) -o $(DAEMON_USERNAME) -m 6755 -s at $(DESTDIR)$(bindir)
|
||||
+ $(LN_S) -f at $(DESTDIR)$(bindir)/atq
|
||||
+ $(LN_S) -f at $(DESTDIR)$(bindir)/atrm
|
||||
+ $(INSTALL) -g root -o root -m 755 batch $(DESTDIR)$(bindir)
|
||||
+ $(INSTALL) -d -o root -g root -m 755 $(DESTDIR)$(man1dir)
|
||||
+ $(INSTALL) -d -o root -g root -m 755 $(DESTDIR)$(man5dir)
|
||||
+ $(INSTALL) -d -o root -g root -m 755 $(DESTDIR)$(man8dir)
|
||||
+ $(INSTALL) -g root -o root -m 755 -s atd $(DESTDIR)$(sbindir)
|
||||
+ $(INSTALL) -g root -o root -m 755 atrun $(DESTDIR)$(sbindir)
|
||||
+ $(INSTALL) -g root -o root -m 644 at.1 $(DESTDIR)$(man1dir)/
|
||||
+ cd $(DESTDIR)$(man1dir) && $(LN_S) -f at.1 atq.1 && $(LN_S) -f at.1 batch.1 && $(LN_S) -f at.1 atrm.1
|
||||
+ $(INSTALL) -g root -o root -m 644 atd.8 $(DESTDIR)$(man8dir)/
|
||||
sed "s,\$${exec_prefix},$(exec_prefix),g" <atrun.8>tmpman
|
||||
- $(INSTALL) -g root -o root -m 644 tmpman $(IROOT)$(man8dir)/atrun.8
|
||||
+ $(INSTALL) -g root -o root -m 644 tmpman $(DESTDIR)$(man8dir)/atrun.8
|
||||
rm -f tmpman
|
||||
- $(INSTALL) -g root -o root -m 644 at_allow.5 $(IROOT)$(man5dir)/
|
||||
- cd $(IROOT)$(man5dir) && $(LN_S) -f at_allow.5 at_deny.5
|
||||
- $(INSTALL) -g root -o root -m 644 $(DOCS) $(IROOT)$(atdocdir)
|
||||
- rm -f $(IROOT)$(mandir)/cat1/at.1* $(IROOT)$(mandir)/cat1/batch.1* \
|
||||
- $(IROOT)$(mandir)/cat1/atq.1*
|
||||
- rm -f $(IROOT)$(mandir)/cat1/atd.8*
|
||||
+ $(INSTALL) -g root -o root -m 644 at_allow.5 $(DESTDIR)$(man5dir)/
|
||||
+ cd $(DESTDIR)$(man5dir) && $(LN_S) -f at_allow.5 at_deny.5
|
||||
+ $(INSTALL) -g root -o root -m 644 $(DOCS) $(DESTDIR)$(atdocdir)
|
||||
+ rm -f $(DESTDIR)$(mandir)/cat1/at.1* $(DESTDIR)$(mandir)/cat1/batch.1* \
|
||||
+ $(DESTDIR)$(mandir)/cat1/atq.1*
|
||||
+ rm -f $(DESTDIR)$(mandir)/cat1/atd.8*
|
||||
|
||||
dist: checkin $(DIST) $(LIST) Filelist.asc
|
||||
(cd ..; tar cf - `for a in $(DIST) $(LIST); do echo at-$(VERSION)/$$a; done` |\
|
||||
@@ -1,69 +0,0 @@
|
||||
[PATCH]: Makefile.in: fix make install for non-root, don't strip
|
||||
|
||||
Buildroot will ensure all files are owned by root and stripped anyway
|
||||
(if needed) before the rootfs is created.
|
||||
|
||||
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
|
||||
---
|
||||
Makefile.in | 39 +++++++++++++++++++--------------------
|
||||
1 file changed, 19 insertions(+), 20 deletions(-)
|
||||
|
||||
Index: at-3.1.12/Makefile.in
|
||||
===================================================================
|
||||
--- at-3.1.12.orig/Makefile.in
|
||||
+++ at-3.1.12/Makefile.in
|
||||
@@ -90,35 +90,34 @@ atrun: atrun.in
|
||||
$(CC) -c $(CFLAGS) $(DEFS) $*.c
|
||||
|
||||
install: all
|
||||
- $(INSTALL) -g root -o root -m 755 -d $(DESTDIR)$(etcdir)
|
||||
- $(INSTALL) -g root -o root -m 755 -d $(DESTDIR)$(bindir)
|
||||
- $(INSTALL) -g root -o root -m 755 -d $(DESTDIR)$(sbindir)
|
||||
- $(INSTALL) -g root -o root -m 755 -d $(DESTDIR)$(docdir)
|
||||
- $(INSTALL) -g root -o root -m 755 -d $(DESTDIR)$(atdocdir)
|
||||
- $(INSTALL) -g $(DAEMON_GROUPNAME) -o $(DAEMON_USERNAME) -m 755 -d $(DESTDIR)$(ATSPOOL_DIR) $(DESTDIR)$(ATJOB_DIR)
|
||||
+ $(INSTALL) -m 755 -d $(DESTDIR)$(etcdir)
|
||||
+ $(INSTALL) -m 755 -d $(DESTDIR)$(bindir)
|
||||
+ $(INSTALL) -m 755 -d $(DESTDIR)$(sbindir)
|
||||
+ $(INSTALL) -m 755 -d $(DESTDIR)$(docdir)
|
||||
+ $(INSTALL) -m 755 -d $(DESTDIR)$(atdocdir)
|
||||
+ $(INSTALL) -m 755 -d $(DESTDIR)$(ATSPOOL_DIR) $(DESTDIR)$(ATJOB_DIR)
|
||||
chmod 1770 $(DESTDIR)$(ATSPOOL_DIR) $(DESTDIR)$(ATJOB_DIR)
|
||||
touch $(DESTDIR)$(LFILE)
|
||||
chmod 600 $(DESTDIR)$(LFILE)
|
||||
- chown $(DAEMON_USERNAME):$(DAEMON_GROUPNAME) $(DESTDIR)$(LFILE)
|
||||
- test -f $(DESTDIR)$(etcdir)/at.allow || test -f $(DESTDIR)$(etcdir)/at.deny || $(INSTALL) -o root -g $(DAEMON_GROUPNAME) -m 640 at.deny $(DESTDIR)$(etcdir)/
|
||||
- $(INSTALL) -g $(DAEMON_GROUPNAME) -o $(DAEMON_USERNAME) -m 6755 -s at $(DESTDIR)$(bindir)
|
||||
+ test -f $(DESTDIR)$(etcdir)/at.allow || test -f $(DESTDIR)$(etcdir)/at.deny || $(INSTALL) -m 640 at.deny $(DESTDIR)$(etcdir)/
|
||||
+ $(INSTALL) -m 6755 at $(DESTDIR)$(bindir)
|
||||
$(LN_S) -f at $(DESTDIR)$(bindir)/atq
|
||||
$(LN_S) -f at $(DESTDIR)$(bindir)/atrm
|
||||
- $(INSTALL) -g root -o root -m 755 batch $(DESTDIR)$(bindir)
|
||||
- $(INSTALL) -d -o root -g root -m 755 $(DESTDIR)$(man1dir)
|
||||
- $(INSTALL) -d -o root -g root -m 755 $(DESTDIR)$(man5dir)
|
||||
- $(INSTALL) -d -o root -g root -m 755 $(DESTDIR)$(man8dir)
|
||||
- $(INSTALL) -g root -o root -m 755 -s atd $(DESTDIR)$(sbindir)
|
||||
- $(INSTALL) -g root -o root -m 755 atrun $(DESTDIR)$(sbindir)
|
||||
- $(INSTALL) -g root -o root -m 644 at.1 $(DESTDIR)$(man1dir)/
|
||||
+ $(INSTALL) -m 755 batch $(DESTDIR)$(bindir)
|
||||
+ $(INSTALL) -d -m 755 $(DESTDIR)$(man1dir)
|
||||
+ $(INSTALL) -d -m 755 $(DESTDIR)$(man5dir)
|
||||
+ $(INSTALL) -d -m 755 $(DESTDIR)$(man8dir)
|
||||
+ $(INSTALL) -m 755 atd $(DESTDIR)$(sbindir)
|
||||
+ $(INSTALL) -m 755 atrun $(DESTDIR)$(sbindir)
|
||||
+ $(INSTALL) -m 644 at.1 $(DESTDIR)$(man1dir)/
|
||||
cd $(DESTDIR)$(man1dir) && $(LN_S) -f at.1 atq.1 && $(LN_S) -f at.1 batch.1 && $(LN_S) -f at.1 atrm.1
|
||||
- $(INSTALL) -g root -o root -m 644 atd.8 $(DESTDIR)$(man8dir)/
|
||||
+ $(INSTALL) -m 644 atd.8 $(DESTDIR)$(man8dir)/
|
||||
sed "s,\$${exec_prefix},$(exec_prefix),g" <atrun.8>tmpman
|
||||
- $(INSTALL) -g root -o root -m 644 tmpman $(DESTDIR)$(man8dir)/atrun.8
|
||||
+ $(INSTALL) -m 644 tmpman $(DESTDIR)$(man8dir)/atrun.8
|
||||
rm -f tmpman
|
||||
- $(INSTALL) -g root -o root -m 644 at_allow.5 $(DESTDIR)$(man5dir)/
|
||||
+ $(INSTALL) -m 644 at_allow.5 $(DESTDIR)$(man5dir)/
|
||||
cd $(DESTDIR)$(man5dir) && $(LN_S) -f at_allow.5 at_deny.5
|
||||
- $(INSTALL) -g root -o root -m 644 $(DOCS) $(DESTDIR)$(atdocdir)
|
||||
+ $(INSTALL) -m 644 $(DOCS) $(DESTDIR)$(atdocdir)
|
||||
rm -f $(DESTDIR)$(mandir)/cat1/at.1* $(DESTDIR)$(mandir)/cat1/batch.1* \
|
||||
$(DESTDIR)$(mandir)/cat1/atq.1*
|
||||
rm -f $(DESTDIR)$(mandir)/cat1/atd.8*
|
||||
@@ -1,30 +0,0 @@
|
||||
[PATCH]: fix getloadavg.c compilation, revert to 3.1.10 version
|
||||
|
||||
getloadavg.c shipped with 3.1.12 doesn't compile because it references
|
||||
headers not shipped. Fix it by simply reverting to the 3.1.10 version.
|
||||
|
||||
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
|
||||
---
|
||||
getloadavg.c | 7 ++++---
|
||||
1 file changed, 4 insertions(+), 3 deletions(-)
|
||||
|
||||
Index: at-3.1.12/getloadavg.c
|
||||
===================================================================
|
||||
--- at-3.1.12.orig/getloadavg.c
|
||||
+++ at-3.1.12/getloadavg.c
|
||||
@@ -66,11 +66,12 @@ Boston, MA 02110-1301 USA */
|
||||
|
||||
/* This should always be first. */
|
||||
#ifdef HAVE_CONFIG_H
|
||||
-#include <config.h>
|
||||
+#include "config.h"
|
||||
#endif
|
||||
|
||||
-#include "lisp.h"
|
||||
-#include "sysfile.h" /* for encapsulated open, close, read, write */
|
||||
+#include <sys/types.h>
|
||||
+#include <sys/stat.h>
|
||||
+#include <fcntl.h>
|
||||
|
||||
#ifndef HAVE_GETLOADAVG
|
||||
|
||||
@@ -1,16 +0,0 @@
|
||||
Make sure to include config.h so that NEEDS_* macros are properly
|
||||
taken into account. This was a problem for NEEDS_YYWRAP, which was set
|
||||
to 1 in config.h, but the corresponding code wasn't compiled in.
|
||||
|
||||
Index: at-3.1.12/parsetime.l
|
||||
===================================================================
|
||||
--- at-3.1.12.orig/parsetime.l 2010-02-10 00:17:46.000000000 +0100
|
||||
+++ at-3.1.12/parsetime.l 2010-02-10 00:18:07.000000000 +0100
|
||||
@@ -4,6 +4,7 @@
|
||||
#include <time.h>
|
||||
#include "y.tab.h"
|
||||
#include "parsetime.h"
|
||||
+#include "config.h"
|
||||
|
||||
char *last_token = NULL;
|
||||
char **my_argv;
|
||||
83
package/at/at-crosscompile.patch
Normal file
83
package/at/at-crosscompile.patch
Normal file
@@ -0,0 +1,83 @@
|
||||
diff -rdup at-3.1.10.orig/Makefile.in at-3.1.10/Makefile.in
|
||||
--- at-3.1.10.orig/Makefile.in 2007-01-22 14:35:41.000000000 +0100
|
||||
+++ at-3.1.10/Makefile.in 2007-01-22 14:41:41.000000000 +0100
|
||||
@@ -62,6 +62,8 @@ MISC = COPYING Makefile.in configure a
|
||||
DIST = $(CSRCS) $(HEADERS) $(MISC) $(OTHERS)
|
||||
LIST = Filelist Filelist.asc
|
||||
|
||||
+IROOT = $(DESTDIR)
|
||||
+
|
||||
.PHONY: all install clean dist distclean
|
||||
|
||||
all: at atd atrun
|
||||
@@ -78,7 +80,7 @@ atd: $(RUNOBJECTS)
|
||||
y.tab.c y.tab.h: parsetime.y
|
||||
$(YACC) -d parsetime.y
|
||||
|
||||
-lex.yy.c: parsetime.l
|
||||
+lex.yy.c: parsetime.l y.tab.h
|
||||
$(LEX) -i parsetime.l
|
||||
|
||||
atrun: atrun.in
|
||||
diff -rdup at-3.1.10.orig/config.h.in at-3.1.10/config.h.in
|
||||
--- at-3.1.10.orig/config.h.in 2007-01-22 14:35:41.000000000 +0100
|
||||
+++ at-3.1.10/config.h.in 2007-01-22 14:35:35.000000000 +0100
|
||||
@@ -181,3 +181,6 @@
|
||||
|
||||
#undef HAVE_ATTRIBUTE_NORETURN
|
||||
#undef HAVE_PAM
|
||||
+
|
||||
+#undef NEED_YYWRAP
|
||||
+
|
||||
diff -rdup at-3.1.10.orig/configure at-3.1.10/configure
|
||||
--- at-3.1.10.orig/configure 2007-01-22 14:35:41.000000000 +0100
|
||||
+++ at-3.1.10/configure 2007-01-22 14:35:35.000000000 +0100
|
||||
@@ -1037,7 +1037,7 @@ esac
|
||||
echo $ac_n "checking Trying to compile a trivial ANSI C program""... $ac_c" 1>&6
|
||||
echo "configure:1039: checking Trying to compile a trivial ANSI C program" >&5
|
||||
if test "$cross_compiling" = yes; then
|
||||
- { echo "configure: error: Could not compile and run even a trivial ANSI C program - check CC." 1>&2; exit 1; }
|
||||
+ echo "$ac_t""assuming it works" 1>&6
|
||||
else
|
||||
cat > conftest.$ac_ext <<EOF
|
||||
#line 1044 "configure"
|
||||
diff -rdup at-3.1.10.orig/getloadavg.c at-3.1.10/getloadavg.c
|
||||
--- at-3.1.10.orig/getloadavg.c 2007-01-22 14:35:41.000000000 +0100
|
||||
+++ at-3.1.10/getloadavg.c 2007-01-22 14:35:35.000000000 +0100
|
||||
@@ -66,11 +66,12 @@ Boston, MA 02110-1301 USA */
|
||||
|
||||
/* This should always be first. */
|
||||
#ifdef HAVE_CONFIG_H
|
||||
-#include <config.h>
|
||||
+#include "config.h"
|
||||
#endif
|
||||
|
||||
-#include "lisp.h"
|
||||
-#include "sysfile.h" /* for encapsulated open, close, read, write */
|
||||
+#include <sys/types.h>
|
||||
+#include <sys/stat.h>
|
||||
+#include <fcntl.h>
|
||||
|
||||
#ifndef HAVE_GETLOADAVG
|
||||
|
||||
diff -rdup at-3.1.10.orig/parsetime.h at-3.1.10/parsetime.h
|
||||
--- at-3.1.10.orig/parsetime.h 2005-08-05 05:16:01.000000000 +0200
|
||||
+++ at-3.1.10/parsetime.h 2007-01-22 14:45:41.000000000 +0100
|
||||
@@ -17,6 +17,7 @@
|
||||
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
*/
|
||||
|
||||
+#include "panic.h"
|
||||
time_t parsetime(int argc, char **argv);
|
||||
|
||||
extern char *last_token;
|
||||
diff -rdup at-3.1.10.orig/parsetime.l at-3.1.10/parsetime.l
|
||||
--- at-3.1.10.orig/parsetime.l 2007-01-22 14:35:41.000000000 +0100
|
||||
+++ at-3.1.10/parsetime.l 2007-01-22 14:35:35.000000000 +0100
|
||||
@@ -1,5 +1,6 @@
|
||||
%{
|
||||
|
||||
+#include "config.h"
|
||||
#include <string.h>
|
||||
#include <time.h>
|
||||
#include "y.tab.h"
|
||||
100
package/at/at.mk
100
package/at/at.mk
@@ -3,41 +3,75 @@
|
||||
# at
|
||||
#
|
||||
#############################################################
|
||||
AT_VERSION = 3.1.12
|
||||
AT_SOURCE = at_$(AT_VERSION).orig.tar.gz
|
||||
AT_SITE = $(BR2_DEBIAN_MIRROR)/debian/pool/main/a/at
|
||||
AT_AUTORECONF = YES
|
||||
AT_INSTALL_STAGING = NO
|
||||
AT_INSTALL_TARGET = YES
|
||||
# no install-strip / install-exec
|
||||
AT_INSTALL_TARGET_OPT = DESTDIR=$(TARGET_DIR) install
|
||||
AT_VERSION:=3.1.10
|
||||
AT_SOURCE:=at_$(AT_VERSION).tar.gz
|
||||
AT_SITE:=$(BR2_DEBIAN_MIRROR)/debian/pool/main/a/at
|
||||
AT_DIR:=$(BUILD_DIR)/at-$(AT_VERSION)
|
||||
AT_CAT:=$(ZCAT)
|
||||
AT_TARGET_SCRIPT:=etc/init.d/S99at
|
||||
AT_BINARY:=at
|
||||
|
||||
AT_DEPENDENCIES = $(if $(BR2_PACKAGE_FLEX),flex)
|
||||
$(DL_DIR)/$(AT_SOURCE):
|
||||
$(call DOWNLOAD,$(AT_SITE),$(AT_SOURCE))
|
||||
|
||||
AT_CONF_OPT = \
|
||||
--with-jobdir=/var/spool/cron/atjobs \
|
||||
--with-atspool=/var/spool/cron/atspool \
|
||||
--with-daemon_username=root \
|
||||
--with-daemon_groupname=root \
|
||||
SENDMAIL=/usr/sbin/sendmail
|
||||
at-source: $(DL_DIR)/$(AT_SOURCE)
|
||||
|
||||
$(eval $(call AUTOTARGETS,package,at))
|
||||
|
||||
$(AT_HOOK_POST_INSTALL): $(AT_TARGET_INSTALL_TARGET)
|
||||
$(INSTALL) -m 0755 package/at/S99at $(TARGET_DIR)/etc/init.d/S99at
|
||||
$(AT_DIR)/.unpacked: $(DL_DIR)/$(AT_SOURCE)
|
||||
$(AT_CAT) $(DL_DIR)/$(AT_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
|
||||
toolchain/patch-kernel.sh $(AT_DIR) package/at/ at\*.patch
|
||||
touch $@
|
||||
|
||||
$(AT_TARGET_UNINSTALL):
|
||||
$(call MESSAGE,"Uninstalling")
|
||||
rm -rf $(addprefix $(TARGET_DIR),/usr/lib/atspool \
|
||||
/usr/lib/atjobs \
|
||||
/etc/at.deny \
|
||||
/etc/init.d/S99at \
|
||||
/usr/bin/at \
|
||||
/usr/bin/atrm \
|
||||
/usr/bin/atq \
|
||||
/usr/sbin/atd \
|
||||
/usr/sbin/atrun)
|
||||
rm -f $(addprefix $(TARGET_DIR)/usr/man/man*/, \
|
||||
at.1 atq.1 atrm.1 batch.1 at_allow.5 at_deny.5 atd.8 atrun.8)
|
||||
rm -f $(AT_TARGET_INSTALL_TARGET) $(AT_HOOK_POST_INSTALL)
|
||||
$(AT_DIR)/.configured: $(AT_DIR)/.unpacked
|
||||
(cd $(AT_DIR); rm -rf config.cache; \
|
||||
$(TARGET_CONFIGURE_OPTS) \
|
||||
$(TARGET_CONFIGURE_ARGS) \
|
||||
./configure \
|
||||
--target=$(GNU_TARGET_NAME) \
|
||||
--host=$(GNU_TARGET_NAME) \
|
||||
--build=$(GNU_HOST_NAME) \
|
||||
--prefix=/usr \
|
||||
--libdir=/lib \
|
||||
--libexecdir=/usr/lib \
|
||||
--sysconfdir=/etc \
|
||||
--localstatedir=/var \
|
||||
--with-jobdir=/var/lib/atjobs \
|
||||
--with-atspool=/var/lib/atspool \
|
||||
--with-daemon_username=at \
|
||||
--with-daemon_groupname=at \
|
||||
)
|
||||
touch $@
|
||||
|
||||
$(AT_DIR)/$(AT_BINARY): $(AT_DIR)/.configured
|
||||
$(MAKE) $(TARGET_CONFIGURE_OPTS) -C $(AT_DIR)
|
||||
touch $@
|
||||
|
||||
$(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
|
||||
ifneq ($(BR2_HAVE_MANPAGES),y)
|
||||
echo 'rm -rf $(TARGET_DIR)/usr/man' >> $(PROJECT_BUILD_DIR)/.fakeroot.at
|
||||
endif
|
||||
echo 'rm -rf $(TARGET_DIR)/usr/doc/at' >> $(PROJECT_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-clean:
|
||||
-$(MAKE) DESTDIR=$(TARGET_DIR) CC=$(TARGET_CC) -C $(AT_DIR) uninstall
|
||||
rm -f $(TARGET_DIR)/$(AT_TARGET_SCRIPT) $(TARGET_DIR)/etc/init.d/S99at
|
||||
-$(MAKE) -C $(AT_DIR) clean
|
||||
|
||||
at-dirclean:
|
||||
rm -rf $(AT_DIR)
|
||||
|
||||
.PHONY: at
|
||||
#############################################################
|
||||
#
|
||||
# Toplevel Makefile options
|
||||
#
|
||||
#############################################################
|
||||
ifeq ($(BR2_PACKAGE_AT),y)
|
||||
TARGETS+=at
|
||||
endif
|
||||
|
||||
@@ -1,9 +1,6 @@
|
||||
config BR2_PACKAGE_ATK
|
||||
bool "atk"
|
||||
select BR2_PACKAGE_PKGCONFIG
|
||||
select BR2_PACKAGE_LIBGLIB2
|
||||
depends on BR2_USE_WCHAR # glib2
|
||||
help
|
||||
The ATK accessibility toolkit, needed to build GTK+-2.x.
|
||||
|
||||
comment "atk requires a toolchain with WCHAR support"
|
||||
depends on !BR2_USE_WCHAR
|
||||
|
||||
@@ -3,13 +3,11 @@
|
||||
# atk
|
||||
#
|
||||
#############################################################
|
||||
ATK_VERSION_MAJOR = 1.30
|
||||
ATK_VERSION = $(ATK_VERSION_MAJOR).0
|
||||
ATK_VERSION = 1.22.0
|
||||
ATK_SOURCE = atk-$(ATK_VERSION).tar.bz2
|
||||
ATK_SITE = http://ftp.gnome.org/pub/gnome/sources/atk/$(ATK_VERSION_MAJOR)/
|
||||
ATK_SITE = http://ftp.gnome.org/pub/gnome/sources/atk/1.22/
|
||||
ATK_INSTALL_STAGING = YES
|
||||
ATK_INSTALL_TARGET = YES
|
||||
ATK_LIBTOOL_PATCH = NO
|
||||
ATK_INSTALL_STAGING_OPT = DESTDIR=$(STAGING_DIR) LDFLAGS=-L$(STAGING_DIR)/usr/lib install
|
||||
|
||||
ATK_CONF_ENV = ac_cv_func_posix_getpwuid_r=yes \
|
||||
@@ -30,6 +28,8 @@ ATK_CONF_ENV = ac_cv_func_posix_getpwuid_r=yes \
|
||||
ac_cv_func_getdelim=yes ac_cv_func_mkstemp=yes \
|
||||
utils_cv_func_mkstemp_limitations=no utils_cv_func_mkdir_trailing_slash_bug=no \
|
||||
ac_cv_func_memcmp_working=yes ac_cv_have_decl_malloc=yes \
|
||||
gl_cv_func_malloc_0_nonnull=yes ac_cv_func_malloc_0_nonnull=yes \
|
||||
ac_cv_func_calloc_0_nonnull=yes ac_cv_func_realloc_0_nonnull=yes \
|
||||
jm_cv_func_gettimeofday_clobber=no gl_cv_func_working_readdir=yes \
|
||||
jm_ac_cv_func_link_follows_symlink=no utils_cv_localtime_cache=no \
|
||||
ac_cv_struct_st_mtim_nsec=no gl_cv_func_tzset_clobber=no \
|
||||
@@ -38,29 +38,24 @@ ATK_CONF_ENV = ac_cv_func_posix_getpwuid_r=yes \
|
||||
am_cv_func_working_getline=yes gl_cv_func_mkdir_trailing_slash_bug=no \
|
||||
gl_cv_func_mkstemp_limitations=no ac_cv_func_working_mktime=yes \
|
||||
jm_cv_func_working_re_compile_pattern=yes ac_use_included_regex=no \
|
||||
gl_cv_c_restrict=no ac_cv_prog_F77=no
|
||||
gl_cv_c_restrict=no ac_cv_path_GLIB_GENMARSHAL=$(HOST_GLIB)/bin/glib-genmarshal \
|
||||
ac_cv_prog_F77=no
|
||||
|
||||
ATK_CONF_OPT = --enable-shared \
|
||||
--enable-static \
|
||||
--disable-glibtest --enable-explicit-deps=no \
|
||||
--disable-debug
|
||||
|
||||
ifeq ($(BR2_PACKAGE_XORG7),y)
|
||||
ATK_CONF_OPT += --with-x \
|
||||
ifneq ($(BR2_PACKAGE_XSERVER_none),y)
|
||||
ATK_CONF_OPT_X = --with-x \
|
||||
--x-includes=$(STAGING_DIR)/usr/include/X11 \
|
||||
--x-libraries=$(STAGING_DIR)/usr/lib --disable-glibtest
|
||||
else
|
||||
ATK_CONF_OPT += --without-x
|
||||
ATK_CONF_OPT_X = --without-x
|
||||
endif
|
||||
|
||||
ATK_DEPENDENCIES = libglib2 host-pkg-config
|
||||
ATK_CONF_OPT = --enable-shared \
|
||||
--enable-static $(ATK_CONF_OPT_X) \
|
||||
--disable-glibtest --enable-explicit-deps=no \
|
||||
--disable-debug
|
||||
|
||||
HOST_ATK_DEPENDENCIES = host-libglib2 host-pkg-config
|
||||
ATK_MAKE_OPT = GLIB_GENMARSHAL=$(HOST_GLIB)/bin/glib-genmarshal GLIB_MKENUMS=$(HOST_GLIB)/bin/glib-mkenums
|
||||
|
||||
HOST_ATK_CONF_OPT = \
|
||||
--enable-shared \
|
||||
--disable-static \
|
||||
--disable-glibtest
|
||||
ATK_DEPENDENCIES = libglib2 pkgconfig
|
||||
|
||||
$(eval $(call AUTOTARGETS,package,atk))
|
||||
$(eval $(call AUTOTARGETS,package,atk,host))
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
config BR2_PACKAGE_AUTOCONF
|
||||
bool "autoconf"
|
||||
select BR2_PACKAGE_MICROPERL
|
||||
help
|
||||
Extensible program for developing configure scripts. These
|
||||
scripts handle all the mundane system/feature detection.
|
||||
|
||||
@@ -1,36 +0,0 @@
|
||||
Patch taken upstream at
|
||||
http://git.savannah.gnu.org/cgit/autoconf.git/commit/?id=7f75858f577f11a844781764f30cd42cfe8a5669,
|
||||
with the following modifications:
|
||||
|
||||
* Changes to NEWS file removed to avoid conflicts
|
||||
|
||||
* Changes also made manually to the generated configure
|
||||
script. Otherwise, host-autoconf is needed to compile
|
||||
host-autoconf !
|
||||
|
||||
Index: autoconf-2.65.old/configure
|
||||
===================================================================
|
||||
--- autoconf-2.65.old.orig/configure 2009-12-15 16:11:05.175566911 +0100
|
||||
+++ autoconf-2.65.old/configure 2009-12-15 16:11:37.739562146 +0100
|
||||
@@ -2380,7 +2380,7 @@
|
||||
ac_snippet=change'quote(<,>)in''dir(<if''def>,mac,bug)'
|
||||
ac_snippet=${ac_snippet}pat'subst(a,\(b\)\|\(a\),\1)d'nl
|
||||
test -z "`$ac_path_M4 -F conftest.m4f </dev/null 2>&1`" \
|
||||
- && test -z "`echo $ac_snippet | $ac_path_M4 --trace=mac 2>&1`" \
|
||||
+ && test -z "`$as_echo $ac_snippet | $ac_path_M4 --trace=mac 2>&1`" \
|
||||
&& test -f conftest.m4f \
|
||||
&& ac_cv_path_M4=$ac_path_M4 ac_path_M4_found=:
|
||||
rm -f conftest.m4f
|
||||
Index: autoconf-2.65.old/m4/m4.m4
|
||||
===================================================================
|
||||
--- autoconf-2.65.old.orig/m4/m4.m4 2009-12-15 16:11:05.207566124 +0100
|
||||
+++ autoconf-2.65.old/m4/m4.m4 2009-12-15 16:11:18.595562030 +0100
|
||||
@@ -29,7 +29,7 @@
|
||||
ac_snippet=change'quote(<,>)in''dir(<if''def>,mac,bug)'
|
||||
ac_snippet=${ac_snippet}pat'subst(a,\(b\)\|\(a\),\1)d'nl
|
||||
test -z "`$ac_path_M4 -F conftest.m4f </dev/null 2>&1`" \
|
||||
- && test -z "`echo $ac_snippet | $ac_path_M4 --trace=mac 2>&1`" \
|
||||
+ && test -z "`AS_ECHO([$ac_snippet]) | $ac_path_M4 --trace=mac 2>&1`" \
|
||||
&& test -f conftest.m4f \
|
||||
&& ac_cv_path_M4=$ac_path_M4 ac_path_M4_found=:
|
||||
rm -f conftest.m4f],
|
||||
@@ -3,28 +3,136 @@
|
||||
# autoconf
|
||||
#
|
||||
#############################################################
|
||||
AUTOCONF_VERSION = 2.65
|
||||
AUTOCONF_SOURCE = autoconf-$(AUTOCONF_VERSION).tar.bz2
|
||||
AUTOCONF_SITE = $(BR2_GNU_MIRROR)/autoconf
|
||||
|
||||
ifeq ($(BR2_ENABLE_DEBUG),y) # install-exec doesn't install aclocal stuff
|
||||
AUTOCONF_INSTALL_TARGET_OPT = DESTDIR=$(TARGET_DIR) install
|
||||
endif
|
||||
|
||||
AUTOCONF_CONF_ENV = EMACS="no" ac_cv_path_M4=$(HOST_DIR)/usr/bin/m4 \
|
||||
ac_cv_prog_gnu_m4_gnu=no
|
||||
|
||||
AUTOCONF_DEPENDENCIES = microperl host-m4
|
||||
|
||||
HOST_AUTOCONF_CONF_ENV = ac_cv_path_M4=$(HOST_DIR)/usr/bin/m4 \
|
||||
ac_cv_prog_gnu_m4_gnu=no
|
||||
|
||||
HOST_AUTOCONF_DEPENDENCIES = host-m4 host-libtool
|
||||
|
||||
$(eval $(call AUTOTARGETS,package,autoconf))
|
||||
$(eval $(call AUTOTARGETS,package,autoconf,host))
|
||||
AUTOCONF_VERSION:=2.63
|
||||
AUTOCONF_SOURCE:=autoconf-$(AUTOCONF_VERSION).tar.bz2
|
||||
AUTOCONF_SITE:=$(BR2_GNU_MIRROR)/autoconf
|
||||
AUTOCONF_CAT:=$(BZCAT)
|
||||
AUTOCONF_SRC_DIR:=$(TOOL_BUILD_DIR)/autoconf-$(AUTOCONF_VERSION)
|
||||
AUTOCONF_DIR:=$(BUILD_DIR)/autoconf-$(AUTOCONF_VERSION)
|
||||
AUTOCONF_HOST_DIR:=$(TOOL_BUILD_DIR)/autoconf-$(AUTOCONF_VERSION)-host
|
||||
AUTOCONF_BINARY:=autoconf
|
||||
AUTOCONF_TARGET_BINARY:=usr/bin/autoconf
|
||||
AUTOCONF:=$(STAGING_DIR)/usr/bin/autoconf
|
||||
|
||||
# variables used by other packages
|
||||
AUTOCONF:=$(HOST_DIR)/usr/bin/autoconf
|
||||
AUTOHEADER:=$(HOST_DIR)/usr/bin/autoheader
|
||||
AUTORECONF=$(HOST_CONFIGURE_OPTS) ACLOCAL="$(ACLOCAL)" AUTOCONF="$(AUTOCONF)" AUTOHEADER="$(AUTOHEADER)" AUTOMAKE="$(AUTOMAKE)" $(HOST_DIR)/usr/bin/autoreconf -f -i -I "$(ACLOCAL_DIR)"
|
||||
AUTORECONF=$(HOST_CONFIGURE_OPTS) ACLOCAL="$(ACLOCAL)" autoreconf -v -f -i -I "$(ACLOCAL_DIR)"
|
||||
|
||||
$(DL_DIR)/$(AUTOCONF_SOURCE):
|
||||
$(call DOWNLOAD,$(AUTOCONF_SITE),$(AUTOCONF_SOURCE))
|
||||
|
||||
autoconf-source: $(DL_DIR)/$(AUTOCONF_SOURCE)
|
||||
|
||||
$(AUTOCONF_SRC_DIR)/.unpacked: $(DL_DIR)/$(AUTOCONF_SOURCE)
|
||||
$(AUTOCONF_CAT) $(DL_DIR)/$(AUTOCONF_SOURCE) | tar -C $(TOOL_BUILD_DIR) $(TAR_OPTIONS) -
|
||||
$(CONFIG_UPDATE) $(AUTOCONF_SRC_DIR)
|
||||
touch $@
|
||||
|
||||
#############################################################
|
||||
#
|
||||
# autoconf for the target
|
||||
#
|
||||
#############################################################
|
||||
|
||||
$(AUTOCONF_DIR)/.configured: $(AUTOCONF_SRC_DIR)/.unpacked
|
||||
mkdir -p $(AUTOCONF_DIR)
|
||||
(cd $(AUTOCONF_DIR); rm -rf config.cache; \
|
||||
$(TARGET_CONFIGURE_OPTS) \
|
||||
$(TARGET_CONFIGURE_ARGS) \
|
||||
EMACS="no" \
|
||||
$(AUTOCONF_SRC_DIR)/configure \
|
||||
--target=$(GNU_TARGET_NAME) \
|
||||
--host=$(GNU_TARGET_NAME) \
|
||||
--build=$(GNU_HOST_NAME) \
|
||||
--prefix=/usr \
|
||||
--exec-prefix=/usr \
|
||||
--bindir=/usr/bin \
|
||||
--sbindir=/usr/sbin \
|
||||
--libdir=/lib \
|
||||
--libexecdir=/usr/lib \
|
||||
--sysconfdir=/etc \
|
||||
--datadir=/usr/share \
|
||||
--localstatedir=/var \
|
||||
--mandir=/usr/share/man \
|
||||
--infodir=/usr/share/info \
|
||||
)
|
||||
touch $@
|
||||
|
||||
$(AUTOCONF_DIR)/bin/$(AUTOCONF_BINARY): $(AUTOCONF_DIR)/.configured
|
||||
$(MAKE1) -C $(AUTOCONF_DIR)
|
||||
|
||||
$(TARGET_DIR)/$(AUTOCONF_TARGET_BINARY): $(AUTOCONF_DIR)/bin/$(AUTOCONF_BINARY)
|
||||
$(MAKE) \
|
||||
prefix=$(TARGET_DIR)/usr \
|
||||
exec_prefix=$(TARGET_DIR)/usr \
|
||||
bindir=$(TARGET_DIR)/usr/bin \
|
||||
sbindir=$(TARGET_DIR)/usr/sbin \
|
||||
libexecdir=$(TARGET_DIR)/usr/lib \
|
||||
datadir=$(TARGET_DIR)/usr/share \
|
||||
sysconfdir=$(TARGET_DIR)/etc \
|
||||
localstatedir=$(TARGET_DIR)/var \
|
||||
libdir=$(TARGET_DIR)/usr/lib \
|
||||
infodir=$(TARGET_DIR)/usr/share/info \
|
||||
mandir=$(TARGET_DIR)/usr/share/man \
|
||||
includedir=$(TARGET_DIR)/usr/include \
|
||||
-C $(AUTOCONF_DIR) install
|
||||
ifneq ($(BR2_HAVE_INFOPAGES),y)
|
||||
rm -rf $(TARGET_DIR)/usr/share/info
|
||||
endif
|
||||
ifneq ($(BR2_HAVE_MANPAGES),y)
|
||||
rm -rf $(TARGET_DIR)/usr/share/man
|
||||
endif
|
||||
rm -rf $(TARGET_DIR)/share/locale
|
||||
rm -rf $(TARGET_DIR)/usr/share/doc
|
||||
touch -c $@
|
||||
|
||||
autoconf: uclibc $(TARGET_DIR)/$(AUTOCONF_TARGET_BINARY)
|
||||
|
||||
autoconf-clean:
|
||||
$(MAKE) DESTDIR=$(TARGET_DIR) CC=$(TARGET_CC) -C $(AUTOCONF_DIR) uninstall
|
||||
-$(MAKE) -C $(AUTOCONF_DIR) clean
|
||||
|
||||
autoconf-dirclean:
|
||||
rm -rf $(AUTOCONF_DIR)
|
||||
|
||||
#############################################################
|
||||
#
|
||||
# autoconf for the host
|
||||
#
|
||||
#############################################################
|
||||
|
||||
$(AUTOCONF_HOST_DIR)/.configured: $(AUTOCONF_SRC_DIR)/.unpacked
|
||||
mkdir -p $(AUTOCONF_HOST_DIR)
|
||||
(cd $(AUTOCONF_HOST_DIR); rm -rf config.cache; \
|
||||
$(HOST_CONFIGURE_OPTS) \
|
||||
CFLAGS="$(HOST_CFLAGS)" \
|
||||
LDFLAGS="$(HOST_LDFLAGS)" \
|
||||
EMACS="no" \
|
||||
$(AUTOCONF_SRC_DIR)/configure \
|
||||
--prefix=$(STAGING_DIR)/usr \
|
||||
)
|
||||
touch $@
|
||||
|
||||
$(AUTOCONF_HOST_DIR)/bin/$(AUTOCONF_BINARY): $(AUTOCONF_HOST_DIR)/.configured
|
||||
$(MAKE1) -C $(AUTOCONF_HOST_DIR)
|
||||
|
||||
$(AUTOCONF): $(AUTOCONF_HOST_DIR)/bin/$(AUTOCONF_BINARY)
|
||||
$(MAKE) -C $(AUTOCONF_HOST_DIR) install
|
||||
|
||||
host-autoconf: host-m4 host-libtool $(AUTOCONF)
|
||||
|
||||
host-autoconf-clean:
|
||||
$(MAKE) CC=$(HOST_CC) -C $(AUTOCONF_HOST_DIR) uninstall
|
||||
-$(MAKE) -C $(AUTOCONF_HOST_DIR) clean
|
||||
|
||||
host-autoconf-dirclean:
|
||||
rm -rf $(AUTOCONF_HOST_DIR)
|
||||
|
||||
|
||||
#############################################################
|
||||
#
|
||||
# Toplevel Makefile options
|
||||
#
|
||||
#############################################################
|
||||
ifeq ($(BR2_PACKAGE_AUTOCONF),y)
|
||||
TARGETS+=autoconf
|
||||
endif
|
||||
|
||||
@@ -1,7 +1,5 @@
|
||||
config BR2_PACKAGE_AUTOMAKE
|
||||
bool "automake"
|
||||
select BR2_PACKAGE_AUTOCONF
|
||||
select BR2_PACKAGE_MICROPERL
|
||||
help
|
||||
Tool for automatically generating Makefile's for input to
|
||||
configure scripts (made by autoconf).
|
||||
|
||||
@@ -3,28 +3,139 @@
|
||||
# automake
|
||||
#
|
||||
#############################################################
|
||||
AUTOMAKE_VERSION = 1.10
|
||||
AUTOMAKE_SOURCE = automake-$(AUTOMAKE_VERSION).tar.bz2
|
||||
AUTOMAKE_SITE = $(BR2_GNU_MIRROR)/automake
|
||||
|
||||
ifeq ($(BR2_ENABLE_DEBUG),y) # install-exec doesn't install aclocal stuff
|
||||
AUTOMAKE_INSTALL_TARGET_OPT = DESTDIR=$(TARGET_DIR) install
|
||||
endif
|
||||
|
||||
AUTOMAKE_DEPENDENCIES = host-autoconf autoconf microperl
|
||||
|
||||
HOST_AUTOMAKE_DEPENDENCIES = host-autoconf
|
||||
|
||||
define GTK_DOC_M4_INSTALL
|
||||
$(INSTALL) -m 0644 package/automake/gtk-doc.m4 $(STAGING_DIR)/usr/share/aclocal/
|
||||
endef
|
||||
|
||||
HOST_AUTOMAKE_POST_INSTALL_HOOKS += GTK_DOC_M4_INSTALL
|
||||
|
||||
$(eval $(call AUTOTARGETS,package,automake))
|
||||
$(eval $(call AUTOTARGETS,package,automake,host))
|
||||
AUTOMAKE_VERSION:=1.10
|
||||
AUTOMAKE_SOURCE:=automake-$(AUTOMAKE_VERSION).tar.bz2
|
||||
AUTOMAKE_SITE:=$(BR2_GNU_MIRROR)/automake
|
||||
AUTOMAKE_CAT:=$(BZCAT)
|
||||
AUTOMAKE_SRC_DIR:=$(TOOL_BUILD_DIR)/automake-$(AUTOMAKE_VERSION)
|
||||
AUTOMAKE_DIR:=$(BUILD_DIR)/automake-$(AUTOMAKE_VERSION)
|
||||
AUTOMAKE_HOST_DIR:=$(TOOL_BUILD_DIR)/automake-$(AUTOMAKE_VERSION)-host
|
||||
AUTOMAKE_BINARY:=automake
|
||||
AUTOMAKE_TARGET_BINARY:=usr/bin/automake
|
||||
AUTOMAKE:=$(STAGING_DIR)/usr/bin/automake
|
||||
|
||||
# variables used by other packages
|
||||
AUTOMAKE = $(HOST_DIR)/usr/bin/automake
|
||||
ACLOCAL_DIR = $(STAGING_DIR)/usr/share/aclocal
|
||||
ACLOCAL = $(HOST_DIR)/usr/bin/aclocal -I $(ACLOCAL_DIR)
|
||||
ACLOCAL = aclocal -I $(ACLOCAL_DIR)
|
||||
|
||||
$(DL_DIR)/$(AUTOMAKE_SOURCE):
|
||||
$(call DOWNLOAD,$(AUTOMAKE_SITE),$(AUTOMAKE_SOURCE))
|
||||
|
||||
automake-source: $(DL_DIR)/$(AUTOMAKE_SOURCE)
|
||||
|
||||
$(AUTOMAKE_SRC_DIR)/.unpacked: $(DL_DIR)/$(AUTOMAKE_SOURCE)
|
||||
$(AUTOMAKE_CAT) $(DL_DIR)/$(AUTOMAKE_SOURCE) | tar -C $(TOOL_BUILD_DIR) $(TAR_OPTIONS) -
|
||||
$(CONFIG_UPDATE) $(AUTOMAKE_SRC_DIR)
|
||||
touch $@
|
||||
|
||||
#############################################################
|
||||
#
|
||||
# automake for the target
|
||||
#
|
||||
#############################################################
|
||||
|
||||
$(AUTOMAKE_DIR)/.configured: $(AUTOMAKE_SRC_DIR)/.unpacked
|
||||
mkdir -p $(AUTOMAKE_DIR)
|
||||
(cd $(AUTOMAKE_DIR); rm -rf config.cache; \
|
||||
$(TARGET_CONFIGURE_OPTS) \
|
||||
$(TARGET_CONFIGURE_ARGS) \
|
||||
WANT_AUTOCONF=2.5 \
|
||||
$(AUTOMAKE_SRC_DIR)/configure \
|
||||
--target=$(GNU_TARGET_NAME) \
|
||||
--host=$(GNU_TARGET_NAME) \
|
||||
--build=$(GNU_HOST_NAME) \
|
||||
--prefix=/usr \
|
||||
--exec-prefix=/usr \
|
||||
--bindir=/usr/bin \
|
||||
--sbindir=/usr/sbin \
|
||||
--libdir=/lib \
|
||||
--libexecdir=/usr/lib \
|
||||
--sysconfdir=/etc \
|
||||
--datadir=/usr/share \
|
||||
--localstatedir=/var \
|
||||
--mandir=/usr/share/man \
|
||||
--infodir=/usr/share/info \
|
||||
--includedir=/usr/include \
|
||||
)
|
||||
touch $@
|
||||
|
||||
$(AUTOMAKE_DIR)/$(AUTOMAKE_BINARY): $(AUTOMAKE_DIR)/.configured
|
||||
$(MAKE) -C $(AUTOMAKE_DIR)
|
||||
touch -c $@
|
||||
|
||||
$(TARGET_DIR)/$(AUTOMAKE_TARGET_BINARY): $(AUTOMAKE_DIR)/$(AUTOMAKE_BINARY)
|
||||
$(MAKE) \
|
||||
prefix=$(TARGET_DIR)/usr \
|
||||
exec_prefix=$(TARGET_DIR)/usr \
|
||||
bindir=$(TARGET_DIR)/usr/bin \
|
||||
sbindir=$(TARGET_DIR)/usr/sbin \
|
||||
libexecdir=$(TARGET_DIR)/usr/lib \
|
||||
datadir=$(TARGET_DIR)/usr/share \
|
||||
sysconfdir=$(TARGET_DIR)/etc \
|
||||
localstatedir=$(TARGET_DIR)/var \
|
||||
libdir=$(TARGET_DIR)/usr/lib \
|
||||
infodir=$(TARGET_DIR)/usr/share/info \
|
||||
mandir=$(TARGET_DIR)/usr/share/man \
|
||||
includedir=$(TARGET_DIR)/usr/include \
|
||||
-C $(AUTOMAKE_DIR) install
|
||||
ifneq ($(BR2_HAVE_INFOPAGES),y)
|
||||
rm -rf $(TARGET_DIR)/usr/share/info
|
||||
endif
|
||||
ifneq ($(BR2_HAVE_MANPAGES),y)
|
||||
rm -rf $(TARGET_DIR)/usr/share/man
|
||||
endif
|
||||
rm -rf $(TARGET_DIR)/share/locale
|
||||
rm -rf $(TARGET_DIR)/usr/share/doc
|
||||
touch -c $@
|
||||
|
||||
automake: uclibc autoconf $(TARGET_DIR)/$(AUTOMAKE_TARGET_BINARY)
|
||||
|
||||
automake-clean:
|
||||
$(MAKE) DESTDIR=$(TARGET_DIR) -C $(AUTOMAKE_DIR) uninstall
|
||||
-$(MAKE) -C $(AUTOMAKE_DIR) clean
|
||||
|
||||
automake-dirclean:
|
||||
rm -rf $(AUTOMAKE_DIR)
|
||||
|
||||
#############################################################
|
||||
#
|
||||
# automake for the host
|
||||
#
|
||||
#############################################################
|
||||
|
||||
$(AUTOMAKE_HOST_DIR)/.configured: $(AUTOMAKE_SRC_DIR)/.unpacked
|
||||
mkdir -p $(AUTOMAKE_HOST_DIR)
|
||||
(cd $(AUTOMAKE_HOST_DIR); rm -rf config.cache; \
|
||||
$(HOST_CONFIGURE_OPTS) \
|
||||
CFLAGS="$(HOST_CFLAGS)" \
|
||||
LDFLAGS="$(HOST_LDFLAGS)" \
|
||||
WANT_AUTOCONF=2.5 \
|
||||
$(AUTOMAKE_SRC_DIR)/configure \
|
||||
--prefix=$(STAGING_DIR)/usr \
|
||||
)
|
||||
touch $@
|
||||
|
||||
$(AUTOMAKE_HOST_DIR)/$(AUTOMAKE_BINARY): $(AUTOMAKE_HOST_DIR)/.configured
|
||||
$(MAKE) -C $(AUTOMAKE_HOST_DIR)
|
||||
touch -c $@
|
||||
|
||||
$(AUTOMAKE): $(AUTOMAKE_HOST_DIR)/$(AUTOMAKE_BINARY)
|
||||
$(MAKE) -C $(AUTOMAKE_HOST_DIR) install
|
||||
|
||||
host-automake: host-autoconf host-libtool $(AUTOMAKE)
|
||||
|
||||
host-automake-clean:
|
||||
$(MAKE) -C $(AUTOMAKE_HOST_DIR) uninstall
|
||||
-$(MAKE) -C $(AUTOMAKE_HOST_DIR) clean
|
||||
|
||||
host-automake-dirclean:
|
||||
rm -rf $(AUTOMAKE_HOST_DIR)
|
||||
|
||||
#############################################################
|
||||
#
|
||||
# Toplevel Makefile options
|
||||
#
|
||||
#############################################################
|
||||
ifeq ($(BR2_PACKAGE_AUTOMAKE),y)
|
||||
TARGETS+=automake
|
||||
endif
|
||||
|
||||
@@ -1,61 +0,0 @@
|
||||
dnl -*- mode: autoconf -*-
|
||||
|
||||
# serial 1
|
||||
|
||||
dnl Usage:
|
||||
dnl GTK_DOC_CHECK([minimum-gtk-doc-version])
|
||||
AC_DEFUN([GTK_DOC_CHECK],
|
||||
[
|
||||
AC_BEFORE([AC_PROG_LIBTOOL],[$0])dnl setup libtool first
|
||||
AC_BEFORE([AM_PROG_LIBTOOL],[$0])dnl setup libtool first
|
||||
|
||||
dnl check for tools we added during development
|
||||
AC_PATH_PROG([GTKDOC_CHECK],[gtkdoc-check])
|
||||
AC_PATH_PROGS([GTKDOC_REBASE],[gtkdoc-rebase],[true])
|
||||
AC_PATH_PROG([GTKDOC_MKPDF],[gtkdoc-mkpdf])
|
||||
|
||||
dnl for overriding the documentation installation directory
|
||||
AC_ARG_WITH([html-dir],
|
||||
AS_HELP_STRING([--with-html-dir=PATH], [path to installed docs]),,
|
||||
[with_html_dir='${datadir}/gtk-doc/html'])
|
||||
HTML_DIR="$with_html_dir"
|
||||
AC_SUBST([HTML_DIR])
|
||||
|
||||
dnl enable/disable documentation building
|
||||
AC_ARG_ENABLE([gtk-doc],
|
||||
AS_HELP_STRING([--enable-gtk-doc],
|
||||
[use gtk-doc to build documentation [[default=no]]]),,
|
||||
[enable_gtk_doc=no])
|
||||
|
||||
if test x$enable_gtk_doc = xyes; then
|
||||
ifelse([$1],[],
|
||||
[PKG_CHECK_EXISTS([gtk-doc],,
|
||||
AC_MSG_ERROR([gtk-doc not installed and --enable-gtk-doc requested]))],
|
||||
[PKG_CHECK_EXISTS([gtk-doc >= $1],,
|
||||
AC_MSG_ERROR([You need to have gtk-doc >= $1 installed to build $PACKAGE_NAME]))])
|
||||
fi
|
||||
|
||||
AC_MSG_CHECKING([whether to build gtk-doc documentation])
|
||||
AC_MSG_RESULT($enable_gtk_doc)
|
||||
|
||||
dnl enable/disable output formats
|
||||
AC_ARG_ENABLE([gtk-doc-html],
|
||||
AS_HELP_STRING([--enable-gtk-doc-html],
|
||||
[build documentation in html format [[default=yes]]]),,
|
||||
[enable_gtk_doc_html=yes])
|
||||
AC_ARG_ENABLE([gtk-doc-pdf],
|
||||
AS_HELP_STRING([--enable-gtk-doc-pdf],
|
||||
[build documentation in pdf format [[default=no]]]),,
|
||||
[enable_gtk_doc_pdf=no])
|
||||
|
||||
if test -z "$GTKDOC_MKPDF"; then
|
||||
enable_gtk_doc_pdf=no
|
||||
fi
|
||||
|
||||
|
||||
AM_CONDITIONAL([ENABLE_GTK_DOC], [test x$enable_gtk_doc = xyes])
|
||||
AM_CONDITIONAL([GTK_DOC_BUILD_HTML], [test x$enable_gtk_doc_html = xyes])
|
||||
AM_CONDITIONAL([GTK_DOC_BUILD_PDF], [test x$enable_gtk_doc_pdf = xyes])
|
||||
AM_CONDITIONAL([GTK_DOC_USE_LIBTOOL], [test -n "$LIBTOOL"])
|
||||
AM_CONDITIONAL([GTK_DOC_USE_REBASE], [test -n "$GTKDOC_REBASE"])
|
||||
])
|
||||
@@ -1,7 +1,8 @@
|
||||
config BR2_PACKAGE_AVAHI
|
||||
bool "avahi"
|
||||
select BR2_PACKAGE_GETTEXT if BR2_NEEDS_GETTEXT_IF_LOCALE
|
||||
select BR2_PACKAGE_LIBINTL if BR2_NEEDS_GETTEXT_IF_LOCALE
|
||||
select BR2_PACKAGE_LIBDAEMON
|
||||
select BR2_PACKAGE_GETTEXT if BR2_ENABLE_LOCALE
|
||||
select BR2_PACKAGE_LIBINTL if BR2_ENABLE_LOCALE
|
||||
help
|
||||
Avahi is a system which facilitates service
|
||||
discovery on a local network.
|
||||
@@ -12,7 +13,6 @@ config BR2_PACKAGE_AVAHI_AUTOIPD
|
||||
bool "IPv4LL network address configuration daemon"
|
||||
default y
|
||||
depends on BR2_PACKAGE_AVAHI
|
||||
select BR2_PACKAGE_LIBDAEMON
|
||||
help
|
||||
Avahi-autoipd implements IPv4LL, "Dynamic Configuration of
|
||||
IPv4 Link-Local Addresses" (IETF RFC3927), a protocol for
|
||||
@@ -24,7 +24,6 @@ config BR2_PACKAGE_AVAHI_AUTOIPD
|
||||
config BR2_PACKAGE_AVAHI_DAEMON
|
||||
bool "mDNS/DNS-SD daemon"
|
||||
depends on BR2_PACKAGE_AVAHI
|
||||
select BR2_PACKAGE_LIBDAEMON
|
||||
select BR2_PACKAGE_EXPAT
|
||||
help
|
||||
The Avahi mDNS/DNS-SD daemon implementing Apple's ZeroConf
|
||||
|
||||
@@ -1,22 +0,0 @@
|
||||
[PATCH] avahi-daemon: disable systemd support
|
||||
|
||||
Disable systemd support as it isn't needed for BR, and uses SOCK_CLOEXEC
|
||||
which isn't available on uClibc.
|
||||
|
||||
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
|
||||
---
|
||||
avahi-daemon/sd-daemon.h | 1 +
|
||||
1 file changed, 1 insertion(+)
|
||||
|
||||
Index: avahi-0.6.27/avahi-daemon/sd-daemon.h
|
||||
===================================================================
|
||||
--- avahi-0.6.27.orig/avahi-daemon/sd-daemon.h
|
||||
+++ avahi-0.6.27/avahi-daemon/sd-daemon.h
|
||||
@@ -66,6 +66,7 @@ extern "C" {
|
||||
|
||||
See sd-daemon(7) for more information.
|
||||
*/
|
||||
+#define DISABLE_SYSTEMD /* no systemd support in BR */
|
||||
|
||||
#if __GNUC__ >= 4
|
||||
#define _sd_printf_attr_(a,b) __attribute__ ((format (printf, a, b)))
|
||||
@@ -1,147 +0,0 @@
|
||||
[PATCH] avahi-core: make ipv6 support optional on uclibc 0.9.31+
|
||||
|
||||
uClibc 0.9.31+ doesn't define the IPV6_* defines when IPv6 support isn't
|
||||
enabled, causing the avahi build to break. Detect this configuration, and
|
||||
comment out IPv6 code if so.
|
||||
|
||||
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
|
||||
---
|
||||
avahi-core/socket.c | 28 +++++++++++++++++++++++-----
|
||||
1 file changed, 23 insertions(+), 5 deletions(-)
|
||||
|
||||
Index: avahi-0.6.23/avahi-core/socket.c
|
||||
===================================================================
|
||||
--- avahi-0.6.23.orig/avahi-core/socket.c
|
||||
+++ avahi-0.6.23/avahi-core/socket.c
|
||||
@@ -47,6 +47,11 @@
|
||||
#include <net/if_dl.h>
|
||||
#endif
|
||||
|
||||
+#include <features.h>
|
||||
+#if defined(__UCLIBC__) && !defined (__UCLIBC_HAS_IPV6__)
|
||||
+#define NO_IPV6
|
||||
+#endif
|
||||
+
|
||||
#include "dns.h"
|
||||
#include "fdutil.h"
|
||||
#include "socket.h"
|
||||
@@ -75,6 +80,7 @@ static void mdns_mcast_group_ipv4(struct
|
||||
inet_pton(AF_INET, AVAHI_IPV4_MCAST_GROUP, &ret_sa->sin_addr);
|
||||
}
|
||||
|
||||
+#ifndef NO_IPV6
|
||||
static void mdns_mcast_group_ipv6(struct sockaddr_in6 *ret_sa) {
|
||||
assert(ret_sa);
|
||||
|
||||
@@ -83,6 +89,7 @@ static void mdns_mcast_group_ipv6(struct
|
||||
ret_sa->sin6_port = htons(AVAHI_MDNS_PORT);
|
||||
inet_pton(AF_INET6, AVAHI_IPV6_MCAST_GROUP, &ret_sa->sin6_addr);
|
||||
}
|
||||
+#endif
|
||||
|
||||
static void ipv4_address_to_sockaddr(struct sockaddr_in *ret_sa, const AvahiIPv4Address *a, uint16_t port) {
|
||||
assert(ret_sa);
|
||||
@@ -95,6 +102,7 @@ static void ipv4_address_to_sockaddr(str
|
||||
memcpy(&ret_sa->sin_addr, a, sizeof(AvahiIPv4Address));
|
||||
}
|
||||
|
||||
+#ifndef NO_IPV6
|
||||
static void ipv6_address_to_sockaddr(struct sockaddr_in6 *ret_sa, const AvahiIPv6Address *a, uint16_t port) {
|
||||
assert(ret_sa);
|
||||
assert(a);
|
||||
@@ -105,6 +113,7 @@ static void ipv6_address_to_sockaddr(str
|
||||
ret_sa->sin6_port = htons(port);
|
||||
memcpy(&ret_sa->sin6_addr, a, sizeof(AvahiIPv6Address));
|
||||
}
|
||||
+#endif
|
||||
|
||||
int avahi_mdns_mcast_join_ipv4(int fd, const AvahiIPv4Address *a, int idx, int join) {
|
||||
#ifdef HAVE_STRUCT_IP_MREQN
|
||||
@@ -143,6 +152,7 @@ int avahi_mdns_mcast_join_ipv4(int fd, c
|
||||
}
|
||||
|
||||
int avahi_mdns_mcast_join_ipv6(int fd, const AvahiIPv6Address *a, int idx, int join) {
|
||||
+#ifndef NO_IPV6
|
||||
struct ipv6_mreq mreq6;
|
||||
struct sockaddr_in6 sa6;
|
||||
|
||||
@@ -164,6 +174,9 @@ int avahi_mdns_mcast_join_ipv6(int fd, c
|
||||
}
|
||||
|
||||
return 0;
|
||||
+#else
|
||||
+ return -1;
|
||||
+#endif
|
||||
}
|
||||
|
||||
static int reuseaddr(int fd) {
|
||||
@@ -372,6 +385,7 @@ fail:
|
||||
}
|
||||
|
||||
int avahi_open_socket_ipv6(int no_reuse) {
|
||||
+#ifndef NO_IPV6
|
||||
struct sockaddr_in6 sa, local;
|
||||
int fd = -1, yes, r;
|
||||
int ttl;
|
||||
@@ -437,7 +451,7 @@ int avahi_open_socket_ipv6(int no_reuse)
|
||||
fail:
|
||||
if (fd >= 0)
|
||||
close(fd);
|
||||
-
|
||||
+#endif
|
||||
return -1;
|
||||
}
|
||||
|
||||
@@ -567,7 +581,7 @@ int avahi_send_dns_packet_ipv6(
|
||||
const AvahiIPv6Address *src_address,
|
||||
const AvahiIPv6Address *dst_address,
|
||||
uint16_t dst_port) {
|
||||
-
|
||||
+#ifndef NO_IPV6
|
||||
struct sockaddr_in6 sa;
|
||||
struct msghdr msg;
|
||||
struct iovec io;
|
||||
@@ -620,6 +634,9 @@ int avahi_send_dns_packet_ipv6(
|
||||
}
|
||||
|
||||
return sendmsg_loop(fd, &msg, 0);
|
||||
+#else
|
||||
+ return -1;
|
||||
+#endif
|
||||
}
|
||||
|
||||
AvahiDnsPacket *avahi_recv_dns_packet_ipv4(
|
||||
@@ -782,7 +799,7 @@ AvahiDnsPacket *avahi_recv_dns_packet_ip
|
||||
AvahiIPv6Address *ret_dst_address,
|
||||
AvahiIfIndex *ret_iface,
|
||||
uint8_t *ret_ttl) {
|
||||
-
|
||||
+#ifndef NO_IPV6
|
||||
AvahiDnsPacket *p = NULL;
|
||||
struct msghdr msg;
|
||||
struct iovec io;
|
||||
@@ -889,7 +906,7 @@ AvahiDnsPacket *avahi_recv_dns_packet_ip
|
||||
fail:
|
||||
if (p)
|
||||
avahi_dns_packet_free(p);
|
||||
-
|
||||
+#endif
|
||||
return NULL;
|
||||
}
|
||||
|
||||
@@ -934,6 +951,7 @@ fail:
|
||||
}
|
||||
|
||||
int avahi_open_unicast_socket_ipv6(void) {
|
||||
+#ifndef NO_IPV6
|
||||
struct sockaddr_in6 local;
|
||||
int fd = -1, yes;
|
||||
|
||||
@@ -974,6 +992,6 @@ int avahi_open_unicast_socket_ipv6(void)
|
||||
fail:
|
||||
if (fd >= 0)
|
||||
close(fd);
|
||||
-
|
||||
+#endif
|
||||
return -1;
|
||||
}
|
||||
@@ -10,14 +10,54 @@
|
||||
# either version 2.1 of the License, or (at your option) any
|
||||
# later version.
|
||||
|
||||
AVAHI_VERSION = 0.6.27
|
||||
AVAHI_SOURCE = avahi-$(AVAHI_VERSION).tar.gz
|
||||
AVAHI_SITE = http://www.avahi.org/download/
|
||||
AVAHI_LIBTOOL_PATCH = NO
|
||||
AVAHI_INSTALL_STAGING = YES
|
||||
AVAHI_INSTALL_TARGET = YES
|
||||
AVAHI_VERSION:=0.6.22
|
||||
AVAHI_DIR:=$(BUILD_DIR)/avahi-$(AVAHI_VERSION)
|
||||
AVAHI_SITE:=http://www.avahi.org/download/
|
||||
AVAHI_SOURCE:=avahi-$(AVAHI_VERSION).tar.gz
|
||||
AVAHI_CAT:=$(ZCAT)
|
||||
|
||||
AVAHI_CONF_ENV = ac_cv_func_strtod=yes \
|
||||
AVAHI_TARGETS:=
|
||||
|
||||
ifeq ($(BR2_PACKAGE_AVAHI_AUTOIPD),y)
|
||||
AVAHI_TARGETS+=$(TARGET_DIR)/usr/sbin/avahi-autoipd
|
||||
endif
|
||||
|
||||
AVAHI_EXTRA_DEPS:=
|
||||
|
||||
ifeq ($(BR2_PACKAGE_AVAHI_DAEMON),y)
|
||||
AVAHI_TARGETS+=$(TARGET_DIR)/usr/sbin/avahi-daemon
|
||||
AVAHI_DISABLE_EXPAT:=--with-xml=expat
|
||||
# depend on the exact library file instead of expat so avahi isn't always
|
||||
# considered out-of-date
|
||||
AVAHI_EXTRA_DEPS+=$(STAGING_DIR)/usr/lib/libexpat.so.1
|
||||
else
|
||||
AVAHI_DISABLE_EXPAT:=--disable-expat --with-xml=none
|
||||
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_DBUS),y)
|
||||
AVAHI_DISABLE_DBUS:=
|
||||
AVAHI_EXTRA_DEPS+=$(STAGING_DIR)/usr/bin/dbus-daemon
|
||||
else
|
||||
AVAHI_DISABLE_DBUS:=--disable-dbus
|
||||
endif
|
||||
|
||||
$(DL_DIR)/$(AVAHI_SOURCE):
|
||||
$(call DOWNLOAD,$(AVAHI_SITE),$(AVAHI_SOURCE))
|
||||
|
||||
avahi-source: $(DL_DIR)/$(AVAHI_SOURCE)
|
||||
|
||||
$(AVAHI_DIR)/.unpacked: $(DL_DIR)/$(AVAHI_SOURCE)
|
||||
$(AVAHI_CAT) $(DL_DIR)/$(AVAHI_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
|
||||
toolchain/patch-kernel.sh $(AVAHI_DIR) package/avahi/ \*.patch
|
||||
touch $@
|
||||
|
||||
$(AVAHI_DIR)/.configured: $(AVAHI_DIR)/.unpacked $(AVAHI_EXTRA_DEPS)
|
||||
(cd $(AVAHI_DIR) && rm -rf config.cache && PATH=$(TARGET_PATH) autoconf)
|
||||
(cd $(AVAHI_DIR) && \
|
||||
$(TARGET_CONFIGURE_OPTS) \
|
||||
$(TARGET_CONFIGURE_ARGS) \
|
||||
ac_cv_func_strtod=yes \
|
||||
ac_fsusage_space=yes \
|
||||
fu_cv_sys_stat_statfs2_bsize=yes \
|
||||
ac_cv_func_closedir_void=no \
|
||||
@@ -47,6 +87,12 @@ AVAHI_CONF_ENV = ac_cv_func_strtod=yes \
|
||||
ac_cv_func_mkstemp=yes \
|
||||
utils_cv_func_mkstemp_limitations=no \
|
||||
utils_cv_func_mkdir_trailing_slash_bug=no \
|
||||
ac_cv_func_memcmp_working=yes \
|
||||
ac_cv_have_decl_malloc=yes \
|
||||
gl_cv_func_malloc_0_nonnull=yes \
|
||||
ac_cv_func_malloc_0_nonnull=yes \
|
||||
ac_cv_func_calloc_0_nonnull=yes \
|
||||
ac_cv_func_realloc_0_nonnull=yes \
|
||||
jm_cv_func_gettimeofday_clobber=no \
|
||||
am_cv_func_working_getline=yes \
|
||||
gl_cv_func_working_readdir=yes \
|
||||
@@ -64,92 +110,94 @@ AVAHI_CONF_ENV = ac_cv_func_strtod=yes \
|
||||
ac_cv_func_working_mktime=yes \
|
||||
jm_cv_func_working_re_compile_pattern=yes \
|
||||
ac_use_included_regex=no \
|
||||
avahi_cv_sys_cxx_works=yes
|
||||
|
||||
AVAHI_CONF_OPT = --localstatedir=/var \
|
||||
./configure \
|
||||
--target=$(GNU_TARGET_NAME) \
|
||||
--host=$(REAL_GNU_TARGET_NAME) \
|
||||
--build=$(GNU_HOST_NAME) \
|
||||
--prefix=/usr \
|
||||
--sysconfdir=/etc \
|
||||
--localstatedir=/var \
|
||||
$(DISABLE_NLS) \
|
||||
$(DISABLE_LARGEFILE) \
|
||||
--disable-glib \
|
||||
--disable-gobject \
|
||||
--disable-qt3 \
|
||||
--disable-qt4 \
|
||||
--disable-gtk \
|
||||
$(AVAHI_DISABLE_DBUS) \
|
||||
$(AVAHI_DISABLE_EXPAT) \
|
||||
--disable-gdbm \
|
||||
--disable-python \
|
||||
--disable-python-dbus \
|
||||
--disable-pygtk \
|
||||
--disable-gtk3 \
|
||||
--disable-mono \
|
||||
--disable-monodoc \
|
||||
--disable-stack-protector \
|
||||
--with-distro=none \
|
||||
$(if $(BR2_HAVE_DOCUMENTATION),--enable,--disable)-manpages \
|
||||
$(if $(BR2_PACKAGE_AVAHI_AUTOIPD),--enable,--disable)-autoipd \
|
||||
--with-avahi-user=default \
|
||||
--with-avahi-group=default \
|
||||
--with-autoipd-user=default \
|
||||
--with-autoipd-group=default
|
||||
|
||||
AVAHI_DEPENDENCIES = $(if $(BR2_NEEDS_GETTEXT_IF_LOCALE),gettext libintl) host-intltool host-pkg-config
|
||||
|
||||
ifneq ($(BR2_PACKAGE_AVAHI_DAEMON)$(BR2_PACKAGE_AVAHI_AUTOIPD),)
|
||||
AVAHI_DEPENDENCIES += libdaemon
|
||||
else
|
||||
AVAHI_CONF_OPT += --disable-libdaemon
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_AVAHI_DAEMON),y)
|
||||
AVAHI_DEPENDENCIES += expat
|
||||
AVAHI_CONF_OPT += --with-xml=expat
|
||||
else
|
||||
AVAHI_CONF_OPT += --with-xml=none
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_DBUS),y)
|
||||
AVAHI_DEPENDENCIES += dbus
|
||||
else
|
||||
AVAHI_CONF_OPT += --disable-dbus
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_LIBGLIB2),y)
|
||||
AVAHI_DEPENDENCIES += libglib2
|
||||
else
|
||||
AVAHI_CONF_OPT += --disable-glib --disable-gobject
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_LIBGLADE),y)
|
||||
AVAHI_DEPENDENCIES += libglade
|
||||
else
|
||||
AVAHI_CONF_OPT += --disable-gtk
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_PYTHON),y)
|
||||
AVAHI_CONF_ENV += am_cv_pathless_PYTHON=python \
|
||||
am_cv_path_PYTHON=$(PYTHON_TARGET_BINARY) \
|
||||
am_cv_python_version=$(PYTHON_VERSION) \
|
||||
am_cv_python_platform=linux2 \
|
||||
am_cv_python_pythondir=/usr/lib/python$(PYTHON_VERSION_MAJOR)/site-packages \
|
||||
am_cv_python_pyexecdir=/usr/lib/python$(PYTHON_VERSION_MAJOR)/site-packages \
|
||||
py_cv_mod_socket_=yes
|
||||
|
||||
AVAHI_DEPENDENCIES += libpython
|
||||
AVAHI_CONF_OPT += --enable-python
|
||||
else
|
||||
AVAHI_CONF_OPT += --disable-python
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_LIBINTL),y)
|
||||
AVAHI_DEPENDENCIES += libintl
|
||||
AVAHI_MAKE_OPT = LIBS=-lintl
|
||||
endif
|
||||
|
||||
$(eval $(call AUTOTARGETS,package,avahi))
|
||||
|
||||
$(AVAHI_HOOK_POST_INSTALL):
|
||||
rm -rf $(TARGET_DIR)/etc/init.d/avahi-*
|
||||
ifeq ($(BR2_PACKAGE_AVAHI_AUTOIPD),y)
|
||||
rm -rf $(TARGET_DIR)/etc/dhcp3/
|
||||
$(INSTALL) -D -m 0755 package/avahi/busybox-udhcpc-default.script $(TARGET_DIR)/usr/share/udhcpc/default.script
|
||||
$(INSTALL) -m 0755 package/avahi/S05avahi-setup.sh $(TARGET_DIR)/etc/init.d/
|
||||
rm -f $(TARGET_DIR)/var/lib/avahi-autoipd
|
||||
$(INSTALL) -d -m 0755 $(TARGET_DIR)/var/lib
|
||||
ln -sf /tmp/avahi-autoipd $(TARGET_DIR)/var/lib/avahi-autoipd
|
||||
endif
|
||||
ifeq ($(BR2_PACKAGE_AVAHI_DAEMON),y)
|
||||
$(INSTALL) -m 0755 package/avahi/S50avahi-daemon $(TARGET_DIR)/etc/init.d/
|
||||
endif
|
||||
--with-autoipd-group=default \
|
||||
)
|
||||
touch $@
|
||||
|
||||
$(AVAHI_DIR)/.compiled: $(AVAHI_DIR)/.configured
|
||||
$(MAKE) -C $(AVAHI_DIR) $(if $(BR2_ENABLE_LOCALE),LIBS=-lintl)
|
||||
touch $@
|
||||
|
||||
$(AVAHI_DIR)/.installed: $(AVAHI_DIR)/.compiled
|
||||
mkdir -p $(STAGING_DIR)/etc/avahi
|
||||
$(MAKE) DESTDIR=$(STAGING_DIR) -C $(AVAHI_DIR) install
|
||||
touch $@
|
||||
|
||||
$(TARGET_DIR)/usr/sbin/avahi-autoipd: $(AVAHI_DIR)/.installed
|
||||
mkdir -p $(addprefix $(TARGET_DIR),\
|
||||
/etc/avahi /etc/init.d /var/lib /usr/share/udhcpc /usr/sbin)
|
||||
cp -af $(STAGING_DIR)/etc/avahi/avahi-autoipd.action $(TARGET_DIR)/etc/avahi/
|
||||
cp -af package/avahi/busybox-udhcpc-default.script $(TARGET_DIR)/usr/share/udhcpc/default.script
|
||||
chmod 0755 $(TARGET_DIR)/usr/share/udhcpc/default.script
|
||||
cp -af package/avahi/S05avahi-setup.sh $(TARGET_DIR)/etc/init.d/
|
||||
cp $(STAGING_DIR)/usr/sbin/avahi-autoipd $@
|
||||
rm -f $(TARGET_DIR)/var/lib/avahi-autoipd
|
||||
ln -sf /tmp/avahi-autoipd $(TARGET_DIR)/var/lib/avahi-autoipd
|
||||
$(STRIPCMD) $(STRIP_STRIP_UNNEEDED) $@
|
||||
|
||||
$(TARGET_DIR)/usr/sbin/avahi-daemon: $(AVAHI_DIR)/.installed
|
||||
mkdir -p $(addprefix $(TARGET_DIR),\
|
||||
/etc/avahi/services /usr/lib /usr/bin /usr/sbin)
|
||||
cp -dpf $(STAGING_DIR)/usr/lib/libavahi-*.so* $(TARGET_DIR)/usr/lib/
|
||||
$(STRIPCMD) $(STRIP_STRIP_UNNEEDED) $(TARGET_DIR)/usr/lib/libavahi-*.so*
|
||||
cp -af $(STAGING_DIR)/etc/avahi/avahi-daemon.conf $(TARGET_DIR)/etc/avahi/
|
||||
cp -af package/avahi/S50avahi-daemon $(TARGET_DIR)/etc/init.d/
|
||||
ifeq ($(BR2_PACKAGE_DBUS),y)
|
||||
cp -dpf $(STAGING_DIR)/usr/bin/avahi-* $(TARGET_DIR)/usr/bin
|
||||
$(STRIPCMD) $(STRIP_STRIP_UNNEEDED) $(TARGET_DIR)/usr/bin/avahi-*
|
||||
mkdir -p $(TARGET_DIR)/etc/dbus-1/system.d/
|
||||
cp -r $(STAGING_DIR)/etc/dbus-1/system.d/avahi-* \
|
||||
$(TARGET_DIR)/etc/dbus-1/system.d/
|
||||
endif
|
||||
cp $(STAGING_DIR)/usr/sbin/avahi-daemon $@
|
||||
$(STRIPCMD) $(STRIP_STRIP_UNNEEDED) $@
|
||||
|
||||
avahi: host-autoconf uclibc libdaemon $(if $(BR2_ENABLE_LOCALE),gettext libintl) $(AVAHI_TARGETS)
|
||||
|
||||
avahi-clean:
|
||||
-$(MAKE) -C $(AVAHI_DIR) distclean
|
||||
-rm -rf $(TARGET_DIR)/etc/avahi
|
||||
-rm -f $(TARGET_DIR)/var/lib/avahi-autoipd
|
||||
-rm -f $(TARGET_DIR)/etc/init.d/S*avahi*
|
||||
-rm -f $(TARGET_DIR)/usr/sbin/avahi-*
|
||||
-rm -f $(TARGET_DIR)/usr/bin/avahi-*
|
||||
-rm -f $(TARGET_DIR)/usr/lib/libavahi-*
|
||||
|
||||
avahi-dirclean:
|
||||
rm -rf $(AVAHI_DIR)
|
||||
|
||||
#############################################################
|
||||
#
|
||||
# Toplevel Makefile options
|
||||
#
|
||||
#############################################################
|
||||
ifeq ($(BR2_PACKAGE_AVAHI),y)
|
||||
TARGETS+=avahi
|
||||
endif
|
||||
|
||||
@@ -18,12 +18,6 @@ case "$1" in
|
||||
if [ $? -eq 0 ]; then
|
||||
/sbin/ifconfig $interface 0.0.0.0
|
||||
fi
|
||||
if [ -x /usr/sbin/avahi-autoipd ]; then
|
||||
/usr/sbin/avahi-autoipd -k $interface
|
||||
fi
|
||||
;;
|
||||
|
||||
leasefail|nak)
|
||||
if [ -x /usr/sbin/avahi-autoipd ]; then
|
||||
/usr/sbin/avahi-autoipd -wD $interface --no-chroot
|
||||
fi
|
||||
|
||||
77
package/avahi/libdir-la.patch
Normal file
77
package/avahi/libdir-la.patch
Normal file
@@ -0,0 +1,77 @@
|
||||
--- avahi/ltmain.sh.orig 2004-11-23 09:19:19.000000000 -0700
|
||||
+++ avahi/ltmain.sh 2007-01-13 14:36:53.000000000 -0700
|
||||
@@ -231,8 +231,9 @@
|
||||
# line option must be used.
|
||||
if test -z "$tagname"; then
|
||||
$echo "$modename: unable to infer tagged configuration"
|
||||
- $echo "$modename: specify a tag with \`--tag'" 1>&2
|
||||
- exit $EXIT_FAILURE
|
||||
+ $echo "$modename: defaulting to \`CC'"
|
||||
+ $echo "$modename: if this is not correct, specify a tag with \`--tag'"
|
||||
+# exit $EXIT_FAILURE
|
||||
# else
|
||||
# $echo "$modename: using $tagname tagged configuration"
|
||||
fi
|
||||
@@ -2279,8 +2280,14 @@
|
||||
absdir="$abs_ladir"
|
||||
libdir="$abs_ladir"
|
||||
else
|
||||
- dir="$libdir"
|
||||
- absdir="$libdir"
|
||||
+ # Adding 'libdir' from the .la file to our library search paths
|
||||
+ # breaks crosscompilation horribly. We cheat here and don't add
|
||||
+ # it, instead adding the path where we found the .la. -CL
|
||||
+ dir="$abs_ladir"
|
||||
+ absdir="$abs_ladir"
|
||||
+ libdir="$abs_ladir"
|
||||
+ #dir="$libdir"
|
||||
+ #absdir="$libdir"
|
||||
fi
|
||||
else
|
||||
if test ! -f "$ladir/$objdir/$linklib" && test -f "$abs_ladir/$linklib"; then
|
||||
@@ -2754,6 +2761,16 @@
|
||||
esac
|
||||
if grep "^installed=no" $deplib > /dev/null; then
|
||||
path="$absdir/$objdir"
|
||||
+# This interferes with crosscompilation. -CL
|
||||
+# else
|
||||
+# eval libdir=`${SED} -n -e 's/^libdir=\(.*\)$/\1/p' $deplib`
|
||||
+# if test -z "$libdir"; then
|
||||
+# $echo "$modename: \`$deplib' is not a valid libtool archive" 1>&2
|
||||
+# exit 1
|
||||
+# fi
|
||||
+# if test "$absdir" != "$libdir"; then
|
||||
+# $echo "$modename: warning: \`$deplib' seems to be moved" 1>&2
|
||||
+# fi
|
||||
else
|
||||
eval libdir=`${SED} -n -e 's/^libdir=\(.*\)$/\1/p' $deplib`
|
||||
if test -z "$libdir"; then
|
||||
@@ -5141,6 +5158,10 @@
|
||||
# Replace all uninstalled libtool libraries with the installed ones
|
||||
newdependency_libs=
|
||||
for deplib in $dependency_libs; do
|
||||
+ # Replacing uninstalled with installed can easily break crosscompilation,
|
||||
+ # since the installed path is generally the wrong architecture. -CL
|
||||
+ newdependency_libs="$newdependency_libs $deplib"
|
||||
+ continue
|
||||
case $deplib in
|
||||
*.la)
|
||||
name=`$echo "X$deplib" | $Xsed -e 's%^.*/%%'`
|
||||
@@ -5459,10 +5480,13 @@
|
||||
# At present, this check doesn't affect windows .dll's that
|
||||
# are installed into $libdir/../bin (currently, that works fine)
|
||||
# but it's something to keep an eye on.
|
||||
- if test "$inst_prefix_dir" = "$destdir"; then
|
||||
- $echo "$modename: error: cannot install \`$file' to a directory not ending in $libdir" 1>&2
|
||||
- exit $EXIT_FAILURE
|
||||
- fi
|
||||
+ #
|
||||
+ # This breaks install into our staging area. -PB
|
||||
+ #
|
||||
+ # if test "$inst_prefix_dir" = "$destdir"; then
|
||||
+ # $echo "$modename: error: cannot install \`$file' to a directory not ending in $libdir" 1>&2
|
||||
+ # exit $EXIT_FAILURE
|
||||
+ # fi
|
||||
|
||||
if test -n "$inst_prefix_dir"; then
|
||||
# Stick the inst_prefix_dir data into the link command.
|
||||
@@ -32,11 +32,11 @@ $(AXEL_DIR)/$(AXEL_BINARY): $(AXEL_DIR)/Makefile.settings
|
||||
|
||||
$(TARGET_DIR)/$(AXEL_TARGET_BINARY): $(AXEL_DIR)/$(AXEL_BINARY)
|
||||
$(MAKE) DESTDIR=$(TARGET_DIR) -C $(AXEL_DIR) install-bin
|
||||
ifeq ($(BR2_HAVE_DOCUMENTATION),y)
|
||||
ifeq ($(BR2_HAVE_MANPAGES),y)
|
||||
$(MAKE) DESTDIR=$(TARGET_DIR) -C $(AXEL_DIR) install-man
|
||||
endif
|
||||
|
||||
axel: $(TARGET_DIR)/$(AXEL_TARGET_BINARY)
|
||||
axel: uclibc $(TARGET_DIR)/$(AXEL_TARGET_BINARY)
|
||||
|
||||
axel-clean:
|
||||
$(MAKE) DESTDIR=$(TARGET_DIR) -C $(AXEL_DIR) uninstall
|
||||
|
||||
@@ -4,4 +4,4 @@ config BR2_PACKAGE_BASH
|
||||
help
|
||||
The standard GNU Bourne again shell.
|
||||
|
||||
http://tiswww.case.edu/php/chet/bash/bashtop.html
|
||||
http://cnswww.cns.cwru.edu/~chet/bash/bashtop.html
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user