mirror of
https://github.com/godotengine/buildroot.git
synced 2026-01-11 14:10:13 +03:00
Compare commits
346 Commits
2011.02_rc
...
2011.05
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
9ab73b51e8 | ||
|
|
cff599de08 | ||
|
|
99ead3c2ea | ||
|
|
effcc9a2a2 | ||
|
|
66e94f96f4 | ||
|
|
572529a43c | ||
|
|
596fe25ea7 | ||
|
|
1eda3a5c89 | ||
|
|
4b3e8a71c1 | ||
|
|
383074a633 | ||
|
|
75c0a45488 | ||
|
|
5c8c02a0c6 | ||
|
|
9868d24190 | ||
|
|
f066ed70cd | ||
|
|
40a203f254 | ||
|
|
4943afcc91 | ||
|
|
f5268b171a | ||
|
|
a02cfbf1f4 | ||
|
|
8c30b67b31 | ||
|
|
137a4d7e92 | ||
|
|
8b4f5f2410 | ||
|
|
7234c23967 | ||
|
|
1e85397970 | ||
|
|
0710636813 | ||
|
|
e3d389d6d6 | ||
|
|
6d795f12c5 | ||
|
|
ffaf13cfbf | ||
|
|
a058eedbf5 | ||
|
|
2cadc46dd9 | ||
|
|
7a1115b3c1 | ||
|
|
95cf21ef8c | ||
|
|
e3bf4de329 | ||
|
|
ce1ae872aa | ||
|
|
f890debb30 | ||
|
|
a7e78f974e | ||
|
|
017e3061fd | ||
|
|
5276dec0e0 | ||
|
|
12cdabeeb5 | ||
|
|
668c357fec | ||
|
|
e860d5f5d1 | ||
|
|
b976f37d30 | ||
|
|
5c22f20f4b | ||
|
|
023481efe2 | ||
|
|
f5a106e22a | ||
|
|
b1f3114253 | ||
|
|
efce5be9af | ||
|
|
91b2ec27a7 | ||
|
|
34e4b2577e | ||
|
|
7c46868238 | ||
|
|
80830a198e | ||
|
|
59af9a8947 | ||
|
|
3a7495c2fb | ||
|
|
83672c4869 | ||
|
|
644d8808d2 | ||
|
|
fec53c73cf | ||
|
|
80eff66660 | ||
|
|
5c88d720f9 | ||
|
|
120f093fd2 | ||
|
|
dcad5235a9 | ||
|
|
7ed1f1e3cd | ||
|
|
29a0768452 | ||
|
|
7fec8e8b75 | ||
|
|
b8e52c47d7 | ||
|
|
e7e0d0771c | ||
|
|
e89b262679 | ||
|
|
b9d4ab0056 | ||
|
|
e23a4bc752 | ||
|
|
635b6a17dd | ||
|
|
c7fbb8bc89 | ||
|
|
8e92c2dc65 | ||
|
|
8f9537ff5a | ||
|
|
7d9d09db67 | ||
|
|
5db57b7ac9 | ||
|
|
6e85024625 | ||
|
|
4e005c47e5 | ||
|
|
ca520507fc | ||
|
|
726b15f64a | ||
|
|
c59d024754 | ||
|
|
8451c2329e | ||
|
|
e46ba3c65b | ||
|
|
ee3f31b536 | ||
|
|
125e2558b2 | ||
|
|
85dc57f6fd | ||
|
|
6721878972 | ||
|
|
c17f413438 | ||
|
|
b05f23b933 | ||
|
|
6780d0ba04 | ||
|
|
dd0dfd0ec1 | ||
|
|
57d131dd96 | ||
|
|
6246704008 | ||
|
|
a2e724a05b | ||
|
|
c96e483ced | ||
|
|
928a901cb0 | ||
|
|
8fa1a0ea75 | ||
|
|
08f0746a83 | ||
|
|
7432083499 | ||
|
|
cab3a3b3df | ||
|
|
3178a20550 | ||
|
|
69282a2928 | ||
|
|
1db3939ad9 | ||
|
|
28cdaaee52 | ||
|
|
874b6e4e87 | ||
|
|
48a00cc2ce | ||
|
|
0073143087 | ||
|
|
0a2af382bb | ||
|
|
d1b42b24b8 | ||
|
|
d2b325c1f0 | ||
|
|
96984e3b80 | ||
|
|
7e3e8ec040 | ||
|
|
8b370e6380 | ||
|
|
06c1d1001e | ||
|
|
2405fa26a8 | ||
|
|
fc8b776635 | ||
|
|
f1d88a96ca | ||
|
|
2c200d5b36 | ||
|
|
eac3475c47 | ||
|
|
8cce9414f3 | ||
|
|
63690434d9 | ||
|
|
66fec73cb6 | ||
|
|
f8fe67e12e | ||
|
|
243e4edc74 | ||
|
|
4612aeec57 | ||
|
|
4cf6ec229f | ||
|
|
99c1547124 | ||
|
|
86afa1ed6e | ||
|
|
2fed71e3de | ||
|
|
10446c0247 | ||
|
|
4732f7aa82 | ||
|
|
49b6be29b0 | ||
|
|
20c32937a7 | ||
|
|
efae605c88 | ||
|
|
e5448c8e77 | ||
|
|
ffa7b99723 | ||
|
|
a6c6921602 | ||
|
|
7536aeea8a | ||
|
|
5dd48b983d | ||
|
|
4bc799856b | ||
|
|
1445e1455e | ||
|
|
7d5a772f63 | ||
|
|
648d33d614 | ||
|
|
4bb33dce49 | ||
|
|
b052862f02 | ||
|
|
7edfd3c1b4 | ||
|
|
31fb724fd2 | ||
|
|
cdd4a7a061 | ||
|
|
f3de6d578b | ||
|
|
36d1a7a5a3 | ||
|
|
7d584285c8 | ||
|
|
4b4e5827a2 | ||
|
|
cd58efbac7 | ||
|
|
f550c1bdbb | ||
|
|
8071f81f3d | ||
|
|
cffe3b1895 | ||
|
|
af6b3ecf40 | ||
|
|
983158e225 | ||
|
|
3510193460 | ||
|
|
dfc7b95c49 | ||
|
|
95d8da2612 | ||
|
|
8b695c4484 | ||
|
|
67be03806f | ||
|
|
c5aee2a346 | ||
|
|
36449d1f2a | ||
|
|
7d75acdbee | ||
|
|
23f3b883ee | ||
|
|
f98c8d65bd | ||
|
|
d9124d0da9 | ||
|
|
b4f976f28b | ||
|
|
a29731c4c3 | ||
|
|
2af9541e2c | ||
|
|
7fa9c25195 | ||
|
|
64b351f625 | ||
|
|
ce6d09bdac | ||
|
|
4d651b4d12 | ||
|
|
54f33b3865 | ||
|
|
3110e81773 | ||
|
|
6fd58dfcf5 | ||
|
|
b90b9cc70a | ||
|
|
7bb008d43f | ||
|
|
f894e85e85 | ||
|
|
01931cc264 | ||
|
|
d1cba6e326 | ||
|
|
4d1118e2d8 | ||
|
|
a219ed3f7b | ||
|
|
9fd85d8168 | ||
|
|
e37804807e | ||
|
|
c10b2291e8 | ||
|
|
070e9e2bea | ||
|
|
b864790383 | ||
|
|
c729829c6c | ||
|
|
4bc1041db6 | ||
|
|
252d9a20a1 | ||
|
|
99df35d9a5 | ||
|
|
94ed034cf2 | ||
|
|
47736c88c3 | ||
|
|
6bbd5367a5 | ||
|
|
887d210986 | ||
|
|
e2ed6c8e77 | ||
|
|
06002a58b5 | ||
|
|
0a70aa0cc5 | ||
|
|
f5626851ab | ||
|
|
3ef31b16c1 | ||
|
|
10f9ef7081 | ||
|
|
187ca32ae4 | ||
|
|
f055b266f1 | ||
|
|
2c97608387 | ||
|
|
0df02e1233 | ||
|
|
5d6ff452ad | ||
|
|
9b87631e34 | ||
|
|
421cda1fd0 | ||
|
|
4c5ca3d27d | ||
|
|
0c9a64dae1 | ||
|
|
c53f5ddc7a | ||
|
|
07c469ed16 | ||
|
|
1990a9cb92 | ||
|
|
6a86dd9c8e | ||
|
|
808f98e3eb | ||
|
|
24c7a24797 | ||
|
|
91c4ff298c | ||
|
|
851c9b56e8 | ||
|
|
5a8c7934bd | ||
|
|
f7abec2d1d | ||
|
|
b922f6404d | ||
|
|
2ea83e9688 | ||
|
|
ffec8419f7 | ||
|
|
aa08cb6f57 | ||
|
|
cfde89c097 | ||
|
|
05e9c80832 | ||
|
|
6eaedac150 | ||
|
|
b05c54daf0 | ||
|
|
25e5ee52c0 | ||
|
|
9e1c8ad85e | ||
|
|
8ddc9da39c | ||
|
|
915ad4cdbb | ||
|
|
b698051d59 | ||
|
|
950ee4585b | ||
|
|
39aafe84c1 | ||
|
|
308bc53791 | ||
|
|
27c152db06 | ||
|
|
707dc469aa | ||
|
|
3d0a569412 | ||
|
|
7266ed4653 | ||
|
|
05955603ce | ||
|
|
03a5df1353 | ||
|
|
9c35b09873 | ||
|
|
a1c305c8a7 | ||
|
|
eb2ebf9490 | ||
|
|
6f7187d11d | ||
|
|
723f276ffd | ||
|
|
117a8ea0ea | ||
|
|
15ca4eabc1 | ||
|
|
034b92c685 | ||
|
|
820a07365b | ||
|
|
314ff6e54b | ||
|
|
a13143fb22 | ||
|
|
74842f8026 | ||
|
|
3d299feb3a | ||
|
|
7fb5445d30 | ||
|
|
d5168539c5 | ||
|
|
9b4c7d88b6 | ||
|
|
f6409520ce | ||
|
|
efeebdbd42 | ||
|
|
c08e016efa | ||
|
|
ac7dbcf925 | ||
|
|
99175e43be | ||
|
|
7ec08dab28 | ||
|
|
50e73c6f78 | ||
|
|
0a064b48c9 | ||
|
|
1b269dd552 | ||
|
|
c2bcce4a59 | ||
|
|
66d36e6708 | ||
|
|
baa8b69303 | ||
|
|
a3cd2e7671 | ||
|
|
7bdbdd3c38 | ||
|
|
0cab963761 | ||
|
|
8296cf6c7f | ||
|
|
194ac2d549 | ||
|
|
313c3d0f39 | ||
|
|
764d844fbc | ||
|
|
0eafc69b0a | ||
|
|
26ca282bc9 | ||
|
|
6b46297675 | ||
|
|
75adc4ab5c | ||
|
|
da5e5a5aa2 | ||
|
|
b927b5f302 | ||
|
|
1ff216b789 | ||
|
|
b466e1564f | ||
|
|
f3e79a7aae | ||
|
|
42daeb7241 | ||
|
|
910a54002b | ||
|
|
da8700c1bd | ||
|
|
3f6aa3ec56 | ||
|
|
dfee7243c6 | ||
|
|
816303a49d | ||
|
|
57ab28928b | ||
|
|
e77bef4cdb | ||
|
|
b89f403e0b | ||
|
|
eb6dcf8c1c | ||
|
|
310a7700ad | ||
|
|
fab79678f0 | ||
|
|
eaf18b8b78 | ||
|
|
53725fafee | ||
|
|
77dfefd43c | ||
|
|
d428dddf68 | ||
|
|
4642701281 | ||
|
|
f83024cf07 | ||
|
|
c82d04c415 | ||
|
|
34ce7fb623 | ||
|
|
557982c262 | ||
|
|
9209091780 | ||
|
|
6c016c07e4 | ||
|
|
ed9737388f | ||
|
|
afba8bc930 | ||
|
|
b7bb735992 | ||
|
|
2f19259a47 | ||
|
|
6dc2737d9a | ||
|
|
37126f56c4 | ||
|
|
2d3d618b6a | ||
|
|
c9253253c1 | ||
|
|
fd2bd9e3df | ||
|
|
a85971a68b | ||
|
|
d17c165280 | ||
|
|
2b41d7f493 | ||
|
|
c25d7e49a9 | ||
|
|
a157909eef | ||
|
|
bb6d3d9586 | ||
|
|
41300afd62 | ||
|
|
a6ada2c946 | ||
|
|
a7da53bd2c | ||
|
|
eabc25999d | ||
|
|
846e5eaebb | ||
|
|
16e7b8255c | ||
|
|
b1a3545a3f | ||
|
|
65600edcaa | ||
|
|
7ee387f43b | ||
|
|
cbd5099271 | ||
|
|
833724e1b1 | ||
|
|
a1c787ea6a | ||
|
|
7608184673 | ||
|
|
f357e10335 | ||
|
|
022d206263 | ||
|
|
fc41ee90f4 | ||
|
|
5ad3621259 | ||
|
|
0be744e495 | ||
|
|
68f166074b | ||
|
|
e6cdced399 | ||
|
|
e743a01ee5 |
127
CHANGES
127
CHANGES
@@ -1,3 +1,130 @@
|
||||
2011.05, Released May 27th, 2011:
|
||||
|
||||
Updated/fixed packages: makedevs
|
||||
|
||||
2011.05-rc2, Released May 24th, 2011:
|
||||
|
||||
Fixes all over the tree.
|
||||
|
||||
Toolchain: Code sourcery ARM 2009q1 download URL fixed /
|
||||
2009q3 external toolchains added. Crosstool-NG bumped to
|
||||
1.11.3, eglic/glibc configuration fixes. Linux kernel 2.6.38.x
|
||||
bumped to 2.6.38.7.
|
||||
|
||||
Updated/fixed packages: bind, fakeroot, kbd, psmisc, qt
|
||||
|
||||
2011.05-rc1, Released May 18th, 2011:
|
||||
|
||||
Fixes all over the tree and new features.
|
||||
|
||||
External toolchain improvements: We now build a binary
|
||||
toolchain wrapper and install it into HOST_DIR/usr/bin, which
|
||||
enforces the correct compiler arguments, making an external
|
||||
toolchain as easy to use outside of Buildroot as the internal
|
||||
ones are. This also brought a cleanup of CFLAGS, making the
|
||||
Buildroot build output easier to read.
|
||||
|
||||
Rootfs device handling improvements: Choice between static
|
||||
/dev, devtmpfs and devtmpfs with either mdev or udev.
|
||||
|
||||
Toolchain: More preconfigured codesourcery external
|
||||
toolchains, improved Crosstool-NG support, fix for GCC
|
||||
snapshot versions, GCC 4.4.6 / 4.5.3, experimental GCC 4.6.0
|
||||
support, target-GCC fixes, uClibc fixes, 0.9.32-rc3 support.
|
||||
|
||||
Bootloaders: U-boot 2011.03, Barebox 2011.05.0
|
||||
|
||||
Linux: support for custom kernel image targets, E.G. for
|
||||
powerpc builds with embedded device trees.
|
||||
|
||||
Misc fixes for qemu defconfigs, ensuring correct serial
|
||||
terminal setup out of the box.
|
||||
|
||||
Misc gentarget / autotools handling fixes.
|
||||
|
||||
Updated/fixed packages: alsa-lib, alsa-utils, alsamixergui,
|
||||
atk, avahi, bind, bison, busybox, copas, dbus-glib, dhcp,
|
||||
dhcpdump, dnsmasq, dropbear, ethtool, fakeroot, ffmpeg, file,
|
||||
gamin, gnuconfig, gst-ffmpeg, gst-plugins-good, gtk2-engines,
|
||||
haserl, hostapd, icu, imagemagick, iproute2, iw, kismet, less,
|
||||
libcap, libdnet, libglade, libglib2, libgtk2, libnl, libpng,
|
||||
libxml2, libxml2, libxslt, lighttpd, lockfile-progs, makedevs,
|
||||
midori, mpg123, mpc, mpd, mpfr, mplayer, mtd-utils, ncurses,
|
||||
netsnmp, openssh, openssl, openvpn, pango, pkg-config, popt,
|
||||
procps, proftpd, qt, quagga, readline, rsync, samba, sdl,
|
||||
socat, squashfs, squid, sudo, tslib, udev, usbutils, webkit,
|
||||
wpa_supplicant, xerces, xfont_font-misc-misc, xlib_libX11,
|
||||
xlib_libXfont, xlib_xtrans, xorg-server, xterm, xz
|
||||
|
||||
New packages: bonnie++, can-utils, gdisk, htop,
|
||||
input-event-daemon, libexif, libraw, libv4l, ngircd
|
||||
|
||||
Removed packages: festival
|
||||
|
||||
Issues resolved (http://bugs.uclibc.org):
|
||||
|
||||
#2131: Add OpenMP support to the toolchain
|
||||
#3379: New Package: bonnie++
|
||||
#3445: Not working openssl-10.0.0d on 386sx
|
||||
#3451: fakeroot package: wrong FAKEROOT_SITE variable
|
||||
#3457: alsamixergui: broken URL
|
||||
#3475: Calling sync on large filesystems when not always necessary
|
||||
#3511: make busybox-menuconfig does not download busybox package
|
||||
#3541: Quotes in the top Makefile:217 break buildroot/kernel config...
|
||||
#3571: u-boot: fw_printenv does not build
|
||||
#3643: popt source url is not responding
|
||||
#3733: dropbear: make zlib optional
|
||||
#3757: Buildroot can't build mplayer with libmad
|
||||
|
||||
2011.02, Released February 28th, 2011:
|
||||
|
||||
Fixes all over the tree.
|
||||
|
||||
Updated/fixed packages: alsamixergui, avahi, ffmpeg, icu, mpd,
|
||||
nuttcp, qt, slang, squashfs, sylpheed, synergy, xerces
|
||||
|
||||
Deprecated packages: devmem2, webif
|
||||
|
||||
Issues resolved (http://bugs.uclibc.org):
|
||||
|
||||
#2911: Qt: Disable qt3support-option, if gui-module isn't selected
|
||||
#3259: Unable to build webkit (on arm)
|
||||
#3295: slang fails to build on mipsel
|
||||
#3325: ffmpeg fails to build
|
||||
|
||||
2011.02-rc2, Released February 24th, 2011:
|
||||
|
||||
Fixes all over the tree.
|
||||
|
||||
Festival packages marked as broken. Unless someone steps up
|
||||
to support them, they will be removed during the 2011.05
|
||||
development cycle.
|
||||
|
||||
Updated/fixed packages: atk, avahi, bind, cairo, dbus,
|
||||
enchant, fakeroot, gmpc, gpsd, gvfs, iperf, jpeg, libarchive,
|
||||
libcgicc, libdaemon, libdrm, libevent, libgail, libglib2,
|
||||
libgpg-error, libmicrohttpd, librsvg, libsoup, libxcp,
|
||||
makedevs, matchbox-fakekey, matchbox-startup-monitor, mdadm,
|
||||
metacity, mpd, nasm, nfs-utils, olsr, openssl, popt,
|
||||
pthread-stubs, quagga, rpm, samba, sdl, sdl_gfx, sdl_image,
|
||||
sdl_mixer, sdl_sound, sdl_ttf, squashfs, synergy, taglib,
|
||||
tcpreplay, tiff, wpa_supplicant, xcb-util,
|
||||
xdriver_xf86-input-{acepad,aiptek,evdev,joystick,keyboard},
|
||||
xdriver_xf86-input-{mouse,synaptics,void},
|
||||
xdriver_xf86-video-{chips,dummy,geode,glide,intel,nv,wsfb},
|
||||
xlib_lib{ICE,SM,XScrnSaver,Xau,Xcursor,Xdmcp,Xi,Xinerama},
|
||||
xlib_lib{Xrandr,Xt,Xtst,Xxf86dga,Xxf86vm,dmx,fontenc,pciaccess},
|
||||
xserver_xorg-server, xz
|
||||
|
||||
Removed packages: ace_of_penguins, vlc
|
||||
|
||||
Issues resolved (http://bugs.uclibc.org):
|
||||
|
||||
#3205: Failing chmod when running "make" in buildroot (openssl)...
|
||||
#3277: quagga fails to build with SNMP support
|
||||
#3283: See why nfs-utils needs fakeroot, and convert to autotools
|
||||
#3307: synergy fails to build due to missing XTest library
|
||||
|
||||
2011.02-rc1, Released February 14th, 2011:
|
||||
|
||||
Fixes all over the tree and new features.
|
||||
|
||||
41
Makefile
41
Makefile
@@ -24,7 +24,7 @@
|
||||
#--------------------------------------------------------------
|
||||
|
||||
# Set and export the version string
|
||||
export BR2_VERSION:=2011.02-rc1
|
||||
export BR2_VERSION:=2011.05
|
||||
|
||||
# This top-level Makefile can *not* be executed in parallel
|
||||
.NOTPARALLEL:
|
||||
@@ -42,7 +42,7 @@ export BR2_VERSION_FULL:=$(BR2_VERSION)$(shell $(TOPDIR)/scripts/setlocalversion
|
||||
noconfig_targets:=menuconfig nconfig gconfig xconfig config oldconfig randconfig \
|
||||
defconfig %_defconfig savedefconfig allyesconfig allnoconfig silentoldconfig release \
|
||||
randpackageconfig allyespackageconfig allnopackageconfig \
|
||||
source-check help
|
||||
source-check
|
||||
|
||||
# Strip quotes and then whitespaces
|
||||
qstrip=$(strip $(subst ",,$(1)))
|
||||
@@ -126,13 +126,13 @@ endif
|
||||
ifndef HOSTCC
|
||||
HOSTCC:=gcc
|
||||
HOSTCC:=$(shell which $(HOSTCC) || type -p $(HOSTCC) || echo gcc)
|
||||
HOSTCC_NOCCACHE:=$(HOSTCC)
|
||||
endif
|
||||
HOSTCC_NOCCACHE:=$(HOSTCC)
|
||||
ifndef HOSTCXX
|
||||
HOSTCXX:=g++
|
||||
HOSTCXX:=$(shell which $(HOSTCXX) || type -p $(HOSTCXX) || echo g++)
|
||||
HOSTCXX_NOCCACHE:=$(HOSTCXX)
|
||||
endif
|
||||
HOSTCXX_NOCCACHE:=$(HOSTCXX)
|
||||
ifndef HOSTFC
|
||||
HOSTFC:=gfortran
|
||||
endif
|
||||
@@ -214,7 +214,7 @@ ifneq ($(findstring cygwin,$(GNU_HOST_NAME)),)
|
||||
HOST_EXEEXT:=.exe
|
||||
HOST_LIBEXT:=.lib
|
||||
HOST_SHREXT:=.dll
|
||||
HOST_LOADLIBES="-lcurses -lintl"
|
||||
HOST_LOADLIBES=-lcurses -lintl
|
||||
export HOST_LOADLIBES
|
||||
endif
|
||||
ifneq ($(findstring mingw,$(GNU_HOST_NAME)),)
|
||||
@@ -284,7 +284,6 @@ STAMP_DIR:=$(BASE_DIR)/stamps
|
||||
BINARIES_DIR:=$(BASE_DIR)/images
|
||||
TARGET_DIR:=$(BASE_DIR)/target
|
||||
TOOLCHAIN_DIR=$(BASE_DIR)/toolchain
|
||||
TOOLCHAIN_EXTERNAL_DIR=$(BASE_DIR)/external-toolchain
|
||||
TARGET_SKELETON=$(TOPDIR)/fs/skeleton
|
||||
|
||||
BR2_DEPENDS_DIR=$(BUILD_DIR)/buildroot-config
|
||||
@@ -367,7 +366,7 @@ dirs: $(DL_DIR) $(TOOLCHAIN_DIR) $(BUILD_DIR) $(STAGING_DIR) $(TARGET_DIR) \
|
||||
$(BASE_TARGETS): dirs $(O)/toolchainfile.cmake
|
||||
|
||||
$(BUILD_DIR)/buildroot-config/auto.conf: $(CONFIG_DIR)/.config
|
||||
$(MAKE) $(EXTRAMAKEARGS) silentoldconfig
|
||||
$(MAKE) $(EXTRAMAKEARGS) HOSTCC="$(HOSTCC_NOCCACHE)" HOSTCXX="$(HOSTCXX_NOCCACHE)" silentoldconfig
|
||||
|
||||
prepare: $(BUILD_DIR)/buildroot-config/auto.conf
|
||||
|
||||
@@ -376,10 +375,10 @@ world: prepare dependencies dirs $(BASE_TARGETS) $(TARGETS_ALL)
|
||||
$(O)/toolchainfile.cmake:
|
||||
@echo -en "\
|
||||
set(CMAKE_SYSTEM_NAME Linux)\n\
|
||||
set(CMAKE_C_COMPILER $(CMAKE_TARGET_CC))\n\
|
||||
set(CMAKE_CXX_COMPILER $(CMAKE_TARGET_CXX))\n\
|
||||
set(CMAKE_C_FLAGS \"\$${CMAKE_C_FLAGS} $(CMAKE_TARGET_CFLAGS)\" CACHE STRING \"Buildroot CFLAGS\" FORCE)\n\
|
||||
set(CMAKE_CXX_FLAGS \"\$${CMAKE_CXX_FLAGS} $(CMAKE_TARGET_CXXFLAGS)\" CACHE STRING \"Buildroot CXXFLAGS\" FORCE)\n\
|
||||
set(CMAKE_C_COMPILER $(TARGET_CC_NOCCACHE))\n\
|
||||
set(CMAKE_CXX_COMPILER $(TARGET_CXX_NOCCACHE))\n\
|
||||
set(CMAKE_C_FLAGS \"\$${CMAKE_C_FLAGS} $(TARGET_CFLAGS)\" CACHE STRING \"Buildroot CFLAGS\" FORCE)\n\
|
||||
set(CMAKE_CXX_FLAGS \"\$${CMAKE_CXX_FLAGS} $(TARGET_CXXFLAGS)\" CACHE STRING \"Buildroot CXXFLAGS\" FORCE)\n\
|
||||
set(CMAKE_INSTALL_SO_NO_EXE 0)\n\
|
||||
set(CMAKE_PROGRAM_PATH \"$(HOST_DIR)/usr/bin\")\n\
|
||||
set(CMAKE_FIND_ROOT_PATH \"$(STAGING_DIR)\")\n\
|
||||
@@ -625,8 +624,7 @@ endif
|
||||
|
||||
clean:
|
||||
rm -rf $(STAGING_DIR) $(TARGET_DIR) $(BINARIES_DIR) $(HOST_DIR) \
|
||||
$(STAMP_DIR) $(BUILD_DIR) $(TOOLCHAIN_DIR) $(BASE_DIR)/staging \
|
||||
$(TOOLCHAIN_EXTERNAL_DIR)
|
||||
$(STAMP_DIR) $(BUILD_DIR) $(TOOLCHAIN_DIR) $(BASE_DIR)/staging
|
||||
|
||||
distclean: clean
|
||||
ifeq ($(DL_DIR),$(TOPDIR)/dl)
|
||||
@@ -637,10 +635,6 @@ ifeq ($(O),output)
|
||||
endif
|
||||
rm -rf $(CONFIG_DIR)/.config $(CONFIG_DIR)/.config.old $(CONFIG_DIR)/.auto.deps
|
||||
|
||||
configured: dirs kernel-headers uclibc-config busybox-config linux26-config
|
||||
|
||||
prepatch: gcc-patched gdb-patched uclibc-patched
|
||||
|
||||
cross: $(BASE_TARGETS)
|
||||
|
||||
help:
|
||||
@@ -665,7 +659,18 @@ help:
|
||||
@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'
|
||||
ifeq ($(BR2_PACKAGE_BUSYBOX),y)
|
||||
@echo ' busybox-menuconfig - Run BusyBox menuconfig'
|
||||
endif
|
||||
ifeq ($(BR2_LINUX_KERNEL),y)
|
||||
@echo ' linux-menuconfig - Run Linux kernel menuconfig'
|
||||
endif
|
||||
ifeq ($(BR2_TOOLCHAIN_BUILDROOT),y)
|
||||
@echo ' uclibc-menuconfig - Run uClibc menuconfig'
|
||||
endif
|
||||
ifeq ($(BR2_TOOLCHAIN_CTNG),y)
|
||||
@echo ' ctng-menuconfig - Run crosstool-NG menuconfig'
|
||||
endif
|
||||
@echo
|
||||
@echo 'Miscellaneous:'
|
||||
@echo ' source - download all sources needed for offline-build'
|
||||
|
||||
@@ -8,12 +8,13 @@ CONFIG_MODULES=y
|
||||
CONFIG_MODULE_UNLOAD=y
|
||||
CONFIG_MACH_VERSATILE_AB=y
|
||||
CONFIG_PCI=y
|
||||
CONFIG_AEABI=y
|
||||
# CONFIG_OABI_COMPAT is not set
|
||||
CONFIG_LEDS=y
|
||||
CONFIG_LEDS_CPU=y
|
||||
CONFIG_ZBOOT_ROM_TEXT=0x0
|
||||
CONFIG_ZBOOT_ROM_BSS=0x0
|
||||
CONFIG_CMDLINE="root=1f03 mem=32M"
|
||||
CONFIG_FPE_NWFPE=y
|
||||
CONFIG_VFP=y
|
||||
CONFIG_PM=y
|
||||
CONFIG_NET=y
|
||||
@@ -35,7 +36,6 @@ CONFIG_MTD_CFI_ADV_OPTIONS=y
|
||||
CONFIG_MTD_CFI_INTELEXT=y
|
||||
CONFIG_MTD_ARM_INTEGRATOR=y
|
||||
CONFIG_BLK_DEV_RAM=y
|
||||
CONFIG_EEPROM_LEGACY=m
|
||||
CONFIG_SCSI=y
|
||||
CONFIG_BLK_DEV_SD=y
|
||||
CONFIG_SCSI_SYM53C8XX_2=y
|
||||
@@ -69,6 +69,7 @@ CONFIG_MMC=y
|
||||
CONFIG_MMC_ARMMMCI=m
|
||||
CONFIG_EXT2_FS=y
|
||||
CONFIG_VFAT_FS=m
|
||||
CONFIG_TMPFS=y
|
||||
CONFIG_JFFS2_FS=y
|
||||
CONFIG_CRAMFS=y
|
||||
CONFIG_MINIX_FS=y
|
||||
@@ -1,8 +1,9 @@
|
||||
CONFIG_EXPERIMENTAL=y
|
||||
# CONFIG_LOCALVERSION_AUTO is not set
|
||||
# CONFIG_SWAP is not set
|
||||
CONFIG_RCU_FANOUT=32
|
||||
# CONFIG_CC_OPTIMIZE_FOR_SIZE is not set
|
||||
# CONFIG_COMPAT_BRK is not set
|
||||
# CONFIG_LBDAF is not set
|
||||
# CONFIG_BLK_DEV_BSG is not set
|
||||
# CONFIG_IOSCHED_DEADLINE is not set
|
||||
# CONFIG_IOSCHED_CFQ is not set
|
||||
@@ -13,8 +14,8 @@
|
||||
# CONFIG_MTRR_SANITIZER is not set
|
||||
# CONFIG_SECCOMP is not set
|
||||
# CONFIG_RELOCATABLE is not set
|
||||
# CONFIG_COMPAT_VDSO is not set
|
||||
CONFIG_NET=y
|
||||
CONFIG_PACKET=y
|
||||
CONFIG_UNIX=y
|
||||
CONFIG_INET=y
|
||||
CONFIG_IP_PNP=y
|
||||
@@ -36,7 +37,7 @@ CONFIG_NETDEVICES=y
|
||||
CONFIG_NET_ETHERNET=y
|
||||
CONFIG_NET_PCI=y
|
||||
CONFIG_NE2K_PCI=y
|
||||
CONFIG_8139TOO=y
|
||||
CONFIG_8139CP=y
|
||||
# CONFIG_NETDEV_1000 is not set
|
||||
# CONFIG_NETDEV_10000 is not set
|
||||
# CONFIG_WLAN is not set
|
||||
@@ -44,6 +45,8 @@ CONFIG_8139TOO=y
|
||||
# CONFIG_INPUT_MOUSE is not set
|
||||
# CONFIG_SERIO_SERPORT is not set
|
||||
# CONFIG_DEVKMEM is not set
|
||||
CONFIG_SERIAL_8250=y
|
||||
CONFIG_SERIAL_8250_CONSOLE=y
|
||||
# CONFIG_LEGACY_PTYS is not set
|
||||
# CONFIG_HW_RANDOM is not set
|
||||
# CONFIG_HWMON is not set
|
||||
@@ -60,6 +63,7 @@ CONFIG_NFS_FS=y
|
||||
CONFIG_ROOT_NFS=y
|
||||
# CONFIG_ENABLE_WARN_DEPRECATED is not set
|
||||
# CONFIG_ENABLE_MUST_CHECK is not set
|
||||
CONFIG_FRAME_WARN=1024
|
||||
# CONFIG_UNUSED_SYMBOLS is not set
|
||||
# CONFIG_FRAME_POINTER is not set
|
||||
# CONFIG_RCU_CPU_STALL_DETECTOR is not set
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
#
|
||||
#############################################################
|
||||
|
||||
BAREBOX_VERSION:=2011.01.0
|
||||
BAREBOX_VERSION:=2011.05.0
|
||||
BAREBOX_SOURCE:=barebox-$(BAREBOX_VERSION).tar.bz2
|
||||
BAREBOX_SITE:=http://www.barebox.org/download/
|
||||
BAREBOX_DIR:=$(BUILD_DIR)/barebox-$(BAREBOX_VERSION)
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
#############################################################
|
||||
GRUB_SOURCE:=grub_0.97.orig.tar.gz
|
||||
GRUB_PATCH:=grub_0.97-35.diff.gz
|
||||
GRUB_SITE:=http://snapshot.debian.net/archive/2008/03/29/debian/pool/main/g/grub/
|
||||
GRUB_SITE:=http://snapshot.debian.org/archive/debian/20080329T000000Z/pool/main/g/grub/
|
||||
GRUB_PATCH_SITE:=$(GRUB_SITE)
|
||||
GRUB_CAT:=$(ZCAT)
|
||||
GRUB_DIR:=$(BUILD_DIR)/grub-0.97
|
||||
|
||||
@@ -12,10 +12,13 @@ config BR2_TARGET_UBOOT_BOARDNAME
|
||||
|
||||
choice
|
||||
prompt "U-Boot Version"
|
||||
default BR2_TARGET_UBOOT_2010_12
|
||||
default BR2_TARGET_UBOOT_2011_03
|
||||
help
|
||||
Select the specific U-Boot version you want to use
|
||||
|
||||
config BR2_TARGET_UBOOT_2011_03
|
||||
bool "2011.03"
|
||||
|
||||
config BR2_TARGET_UBOOT_2010_12
|
||||
bool "2010.12"
|
||||
|
||||
@@ -28,12 +31,6 @@ config BR2_TARGET_UBOOT_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"
|
||||
|
||||
@@ -48,12 +45,11 @@ endif
|
||||
|
||||
config BR2_TARGET_UBOOT_VERSION
|
||||
string
|
||||
default "2011.03" if BR2_TARGET_UBOOT_2011_03
|
||||
default "2010.12" if BR2_TARGET_UBOOT_2010_12
|
||||
default "2010.09" if BR2_TARGET_UBOOT_2010_09
|
||||
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
|
||||
|
||||
27
boot/u-boot/u-boot-2011.03-drop-configh.patch
Normal file
27
boot/u-boot/u-boot-2011.03-drop-configh.patch
Normal file
@@ -0,0 +1,27 @@
|
||||
"make tools-all" should allow building tools such as mkimage and the new
|
||||
imximage without any config, but imximage.c currently fails to build
|
||||
with:
|
||||
imximage.h:27:20: error: config.h: No such file or directory
|
||||
|
||||
config.h is not needed in imximage.h nor in imximage.c, and imximage.h
|
||||
is only included from imximage.c, so drop this include to fix the build.
|
||||
|
||||
Signed-off-by: Lo?c Minier <loic.minier@linaro.org>
|
||||
---
|
||||
tools/imximage.h | 2 --
|
||||
1 files changed, 0 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/tools/imximage.h b/tools/imximage.h
|
||||
index 38ca6be..d126a46 100644
|
||||
--- a/tools/imximage.h
|
||||
+++ b/tools/imximage.h
|
||||
@@ -24,8 +24,6 @@
|
||||
#ifndef _IMXIMAGE_H_
|
||||
#define _IMXIMAGE_H_
|
||||
|
||||
-#include <config.h>
|
||||
-
|
||||
#define MAX_HW_CFG_SIZE_V2 121 /* Max number of registers imx can set for v2 */
|
||||
#define MAX_HW_CFG_SIZE_V1 60 /* Max number of registers imx can set for v1 */
|
||||
#define APP_CODE_BARKER 0xB1
|
||||
-- 1.7.2.3
|
||||
@@ -11,7 +11,7 @@ U_BOOT_BOARD_NAME:=$(call qstrip,$(BR2_TARGET_UBOOT_BOARDNAME))
|
||||
# pick some random stable U-Boot version that will be used just to
|
||||
# build mkimage.
|
||||
ifeq ($(U_BOOT_VERSION),)
|
||||
U_BOOT_VERSION=2010.12
|
||||
U_BOOT_VERSION=2011.03
|
||||
endif
|
||||
|
||||
ifeq ($(U_BOOT_VERSION),custom)
|
||||
@@ -43,7 +43,7 @@ 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)),)
|
||||
ifneq ($(findstring x2010.03,x$(U_BOOT_VERSION)),)
|
||||
U_BOOT_ARCH=$(KERNEL_ARCH:powerpc=ppc)
|
||||
endif
|
||||
|
||||
@@ -129,8 +129,6 @@ endif # BR2_TARGET_UBOOT_NETWORK
|
||||
# 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="$(CCACHE) $(TARGET_CROSS)" ARCH=$(U_BOOT_ARCH) \
|
||||
$(U_BOOT_MAKE_OPT) -C $(U_BOOT_DIR)
|
||||
@@ -161,15 +159,11 @@ $(TARGET_DIR)/usr/bin/mkimage: $(U_BOOT_DIR)/.configured
|
||||
$(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) $@
|
||||
$(TARGET_CONFIGURE_OPTS) \
|
||||
$(MAKE) HOSTCC="$(TARGET_CC)" -C $(U_BOOT_DIR) env
|
||||
$(INSTALL) -m 0755 -D $(U_BOOT_DIR)/tools/env/fw_printenv $@
|
||||
ln -sf fw_printenv $(TARGET_DIR)/usr/sbin/fw_setenv
|
||||
|
||||
u-boot: $(U_BOOT_TARGETS)
|
||||
|
||||
@@ -2,6 +2,10 @@
|
||||
BR2_arm=y
|
||||
BR2_arm926t=y
|
||||
|
||||
# system
|
||||
BR2_TARGET_GENERIC_GETTY=y
|
||||
BR2_TARGET_GENERIC_GETTY_PORT="ttyAMA0"
|
||||
|
||||
# filesystem
|
||||
BR2_TARGET_ROOTFS_EXT2=y
|
||||
# BR2_TARGET_ROOTFS_TAR is not set
|
||||
@@ -9,7 +13,7 @@ BR2_TARGET_ROOTFS_EXT2=y
|
||||
# Kernel
|
||||
BR2_LINUX_KERNEL=y
|
||||
BR2_LINUX_KERNEL_CUSTOM_VERSION=y
|
||||
BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="2.6.36"
|
||||
BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="2.6.38.7"
|
||||
BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y
|
||||
BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/qemu/arm-versatile/linux-2.6.36.config"
|
||||
BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/qemu/arm-versatile/linux-2.6.38.config"
|
||||
BR2_LINUX_KERNEL_ZIMAGE=y
|
||||
|
||||
@@ -9,9 +9,9 @@ BR2_TARGET_ROOTFS_EXT2=y
|
||||
# Kernel
|
||||
BR2_LINUX_KERNEL=y
|
||||
BR2_LINUX_KERNEL_CUSTOM_VERSION=y
|
||||
BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="2.6.36"
|
||||
BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="2.6.38.7"
|
||||
BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y
|
||||
BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/qemu/mipsel-malta/linux-2.6.36.config"
|
||||
BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/qemu/mipsel-malta/linux-2.6.38.config"
|
||||
BR2_LINUX_KERNEL_VMLINUX=y
|
||||
|
||||
# Serial port config
|
||||
|
||||
@@ -2,6 +2,9 @@
|
||||
BR2_i386=y
|
||||
BR2_x86_pentiumpro=y
|
||||
|
||||
# system
|
||||
BR2_TARGET_GENERIC_GETTY=y
|
||||
|
||||
# filesystem
|
||||
BR2_TARGET_ROOTFS_EXT2=y
|
||||
# BR2_TARGET_ROOTFS_TAR is not set
|
||||
|
||||
@@ -50,7 +50,7 @@ cross-compilation process.</p>
|
||||
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>
|
||||
and extend. It relies only on the well-known Makefile language.</li>
|
||||
|
||||
</ul>
|
||||
|
||||
|
||||
@@ -160,13 +160,13 @@
|
||||
$ make gconfig
|
||||
</pre>
|
||||
|
||||
<p>to run the Qt3 or GTK-based configurators.</p>
|
||||
<p>to run the Qt or GTK-based configurators.</p>
|
||||
|
||||
<p>All of these "make" commands will need to build a configuration
|
||||
utility, so you may need to install "development" packages for relevant
|
||||
libraries used by the configuration utilities. On Debian-like systems,
|
||||
the <code>libncurses5-dev</code> package is required to use the <i>
|
||||
menuconfig</i> interface, <code>libqt3-mt-dev</code> is required to use
|
||||
menuconfig</i> interface, <code>libqt4-dev</code> is required to use
|
||||
the <i>xconfig</i> interface, and <code>libglib2.0-dev, libgtk2.0-dev
|
||||
and libglade2-dev</code> are needed to use the <i>gconfig</i> interface.</p>
|
||||
|
||||
@@ -241,9 +241,8 @@
|
||||
</li>
|
||||
|
||||
<li><code>host/</code> contains the installation of tools compiled for
|
||||
the host that are needed for the proper execution of Buildroot, except
|
||||
for the cross-compilation toolchain which is installed under
|
||||
<code>staging/</code>.</li>
|
||||
the host that are needed for the proper execution of Buildroot,
|
||||
including the cross-compilation toolchain.</li>
|
||||
|
||||
<li><code>toolchain/</code> contains the build directories for the
|
||||
various components of the cross-compilation toolchain.</li>
|
||||
|
||||
@@ -6,22 +6,22 @@
|
||||
|
||||
<p>
|
||||
|
||||
The latest stable release is <b>2010.11</b>, which can be downloaded
|
||||
The latest stable release is <b>2011.05</b>, which can be downloaded
|
||||
here:<p>
|
||||
|
||||
<a href="/downloads/buildroot-2010.11.tar.gz">buildroot-2010.11.tar.gz</a>
|
||||
<a href="/downloads/buildroot-2011.05.tar.gz">buildroot-2011.05.tar.gz</a>
|
||||
or
|
||||
<a href="/downloads/buildroot-2010.11.tar.bz2">buildroot-2010.11.tar.bz2</a>.
|
||||
<a href="/downloads/buildroot-2011.05.tar.bz2">buildroot-2011.05.tar.bz2</a>.
|
||||
<p>
|
||||
|
||||
The latest release candidate is <b>2011.02-rc1</b>, which can be
|
||||
<!--
|
||||
The latest release candidate is <b>2011.05-rc2</b>, which can be
|
||||
downloaded here:<p>
|
||||
|
||||
<a href="/downloads/buildroot-2011.02-rc1.tar.gz">buildroot-2011.02-rc1.tar.gz</a>
|
||||
<a href="/downloads/buildroot-2011.05-rc2.tar.gz">buildroot-2011.05-rc2.tar.gz</a>
|
||||
or
|
||||
<a href="/downloads/buildroot-2011.02-rc1.tar.bz2">buildroot-2011.02-rc1.tar.bz2</a>.
|
||||
<a href="/downloads/buildroot-2011.05-rc2.tar.bz2">buildroot-2011.05-rc2.tar.bz2</a>.
|
||||
<p>
|
||||
|
||||
-->
|
||||
This and earlier releases can always be downloaded from
|
||||
<a href="/downloads/">http://buildroot.net/downloads/</a>.
|
||||
|
||||
|
||||
BIN
docs/favicon.ico
Normal file
BIN
docs/favicon.ico
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 2.2 KiB |
@@ -15,6 +15,21 @@
|
||||
td.c2 {font-family: arial, helvetica, sans-serif; font-size: 80%}
|
||||
td.c1 {font-family: lucida, helvetica; font-size: 248%}
|
||||
</style>
|
||||
<script type="text/javascript">
|
||||
|
||||
var _gaq = _gaq || [];
|
||||
_gaq.push(['_setAccount', 'UA-21761074-1']);
|
||||
_gaq.push(['_setDomainName', 'none']);
|
||||
_gaq.push(['_setAllowLinker', true]);
|
||||
_gaq.push(['_trackPageview']);
|
||||
|
||||
(function() {
|
||||
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
|
||||
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
|
||||
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
|
||||
})();
|
||||
|
||||
</script>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
||||
@@ -5,12 +5,69 @@
|
||||
<p>
|
||||
|
||||
<ul>
|
||||
<li><b>27 May 2011 -- 2011.05 released</b>
|
||||
|
||||
<p>The stable 2011.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=2011.05">CHANGES</a>
|
||||
file for more details, and go to the <a href="/downloads/">downloads page</a> to pick up the
|
||||
<a href="/downloads/buildroot-2011.05.tar.bz2">2011.05 release</a>.</p>
|
||||
|
||||
<li><b>24 May 2011 -- 2011.05-rc2 released</b>
|
||||
|
||||
<p>RC2 is out with more bugfixes. See the <a
|
||||
href="http://git.buildroot.net/buildroot/plain/CHANGES?id=2011.05_rc2">CHANGES</a>
|
||||
file for details.
|
||||
|
||||
<p>Head to the <a href="/downloads/">downloads page</a> to pick up the
|
||||
<a href="/downloads/buildroot-2011.05-rc2.tar.bz2">2011.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>18 May 2011 -- 2011.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=2011.05_rc1">CHANGES</a>
|
||||
file for details, and read the
|
||||
<a href="http://lists.busybox.net/pipermail/buildroot/2011-May/043317.html">announcement</a>.
|
||||
|
||||
<p>Head to the <a href="/downloads/">downloads page</a> to pick up the
|
||||
<a href="/downloads/buildroot-2011.05-rc1.tar.bz2">2011.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>28 February 2011 -- 2011.02 released</b>
|
||||
|
||||
<p>The stable 2011.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=2011.02">CHANGES</a>
|
||||
file for more details, read the
|
||||
<a href="http://lists.busybox.net/pipermail/buildroot/2011-February/041662.html">announcement</a>
|
||||
and go to the <a href="/downloads/">downloads page</a> to pick up the
|
||||
<a href="/downloads/buildroot-2011.02.tar.bz2">2011.02 release</a>.</p>
|
||||
|
||||
<li><b>24 February 2011 -- 2011.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=2011.02_rc2">CHANGES</a>
|
||||
file for details.</p>
|
||||
|
||||
<p>Head to the <a href="/downloads/">downloads page</a> to pick up the
|
||||
<a href="/downloads/buildroot-2011.02-rc2.tar.bz2">2011.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>14 February 2011 -- 2011.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=2011.02_rc1">CHANGES</a>
|
||||
file for details.
|
||||
file for details, and read the
|
||||
<a href="http://lists.busybox.net/pipermail/buildroot/2011-February/041365.html">announcement</a>.
|
||||
|
||||
<p>Head to the <a href="/downloads/">downloads page</a> to pick up the
|
||||
<a href="/downloads/buildroot-2011.02-rc1.tar.bz2">2011.02-rc1
|
||||
|
||||
2
docs/robots.txt
Normal file
2
docs/robots.txt
Normal file
@@ -0,0 +1,2 @@
|
||||
User-agent: *
|
||||
Disallow: /cgi-bin/
|
||||
48
fs/Config.in
48
fs/Config.in
@@ -1,50 +1,4 @@
|
||||
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
|
||||
menu "Filesystem images"
|
||||
|
||||
source "fs/cramfs/Config.in"
|
||||
source "fs/cloop/Config.in"
|
||||
|
||||
10
fs/common.mk
10
fs/common.mk
@@ -32,7 +32,8 @@
|
||||
# macro will automatically generate a compressed filesystem image.
|
||||
|
||||
FAKEROOT_SCRIPT = $(BUILD_DIR)/_fakeroot.fs
|
||||
ROOTFS_DEVICE_TABLE = $(call qstrip,$(BR2_ROOTFS_DEVICE_TABLE))
|
||||
FULL_DEVICE_TABLE = $(BUILD_DIR)/_device_table.txt
|
||||
ROOTFS_DEVICE_TABLES = $(call qstrip,$(BR2_ROOTFS_DEVICE_TABLE))
|
||||
|
||||
define ROOTFS_TARGET_INTERNAL
|
||||
|
||||
@@ -46,13 +47,14 @@ $(BINARIES_DIR)/rootfs.$(1): $(ROOTFS_$(2)_DEPENDENCIES)
|
||||
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)
|
||||
ifneq ($(ROOTFS_DEVICE_TABLES),)
|
||||
cat $(ROOTFS_DEVICE_TABLES) > $(FULL_DEVICE_TABLE)
|
||||
echo "$(HOST_DIR)/usr/bin/makedevs -d $(FULL_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)
|
||||
-@rm -f $(FAKEROOT_SCRIPT) $(FULL_DEVICE_TABLE)
|
||||
$(foreach hook,$(ROOTFS_$(2)_POST_GEN_HOOKS),$(call $(hook))$(sep))
|
||||
ifeq ($$(BR2_TARGET_ROOTFS_$(2)_GZIP),y)
|
||||
gzip -9 -c $$@ > $$@.gz
|
||||
|
||||
@@ -12,6 +12,7 @@ staff:x:50:
|
||||
haldaemon:x:68:
|
||||
dbus:x:81:
|
||||
netdev:x:82:
|
||||
ftp:x:83
|
||||
nobody:x:99:
|
||||
nogroup:x:99:
|
||||
users:x:100:
|
||||
|
||||
@@ -14,18 +14,14 @@
|
||||
# process == program to run
|
||||
|
||||
# Startup the system
|
||||
null::sysinit:/bin/mount -o remount,rw /
|
||||
null::sysinit:/bin/mount -t proc proc /proc
|
||||
null::sysinit:/bin/mount -o remount,rw /
|
||||
null::sysinit:/bin/mkdir -p /dev/pts
|
||||
null::sysinit:/bin/mount -a
|
||||
null::sysinit:/bin/hostname -F /etc/hostname
|
||||
# now run any rc scripts
|
||||
::sysinit:/etc/init.d/rcS
|
||||
|
||||
# Set up a couple of getty's
|
||||
tty1::respawn:/sbin/getty 38400 tty1
|
||||
tty2::respawn:/sbin/getty 38400 tty2
|
||||
|
||||
# Put a getty on the serial port
|
||||
#ttyS0::respawn:/sbin/getty -L ttyS0 115200 vt100 # GENERIC_SERIAL
|
||||
|
||||
|
||||
@@ -10,6 +10,7 @@ backup:x:34:34:backup:/var/backups:/bin/sh
|
||||
operator:x:37:37:Operator:/var:/bin/sh
|
||||
haldaemon:x:68:68:hald:/:/bin/sh
|
||||
dbus:x:81:81:dbus:/var/run/dbus:/bin/sh
|
||||
ftp:x:83:83:ftp:/home/ftp:/bin/sh
|
||||
nobody:x:99:99:nobody:/home:/bin/sh
|
||||
sshd:x:103:99:Operator:/var:/bin/sh
|
||||
default:x:1000:1000:Default non-root user:/home/default:/bin/sh
|
||||
|
||||
@@ -8,5 +8,6 @@ shutdown:*:10933:0:99999:7:::
|
||||
halt:*:10933:0:99999:7:::
|
||||
uucp:*:10933:0:99999:7:::
|
||||
operator:*:10933:0:99999:7:::
|
||||
ftp:*:10933:0:99999:7:::
|
||||
nobody:*:10933:0:99999:7:::
|
||||
default::10933:0:99999:7:::
|
||||
|
||||
@@ -37,5 +37,8 @@ config BR2_TARGET_ROOTFS_SQUASHFS4_LZMA
|
||||
config BR2_TARGET_ROOTFS_SQUASHFS4_LZO
|
||||
bool "lzo"
|
||||
|
||||
config BR2_TARGET_ROOTFS_SQUASHFS4_XZ
|
||||
bool "xz"
|
||||
|
||||
endchoice
|
||||
endif
|
||||
|
||||
@@ -13,9 +13,13 @@ else
|
||||
ifeq ($(BR2_TARGET_ROOTFS_SQUASHFS4_LZMA),y)
|
||||
ROOTFS_SQUASHFS_ARGS += -comp lzma
|
||||
else
|
||||
ifeq ($(BR2_TARGET_ROOTFS_SQUASHFS4_XZ),y)
|
||||
ROOTFS_SQUASHFS_ARGS += -comp xz
|
||||
else
|
||||
ROOTFS_SQUASHFS_ARGS += -comp gzip
|
||||
endif
|
||||
endif
|
||||
endif
|
||||
|
||||
else
|
||||
ROOTFS_SQUASHFS_DEPENDENCIES = host-squashfs3
|
||||
|
||||
@@ -19,10 +19,10 @@ if BR2_LINUX_KERNEL
|
||||
#
|
||||
choice
|
||||
prompt "Kernel version"
|
||||
default BR2_LINUX_KERNEL_2_6_37
|
||||
default BR2_LINUX_KERNEL_2_6_38
|
||||
|
||||
config BR2_LINUX_KERNEL_2_6_37
|
||||
bool "2.6.37"
|
||||
config BR2_LINUX_KERNEL_2_6_38
|
||||
bool "2.6.38.7"
|
||||
|
||||
config BR2_LINUX_KERNEL_SAME_AS_HEADERS
|
||||
bool "Same as toolchain kernel headers"
|
||||
@@ -52,7 +52,7 @@ endchoice
|
||||
config BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE
|
||||
string "Kernel version"
|
||||
depends on BR2_LINUX_KERNEL_CUSTOM_VERSION
|
||||
default "2.6.37"
|
||||
default "2.6.38.7"
|
||||
|
||||
config BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION
|
||||
string "URL of custom kernel tarball"
|
||||
@@ -60,7 +60,7 @@ config BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION
|
||||
|
||||
config BR2_LINUX_KERNEL_VERSION
|
||||
string
|
||||
default "2.6.37" if BR2_LINUX_KERNEL_2_6_37
|
||||
default "2.6.38.7" if BR2_LINUX_KERNEL_2_6_38
|
||||
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
|
||||
@@ -133,8 +133,26 @@ config BR2_LINUX_KERNEL_VMLINUX
|
||||
bool "vmlinux"
|
||||
depends on BR2_mips || BR2_mipsel
|
||||
|
||||
config BR2_LINUX_KERNEL_IMAGE_TARGET_CUSTOM
|
||||
bool "custom target"
|
||||
help
|
||||
For certain cases a board-specific target image must be
|
||||
used. For example, on powerPC where the OpenFirmware
|
||||
description is attached in a board-specific kernel image
|
||||
target like 'cuImage.mpc8379_rdb'.
|
||||
|
||||
Select this option and specify the make target in "Kernel
|
||||
image target name".
|
||||
|
||||
endchoice
|
||||
|
||||
config BR2_LINUX_KERNEL_IMAGE_TARGET_NAME
|
||||
string "Kernel image target name"
|
||||
depends on BR2_LINUX_KERNEL_IMAGE_TARGET_CUSTOM
|
||||
help
|
||||
Specify the kernel make target to build the kernel that you
|
||||
need.
|
||||
|
||||
endif # BR2_LINUX_KERNEL
|
||||
|
||||
endmenu
|
||||
|
||||
@@ -30,6 +30,9 @@ LINUX26_MAKE_FLAGS = \
|
||||
# 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_IMAGE_TARGET_CUSTOM),y)
|
||||
LINUX26_IMAGE_NAME=$(call qstrip,$(BR2_LINUX_KERNEL_IMAGE_TARGET_NAME))
|
||||
else
|
||||
ifeq ($(BR2_LINUX_KERNEL_UIMAGE),y)
|
||||
ifeq ($(KERNEL_ARCH),blackfin)
|
||||
# a uImage, but with a different file name
|
||||
@@ -47,6 +50,7 @@ LINUX26_IMAGE_NAME=vmlinux.bin
|
||||
else ifeq ($(BR2_LINUX_KERNEL_VMLINUX),y)
|
||||
LINUX26_IMAGE_NAME=vmlinux
|
||||
endif
|
||||
endif
|
||||
|
||||
# Compute the arch path, since i386 and x86_64 are in arch/x86 and not
|
||||
# in arch/$(KERNEL_ARCH). Even if the kernel creates symbolic links
|
||||
@@ -129,6 +133,13 @@ ifeq ($(BR2_TARGET_ROOTFS_INITRAMFS),y)
|
||||
$(call KCONFIG_SET_OPT,CONFIG_INITRAMFS_ROOT_GID,0,$(@D)/.config)
|
||||
$(call KCONFIG_DISABLE_OPT,CONFIG_INITRAMFS_COMPRESSION_NONE,$(@D)/.config)
|
||||
$(call KCONFIG_ENABLE_OPT,CONFIG_INITRAMFS_COMPRESSION_GZIP,$(@D)/.config)
|
||||
endif
|
||||
ifneq ($(BR2_ROOTFS_DEVICE_CREATION_STATIC),y)
|
||||
$(call KCONFIG_ENABLE_OPT,CONFIG_DEVTMPFS,$(@D)/.config)
|
||||
$(call KCONFIG_ENABLE_OPT,CONFIG_DEVTMPFS_MOUNT,$(@D)/.config)
|
||||
endif
|
||||
ifeq ($(BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_MDEV),y)
|
||||
$(call KCONFIG_SET_OPT,CONFIG_UEVENT_HELPER_PATH,\"/sbin/mdev\",$(@D)/.config)
|
||||
endif
|
||||
$(TARGET_MAKE_ENV) $(MAKE) $(LINUX26_MAKE_FLAGS) -C $(@D) oldconfig
|
||||
$(Q)touch $@
|
||||
|
||||
@@ -17,6 +17,7 @@ source "package/xz/Config.in"
|
||||
endmenu
|
||||
|
||||
menu "Debugging, profiling and benchmark"
|
||||
source "package/bonnie/Config.in"
|
||||
source "package/dhrystone/Config.in"
|
||||
source "package/dmalloc/Config.in"
|
||||
source "package/kexec/Config.in"
|
||||
@@ -47,7 +48,6 @@ if BR2_PACKAGE_BUSYBOX_SHOW_OTHERS
|
||||
source "package/diffutils/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
|
||||
@@ -82,7 +82,6 @@ endif
|
||||
endmenu
|
||||
|
||||
menu "Games"
|
||||
source "package/games/ace_of_penguins/Config.in"
|
||||
source "package/games/gnuchess/Config.in"
|
||||
source "package/games/prboom/Config.in"
|
||||
source "package/games/doom-wad/Config.in"
|
||||
@@ -166,6 +165,7 @@ source "package/eeprog/Config.in"
|
||||
source "package/fconfig/Config.in"
|
||||
source "package/fis/Config.in"
|
||||
source "package/gadgetfs-test/Config.in"
|
||||
source "package/gdisk/Config.in"
|
||||
source "package/genext2fs/Config.in"
|
||||
source "package/genromfs/Config.in"
|
||||
source "package/gpsd/Config.in"
|
||||
@@ -176,10 +176,12 @@ source "package/hdparm/Config.in"
|
||||
endif
|
||||
source "package/hwdata/Config.in"
|
||||
source "package/i2c-tools/Config.in"
|
||||
source "package/input-event-daemon/Config.in"
|
||||
source "package/input-tools/Config.in"
|
||||
source "package/iostat/Config.in"
|
||||
source "package/irda-utils/Config.in"
|
||||
source "package/kbd/Config.in"
|
||||
source "package/libv4l/Config.in"
|
||||
source "package/lm-sensors/Config.in"
|
||||
source "package/lsuio/Config.in"
|
||||
source "package/lvm2/Config.in"
|
||||
@@ -274,11 +276,13 @@ source "package/gtk2-themes/Config.in"
|
||||
source "package/jpeg/Config.in"
|
||||
source "package/libart/Config.in"
|
||||
source "package/libdrm/Config.in"
|
||||
source "package/libexif/Config.in"
|
||||
source "package/libgail/Config.in"
|
||||
source "package/libglade/Config.in"
|
||||
source "package/gdk-pixbuf/Config.in"
|
||||
source "package/libgtk2/Config.in"
|
||||
source "package/libpng/Config.in"
|
||||
source "package/libraw/Config.in"
|
||||
source "package/librsvg/Config.in"
|
||||
source "package/libsvgtiny/Config.in"
|
||||
source "package/libungif/Config.in"
|
||||
@@ -373,11 +377,14 @@ endif
|
||||
source "package/bind/Config.in"
|
||||
source "package/bmon/Config.in"
|
||||
source "package/bridge-utils/Config.in"
|
||||
source "package/bwm-ng/Config.in"
|
||||
source "package/can-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/dhcpdump/Config.in"
|
||||
source "package/dnsmasq/Config.in"
|
||||
source "package/dropbear/Config.in"
|
||||
source "package/ethtool/Config.in"
|
||||
@@ -409,6 +416,7 @@ source "package/netplug/Config.in"
|
||||
source "package/netsnmp/Config.in"
|
||||
source "package/netstat-nat/Config.in"
|
||||
source "package/nfs-utils/Config.in"
|
||||
source "package/ngircd/Config.in"
|
||||
source "package/ntp/Config.in"
|
||||
source "package/nuttcp/Config.in"
|
||||
source "package/olsr/Config.in"
|
||||
@@ -477,6 +485,9 @@ endmenu
|
||||
menu "System tools"
|
||||
if BR2_PACKAGE_BUSYBOX_SHOW_OTHERS
|
||||
source "package/bootutils/Config.in"
|
||||
endif
|
||||
source "package/htop/Config.in"
|
||||
if BR2_PACKAGE_BUSYBOX_SHOW_OTHERS
|
||||
source "package/module-init-tools/Config.in"
|
||||
source "package/procps/Config.in"
|
||||
source "package/psmisc/Config.in"
|
||||
|
||||
@@ -57,9 +57,16 @@ ifndef $(2)_LIBTOOL_PATCH
|
||||
endif
|
||||
endif
|
||||
|
||||
ifndef $(2)_MAKE
|
||||
ifdef $(3)_MAKE
|
||||
$(2)_MAKE = $($(3)_MAKE)
|
||||
else
|
||||
$(2)_MAKE ?= $(MAKE)
|
||||
endif
|
||||
endif
|
||||
|
||||
$(2)_CONF_ENV ?=
|
||||
$(2)_CONF_OPT ?=
|
||||
$(2)_MAKE ?= $(MAKE)
|
||||
$(2)_MAKE_ENV ?=
|
||||
$(2)_MAKE_OPT ?=
|
||||
$(2)_AUTORECONF ?= NO
|
||||
@@ -145,6 +152,8 @@ define LIBTOOL_PATCH_HOOK
|
||||
toolchain/patch-kernel.sh $$$${i%/*} package buildroot-libtool-v1.5.patch; \
|
||||
elif test $$$${ltmain_version} = "2.2"; then\
|
||||
toolchain/patch-kernel.sh $$$${i%/*} package buildroot-libtool-v2.2.patch; \
|
||||
elif test $$$${ltmain_version} = "2.4"; then\
|
||||
toolchain/patch-kernel.sh $$$${i%/*} package buildroot-libtool-v2.4.patch; \
|
||||
fi \
|
||||
done \
|
||||
fi
|
||||
@@ -168,6 +177,8 @@ define AUTORECONF_HOOK
|
||||
toolchain/patch-kernel.sh $$$${i%/*} package buildroot-libtool-v1.5.patch; \
|
||||
elif test $$$${ltmain_version} = "2.2"; then\
|
||||
toolchain/patch-kernel.sh $$$${i%/*} package buildroot-libtool-v2.2.patch; \
|
||||
elif test $$$${ltmain_version} = "2.4"; then\
|
||||
toolchain/patch-kernel.sh $$$${i%/*} package buildroot-libtool-v2.4.patch; \
|
||||
fi \
|
||||
done \
|
||||
fi
|
||||
|
||||
@@ -62,34 +62,12 @@ 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))
|
||||
|
||||
ifneq ($(CC_TARGET_TUNE_),)
|
||||
TARGET_CFLAGS+=-mtune=$(CC_TARGET_TUNE_)
|
||||
endif
|
||||
ifneq ($(CC_TARGET_ARCH_),)
|
||||
TARGET_CFLAGS+=-march=$(CC_TARGET_ARCH_)
|
||||
endif
|
||||
ifneq ($(CC_TARGET_ABI_),)
|
||||
TARGET_CFLAGS+=-mabi=$(CC_TARGET_ABI_)
|
||||
endif
|
||||
|
||||
ifneq ($(BR2_PREFER_STATIC_LIB),y)
|
||||
ifeq ($(BR2_x86_64),y)
|
||||
TARGET_CFLAGS+=-fPIC -DPIC
|
||||
endif # PIC for dynamic objects on x86_64
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_SOFT_FLOAT),y)
|
||||
TARGET_CFLAGS+=-msoft-float
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_VFP_FLOAT),y)
|
||||
TARGET_CFLAGS+=-mfpu=vfp
|
||||
endif
|
||||
|
||||
ifeq ($(findstring yy,$(BR2_mips)$(BR2_MIPS_ABI64)),yy)
|
||||
TARGET_CFLAGS+=-fno-pic -mno-abicalls
|
||||
endif
|
||||
@@ -98,24 +76,12 @@ 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)
|
||||
|
||||
ifeq ($(BR2_TOOLCHAIN_BUILDROOT)$(BR2_TOOLCHAIN_CTNG),y)
|
||||
TARGET_CROSS=$(HOST_DIR)/usr/bin/$(REAL_GNU_TARGET_NAME)-
|
||||
else ifeq ($(BR2_TOOLCHAIN_EXTERNAL),y)
|
||||
TOOLCHAIN_EXTERNAL_PREFIX=$(call qstrip,$(BR2_TOOLCHAIN_EXTERNAL_PREFIX))
|
||||
ifeq ($(BR2_TOOLCHAIN_EXTERNAL_DOWNLOAD),y)
|
||||
TOOLCHAIN_EXTERNAL_LOCATION=$(TOOLCHAIN_EXTERNAL_DIR)
|
||||
else
|
||||
TOOLCHAIN_EXTERNAL_LOCATION=$(call qstrip,$(BR2_TOOLCHAIN_EXTERNAL_PATH))
|
||||
endif
|
||||
TARGET_CROSS=$(TOOLCHAIN_EXTERNAL_LOCATION)/bin/$(TOOLCHAIN_EXTERNAL_PREFIX)-
|
||||
TARGET_CROSS=$(HOST_DIR)/usr/bin/$(call qstrip,$(BR2_TOOLCHAIN_EXTERNAL_PREFIX))-
|
||||
endif
|
||||
|
||||
# Quotes are needed for spaces et al in path components.
|
||||
@@ -125,11 +91,11 @@ TARGET_PATH="$(HOST_DIR)/bin:$(HOST_DIR)/usr/bin:$(HOST_DIR)/usr/sbin/:$(PATH)"
|
||||
# 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_CC = $(TARGET_CROSS)gcc
|
||||
TARGET_CPP = $(TARGET_CROSS)cpp
|
||||
TARGET_CXX = $(TARGET_CROSS)g++
|
||||
TARGET_FC = $(TARGET_CROSS)gfortran
|
||||
TARGET_LD = $(TARGET_CROSS)ld
|
||||
TARGET_NM = $(TARGET_CROSS)nm
|
||||
TARGET_RANLIB = $(TARGET_CROSS)ranlib
|
||||
TARGET_OBJCOPY = $(TARGET_CROSS)objcopy
|
||||
@@ -143,14 +109,6 @@ TARGET_CC := $(CCACHE) $(TARGET_CC)
|
||||
TARGET_CXX := $(CCACHE) $(TARGET_CXX)
|
||||
endif
|
||||
|
||||
# * CMake doesn't support having the --sysroot option directly in the
|
||||
# compiler path, so move this option to CFLAGS/CXXFLAGS variables.
|
||||
# * Don't use ccache because then CMake will fail to detect compiler.
|
||||
CMAKE_TARGET_CC = $(filter-out --sysroot=%,$(TARGET_CC_NOCCACHE))
|
||||
CMAKE_TARGET_CXX = $(filter-out --sysroot=%,$(TARGET_CXX_NOCCACHE))
|
||||
CMAKE_TARGET_CFLAGS = $(filter --sysroot=%,$(TARGET_CC_NOCCACHE)) $(TARGET_CFLAGS)
|
||||
CMAKE_TARGET_CXXFLAGS = $(filter --sysroot=%,$(TARGET_CXX_NOCCACHE)) $(TARGET_CXXFLAGS)
|
||||
|
||||
ifeq ($(BR2_STRIP_strip),y)
|
||||
STRIP_DISCARD_ALL:=--discard-all
|
||||
STRIP_STRIP_UNNEEDED:=--strip-unneeded
|
||||
@@ -241,7 +199,7 @@ HOST_CONFIGURE_OPTS=PATH=$(HOST_PATH) \
|
||||
PKG_CONFIG_ALLOW_SYSTEM_LIBS=1 \
|
||||
PKG_CONFIG="$(PKG_CONFIG_HOST_BINARY)" \
|
||||
PKG_CONFIG_SYSROOT_DIR="/" \
|
||||
PKG_CONFIG_LIBDIR="$(HOST_DIR)/usr/lib/pkgconfig" \
|
||||
PKG_CONFIG_LIBDIR="$(HOST_DIR)/usr/lib/pkgconfig:$(HOST_DIR)/usr/share/pkgconfig" \
|
||||
PERLLIB="$(HOST_DIR)/usr/lib/perl" \
|
||||
LD_LIBRARY_PATH="$(HOST_DIR)/usr/lib:$(LD_LIBRARY_PATH)"
|
||||
|
||||
@@ -285,6 +243,7 @@ TARGET_CONFIGURE_ARGS= \
|
||||
ac_cv_func_malloc_0_nonnull=yes \
|
||||
ac_cv_func_calloc_0_nonnull=yes \
|
||||
ac_cv_func_realloc_0_nonnull=yes \
|
||||
lt_cv_sys_lib_search_path_spec="" \
|
||||
$(BR2_AC_CV_C_BIGENDIAN)
|
||||
|
||||
#######################################################################
|
||||
|
||||
@@ -105,7 +105,7 @@ endif
|
||||
define DOWNLOAD_GIT
|
||||
test -e $(DL_DIR)/$($(PKG)_SOURCE) || \
|
||||
(pushd $(DL_DIR) > /dev/null && \
|
||||
$(GIT) clone $($(PKG)_SITE) $($(PKG)_BASE_NAME) && \
|
||||
$(GIT) clone --bare $($(PKG)_SITE) $($(PKG)_BASE_NAME) && \
|
||||
pushd $($(PKG)_BASE_NAME) > /dev/null && \
|
||||
$(GIT) archive --format=tar --prefix=$($(PKG)_BASE_NAME)/ $($(PKG)_DL_VERSION) | \
|
||||
gzip -c > $(DL_DIR)/$($(PKG)_SOURCE) && \
|
||||
@@ -232,7 +232,7 @@ ifeq ($(DL_MODE),DOWNLOAD)
|
||||
(test -z $($(PKG)_PATCH) || test -e $(DL_DIR)$($(PKG)_PATCH))) || \
|
||||
$(call MESSAGE,"Downloading")
|
||||
endif
|
||||
$(call DOWNLOAD,$($(PKG)_SITE),$($(PKG)_SOURCE))
|
||||
$(if $($(PKG)_SOURCE),$(call DOWNLOAD,$($(PKG)_SITE),$($(PKG)_SOURCE)))
|
||||
$(if $($(PKG)_PATCH),$(call DOWNLOAD,$($(PKG)_SITE),$($(PKG)_PATCH)))
|
||||
ifeq ($(DL_MODE),DOWNLOAD)
|
||||
$(Q)mkdir -p $(@D)
|
||||
@@ -243,8 +243,8 @@ endif
|
||||
$(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) -
|
||||
$(Q)$(if $($(PKG)_SOURCE),$(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))
|
||||
|
||||
@@ -3,6 +3,8 @@ config BR2_PACKAGE_ALSAMIXERGUI
|
||||
depends on BR2_PACKAGE_ALSA_LIB
|
||||
depends on BR2_INSTALL_LIBSTDCPP
|
||||
select BR2_PACKAGE_FLTK
|
||||
select BR2_PACKAGE_ALSA_LIB_PCM
|
||||
select BR2_PACKAGE_ALSA_LIB_MIXER
|
||||
bool "alsamixergui"
|
||||
help
|
||||
A nice GUI mixer for Alsa using fltk
|
||||
|
||||
@@ -5,10 +5,8 @@
|
||||
#############################################################
|
||||
ALSAMIXERGUI_VERSION = 0.9.0rc2-1
|
||||
ALSAMIXERGUI_SOURCE = alsamixergui_$(ALSAMIXERGUI_VERSION).orig.tar.gz
|
||||
ALSAMIXERGUI_SITE = http://snapshot.debian.net/archive/2008/03/19/debian/pool/main/a/alsamixergui
|
||||
ALSAMIXERGUI_SITE = http://snapshot.debian.org/archive/debian/20080319T000000Z/pool/main/a/alsamixergui/
|
||||
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 \
|
||||
|
||||
@@ -3,13 +3,12 @@
|
||||
# atk
|
||||
#
|
||||
#############################################################
|
||||
ATK_VERSION_MAJOR = 1.30
|
||||
ATK_VERSION = $(ATK_VERSION_MAJOR).0
|
||||
ATK_VERSION_MAJOR = 1.33
|
||||
ATK_VERSION = $(ATK_VERSION_MAJOR).6
|
||||
ATK_SOURCE = atk-$(ATK_VERSION).tar.bz2
|
||||
ATK_SITE = http://ftp.gnome.org/pub/gnome/sources/atk/$(ATK_VERSION_MAJOR)/
|
||||
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 \
|
||||
|
||||
@@ -10,10 +10,9 @@
|
||||
# either version 2.1 of the License, or (at your option) any
|
||||
# later version.
|
||||
|
||||
AVAHI_VERSION = 0.6.27
|
||||
AVAHI_VERSION = 0.6.30
|
||||
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
|
||||
|
||||
@@ -65,7 +64,7 @@ AVAHI_CONF_ENV = ac_cv_func_strtod=yes \
|
||||
jm_cv_func_working_re_compile_pattern=yes \
|
||||
ac_use_included_regex=no \
|
||||
avahi_cv_sys_cxx_works=yes \
|
||||
DATADIR=share
|
||||
DATADIRNAME=share
|
||||
|
||||
AVAHI_CONF_OPT = --localstatedir=/var \
|
||||
--disable-qt3 \
|
||||
|
||||
@@ -4,25 +4,33 @@
|
||||
#
|
||||
#############################################################
|
||||
|
||||
BIND_VERSION = 9.5.2-P4
|
||||
BIND_VERSION = 9.6-ESV-R4
|
||||
BIND_SITE = ftp://ftp.isc.org/isc/bind9/$(BIND_VERSION)
|
||||
BIND_TARGET_SBINS = lwresd named named-checkconf named-checkzone
|
||||
BIND_TARGET_SBINS += named-compilezone rndc rndc-confgen
|
||||
BIND_TARGET_SBINS += dnssec-keygen dnssec-signzone
|
||||
BIND_TARGET_SBINS += named-compilezone rndc rndc-confgen dnssec-dsfromkey
|
||||
BIND_TARGET_SBINS += dnssec-keyfromlabel dnssec-keygen dnssec-signzone
|
||||
BIND_TARGET_BINS = dig host nslookup nsupdate
|
||||
BIND_TARGET_LIBS = libbind9.* libdns.* libisccc.* libisccfg.* libisc.* liblwres.*
|
||||
BIND_TARGET_LIBS = libbind9.* libdns.* libisc.* libisccc.* libisccfg.* liblwres.*
|
||||
BIND_CONF_ENV = BUILD_CC="$(TARGET_CC)" \
|
||||
BUILD_CFLAGS="$(TARGET_CFLAGS)"
|
||||
BIND_CONF_OPT = \
|
||||
--sysconfdir=/etc \
|
||||
BIND_CONF_OPT = --sysconfdir=/etc \
|
||||
--localstatedir=/var \
|
||||
--with-randomdev=/dev/urandom \
|
||||
--with-openssl=no \
|
||||
--with-libxml2=no \
|
||||
--with-pic \
|
||||
--with-libtool \
|
||||
--disable-epoll \
|
||||
--disable-threads
|
||||
--enable-epoll --with-libtool
|
||||
|
||||
ifeq ($(BR2_PACKAGE_LIBXML2),y)
|
||||
BIND_CONF_OPT += --with-libxml2=$(STAGING_DIR)/usr
|
||||
BIND_DEPENDENCIES += libxml2
|
||||
else
|
||||
BIND_CONF_OPT += --with-libxml2=no
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_OPENSSL),y)
|
||||
BIND_DEPENDENCIES += openssl
|
||||
BIND_CONF_OPT += --with-openssl=$(STAGING_DIR)/usr
|
||||
else
|
||||
BIND_CONF_OPT += --with-openssl=no
|
||||
endif
|
||||
|
||||
define BIND_TARGET_INSTALL_FIXES
|
||||
rm -f $(TARGET_DIR)/usr/bin/isc-config.sh
|
||||
|
||||
@@ -14,3 +14,4 @@ endef
|
||||
BISON_POST_CONFIGURE_HOOKS += BISON_DISABLE_EXAMPLES
|
||||
|
||||
$(eval $(call AUTOTARGETS,package,bison))
|
||||
$(eval $(call AUTOTARGETS,package,bison,host))
|
||||
|
||||
10
package/bonnie/Config.in
Normal file
10
package/bonnie/Config.in
Normal file
@@ -0,0 +1,10 @@
|
||||
config BR2_PACKAGE_BONNIE
|
||||
bool "bonnie++"
|
||||
depends on BR2_INSTALL_LIBSTDCPP
|
||||
help
|
||||
Filesystem tester
|
||||
|
||||
http://www.coker.com.au/bonnie++/
|
||||
|
||||
comment "bonnie++ requires a toolchain with C++ support enabled"
|
||||
depends on !BR2_INSTALL_LIBSTDCPP
|
||||
18
package/bonnie/bonnie.mk
Normal file
18
package/bonnie/bonnie.mk
Normal file
@@ -0,0 +1,18 @@
|
||||
#
|
||||
# bonnie++
|
||||
#
|
||||
|
||||
BONNIE_VERSION = 1.03e
|
||||
BONNIE_SOURCE = bonnie++-$(BONNIE_VERSION).tgz
|
||||
BONNIE_SITE = http://www.coker.com.au/bonnie++/
|
||||
|
||||
define BONNIE_INSTALL_TARGET_CMDS
|
||||
install -D -m 755 $(@D)/bonnie++ $(TARGET_DIR)/usr/sbin/bonnie++
|
||||
install -D -m 755 $(@D)/zcav $(TARGET_DIR)/usr/sbin/zcav
|
||||
endef
|
||||
|
||||
define BONNIE_UNINSTALL_TARGET_CMDS
|
||||
rm -f $(TARGET_DIR)/usr/sbin/bonnie++ $(TARGET_DIR)/usr/sbin/zcav
|
||||
endef
|
||||
|
||||
$(eval $(call AUTOTARGETS,package,bonnie))
|
||||
47
package/buildroot-libtool-v2.4.patch
Normal file
47
package/buildroot-libtool-v2.4.patch
Normal file
@@ -0,0 +1,47 @@
|
||||
--- a/ltmain.sh
|
||||
+++ b/ltmain.sh
|
||||
@@ -1416,8 +1416,8 @@
|
||||
# was found and let the user know that the "--tag" command
|
||||
# line option must be used.
|
||||
if test -z "$tagname"; then
|
||||
- func_echo "unable to infer tagged configuration"
|
||||
- func_fatal_error "specify a tag with \`--tag'"
|
||||
+ func_echo "defaulting to \`CC'"
|
||||
+ func_echo "if this is not correct, specify a tag with \`--tag'"
|
||||
# else
|
||||
# func_verbose "using $tagname tagged configuration"
|
||||
fi
|
||||
@@ -2962,8 +2962,11 @@
|
||||
# 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.
|
||||
- test "$inst_prefix_dir" = "$destdir" && \
|
||||
- func_fatal_error "error: cannot install \`$file' to a directory not ending in $libdir"
|
||||
+ #
|
||||
+ # This breaks install into our staging area. -PB
|
||||
+ #
|
||||
+ # test "$inst_prefix_dir" = "$destdir" && \
|
||||
+ # func_fatal_error "error: cannot install \`$file' to a directory not ending in $libdir"
|
||||
|
||||
if test -n "$inst_prefix_dir"; then
|
||||
# Stick the inst_prefix_dir data into the link command.
|
||||
@@ -6683,7 +6686,7 @@
|
||||
*)
|
||||
if test "$installed" = no; then
|
||||
func_append notinst_deplibs " $lib"
|
||||
- need_relink=yes
|
||||
+ need_relink=no
|
||||
fi
|
||||
;;
|
||||
esac
|
||||
@@ -9257,6 +9260,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)
|
||||
func_basename "$deplib"
|
||||
@@ -40,7 +40,7 @@ config BR2_BUSYBOX_VERSION
|
||||
default "1.15.3" if BR2_BUSYBOX_VERSION_1_15_X
|
||||
default "1.16.2" if BR2_BUSYBOX_VERSION_1_16_X
|
||||
default "1.17.4" if BR2_BUSYBOX_VERSION_1_17_X
|
||||
default "1.18.3" if BR2_BUSYBOX_VERSION_1_18_X
|
||||
default "1.18.4" if BR2_BUSYBOX_VERSION_1_18_X
|
||||
|
||||
config BR2_PACKAGE_BUSYBOX_CONFIG
|
||||
string "BusyBox configuration file to use?"
|
||||
|
||||
20
package/busybox/S10mdev
Normal file
20
package/busybox/S10mdev
Normal file
@@ -0,0 +1,20 @@
|
||||
#!/bin/sh
|
||||
#
|
||||
# Start mdev....
|
||||
#
|
||||
|
||||
case "$1" in
|
||||
start)
|
||||
echo "Starting mdev..."
|
||||
/sbin/mdev -s
|
||||
;;
|
||||
stop)
|
||||
;;
|
||||
restart|reload)
|
||||
;;
|
||||
*)
|
||||
echo $"Usage: $0 {start|stop|restart}"
|
||||
exit 1
|
||||
esac
|
||||
|
||||
exit $?
|
||||
@@ -1,10 +0,0 @@
|
||||
--- busybox-1.18.3/Config.in
|
||||
+++ busybox-1.18.3-buildsys/Config.in
|
||||
@@ -126,7 +126,6 @@ config FEATURE_INSTALLER
|
||||
config INSTALL_NO_USR
|
||||
bool "Don't use /usr"
|
||||
default n
|
||||
- depends on FEATURE_INSTALLER
|
||||
help
|
||||
Disable use of /usr. busybox --install and "make install"
|
||||
will install applets only to /bin and /sbin,
|
||||
@@ -1,69 +0,0 @@
|
||||
--- busybox-1.18.3/networking/wget.c
|
||||
+++ busybox-1.18.3-wget/networking/wget.c
|
||||
@@ -446,7 +446,7 @@ static FILE* prepare_ftp_session(FILE **
|
||||
|
||||
static void NOINLINE retrieve_file_data(FILE *dfp, int output_fd)
|
||||
{
|
||||
- char buf[512];
|
||||
+ char buf[4*1024]; /* made bigger to speed up local xfers */
|
||||
#if ENABLE_FEATURE_WGET_STATUSBAR || ENABLE_FEATURE_WGET_TIMEOUT
|
||||
# if ENABLE_FEATURE_WGET_TIMEOUT
|
||||
unsigned second_cnt;
|
||||
@@ -506,8 +506,11 @@ static void NOINLINE retrieve_file_data(
|
||||
G.transferred += n;
|
||||
progress_meter(PROGRESS_BUMP);
|
||||
#endif
|
||||
- if (G.got_clen)
|
||||
+ if (G.got_clen) {
|
||||
G.content_len -= n;
|
||||
+ if (G.content_len == 0)
|
||||
+ break;
|
||||
+ }
|
||||
}
|
||||
|
||||
if (!G.chunked)
|
||||
@@ -706,6 +709,11 @@ int wget_main(int argc UNUSED_PARAM, cha
|
||||
fprintf(sfp, "Host: %s\r\nUser-Agent: %s\r\n",
|
||||
target.host, user_agent);
|
||||
|
||||
+ /* Ask server to close the connection as soon as we are done
|
||||
+ * (IOW: we do not intend to send more requests)
|
||||
+ */
|
||||
+ fprintf(sfp, "Connection: close\r\n");
|
||||
+
|
||||
#if ENABLE_FEATURE_WGET_AUTHENTICATION
|
||||
if (target.user) {
|
||||
fprintf(sfp, "Proxy-Authorization: Basic %s\r\n"+6,
|
||||
@@ -719,22 +727,25 @@ int wget_main(int argc UNUSED_PARAM, cha
|
||||
|
||||
if (G.beg_range)
|
||||
fprintf(sfp, "Range: bytes=%"OFF_FMT"u-\r\n", G.beg_range);
|
||||
+
|
||||
#if ENABLE_FEATURE_WGET_LONG_OPTIONS
|
||||
if (extra_headers)
|
||||
fputs(extra_headers, sfp);
|
||||
|
||||
if (opt & WGET_OPT_POST_DATA) {
|
||||
char *estr = URL_escape(post_data);
|
||||
- fprintf(sfp, "Content-Type: application/x-www-form-urlencoded\r\n");
|
||||
- fprintf(sfp, "Content-Length: %u\r\n" "\r\n" "%s",
|
||||
- (int) strlen(estr), estr);
|
||||
- /*fprintf(sfp, "Connection: Keep-Alive\r\n\r\n");*/
|
||||
- /*fprintf(sfp, "%s\r\n", estr);*/
|
||||
+ fprintf(sfp,
|
||||
+ "Content-Type: application/x-www-form-urlencoded\r\n"
|
||||
+ "Content-Length: %u\r\n"
|
||||
+ "\r\n"
|
||||
+ "%s",
|
||||
+ (int) strlen(estr), estr
|
||||
+ );
|
||||
free(estr);
|
||||
} else
|
||||
#endif
|
||||
- { /* If "Connection:" is needed, document why */
|
||||
- fprintf(sfp, /* "Connection: close\r\n" */ "\r\n");
|
||||
+ {
|
||||
+ fprintf(sfp, "\r\n");
|
||||
}
|
||||
|
||||
fflush(sfp);
|
||||
160
package/busybox/busybox-1.18.4/busybox-1.18.4-hush.patch
Normal file
160
package/busybox/busybox-1.18.4/busybox-1.18.4-hush.patch
Normal file
@@ -0,0 +1,160 @@
|
||||
--- busybox-1.18.4/shell/hush.c
|
||||
+++ busybox-1.18.4-hush/shell/hush.c
|
||||
@@ -427,6 +427,15 @@ enum {
|
||||
/* Used for initialization: o_string foo = NULL_O_STRING; */
|
||||
#define NULL_O_STRING { NULL }
|
||||
|
||||
+#ifndef debug_printf_parse
|
||||
+static const char *const assignment_flag[] = {
|
||||
+ "MAYBE_ASSIGNMENT",
|
||||
+ "DEFINITELY_ASSIGNMENT",
|
||||
+ "NOT_ASSIGNMENT",
|
||||
+ "WORD_IS_KEYWORD",
|
||||
+};
|
||||
+#endif
|
||||
+
|
||||
/* I can almost use ordinary FILE*. Is open_memstream() universally
|
||||
* available? Where is it documented? */
|
||||
typedef struct in_str {
|
||||
@@ -2885,24 +2894,24 @@ static const struct reserved_combo* matc
|
||||
*/
|
||||
static const struct reserved_combo reserved_list[] = {
|
||||
# if ENABLE_HUSH_IF
|
||||
- { "!", RES_NONE, NOT_ASSIGNMENT , 0 },
|
||||
- { "if", RES_IF, WORD_IS_KEYWORD, FLAG_THEN | FLAG_START },
|
||||
- { "then", RES_THEN, WORD_IS_KEYWORD, FLAG_ELIF | FLAG_ELSE | FLAG_FI },
|
||||
- { "elif", RES_ELIF, WORD_IS_KEYWORD, FLAG_THEN },
|
||||
- { "else", RES_ELSE, WORD_IS_KEYWORD, FLAG_FI },
|
||||
- { "fi", RES_FI, NOT_ASSIGNMENT , FLAG_END },
|
||||
+ { "!", RES_NONE, NOT_ASSIGNMENT , 0 },
|
||||
+ { "if", RES_IF, MAYBE_ASSIGNMENT, FLAG_THEN | FLAG_START },
|
||||
+ { "then", RES_THEN, MAYBE_ASSIGNMENT, FLAG_ELIF | FLAG_ELSE | FLAG_FI },
|
||||
+ { "elif", RES_ELIF, MAYBE_ASSIGNMENT, FLAG_THEN },
|
||||
+ { "else", RES_ELSE, MAYBE_ASSIGNMENT, FLAG_FI },
|
||||
+ { "fi", RES_FI, NOT_ASSIGNMENT , FLAG_END },
|
||||
# endif
|
||||
# if ENABLE_HUSH_LOOPS
|
||||
- { "for", RES_FOR, NOT_ASSIGNMENT , FLAG_IN | FLAG_DO | FLAG_START },
|
||||
- { "while", RES_WHILE, WORD_IS_KEYWORD, FLAG_DO | FLAG_START },
|
||||
- { "until", RES_UNTIL, WORD_IS_KEYWORD, FLAG_DO | FLAG_START },
|
||||
- { "in", RES_IN, NOT_ASSIGNMENT , FLAG_DO },
|
||||
- { "do", RES_DO, WORD_IS_KEYWORD, FLAG_DONE },
|
||||
- { "done", RES_DONE, NOT_ASSIGNMENT , FLAG_END },
|
||||
+ { "for", RES_FOR, NOT_ASSIGNMENT , FLAG_IN | FLAG_DO | FLAG_START },
|
||||
+ { "while", RES_WHILE, MAYBE_ASSIGNMENT, FLAG_DO | FLAG_START },
|
||||
+ { "until", RES_UNTIL, MAYBE_ASSIGNMENT, FLAG_DO | FLAG_START },
|
||||
+ { "in", RES_IN, NOT_ASSIGNMENT , FLAG_DO },
|
||||
+ { "do", RES_DO, MAYBE_ASSIGNMENT, FLAG_DONE },
|
||||
+ { "done", RES_DONE, NOT_ASSIGNMENT , FLAG_END },
|
||||
# endif
|
||||
# if ENABLE_HUSH_CASE
|
||||
- { "case", RES_CASE, NOT_ASSIGNMENT , FLAG_MATCH | FLAG_START },
|
||||
- { "esac", RES_ESAC, NOT_ASSIGNMENT , FLAG_END },
|
||||
+ { "case", RES_CASE, NOT_ASSIGNMENT , FLAG_MATCH | FLAG_START },
|
||||
+ { "esac", RES_ESAC, NOT_ASSIGNMENT , FLAG_END },
|
||||
# endif
|
||||
};
|
||||
const struct reserved_combo *r;
|
||||
@@ -2968,6 +2977,7 @@ static int reserved_word(o_string *word,
|
||||
ctx->ctx_res_w = r->res;
|
||||
ctx->old_flag = r->flag;
|
||||
word->o_assignment = r->assignment_flag;
|
||||
+ debug_printf_parse("word->o_assignment='%s'\n", assignment_flag[word->o_assignment]);
|
||||
|
||||
if (ctx->old_flag & FLAG_END) {
|
||||
struct parse_context *old;
|
||||
@@ -3034,18 +3044,6 @@ static int done_word(o_string *word, str
|
||||
debug_printf_parse("word stored in rd_filename: '%s'\n", word->data);
|
||||
ctx->pending_redirect = NULL;
|
||||
} else {
|
||||
- /* If this word wasn't an assignment, next ones definitely
|
||||
- * can't be assignments. Even if they look like ones. */
|
||||
- if (word->o_assignment != DEFINITELY_ASSIGNMENT
|
||||
- && word->o_assignment != WORD_IS_KEYWORD
|
||||
- ) {
|
||||
- word->o_assignment = NOT_ASSIGNMENT;
|
||||
- } else {
|
||||
- if (word->o_assignment == DEFINITELY_ASSIGNMENT)
|
||||
- command->assignment_cnt++;
|
||||
- word->o_assignment = MAYBE_ASSIGNMENT;
|
||||
- }
|
||||
-
|
||||
#if HAS_KEYWORDS
|
||||
# if ENABLE_HUSH_CASE
|
||||
if (ctx->ctx_dsemicolon
|
||||
@@ -3065,8 +3063,9 @@ static int done_word(o_string *word, str
|
||||
&& ctx->ctx_res_w != RES_CASE
|
||||
# endif
|
||||
) {
|
||||
- debug_printf_parse("checking '%s' for reserved-ness\n", word->data);
|
||||
- if (reserved_word(word, ctx)) {
|
||||
+ int reserved = reserved_word(word, ctx);
|
||||
+ debug_printf_parse("checking for reserved-ness: %d\n", reserved);
|
||||
+ if (reserved) {
|
||||
o_reset_to_empty_unquoted(word);
|
||||
debug_printf_parse("done_word return %d\n",
|
||||
(ctx->ctx_res_w == RES_SNTX));
|
||||
@@ -3087,6 +3086,23 @@ static int done_word(o_string *word, str
|
||||
"groups and arglists don't mix\n");
|
||||
return 1;
|
||||
}
|
||||
+
|
||||
+ /* If this word wasn't an assignment, next ones definitely
|
||||
+ * can't be assignments. Even if they look like ones. */
|
||||
+ if (word->o_assignment != DEFINITELY_ASSIGNMENT
|
||||
+ && word->o_assignment != WORD_IS_KEYWORD
|
||||
+ ) {
|
||||
+ word->o_assignment = NOT_ASSIGNMENT;
|
||||
+ } else {
|
||||
+ if (word->o_assignment == DEFINITELY_ASSIGNMENT) {
|
||||
+ command->assignment_cnt++;
|
||||
+ debug_printf_parse("++assignment_cnt=%d\n", command->assignment_cnt);
|
||||
+ }
|
||||
+ debug_printf_parse("word->o_assignment was:'%s'\n", assignment_flag[word->o_assignment]);
|
||||
+ word->o_assignment = MAYBE_ASSIGNMENT;
|
||||
+ }
|
||||
+ debug_printf_parse("word->o_assignment='%s'\n", assignment_flag[word->o_assignment]);
|
||||
+
|
||||
if (word->has_quoted_part
|
||||
/* optimization: and if it's ("" or '') or ($v... or `cmd`...): */
|
||||
&& (word->data[0] == '\0' || word->data[0] == SPECIAL_VAR_SYMBOL)
|
||||
@@ -4105,6 +4121,7 @@ static struct pipe *parse_stream(char **
|
||||
&& is_well_formed_var_name(dest.data, '=')
|
||||
) {
|
||||
dest.o_assignment = DEFINITELY_ASSIGNMENT;
|
||||
+ debug_printf_parse("dest.o_assignment='%s'\n", assignment_flag[dest.o_assignment]);
|
||||
}
|
||||
continue;
|
||||
}
|
||||
@@ -4154,6 +4171,7 @@ static struct pipe *parse_stream(char **
|
||||
heredoc_cnt = 0;
|
||||
}
|
||||
dest.o_assignment = MAYBE_ASSIGNMENT;
|
||||
+ debug_printf_parse("dest.o_assignment='%s'\n", assignment_flag[dest.o_assignment]);
|
||||
ch = ';';
|
||||
/* note: if (is_blank) continue;
|
||||
* will still trigger for us */
|
||||
@@ -4203,6 +4221,7 @@ static struct pipe *parse_stream(char **
|
||||
}
|
||||
done_pipe(&ctx, PIPE_SEQ);
|
||||
dest.o_assignment = MAYBE_ASSIGNMENT;
|
||||
+ debug_printf_parse("dest.o_assignment='%s'\n", assignment_flag[dest.o_assignment]);
|
||||
/* Do we sit outside of any if's, loops or case's? */
|
||||
if (!HAS_KEYWORDS
|
||||
IF_HAS_KEYWORDS(|| (ctx.ctx_res_w == RES_NONE && ctx.old_flag == 0))
|
||||
@@ -4309,6 +4328,7 @@ static struct pipe *parse_stream(char **
|
||||
/* ch is a special char and thus this word
|
||||
* cannot be an assignment */
|
||||
dest.o_assignment = NOT_ASSIGNMENT;
|
||||
+ debug_printf_parse("dest.o_assignment='%s'\n", assignment_flag[dest.o_assignment]);
|
||||
}
|
||||
|
||||
/* Note: nommu_addchr(&ctx.as_string, ch) is already done */
|
||||
@@ -4406,6 +4426,7 @@ static struct pipe *parse_stream(char **
|
||||
/* We just finished a cmd. New one may start
|
||||
* with an assignment */
|
||||
dest.o_assignment = MAYBE_ASSIGNMENT;
|
||||
+ debug_printf_parse("dest.o_assignment='%s'\n", assignment_flag[dest.o_assignment]);
|
||||
break;
|
||||
case '&':
|
||||
if (done_word(&dest, &ctx)) {
|
||||
@@ -28,6 +28,19 @@ ifndef BUSYBOX_CONFIG_FILE
|
||||
BUSYBOX_CONFIG_FILE = $(call qstrip,$(BR2_PACKAGE_BUSYBOX_CONFIG))
|
||||
endif
|
||||
|
||||
# If mdev will be used for device creation enable it and copy S10mdev to /etc/init.d
|
||||
ifeq ($(BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_MDEV),y)
|
||||
define BUSYBOX_INSTALL_MDEV_SCRIPT
|
||||
install -m 0755 package/busybox/S10mdev $(TARGET_DIR)/etc/init.d
|
||||
endef
|
||||
define BUSYBOX_SET_MDEV
|
||||
$(call KCONFIG_ENABLE_OPT,CONFIG_MDEV,$(BUSYBOX_BUILD_CONFIG))
|
||||
$(call KCONFIG_ENABLE_OPT,CONFIG_FEATURE_MDEV_CONF,$(BUSYBOX_BUILD_CONFIG))
|
||||
$(call KCONFIG_ENABLE_OPT,CONFIG_FEATURE_MDEV_EXEC,$(BUSYBOX_BUILD_CONFIG))
|
||||
$(call KCONFIG_ENABLE_OPT,CONFIG_FEATURE_MDEV_LOAD_FIRMWARE,$(BUSYBOX_BUILD_CONFIG))
|
||||
endef
|
||||
endif
|
||||
|
||||
# If we have external syslogd, force busybox to use it
|
||||
ifeq ($(BR2_PACKAGE_SYSKLOGD),y)
|
||||
define BUSYBOX_SET_SYSKLOGD
|
||||
@@ -122,6 +135,7 @@ define BUSYBOX_CONFIGURE_CMDS
|
||||
$(BUSYBOX_SET_IPV6)
|
||||
$(BUSYBOX_SET_RPC)
|
||||
$(BUSYBOX_PREFER_STATIC)
|
||||
$(BUSYBOX_SET_MDEV)
|
||||
$(BUSYBOX_NETKITBASE)
|
||||
$(BUSYBOX_NETKITTELNET)
|
||||
@yes "" | $(MAKE) ARCH=$(KERNEL_ARCH) CROSS_COMPILE="$(TARGET_CROSS)" \
|
||||
@@ -138,6 +152,7 @@ define BUSYBOX_INSTALL_TARGET_CMDS
|
||||
$(INSTALL) -m 0755 -D package/busybox/udhcpc.script \
|
||||
$(TARGET_DIR)/usr/share/udhcpc/default.script; \
|
||||
fi
|
||||
$(BUSYBOX_INSTALL_MDEV_SCRIPT)
|
||||
endef
|
||||
|
||||
define BUSYBOX_UNINSTALL_TARGET_CMDS
|
||||
@@ -150,7 +165,7 @@ endef
|
||||
|
||||
$(eval $(call GENTARGETS,package,busybox))
|
||||
|
||||
busybox-menuconfig: $(BUSYBOX_DIR)/.stamp_extracted
|
||||
busybox-menuconfig: busybox-patch
|
||||
$(BUSYBOX_MAKE_ENV) $(MAKE) $(BUSYBOX_MAKE_OPTS) -C $(BUSYBOX_DIR) menuconfig
|
||||
rm -f $(BUSYBOX_DIR)/.stamp_built
|
||||
rm -f $(BUSYBOX_DIR)/.stamp_target_installed
|
||||
|
||||
8
package/bwm-ng/Config.in
Normal file
8
package/bwm-ng/Config.in
Normal file
@@ -0,0 +1,8 @@
|
||||
config BR2_PACKAGE_BWM_NG
|
||||
bool "bwm-ng"
|
||||
help
|
||||
Bandwidth Monitor NG is a small and console-based live
|
||||
network and disk-io bandwidth monitor for Linux, BSD,
|
||||
Solaris, Mac OS X and others.
|
||||
|
||||
http://sourceforge.net/projects/bwmng/
|
||||
16
package/bwm-ng/bwm-ng.mk
Normal file
16
package/bwm-ng/bwm-ng.mk
Normal file
@@ -0,0 +1,16 @@
|
||||
#############################################################
|
||||
#
|
||||
# bwm-ng
|
||||
#
|
||||
#############################################################
|
||||
|
||||
BWM_NG_VERSION = 0.6
|
||||
BWM_NG_SITE = http://$(BR2_SOURCEFORGE_MIRROR).dl.sourceforge.net/project/bwmng/bwmng/$(BWM_NG_VERSION)/
|
||||
BWM_NG_CONF_OPT = --with-procnetdev --with-diskstats
|
||||
|
||||
ifeq ($(BR2_PACKAGE_NCURSES),y)
|
||||
BWM_NG_CONF_OPT += --with-ncurses
|
||||
BWM_NG_DEPENDENCIES += ncurses
|
||||
endif
|
||||
|
||||
$(eval $(call AUTOTARGETS,package,bwm-ng))
|
||||
@@ -9,7 +9,6 @@ CAIRO_SITE = http://cairographics.org/releases
|
||||
CAIRO_AUTORECONF = NO
|
||||
CAIRO_INSTALL_STAGING = YES
|
||||
CAIRO_INSTALL_TARGET = YES
|
||||
CAIRO_LIBTOOL_PATCH = NO
|
||||
|
||||
CAIRO_CONF_ENV = ac_cv_func_posix_getpwuid_r=yes glib_cv_stack_grows=no \
|
||||
glib_cv_uscore=no ac_cv_func_strtod=yes \
|
||||
|
||||
8
package/can-utils/Config.in
Normal file
8
package/can-utils/Config.in
Normal file
@@ -0,0 +1,8 @@
|
||||
config BR2_PACKAGE_CAN_UTILS
|
||||
bool "can-utils"
|
||||
help
|
||||
SocketCAN is a set of open source CAN drivers and a
|
||||
networking stack.
|
||||
This package provides various tools for this stack.
|
||||
|
||||
http://developer.berlios.de/projects/socketcan/
|
||||
11
package/can-utils/can-utils.mk
Normal file
11
package/can-utils/can-utils.mk
Normal file
@@ -0,0 +1,11 @@
|
||||
#############################################################
|
||||
#
|
||||
# can-utils
|
||||
#
|
||||
#############################################################
|
||||
|
||||
CAN_UTILS_VERSION = 1235
|
||||
CAN_UTILS_SITE = svn://svn.berlios.de/socketcan/trunk/can-utils
|
||||
CAN_UTILS_AUTORECONF = YES
|
||||
|
||||
$(eval $(call AUTOTARGETS,package,can-utils))
|
||||
@@ -16,12 +16,12 @@ Index: config/util.c
|
||||
+ char *ret;
|
||||
+ if (len < 1)
|
||||
+ return NULL;
|
||||
+ ret = malloc(len);
|
||||
+ ret = malloc(len+1);
|
||||
+ if (!ret) {
|
||||
+ printf("Out of memory!");
|
||||
+ exit(1);
|
||||
+ }
|
||||
+ memset(ret, 0, len);
|
||||
+ memset(ret, 0, len+1);
|
||||
+ i = j = 0;
|
||||
+ if (strncmp("BR2_", in, 4) == 0)
|
||||
+ i += 4;
|
||||
@@ -34,7 +34,7 @@ Index: config/util.c
|
||||
+ return ret;
|
||||
+}
|
||||
+
|
||||
+/* write dependencies of the infividual config-symbols */
|
||||
+/* write dependencies of the individual config-symbols */
|
||||
+static int write_make_deps(const char *name)
|
||||
+{
|
||||
+ char *str;
|
||||
|
||||
@@ -35,12 +35,12 @@ static char* br2_symbol_printer(const char * const in)
|
||||
char *ret;
|
||||
if (len < 1)
|
||||
return NULL;
|
||||
ret = malloc(len);
|
||||
ret = malloc(len+1);
|
||||
if (!ret) {
|
||||
printf("Out of memory!");
|
||||
exit(1);
|
||||
}
|
||||
memset(ret, 0, len);
|
||||
memset(ret, 0, len+1);
|
||||
i = j = 0;
|
||||
if (strncmp("BR2_", in, 4) == 0)
|
||||
i += 4;
|
||||
@@ -53,7 +53,7 @@ static char* br2_symbol_printer(const char * const in)
|
||||
return ret;
|
||||
}
|
||||
|
||||
/* write dependencies of the infividual config-symbols */
|
||||
/* write dependencies of the individual config-symbols */
|
||||
static int write_make_deps(const char *name)
|
||||
{
|
||||
char *str;
|
||||
|
||||
@@ -2,6 +2,7 @@ config BR2_PACKAGE_COPAS
|
||||
bool "copas"
|
||||
select BR2_PACKAGE_COXPCALL
|
||||
select BR2_PACKAGE_LUASOCKET
|
||||
select BR2_PACKAGE_LUA_SHARED_LIBRARY # for luasocket
|
||||
help
|
||||
Copas is a dispatcher based on coroutines that
|
||||
can be used by TCP/IP servers.
|
||||
|
||||
@@ -1,215 +0,0 @@
|
||||
dbus-glib: result of autoreconf after the --with-dbus-binding-tool addition
|
||||
|
||||
autoreconf on dbus-glib fails with the autoconf version we currently have
|
||||
in BR, so do it in patch form instead.
|
||||
|
||||
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
|
||||
---
|
||||
configure | 14 ++++++++++++++
|
||||
dbus/Makefile.in | 1 +
|
||||
dbus/examples/Makefile.in | 5 +++--
|
||||
dbus/examples/statemachine/Makefile.in | 5 +++--
|
||||
test/core/Makefile.in | 7 ++++---
|
||||
test/interfaces/Makefile.in | 13 +++++++------
|
||||
tools/Makefile.in | 3 ++-
|
||||
7 files changed, 34 insertions(+), 14 deletions(-)
|
||||
|
||||
Index: dbus-glib-0.80/configure
|
||||
===================================================================
|
||||
--- dbus-glib-0.80.orig/configure
|
||||
+++ dbus-glib-0.80/configure
|
||||
@@ -882,6 +882,7 @@
|
||||
SED
|
||||
DBUS_BUILD_TESTS_FALSE
|
||||
DBUS_BUILD_TESTS_TRUE
|
||||
+DBUS_BINDING_TOOL
|
||||
DBUS_BASH_COMPLETION_FALSE
|
||||
DBUS_BASH_COMPLETION_TRUE
|
||||
EGREP
|
||||
@@ -1003,6 +1004,7 @@
|
||||
enable_bash_completion
|
||||
with_test_socket_dir
|
||||
with_introspect_xml
|
||||
+with_dbus_binding_tool
|
||||
enable_shared
|
||||
enable_static
|
||||
enable_fast_install
|
||||
@@ -1696,6 +1698,8 @@
|
||||
Pass in a pregenerated dbus daemon introspection xml
|
||||
file (as generated by 'dbus-daemon --introspect') to
|
||||
use instead of querying the installed dbus daemon
|
||||
+ --with-dbus-binding-tool=filename
|
||||
+ Use external dbus-binding-tool program
|
||||
--with-gnu-ld assume the C compiler uses GNU ld [default=no]
|
||||
--with-pic try to use only PIC/non-PIC objects [default=use
|
||||
both]
|
||||
@@ -5174,6 +5178,16 @@
|
||||
fi
|
||||
|
||||
|
||||
+# Check whether --with-dbus-binding-tool was given.
|
||||
+if test "${with_dbus_binding_tool+set}" = set; then
|
||||
+ withval=$with_dbus_binding_tool; DBUS_BINDING_TOOL=$withval
|
||||
+else
|
||||
+ DBUS_BINDING_TOOL=\$\(top_builddir\)/dbus/dbus-binding-tool
|
||||
+fi
|
||||
+
|
||||
+
|
||||
+
|
||||
+
|
||||
if test x$enable_tests = xyes; then
|
||||
DBUS_BUILD_TESTS_TRUE=
|
||||
DBUS_BUILD_TESTS_FALSE='#'
|
||||
Index: dbus-glib-0.80/dbus/examples/Makefile.in
|
||||
===================================================================
|
||||
--- dbus-glib-0.80.orig/dbus/examples/Makefile.in
|
||||
+++ dbus-glib-0.80/dbus/examples/Makefile.in
|
||||
@@ -114,6 +114,7 @@
|
||||
CXXFLAGS = @CXXFLAGS@
|
||||
CYGPATH_W = @CYGPATH_W@
|
||||
DATADIRNAME = @DATADIRNAME@
|
||||
+DBUS_BINDING_TOOL = @DBUS_BINDING_TOOL@
|
||||
DBUS_BUS_CFLAGS = @DBUS_BUS_CFLAGS@
|
||||
DBUS_BUS_LIBS = @DBUS_BUS_LIBS@
|
||||
DBUS_CFLAGS = @DBUS_CFLAGS@
|
||||
@@ -668,10 +669,10 @@
|
||||
|
||||
|
||||
example-service-glue.h: example-service.xml
|
||||
- $(LIBTOOL) --mode=execute $(top_builddir)/dbus/dbus-binding-tool --prefix=some_object --mode=glib-server --output=example-service-glue.h $(srcdir)/example-service.xml
|
||||
+ $(LIBTOOL) --mode=execute $(DBUS_BINDING_TOOL) --prefix=some_object --mode=glib-server --output=example-service-glue.h $(srcdir)/example-service.xml
|
||||
|
||||
example-signal-emitter-glue.h: example-signal-emitter.xml
|
||||
- $(LIBTOOL) --mode=execute $(top_builddir)/dbus/dbus-binding-tool --prefix=test_object --mode=glib-server --output=example-signal-emitter-glue.h $(srcdir)/example-signal-emitter.xml
|
||||
+ $(LIBTOOL) --mode=execute $(DBUS_BINDING_TOOL) --prefix=test_object --mode=glib-server --output=example-signal-emitter-glue.h $(srcdir)/example-signal-emitter.xml
|
||||
# Tell versions [3.59,3.63) of GNU make to not export all variables.
|
||||
# Otherwise a system limit (for SysV at least) may be exceeded.
|
||||
.NOEXPORT:
|
||||
Index: dbus-glib-0.80/dbus/examples/statemachine/Makefile.in
|
||||
===================================================================
|
||||
--- dbus-glib-0.80.orig/dbus/examples/statemachine/Makefile.in
|
||||
+++ dbus-glib-0.80/dbus/examples/statemachine/Makefile.in
|
||||
@@ -87,6 +87,7 @@
|
||||
CXXFLAGS = @CXXFLAGS@
|
||||
CYGPATH_W = @CYGPATH_W@
|
||||
DATADIRNAME = @DATADIRNAME@
|
||||
+DBUS_BINDING_TOOL = @DBUS_BINDING_TOOL@
|
||||
DBUS_BUS_CFLAGS = @DBUS_BUS_CFLAGS@
|
||||
DBUS_BUS_LIBS = @DBUS_BUS_LIBS@
|
||||
DBUS_CFLAGS = @DBUS_CFLAGS@
|
||||
@@ -529,10 +530,10 @@
|
||||
|
||||
|
||||
statemachine-server-glue.h: statemachine-server.xml
|
||||
- $(LIBTOOL) --mode=execute $(top_builddir)/dbus/dbus-binding-tool --prefix=sm_server --mode=glib-server --output=$@ $<
|
||||
+ $(LIBTOOL) --mode=execute $(DBUS_BINDING_TOOL) --prefix=sm_server --mode=glib-server --output=$@ $<
|
||||
|
||||
statemachine-glue.h: statemachine.xml
|
||||
- $(LIBTOOL) --mode=execute $(top_builddir)/dbus/dbus-binding-tool --prefix=sm_object --mode=glib-server --output=$@ $<
|
||||
+ $(LIBTOOL) --mode=execute $(DBUS_BINDING_TOOL) --prefix=sm_object --mode=glib-server --output=$@ $<
|
||||
|
||||
sm-marshal.c: Makefile sm-marshal.list
|
||||
@GLIB_GENMARSHAL@ --prefix=sm_marshal $(srcdir)/sm-marshal.list --header --body > $@.tmp && mv $@.tmp $@
|
||||
Index: dbus-glib-0.80/test/core/Makefile.in
|
||||
===================================================================
|
||||
--- dbus-glib-0.80.orig/test/core/Makefile.in
|
||||
+++ dbus-glib-0.80/test/core/Makefile.in
|
||||
@@ -175,6 +175,7 @@
|
||||
CXXFLAGS = @CXXFLAGS@
|
||||
CYGPATH_W = @CYGPATH_W@
|
||||
DATADIRNAME = @DATADIRNAME@
|
||||
+DBUS_BINDING_TOOL = @DBUS_BINDING_TOOL@
|
||||
DBUS_BUS_CFLAGS = @DBUS_BUS_CFLAGS@
|
||||
DBUS_BUS_LIBS = @DBUS_BUS_LIBS@
|
||||
DBUS_CFLAGS = @DBUS_CFLAGS@
|
||||
@@ -767,13 +768,13 @@
|
||||
|
||||
|
||||
@DBUS_BUILD_TESTS_TRUE@test-service-glib-glue.h: test-service-glib.xml $(top_builddir)/dbus/dbus-binding-tool
|
||||
-@DBUS_BUILD_TESTS_TRUE@ $(DEBUG) $(top_builddir)/dbus/dbus-binding-tool --prefix=my_object --mode=glib-server --output=test-service-glib-glue.h $(srcdir)/test-service-glib.xml
|
||||
+@DBUS_BUILD_TESTS_TRUE@ $(DEBUG) $(DBUS_BINDING_TOOL) --prefix=my_object --mode=glib-server --output=test-service-glib-glue.h $(srcdir)/test-service-glib.xml
|
||||
|
||||
@DBUS_BUILD_TESTS_TRUE@test-service-glib-subclass-glue.h: test-service-glib-subclass.xml $(top_builddir)/dbus/dbus-binding-tool
|
||||
-@DBUS_BUILD_TESTS_TRUE@ $(DEBUG) $(top_builddir)/dbus/dbus-binding-tool --prefix=my_object_subclass --mode=glib-server --output=test-service-glib-subclass-glue.h $(srcdir)/test-service-glib-subclass.xml
|
||||
+@DBUS_BUILD_TESTS_TRUE@ $(DEBUG) $(DBUS_BINDING_TOOL) --prefix=my_object_subclass --mode=glib-server --output=test-service-glib-subclass-glue.h $(srcdir)/test-service-glib-subclass.xml
|
||||
|
||||
@DBUS_BUILD_TESTS_TRUE@test-service-glib-bindings.h: test-service-glib.xml $(top_builddir)/dbus/dbus-binding-tool
|
||||
-@DBUS_BUILD_TESTS_TRUE@ $(DEBUG) $(top_builddir)/dbus/dbus-binding-tool --prefix=my_object --mode=glib-client --output=test-service-glib-bindings.h $(srcdir)/test-service-glib.xml
|
||||
+@DBUS_BUILD_TESTS_TRUE@ $(DEBUG) $(DBUS_BINDING_TOOL) --prefix=my_object --mode=glib-client --output=test-service-glib-bindings.h $(srcdir)/test-service-glib.xml
|
||||
|
||||
@DBUS_BUILD_TESTS_TRUE@my-object-marshal.c: Makefile my-object-marshal.list
|
||||
@DBUS_BUILD_TESTS_TRUE@ @GLIB_GENMARSHAL@ --prefix=my_object_marshal $(srcdir)/my-object-marshal.list --header --body > my-object-marshal.c
|
||||
Index: dbus-glib-0.80/test/interfaces/Makefile.in
|
||||
===================================================================
|
||||
--- dbus-glib-0.80.orig/test/interfaces/Makefile.in
|
||||
+++ dbus-glib-0.80/test/interfaces/Makefile.in
|
||||
@@ -104,6 +104,7 @@
|
||||
CXXFLAGS = @CXXFLAGS@
|
||||
CYGPATH_W = @CYGPATH_W@
|
||||
DATADIRNAME = @DATADIRNAME@
|
||||
+DBUS_BINDING_TOOL = @DBUS_BINDING_TOOL@
|
||||
DBUS_BUS_CFLAGS = @DBUS_BUS_CFLAGS@
|
||||
DBUS_BUS_LIBS = @DBUS_BUS_LIBS@
|
||||
DBUS_CFLAGS = @DBUS_CFLAGS@
|
||||
@@ -637,22 +638,22 @@
|
||||
|
||||
|
||||
@DBUS_BUILD_TESTS_TRUE@test-song-glue.h: test-song.xml $(top_builddir)/dbus/dbus-binding-tool
|
||||
-@DBUS_BUILD_TESTS_TRUE@ $(top_builddir)/dbus/dbus-binding-tool --prefix=test_song --mode=glib-server --output=test-song-glue.h $(srcdir)/test-song.xml
|
||||
+@DBUS_BUILD_TESTS_TRUE@ $(DBUS_BINDING_TOOL) --prefix=test_song --mode=glib-server --output=test-song-glue.h $(srcdir)/test-song.xml
|
||||
|
||||
@DBUS_BUILD_TESTS_TRUE@test-song-bindings.h: test-song.xml $(top_builddir)/dbus/dbus-binding-tool
|
||||
-@DBUS_BUILD_TESTS_TRUE@ $(top_builddir)/dbus/dbus-binding-tool --prefix=test_song --mode=glib-client --output=test-song-bindings.h $(srcdir)/test-song.xml
|
||||
+@DBUS_BUILD_TESTS_TRUE@ $(DBUS_BINDING_TOOL) --prefix=test_song --mode=glib-client --output=test-song-bindings.h $(srcdir)/test-song.xml
|
||||
|
||||
@DBUS_BUILD_TESTS_TRUE@test-hello-glue.h: test-hello.xml $(top_builddir)/dbus/dbus-binding-tool
|
||||
-@DBUS_BUILD_TESTS_TRUE@ $(top_builddir)/dbus/dbus-binding-tool --prefix=test_hello --mode=glib-server --output=test-hello-glue.h $(srcdir)/test-hello.xml
|
||||
+@DBUS_BUILD_TESTS_TRUE@ $(DBUS_BINDING_TOOL) --prefix=test_hello --mode=glib-server --output=test-hello-glue.h $(srcdir)/test-hello.xml
|
||||
|
||||
@DBUS_BUILD_TESTS_TRUE@test-hello-bindings.h: test-hello.xml $(top_builddir)/dbus/dbus-binding-tool
|
||||
-@DBUS_BUILD_TESTS_TRUE@ $(top_builddir)/dbus/dbus-binding-tool --prefix=test_hello --mode=glib-client --output=test-hello-bindings.h $(srcdir)/test-hello.xml
|
||||
+@DBUS_BUILD_TESTS_TRUE@ $(DBUS_BINDING_TOOL) --prefix=test_hello --mode=glib-client --output=test-hello-bindings.h $(srcdir)/test-hello.xml
|
||||
|
||||
@DBUS_BUILD_TESTS_TRUE@test-goodbye-glue.h: test-goodbye.xml $(top_builddir)/dbus/dbus-binding-tool
|
||||
-@DBUS_BUILD_TESTS_TRUE@ $(top_builddir)/dbus/dbus-binding-tool --prefix=test_goodbye --mode=glib-server --output=test-goodbye-glue.h $(srcdir)/test-goodbye.xml
|
||||
+@DBUS_BUILD_TESTS_TRUE@ $(DBUS_BINDING_TOOL) --prefix=test_goodbye --mode=glib-server --output=test-goodbye-glue.h $(srcdir)/test-goodbye.xml
|
||||
|
||||
@DBUS_BUILD_TESTS_TRUE@test-goodbye-bindings.h: test-goodbye.xml $(top_builddir)/dbus/dbus-binding-tool
|
||||
-@DBUS_BUILD_TESTS_TRUE@ $(top_builddir)/dbus/dbus-binding-tool --prefix=test_goodbye --mode=glib-client --output=test-goodbye-bindings.h $(srcdir)/test-goodbye.xml
|
||||
+@DBUS_BUILD_TESTS_TRUE@ $(DBUS_BINDING_TOOL) --prefix=test_goodbye --mode=glib-client --output=test-goodbye-bindings.h $(srcdir)/test-goodbye.xml
|
||||
|
||||
### not building tests
|
||||
# Tell versions [3.59,3.63) of GNU make to not export all variables.
|
||||
Index: dbus-glib-0.80/tools/Makefile.in
|
||||
===================================================================
|
||||
--- dbus-glib-0.80.orig/tools/Makefile.in
|
||||
+++ dbus-glib-0.80/tools/Makefile.in
|
||||
@@ -77,6 +77,7 @@
|
||||
CXXFLAGS = @CXXFLAGS@
|
||||
CYGPATH_W = @CYGPATH_W@
|
||||
DATADIRNAME = @DATADIRNAME@
|
||||
+DBUS_BINDING_TOOL = @DBUS_BINDING_TOOL@
|
||||
DBUS_BUS_CFLAGS = @DBUS_BUS_CFLAGS@
|
||||
DBUS_BUS_LIBS = @DBUS_BUS_LIBS@
|
||||
DBUS_CFLAGS = @DBUS_CFLAGS@
|
||||
@@ -481,7 +482,7 @@
|
||||
|
||||
|
||||
dbus-glib-bindings.h: dbus-bus-introspect.xml $(top_builddir)/dbus/dbus-binding-tool$(EXEEXT)
|
||||
- $(top_builddir)/dbus/dbus-binding-tool --mode=glib-client --prefix=dbus_bus --output=dbus-glib-bindings.h dbus-bus-introspect.xml
|
||||
+ $(DBUS_BINDING_TOOL) --mode=glib-client --prefix=dbus_bus --output=dbus-glib-bindings.h dbus-bus-introspect.xml
|
||||
|
||||
@USE_INTROSPECT_XML_TRUE@dbus-bus-introspect.xml: $(INTROSPECT_XML_PATH)
|
||||
@USE_INTROSPECT_XML_TRUE@ cp $(INTROSPECT_XML_PATH) dbus-bus-introspect.xml
|
||||
Index: dbus-glib-0.80/dbus/Makefile.in
|
||||
===================================================================
|
||||
--- dbus-glib-0.80.orig/dbus/Makefile.in
|
||||
+++ dbus-glib-0.80/dbus/Makefile.in
|
||||
@@ -158,6 +158,7 @@
|
||||
CXXFLAGS = @CXXFLAGS@
|
||||
CYGPATH_W = @CYGPATH_W@
|
||||
DATADIRNAME = @DATADIRNAME@
|
||||
+DBUS_BINDING_TOOL = @DBUS_BINDING_TOOL@
|
||||
DBUS_BUS_CFLAGS = @DBUS_BUS_CFLAGS@
|
||||
DBUS_BUS_LIBS = @DBUS_BUS_LIBS@
|
||||
DBUS_CFLAGS = @DBUS_CFLAGS@
|
||||
@@ -1,140 +0,0 @@
|
||||
[PATCH]: add --with-dbus-binding-tool option to use an external dbus-binding-tool
|
||||
|
||||
Cross compilation fix. dbus-binding-tool needs to run on the host, but gets
|
||||
compiled for the target. Add an option to use an external program
|
||||
(host version) instead.
|
||||
|
||||
Based on similar patch in ptxdist.
|
||||
|
||||
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
|
||||
---
|
||||
configure.ac | 5 +++++
|
||||
dbus/examples/Makefile.am | 4 ++--
|
||||
dbus/examples/statemachine/Makefile.am | 4 ++--
|
||||
test/core/Makefile.am | 6 +++---
|
||||
test/interfaces/Makefile.am | 12 ++++++------
|
||||
tools/Makefile.am | 2 +-
|
||||
6 files changed, 19 insertions(+), 14 deletions(-)
|
||||
|
||||
Index: dbus-glib-0.80/configure.ac
|
||||
===================================================================
|
||||
--- dbus-glib-0.80.orig/configure.ac
|
||||
+++ dbus-glib-0.80/configure.ac
|
||||
@@ -70,6 +70,11 @@
|
||||
AC_DEFINE(DBUS_ENABLE_VERBOSE_MODE,1,[Support a verbose mode])
|
||||
fi
|
||||
|
||||
+AC_ARG_WITH(dbus-binding-tool,
|
||||
+ AS_HELP_STRING([--with-dbus-binding-tool=[filename]],[Use external dbus-binding-tool program]),
|
||||
+ [DBUS_BINDING_TOOL=$withval],[DBUS_BINDING_TOOL=\$\(top_builddir\)/dbus/dbus-binding-tool])
|
||||
+AC_SUBST(DBUS_BINDING_TOOL)
|
||||
+
|
||||
|
||||
dnl DBUS_BUILD_TESTS controls unit tests built in to .c files
|
||||
dnl and also some stuff in the test/ subdir
|
||||
Index: dbus-glib-0.80/dbus/examples/Makefile.am
|
||||
===================================================================
|
||||
--- dbus-glib-0.80.orig/dbus/examples/Makefile.am
|
||||
+++ dbus-glib-0.80/dbus/examples/Makefile.am
|
||||
@@ -21,7 +21,7 @@
|
||||
BUILT_SOURCES = example-service-glue.h
|
||||
|
||||
example-service-glue.h: example-service.xml
|
||||
- $(LIBTOOL) --mode=execute $(top_builddir)/dbus/dbus-binding-tool --prefix=some_object --mode=glib-server --output=example-service-glue.h $(srcdir)/example-service.xml
|
||||
+ $(LIBTOOL) --mode=execute $(DBUS_BINDING_TOOL) --prefix=some_object --mode=glib-server --output=example-service-glue.h $(srcdir)/example-service.xml
|
||||
|
||||
|
||||
## Makefile.am bits for another client/server pair
|
||||
@@ -37,7 +37,7 @@
|
||||
BUILT_SOURCES += example-signal-emitter-glue.h
|
||||
|
||||
example-signal-emitter-glue.h: example-signal-emitter.xml
|
||||
- $(LIBTOOL) --mode=execute $(top_builddir)/dbus/dbus-binding-tool --prefix=test_object --mode=glib-server --output=example-signal-emitter-glue.h $(srcdir)/example-signal-emitter.xml
|
||||
+ $(LIBTOOL) --mode=execute $(DBUS_BINDING_TOOL) --prefix=test_object --mode=glib-server --output=example-signal-emitter-glue.h $(srcdir)/example-signal-emitter.xml
|
||||
|
||||
CLEANFILES = $(BUILT_SOURCES)
|
||||
|
||||
Index: dbus-glib-0.80/dbus/examples/statemachine/Makefile.am
|
||||
===================================================================
|
||||
--- dbus-glib-0.80.orig/dbus/examples/statemachine/Makefile.am
|
||||
+++ dbus-glib-0.80/dbus/examples/statemachine/Makefile.am
|
||||
@@ -26,10 +26,10 @@
|
||||
BUILT_SOURCES = statemachine-server-glue.h statemachine-glue.h
|
||||
|
||||
statemachine-server-glue.h: statemachine-server.xml
|
||||
- $(LIBTOOL) --mode=execute $(top_builddir)/dbus/dbus-binding-tool --prefix=sm_server --mode=glib-server --output=$@ $<
|
||||
+ $(LIBTOOL) --mode=execute $(DBUS_BINDING_TOOL) --prefix=sm_server --mode=glib-server --output=$@ $<
|
||||
|
||||
statemachine-glue.h: statemachine.xml
|
||||
- $(LIBTOOL) --mode=execute $(top_builddir)/dbus/dbus-binding-tool --prefix=sm_object --mode=glib-server --output=$@ $<
|
||||
+ $(LIBTOOL) --mode=execute $(DBUS_BINDING_TOOL) --prefix=sm_object --mode=glib-server --output=$@ $<
|
||||
|
||||
sm-marshal.c: Makefile sm-marshal.list
|
||||
@GLIB_GENMARSHAL@ --prefix=sm_marshal $(srcdir)/sm-marshal.list --header --body > $@.tmp && mv $@.tmp $@
|
||||
Index: dbus-glib-0.80/test/core/Makefile.am
|
||||
===================================================================
|
||||
--- dbus-glib-0.80.orig/test/core/Makefile.am
|
||||
+++ dbus-glib-0.80/test/core/Makefile.am
|
||||
@@ -63,13 +63,13 @@
|
||||
test_service_glib_LDADD= $(top_builddir)/dbus/libdbus-glib-1.la $(DBUS_GLIB_THREADS_LIBS)
|
||||
|
||||
test-service-glib-glue.h: test-service-glib.xml $(top_builddir)/dbus/dbus-binding-tool
|
||||
- $(DEBUG) $(top_builddir)/dbus/dbus-binding-tool --prefix=my_object --mode=glib-server --output=test-service-glib-glue.h $(srcdir)/test-service-glib.xml
|
||||
+ $(DEBUG) $(DBUS_BINDING_TOOL) --prefix=my_object --mode=glib-server --output=test-service-glib-glue.h $(srcdir)/test-service-glib.xml
|
||||
|
||||
test-service-glib-subclass-glue.h: test-service-glib-subclass.xml $(top_builddir)/dbus/dbus-binding-tool
|
||||
- $(DEBUG) $(top_builddir)/dbus/dbus-binding-tool --prefix=my_object_subclass --mode=glib-server --output=test-service-glib-subclass-glue.h $(srcdir)/test-service-glib-subclass.xml
|
||||
+ $(DEBUG) $(DBUS_BINDING_TOOL) --prefix=my_object_subclass --mode=glib-server --output=test-service-glib-subclass-glue.h $(srcdir)/test-service-glib-subclass.xml
|
||||
|
||||
test-service-glib-bindings.h: test-service-glib.xml $(top_builddir)/dbus/dbus-binding-tool
|
||||
- $(DEBUG) $(top_builddir)/dbus/dbus-binding-tool --prefix=my_object --mode=glib-client --output=test-service-glib-bindings.h $(srcdir)/test-service-glib.xml
|
||||
+ $(DEBUG) $(DBUS_BINDING_TOOL) --prefix=my_object --mode=glib-client --output=test-service-glib-bindings.h $(srcdir)/test-service-glib.xml
|
||||
|
||||
my-object-marshal.c: Makefile my-object-marshal.list
|
||||
@GLIB_GENMARSHAL@ --prefix=my_object_marshal $(srcdir)/my-object-marshal.list --header --body > my-object-marshal.c
|
||||
Index: dbus-glib-0.80/test/interfaces/Makefile.am
|
||||
===================================================================
|
||||
--- dbus-glib-0.80.orig/test/interfaces/Makefile.am
|
||||
+++ dbus-glib-0.80/test/interfaces/Makefile.am
|
||||
@@ -47,22 +47,22 @@
|
||||
test-goodbye-bindings.h
|
||||
|
||||
test-song-glue.h: test-song.xml $(top_builddir)/dbus/dbus-binding-tool
|
||||
- $(top_builddir)/dbus/dbus-binding-tool --prefix=test_song --mode=glib-server --output=test-song-glue.h $(srcdir)/test-song.xml
|
||||
+ $(DBUS_BINDING_TOOL) --prefix=test_song --mode=glib-server --output=test-song-glue.h $(srcdir)/test-song.xml
|
||||
|
||||
test-song-bindings.h: test-song.xml $(top_builddir)/dbus/dbus-binding-tool
|
||||
- $(top_builddir)/dbus/dbus-binding-tool --prefix=test_song --mode=glib-client --output=test-song-bindings.h $(srcdir)/test-song.xml
|
||||
+ $(DBUS_BINDING_TOOL) --prefix=test_song --mode=glib-client --output=test-song-bindings.h $(srcdir)/test-song.xml
|
||||
|
||||
test-hello-glue.h: test-hello.xml $(top_builddir)/dbus/dbus-binding-tool
|
||||
- $(top_builddir)/dbus/dbus-binding-tool --prefix=test_hello --mode=glib-server --output=test-hello-glue.h $(srcdir)/test-hello.xml
|
||||
+ $(DBUS_BINDING_TOOL) --prefix=test_hello --mode=glib-server --output=test-hello-glue.h $(srcdir)/test-hello.xml
|
||||
|
||||
test-hello-bindings.h: test-hello.xml $(top_builddir)/dbus/dbus-binding-tool
|
||||
- $(top_builddir)/dbus/dbus-binding-tool --prefix=test_hello --mode=glib-client --output=test-hello-bindings.h $(srcdir)/test-hello.xml
|
||||
+ $(DBUS_BINDING_TOOL) --prefix=test_hello --mode=glib-client --output=test-hello-bindings.h $(srcdir)/test-hello.xml
|
||||
|
||||
test-goodbye-glue.h: test-goodbye.xml $(top_builddir)/dbus/dbus-binding-tool
|
||||
- $(top_builddir)/dbus/dbus-binding-tool --prefix=test_goodbye --mode=glib-server --output=test-goodbye-glue.h $(srcdir)/test-goodbye.xml
|
||||
+ $(DBUS_BINDING_TOOL) --prefix=test_goodbye --mode=glib-server --output=test-goodbye-glue.h $(srcdir)/test-goodbye.xml
|
||||
|
||||
test-goodbye-bindings.h: test-goodbye.xml $(top_builddir)/dbus/dbus-binding-tool
|
||||
- $(top_builddir)/dbus/dbus-binding-tool --prefix=test_goodbye --mode=glib-client --output=test-goodbye-bindings.h $(srcdir)/test-goodbye.xml
|
||||
+ $(DBUS_BINDING_TOOL) --prefix=test_goodbye --mode=glib-client --output=test-goodbye-bindings.h $(srcdir)/test-goodbye.xml
|
||||
|
||||
|
||||
CLEANFILES = \
|
||||
Index: dbus-glib-0.80/tools/Makefile.am
|
||||
===================================================================
|
||||
--- dbus-glib-0.80.orig/tools/Makefile.am
|
||||
+++ dbus-glib-0.80/tools/Makefile.am
|
||||
@@ -4,7 +4,7 @@
|
||||
libdbus_glibdir = $(includedir)/dbus-1.0/dbus
|
||||
|
||||
dbus-glib-bindings.h: dbus-bus-introspect.xml $(top_builddir)/dbus/dbus-binding-tool$(EXEEXT)
|
||||
- $(top_builddir)/dbus/dbus-binding-tool --mode=glib-client --prefix=dbus_bus --output=dbus-glib-bindings.h dbus-bus-introspect.xml
|
||||
+ $(DBUS_BINDING_TOOL) --mode=glib-client --prefix=dbus_bus --output=dbus-glib-bindings.h dbus-bus-introspect.xml
|
||||
|
||||
BUILT_SOURCES = dbus-glib-bindings.h dbus-bus-introspect.xml
|
||||
|
||||
@@ -3,11 +3,10 @@
|
||||
# dbus-glib
|
||||
#
|
||||
#############################################################
|
||||
DBUS_GLIB_VERSION = 0.80
|
||||
DBUS_GLIB_VERSION = 0.92
|
||||
DBUS_GLIB_SOURCE = dbus-glib-$(DBUS_GLIB_VERSION).tar.gz
|
||||
DBUS_GLIB_SITE = http://dbus.freedesktop.org/releases/dbus-glib/
|
||||
DBUS_GLIB_INSTALL_STAGING = YES
|
||||
DBUS_GLIB_INSTALL_TARGET = YES
|
||||
|
||||
DBUS_GLIB_CONF_ENV = ac_cv_have_abstract_sockets=yes \
|
||||
ac_cv_func_posix_getpwnam_r=yes \
|
||||
|
||||
@@ -6,7 +6,6 @@
|
||||
DBUS_VERSION = 1.2.24
|
||||
DBUS_SOURCE = dbus-$(DBUS_VERSION).tar.gz
|
||||
DBUS_SITE = http://dbus.freedesktop.org/releases/dbus/
|
||||
DBUS_LIBTOOL_PATCH = NO
|
||||
DBUS_INSTALL_STAGING = YES
|
||||
DBUS_INSTALL_TARGET = YES
|
||||
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
config BR2_PACKAGE_DEVMEM2
|
||||
bool "devmem2"
|
||||
depends on BR2_DEPRECATED
|
||||
help
|
||||
Simple program to read/write from/to any location in memory.
|
||||
|
||||
|
||||
@@ -13,8 +13,11 @@ DHCP_CONF_OPT = \
|
||||
--with-cli-lease-file=/var/lib/dhcp/dhclient.leases \
|
||||
--with-srv-pid-file=/var/run/dhcpd.pid \
|
||||
--with-cli-pid-file=/var/run/dhclient.pid \
|
||||
--with-relay-pid-file=/var/run/dhcrelay.pid \
|
||||
--disable-dhcpv6
|
||||
--with-relay-pid-file=/var/run/dhcrelay.pid
|
||||
|
||||
ifneq ($(BR2_INET_IPV6),y)
|
||||
DHCP_CONF_OPT += --disable-dhcpv6
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_DHCP_SERVER),y)
|
||||
define DHCP_INSTALL_SERVER
|
||||
|
||||
5
package/dhcpdump/Config.in
Normal file
5
package/dhcpdump/Config.in
Normal file
@@ -0,0 +1,5 @@
|
||||
config BR2_PACKAGE_DHCPDUMP
|
||||
bool "dhcpdump"
|
||||
select BR2_PACKAGE_LIBPCAP
|
||||
help
|
||||
A tool for monitoring dhcp requests using tcpdump.
|
||||
23
package/dhcpdump/dhcpdump-1.8-use-non-bsd-structures.patch
Normal file
23
package/dhcpdump/dhcpdump-1.8-use-non-bsd-structures.patch
Normal file
@@ -0,0 +1,23 @@
|
||||
The udphdr structure has uh_* fields when _FAVOR_BSD is
|
||||
defined. Otherwise, the fields are just named source, dest, len and
|
||||
check. See <netinet/udp.h>.
|
||||
|
||||
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
|
||||
|
||||
Index: dhcpdump-1.8/dhcpdump.c
|
||||
===================================================================
|
||||
--- dhcpdump-1.8.orig/dhcpdump.c 2011-05-17 20:20:46.506980003 +0200
|
||||
+++ dhcpdump-1.8/dhcpdump.c 2011-05-17 20:20:59.338979999 +0200
|
||||
@@ -163,10 +163,10 @@
|
||||
strcpy(ip_origin, (u_char *)inet_ntoa(ip->ip_src));
|
||||
strcpy(ip_destination, (u_char *)inet_ntoa(ip->ip_dst));
|
||||
|
||||
- if (hmask && check_ch((u_char *)(sp + offset), ntohs(udp->uh_ulen)))
|
||||
+ if (hmask && check_ch((u_char *)(sp + offset), ntohs(udp->len)))
|
||||
return;
|
||||
|
||||
- printdata((u_char *)(sp + offset), ntohs(udp->uh_ulen));
|
||||
+ printdata((u_char *)(sp + offset), ntohs(udp->len));
|
||||
}
|
||||
|
||||
// check for matching CHADDR (Peter Apian-Bennewitz <apian@ise.fhg.de>)
|
||||
21
package/dhcpdump/dhcpdump.mk
Normal file
21
package/dhcpdump/dhcpdump.mk
Normal file
@@ -0,0 +1,21 @@
|
||||
#############################################################
|
||||
#
|
||||
# dhcpdump
|
||||
#
|
||||
#############################################################
|
||||
|
||||
DHCPDUMP_VERSION = 1.8
|
||||
DHCPDUMP_SITE = http://www.mavetju.org/download/
|
||||
DHCPDUMP_SOURCE = dhcpdump-$(DHCPDUMP_VERSION).tar.gz
|
||||
|
||||
DHCPDUMP_DEPENDENCIES = libpcap
|
||||
|
||||
define DHCPDUMP_BUILD_CMDS
|
||||
$(MAKE) -C $(@D) CC="$(TARGET_CC) $(TARGET_CFLAGS)"
|
||||
endef
|
||||
|
||||
define DHCPDUMP_INSTALL_TARGET_CMDS
|
||||
install -m 0755 -D $(@D)/dhcpdump $(TARGET_DIR)/usr/bin/dhcpdump
|
||||
endef
|
||||
|
||||
$(eval $(call GENTARGETS,package,dhcpdump))
|
||||
@@ -4,7 +4,7 @@
|
||||
#
|
||||
#############################################################
|
||||
|
||||
DNSMASQ_VERSION = 2.55
|
||||
DNSMASQ_VERSION = 2.57
|
||||
DNSMASQ_SITE = http://thekelleys.org.uk/dnsmasq
|
||||
DNSMASQ_MAKE_ENV = CC="$(TARGET_CC)" LDFLAGS="$(TARGET_LDFLAGS)"
|
||||
DNSMASQ_MAKE_OPT = COPTS="$(DNSMASQ_COPTS)" PREFIX=/usr CFLAGS="$(TARGET_CFLAGS)"
|
||||
@@ -25,7 +25,7 @@ endif
|
||||
ifeq ($(BR2_PACKAGE_DNSMASQ_IDN),y)
|
||||
DNSMASQ_MAKE_OPT += all-i18n
|
||||
DNSMASQ_DEPENDENCIES += libidn libintl
|
||||
DNSMASQ_MAKE_ENV += LDFLAGS+="-lintl"
|
||||
DNSMASQ_MAKE_ENV += LDFLAGS+="-lintl -lidn"
|
||||
endif
|
||||
|
||||
ifneq ($(BR2_LARGEFILE),y)
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
config BR2_PACKAGE_DROPBEAR
|
||||
bool "dropbear"
|
||||
select BR2_PACKAGE_ZLIB
|
||||
select BR2_PACKAGE_ZLIB if !BR2_PACKAGE_DROPBEAR_SMALL
|
||||
help
|
||||
A small SSH 2 server designed for small memory environments.
|
||||
|
||||
@@ -13,3 +13,13 @@ config BR2_PACKAGE_DROPBEAR_DISABLE_REVERSEDNS
|
||||
Disable reverse DNS lookups on connection. This can be handy
|
||||
on systems without working DNS, as connections otherwise
|
||||
stall until DNS times out.
|
||||
|
||||
config BR2_PACKAGE_DROPBEAR_SMALL
|
||||
bool "optimize for size"
|
||||
default y
|
||||
depends on BR2_PACKAGE_DROPBEAR
|
||||
help
|
||||
Compile dropbear for the smallest possible binary size.
|
||||
|
||||
Tradeoffs are slower hashes and ciphers, and disabling of the
|
||||
blowfish cipher and zlib.
|
||||
|
||||
26
package/dropbear/dropbear-0.53.1-static_build_fix.patch
Normal file
26
package/dropbear/dropbear-0.53.1-static_build_fix.patch
Normal file
@@ -0,0 +1,26 @@
|
||||
dropbear: fix static build
|
||||
|
||||
the -lcrypt is missing during the link
|
||||
|
||||
svr-authpasswd.o: In function `svr_auth_password':
|
||||
svr-authpasswd.c:(.text+0xfc): undefined reference to `crypt'
|
||||
collect2: ld returned 1 exit status
|
||||
|
||||
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
|
||||
---
|
||||
Makefile.in | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
Index: b/Makefile.in
|
||||
===================================================================
|
||||
--- a/Makefile.in
|
||||
+++ b/Makefile.in
|
||||
@@ -77,7 +77,7 @@ STRIP=@STRIP@
|
||||
INSTALL=@INSTALL@
|
||||
CPPFLAGS=@CPPFLAGS@
|
||||
CFLAGS+=-I. -I$(srcdir) $(CPPFLAGS) @CFLAGS@
|
||||
-LIBS+=@LIBS@
|
||||
+LIBS+=@CRYPTLIB@ @LIBS@
|
||||
LDFLAGS=@LDFLAGS@
|
||||
|
||||
EXEEXT=@EXEEXT@
|
||||
@@ -4,19 +4,17 @@
|
||||
#
|
||||
#############################################################
|
||||
|
||||
DROPBEAR_VERSION = 0.52
|
||||
DROPBEAR_VERSION = 0.53.1
|
||||
DROPBEAR_SOURCE = dropbear-$(DROPBEAR_VERSION).tar.gz
|
||||
DROPBEAR_SITE = http://matt.ucc.asn.au/dropbear/releases
|
||||
DROPBEAR_DEPENDENCIES = zlib
|
||||
DROPBEAR_TARGET_BINS = dbclient dropbearkey dropbearconvert scp ssh
|
||||
# configure misdetects this as no, but the result is not used for
|
||||
# anything. Unfortunately it breaks the build for other packages also
|
||||
# checking for struct sockaddr_storage when using a shared config
|
||||
# cache, so force it to yes
|
||||
DROPBEAR_CONF_ENV = ac_cv_type_struct_sockaddr_storage=yes
|
||||
DROPBEAR_MAKE = $(MAKE) MULTI=1 SCPPROGRESS=1 \
|
||||
PROGRAMS="dropbear dbclient dropbearkey dropbearconvert scp"
|
||||
|
||||
ifeq ($(BR2_PREFER_STATIC_LIB),y)
|
||||
DROPBEAR_MAKE += STATIC=1
|
||||
endif
|
||||
|
||||
define DROPBEAR_FIX_XAUTH
|
||||
$(SED) 's,^#define XAUTH_COMMAND.*/xauth,#define XAUTH_COMMAND "/usr/bin/xauth,g' $(@D)/options.h
|
||||
endef
|
||||
@@ -27,10 +25,27 @@ define DROPBEAR_DISABLE_REVERSE_DNS
|
||||
$(SED) 's,^#define DO_HOST_LOOKUP.*,/* #define DO_HOST_LOOKUP */,' $(@D)/options.h
|
||||
endef
|
||||
|
||||
define DROPBEAR_BUILD_SMALL
|
||||
echo "#define DROPBEAR_SMALL_CODE" >>$(@D)/options.h
|
||||
echo "#define NO_FAST_EXPTMOD" >>$(@D)/options.h
|
||||
endef
|
||||
|
||||
define DROPBEAR_BUILD_FEATURED
|
||||
echo "#define DROPBEAR_BLOWFISH" >>$(@D)/options.h
|
||||
endef
|
||||
|
||||
ifeq ($(BR2_PACKAGE_DROPBEAR_DISABLE_REVERSEDNS),y)
|
||||
DROPBEAR_POST_EXTRACT_HOOKS += DROPBEAR_DISABLE_REVERSE_DNS
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_DROPBEAR_SMALL),y)
|
||||
DROPBEAR_POST_EXTRACT_HOOKS += DROPBEAR_BUILD_SMALL
|
||||
DROPBEAR_CONF_OPT += --disable-zlib
|
||||
else
|
||||
DROPBEAR_POST_EXTRACT_HOOKS += DROPBEAR_BUILD_FEATURED
|
||||
DROPBEAR_DEPENDENCIES += zlib
|
||||
endif
|
||||
|
||||
define DROPBEAR_INSTALL_TARGET_CMDS
|
||||
$(INSTALL) -m 755 $(@D)/dropbearmulti $(TARGET_DIR)/usr/sbin/dropbear
|
||||
for f in $(DROPBEAR_TARGET_BINS); do \
|
||||
|
||||
@@ -9,7 +9,6 @@ ENCHANT_SITE = http://www.abisource.com/downloads/enchant/$(ENCHANT_VERSION)
|
||||
|
||||
ENCHANT_INSTALL_STAGING = YES
|
||||
ENCHANT_INSTALL_TARGET = YES
|
||||
ENCHANT_LIBTOOL_PATCH = NO
|
||||
|
||||
ENCHANT_DEPENDENCIES = libglib2 host-pkg-config
|
||||
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
#
|
||||
#############################################################
|
||||
|
||||
ETHTOOL_VERSION = 2.6.35
|
||||
ETHTOOL_SITE = http://$(BR2_SOURCEFORGE_MIRROR).dl.sourceforge.net/sourceforge/gkernel/
|
||||
ETHTOOL_VERSION = 2.6.38
|
||||
ETHTOOL_SITE = $(BR2_KERNEL_MIRROR)/software/network/ethtool/
|
||||
|
||||
$(eval $(call AUTOTARGETS,package,ethtool))
|
||||
|
||||
@@ -1,6 +0,0 @@
|
||||
config BR2_PACKAGE_FAKEROOT
|
||||
bool "fakeroot"
|
||||
help
|
||||
Run commands in an environment faking root privileges.
|
||||
|
||||
http://joostje.op.het.net/fakeroot/
|
||||
@@ -5,8 +5,8 @@
|
||||
#############################################################
|
||||
FAKEROOT_VERSION:=1.9.5
|
||||
FAKEROOT_SOURCE:=fakeroot_$(FAKEROOT_VERSION).tar.gz
|
||||
FAKEROOT_SITE:=http://snapshot.debian.net/archive/2008/04/27/debian/pool/main/f/fakeroot/
|
||||
FAKEROOT_LIBTOOL_PATCH=NO
|
||||
FAKEROOT_SITE:=http://snapshot.debian.org/archive/debian/20080427T000000Z/pool/main/f/fakeroot/
|
||||
FAKEROOT_CONF_OPT = --program-prefix=''
|
||||
|
||||
define FAKEROOT_PATCH_FAKEROOT_IN
|
||||
# If using busybox getopt, make it be quiet.
|
||||
@@ -16,14 +16,8 @@ endef
|
||||
|
||||
FAKEROOT_POST_PATCH_HOOKS += FAKEROOT_PATCH_FAKEROOT_IN
|
||||
|
||||
define FAKEROOT_RENAME_TARGET_BINARIES
|
||||
-mv $(TARGET_DIR)/usr/bin/$(ARCH)-*-faked \
|
||||
$(TARGET_DIR)/usr/bin/faked
|
||||
-mv $(TARGET_DIR)/usr/bin/$(ARCH)-*-fakeroot \
|
||||
$(TARGET_DIR)/usr/bin/fakeroot
|
||||
endef
|
||||
|
||||
FAKEROOT_POST_INSTALL_TARGET_HOOKS += FAKEROOT_RENAME_TARGET_BINARIES
|
||||
|
||||
# The package for the target cannot be selected (build problems when
|
||||
# largefile is enabled), but is needed for the host package to work
|
||||
# due to deficiencies in the package infrastructure.
|
||||
$(eval $(call AUTOTARGETS,package,fakeroot))
|
||||
$(eval $(call AUTOTARGETS,package,fakeroot,host))
|
||||
|
||||
@@ -1,31 +0,0 @@
|
||||
From 126fcb5d08d69693eb4c6e5f5c3d1082b6910121 Mon Sep 17 00:00:00 2001
|
||||
From: Gustavo Zacarias <gustavo@zacarias.com.ar>
|
||||
Date: Mon, 7 Jun 2010 11:40:04 -0300
|
||||
Subject: [PATCH] Disable configure script from checking for CXX since it's not needed
|
||||
|
||||
|
||||
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
|
||||
---
|
||||
configure | 6 ++----
|
||||
1 files changed, 2 insertions(+), 4 deletions(-)
|
||||
|
||||
diff --git a/configure b/configure
|
||||
index a6e812b..ac2587f 100755
|
||||
--- a/configure
|
||||
+++ b/configure
|
||||
@@ -6136,10 +6136,8 @@ if $ac_preproc_ok; then
|
||||
:
|
||||
else
|
||||
{ { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
|
||||
-See \`config.log' for more details." >&5
|
||||
-echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
|
||||
-See \`config.log' for more details." >&2;}
|
||||
- { (exit 1); exit 1; }; }
|
||||
+See \`config.log' for more details." >&5;}
|
||||
+ { echo "C++ sucks, ignoring ..." >&5; }; }
|
||||
fi
|
||||
|
||||
ac_ext=cpp
|
||||
--
|
||||
1.6.4.4
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
#
|
||||
#############################################################
|
||||
|
||||
FILE_VERSION = 5.04
|
||||
FILE_VERSION = 5.05
|
||||
FILE_SITE = ftp://ftp.astron.com/pub/file/
|
||||
FILE_DEPENDENCIES = host-file zlib
|
||||
HOST_FILE_DEPENDENCIES = host-zlib
|
||||
|
||||
@@ -1,15 +0,0 @@
|
||||
config BR2_PACKAGE_ACE_OF_PENGUINS
|
||||
bool "ace_of_penguins"
|
||||
select BR2_PACKAGE_LIBPNG
|
||||
depends on BR2_PACKAGE_XORG7
|
||||
depends on BR2_PACKAGE_XLIB_LIBXPM
|
||||
# Build system is broken for tools that need to be compiled
|
||||
# on the host
|
||||
depends on BROKEN
|
||||
help
|
||||
The Ace of Penguins is a set of Unix/X solitaire games based
|
||||
on the ones available for Windows but with a number of
|
||||
enhancements.
|
||||
|
||||
http://www.delorie.com/store/ace/
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -1,15 +0,0 @@
|
||||
#############################################################
|
||||
#
|
||||
# ace_of_penguins
|
||||
#
|
||||
#############################################################
|
||||
ACE_OF_PENGUINS_VERSION = 1.2
|
||||
ACE_OF_PENGUINS_SOURCE = ace-$(ACE_OF_PENGUINS_VERSION).tar.gz
|
||||
ACE_OF_PENGUINS_SITE = http://www.delorie.com/store/ace/
|
||||
ACE_OF_PENGUINS_AUTORECONF = YES
|
||||
ACE_OF_PENGUINS_STAGING = NO
|
||||
ACE_OF_PENGUINS_TARGET = YES
|
||||
|
||||
ACE_OF_PENGUINS_DEPENDENCIES = libpng host-libpng xserver_xorg-server xlib_libXpm
|
||||
|
||||
$(eval $(call AUTOTARGETS,package/games,ace_of_penguins))
|
||||
@@ -1,103 +0,0 @@
|
||||
--- a/configure.fixed 2009-08-02 18:00:54.000000000 +0200
|
||||
+++ b/configure 2008-11-24 16:23:27.000000000 +0100
|
||||
@@ -23581,100 +23581,6 @@
|
||||
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
||||
ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
||||
|
||||
-if test "$cross_compiling" = yes; then
|
||||
- { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
|
||||
-See \`config.log' for more details." >&5
|
||||
-echo "$as_me: error: cannot run test program while cross compiling
|
||||
-See \`config.log' for more details." >&2;}
|
||||
- { (exit 1); exit 1; }; }
|
||||
-else
|
||||
- cat >conftest.$ac_ext <<_ACEOF
|
||||
-/* confdefs.h. */
|
||||
-_ACEOF
|
||||
-cat confdefs.h >>conftest.$ac_ext
|
||||
-cat >>conftest.$ac_ext <<_ACEOF
|
||||
-/* end confdefs.h. */
|
||||
-
|
||||
-#include <sys/types.h>
|
||||
-#include <stdlib.h>
|
||||
-#include <string.h>
|
||||
-#include <stdio.h>
|
||||
-#include <sys/socket.h>
|
||||
-#include <sys/un.h>
|
||||
-#include <errno.h>
|
||||
-
|
||||
-int
|
||||
-main ()
|
||||
-{
|
||||
-
|
||||
- int listen_fd;
|
||||
- struct sockaddr_un addr;
|
||||
-
|
||||
- listen_fd = socket (PF_UNIX, SOCK_STREAM, 0);
|
||||
-
|
||||
- if (listen_fd < 0)
|
||||
- {
|
||||
- fprintf (stderr, "socket() failed: %s\n", strerror (errno));
|
||||
- exit (1);
|
||||
- }
|
||||
-
|
||||
- memset (&addr, '\0', sizeof (addr));
|
||||
- addr.sun_family = AF_UNIX;
|
||||
- strcpy (addr.sun_path, "X/tmp/dbus-fake-socket-path-used-in-configure-test");
|
||||
- addr.sun_path[0] = '\0'; /* this is what makes it abstract */
|
||||
-
|
||||
- if (bind (listen_fd, (struct sockaddr*) &addr, SUN_LEN (&addr)) < 0)
|
||||
- {
|
||||
- fprintf (stderr, "Abstract socket namespace bind() failed: %s\n",
|
||||
- strerror (errno));
|
||||
- exit (1);
|
||||
- }
|
||||
- else
|
||||
- exit (0);
|
||||
-
|
||||
- ;
|
||||
- return 0;
|
||||
-}
|
||||
-_ACEOF
|
||||
-rm -f conftest$ac_exeext
|
||||
-if { (ac_try="$ac_link"
|
||||
-case "(($ac_try" in
|
||||
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
||||
- *) ac_try_echo=$ac_try;;
|
||||
-esac
|
||||
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
||||
- (eval "$ac_link") 2>&5
|
||||
- ac_status=$?
|
||||
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
||||
- (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
|
||||
- { (case "(($ac_try" in
|
||||
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
||||
- *) ac_try_echo=$ac_try;;
|
||||
-esac
|
||||
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
||||
- (eval "$ac_try") 2>&5
|
||||
- ac_status=$?
|
||||
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
||||
- (exit $ac_status); }; }; then
|
||||
- have_abstract_sockets=yes
|
||||
-else
|
||||
- echo "$as_me: program exited with status $ac_status" >&5
|
||||
-echo "$as_me: failed program was:" >&5
|
||||
-sed 's/^/| /' conftest.$ac_ext >&5
|
||||
-
|
||||
-( exit $ac_status )
|
||||
-have_abstract_sockets=no
|
||||
-fi
|
||||
-rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
|
||||
-fi
|
||||
-
|
||||
-
|
||||
-ac_ext=c
|
||||
-ac_cpp='$CPP $CPPFLAGS'
|
||||
-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
||||
-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
||||
-ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
||||
-
|
||||
{ echo "$as_me:$LINENO: result: $have_abstract_sockets" >&5
|
||||
echo "${ECHO_T}$have_abstract_sockets" >&6; }
|
||||
|
||||
61
package/gamin/gamin-0.1.10-no-abstract-sockets.patch
Normal file
61
package/gamin/gamin-0.1.10-no-abstract-sockets.patch
Normal file
@@ -0,0 +1,61 @@
|
||||
[PATCH]: Remove abstract socket namespace check breaking cross compilation
|
||||
|
||||
Taken from openembedded:
|
||||
|
||||
http://git.openembedded.org/cgit.cgi/openembedded/tree/recipes/gamin/files/no-abstract-sockets.patch
|
||||
|
||||
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
|
||||
--- /tmp/configure.in 2007-04-30 13:08:49.000000000 +0200
|
||||
+++ gamin-0.1.8/configure.in 2007-04-30 13:10:53.285251000 +0200
|
||||
@@ -354,51 +354,6 @@
|
||||
AC_DEFINE(HAVE_CMSGCRED,1,[Have cmsgcred structure])
|
||||
fi
|
||||
|
||||
-#### Abstract sockets
|
||||
-
|
||||
-AC_MSG_CHECKING(abstract socket namespace)
|
||||
-AC_LANG_PUSH(C)
|
||||
-AC_RUN_IFELSE([AC_LANG_PROGRAM(
|
||||
-[[
|
||||
-#include <sys/types.h>
|
||||
-#include <stdlib.h>
|
||||
-#include <string.h>
|
||||
-#include <stdio.h>
|
||||
-#include <sys/socket.h>
|
||||
-#include <sys/un.h>
|
||||
-#include <errno.h>
|
||||
-]],
|
||||
-[[
|
||||
- int listen_fd;
|
||||
- struct sockaddr_un addr;
|
||||
-
|
||||
- listen_fd = socket (PF_UNIX, SOCK_STREAM, 0);
|
||||
-
|
||||
- if (listen_fd < 0)
|
||||
- {
|
||||
- fprintf (stderr, "socket() failed: %s\n", strerror (errno));
|
||||
- exit (1);
|
||||
- }
|
||||
-
|
||||
- memset (&addr, '\0', sizeof (addr));
|
||||
- addr.sun_family = AF_UNIX;
|
||||
- strcpy (addr.sun_path, "X/tmp/dbus-fake-socket-path-used-in-configure-test");
|
||||
- addr.sun_path[0] = '\0'; /* this is what makes it abstract */
|
||||
-
|
||||
- if (bind (listen_fd, (struct sockaddr*) &addr, SUN_LEN (&addr)) < 0)
|
||||
- {
|
||||
- fprintf (stderr, "Abstract socket namespace bind() failed: %s\n",
|
||||
- strerror (errno));
|
||||
- exit (1);
|
||||
- }
|
||||
- else
|
||||
- exit (0);
|
||||
-]])],
|
||||
- [have_abstract_sockets=yes],
|
||||
- [have_abstract_sockets=no])
|
||||
-AC_LANG_POP(C)
|
||||
-AC_MSG_RESULT($have_abstract_sockets)
|
||||
-
|
||||
if test x$enable_abstract_sockets = xyes; then
|
||||
if test x$have_abstract_sockets = xno; then
|
||||
AC_MSG_ERROR([Abstract sockets explicitly required, and support not detected.])
|
||||
@@ -1,14 +0,0 @@
|
||||
--- a/server/gam_poll_basic.c 2007-07-04 09:46:29.000000000 -0400
|
||||
+++ b/server/gam_poll_basic.c 2008-02-13 15:04:57.000000000 -0500
|
||||
@@ -343,9 +343,9 @@ gam_poll_basic_poll_file(GamNode * node)
|
||||
#ifdef VERBOSE_POLL
|
||||
GAM_DEBUG(DEBUG_INFO, "Poll: poll_file %s unchanged\n", path);
|
||||
#ifdef ST_MTIM_NSEC
|
||||
- GAM_DEBUG(DEBUG_INFO, "%d %d : %d %d\n", node->sbuf.st_mtim.tv_sec, node->sbuf.st_mtim.tv_nsec, sbuf.st_mtim.tv_sec, sbuf.st_mtim.tv_nsec);
|
||||
+// GAM_DEBUG(DEBUG_INFO, "%d %d : %d %d\n", node->sbuf.st_mtim.tv_sec, node->sbuf.st_mtim.tv_nsec, sbuf.st_mtim.tv_sec, sbuf.st_mtim.tv_nsec);
|
||||
#else
|
||||
- GAM_DEBUG(DEBUG_INFO, "%d : %d\n", node->sbuf.st_mtime, sbuf.st_mtim.tv_nsec);
|
||||
+// GAM_DEBUG(DEBUG_INFO, "%d : %d\n", node->sbuf.st_mtime, sbuf.st_mtim.tv_nsec);
|
||||
#endif /* ST_MTIM_NSEC */
|
||||
#endif /* VERBOSE_POLL */
|
||||
}
|
||||
@@ -6,9 +6,8 @@
|
||||
GAMIN_VERSION = 0.1.10
|
||||
GAMIN_SOURCE = gamin-$(GAMIN_VERSION).tar.gz
|
||||
GAMIN_SITE = http://www.gnome.org/~veillard/gamin/sources
|
||||
GAMIN_AUTORECONF = NO
|
||||
GAMIN_AUTORECONF = YES
|
||||
GAMIN_INSTALL_STAGING = YES
|
||||
GAMIN_INSTALL_TARGET = YES
|
||||
|
||||
GAMIN_CONF_OPT = --program-prefix="" --disable-debug
|
||||
|
||||
|
||||
34
package/gdisk/Config.in
Normal file
34
package/gdisk/Config.in
Normal file
@@ -0,0 +1,34 @@
|
||||
config BR2_PACKAGE_GDISK
|
||||
bool "gdisk"
|
||||
depends on BR2_LARGEFILE && BR2_INSTALL_LIBSTDCPP
|
||||
help
|
||||
GPT fdisk (consisting of the gdisk and sgdisk programs) is a
|
||||
text-mode partitioning tool that works on Globally Unique Identifier
|
||||
(GUID) Partition Table (GPT) disks, rather than on the more common
|
||||
(through 2010) Master Boot Record (MBR) partition tables.
|
||||
|
||||
http://www.rodsbooks.com/gdisk/
|
||||
|
||||
config BR2_PACKAGE_GDISK_GDISK
|
||||
bool "interactive gdisk"
|
||||
depends on BR2_PACKAGE_GDISK
|
||||
select BR2_PACKAGE_E2FSPROGS
|
||||
select BR2_PACKAGE_E2FSPROGS_LIBUUID
|
||||
help
|
||||
Install the interactive GUID partition table (GPT) manipulator
|
||||
/usr/sbin/gdisk which is modelled after and quite similar in use
|
||||
to the traditional MBR based fdisk tool.
|
||||
|
||||
config BR2_PACKAGE_GDISK_SGDISK
|
||||
bool "command line sgdisk"
|
||||
depends on BR2_PACKAGE_GDISK
|
||||
select BR2_PACKAGE_E2FSPROGS
|
||||
select BR2_PACKAGE_E2FSPROGS_LIBUUID
|
||||
select BR2_PACKAGE_POPT
|
||||
help
|
||||
Install the command-line GUID partition table (GPT) manipulator
|
||||
/usr/sbin/sgdisk which is named after the traditional MBR based
|
||||
sfdisk tool albeit with an entirely different option syntax.
|
||||
|
||||
comment "gdisk requires a toolchain with LARGEFILE and C++ support enabled"
|
||||
depends on !BR2_LARGEFILE || !BR2_INSTALL_LIBSTDCPP
|
||||
22
package/gdisk/gdisk-0.6.14-uuid.h.patch
Normal file
22
package/gdisk/gdisk-0.6.14-uuid.h.patch
Normal file
@@ -0,0 +1,22 @@
|
||||
[PATCH] Don't hardcode uuid.h location
|
||||
|
||||
Breaks cross compilation.
|
||||
|
||||
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
|
||||
---
|
||||
guid.h | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
Index: gdisk-0.6.14/guid.h
|
||||
===================================================================
|
||||
--- gdisk-0.6.14.orig/guid.h
|
||||
+++ gdisk-0.6.14/guid.h
|
||||
@@ -22,7 +22,7 @@
|
||||
#ifdef _WIN32
|
||||
typedef unsigned char my_uuid_t[16];
|
||||
#else
|
||||
-#include </usr/include/uuid/uuid.h>
|
||||
+#include <uuid/uuid.h>
|
||||
typedef uuid_t my_uuid_t;
|
||||
#endif
|
||||
|
||||
39
package/gdisk/gdisk.mk
Normal file
39
package/gdisk/gdisk.mk
Normal file
@@ -0,0 +1,39 @@
|
||||
#############################################################
|
||||
#
|
||||
# gdisk
|
||||
#
|
||||
#############################################################
|
||||
|
||||
GDISK_VERSION = 0.6.14
|
||||
GDISK_SITE = http://$(BR2_SOURCEFORGE_MIRROR).dl.sourceforge.net/sourceforge/gptfdisk
|
||||
GDISK_SOURCE = gdisk-$(GDISK_VERSION).tgz
|
||||
|
||||
GDISK_TARGETS_$(BR2_PACKAGE_GDISK_GDISK) += gdisk
|
||||
GDISK_TARGETS_$(BR2_PACKAGE_GDISK_SGDISK) += sgdisk
|
||||
|
||||
ifneq ($(GDISK_TARGETS_y),)
|
||||
|
||||
GDISK_DEPENDENCIES += e2fsprogs
|
||||
ifeq ($(BR2_PACKAGE_GDISK_SGDISK),y)
|
||||
GDISK_DEPENDENCIES += popt
|
||||
endif
|
||||
|
||||
|
||||
define GDISK_BUILD_CMDS
|
||||
$(TARGET_CONFIGURE_OPTS) $(MAKE) CC="$(TARGET_CC)" CXX="$(TARGET_CXX)" \
|
||||
-C $(@D) $(GDISK_TARGETS_y)
|
||||
endef
|
||||
|
||||
define GDISK_INSTALL_TARGET_CMDS
|
||||
for i in $(GDISK_TARGETS_y); do \
|
||||
$(INSTALL) -D $(@D)/$$i $(TARGET_DIR)/usr/sbin/; \
|
||||
done
|
||||
endef
|
||||
|
||||
define GDISK_UNINSTALL_TARGET_CMDS
|
||||
rm -f $(addprefix $(TARGET_DIR)/usr/sbin/,$(GDISK_TARGETS_y))
|
||||
endef
|
||||
|
||||
endif
|
||||
|
||||
$(eval $(call GENTARGETS,package,gdisk))
|
||||
@@ -6,7 +6,6 @@
|
||||
GMPC_VERSION = 0.17.0
|
||||
GMPC_SOURCE = gmpc-$(GMPC_VERSION).tar.gz
|
||||
GMPC_SITE = http://download.sarine.nl/download/Programs/gmpc/$(GMPC_VERSION)/
|
||||
GMPC_LIBTOOL_PATCH = NO
|
||||
GMPC_CONF_ENV = ac_cv_lib_curl_curl_global_init=yes \
|
||||
ac_cv_path_GOB2=$(GOB2_HOST_BINARY)
|
||||
GMPC_CONF_OPT = --disable-mmkeys
|
||||
|
||||
@@ -1,14 +0,0 @@
|
||||
D/doc////
|
||||
D/lib////
|
||||
D/m4////
|
||||
D/patches////
|
||||
D/po////
|
||||
D/scripts////
|
||||
D/src////
|
||||
D/tests////
|
||||
D/testsuite////
|
||||
/Makefile/1.6/Mon Sep 26 07:33:33 2005//
|
||||
/ChangeLog/1.387/Thu Sep 20 16:47:12 2007//
|
||||
/config.guess/1.368/Thu Sep 20 16:47:12 2007//
|
||||
/config.sub/1.356/Thu Sep 20 16:47:05 2007//
|
||||
/uname/1.5/Tue Aug 21 18:37:34 2007//
|
||||
@@ -1 +0,0 @@
|
||||
config
|
||||
@@ -1 +0,0 @@
|
||||
:pserver:anonymous@cvs.savannah.gnu.org:/cvsroot/config
|
||||
File diff suppressed because it is too large
Load Diff
@@ -1,15 +0,0 @@
|
||||
UPLOAD=ftp://ftp-upload.gnu.org/incoming/ftp/
|
||||
|
||||
all:
|
||||
@echo "Type 'make upload' to upload to the GNU FTP server."
|
||||
|
||||
upload:
|
||||
gpg --detach-sign config.guess
|
||||
gpg --detach-sign config.sub
|
||||
echo "directory: config" | gpg --clearsign > config.guess.directive.asc
|
||||
cp config.guess.directive.asc config.sub.directive.asc
|
||||
ftp -a -u $(UPLOAD) config.{guess,sub}{,.sig,.directive.asc}
|
||||
rm config.{guess,sub}{.sig,.directive.asc}
|
||||
|
||||
check:
|
||||
cd testsuite && (sh config-sub.sh; sh config-guess.sh) && rm uname
|
||||
@@ -8,8 +8,12 @@ To use, just add this to your unpack rule in the package.mk:
|
||||
$(CONFIG_UPDATE) $(PACKAGE_DIR)/
|
||||
|
||||
--- UPDATE ---
|
||||
This is a CVS checkout of the config project, so just run `cvs up`
|
||||
to get the latest config.sub / config.guess files.
|
||||
GNU config is now managed in git, so to update:
|
||||
|
||||
# git clone git://git.savannah.gnu.org/config.git
|
||||
# cp config/config.* .
|
||||
# for p in $(ls patches/*.patch); do patch -p0 < $p; done
|
||||
# rm -rf config
|
||||
|
||||
A few local customizations are used to support uClibc so you may
|
||||
have to make sure they're still needed. The patches are broken
|
||||
|
||||
458
package/gnuconfig/config.guess
vendored
458
package/gnuconfig/config.guess
vendored
@@ -1,10 +1,10 @@
|
||||
#! /bin/sh
|
||||
# Attempt to guess a canonical system name.
|
||||
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
|
||||
# 2000, 2001, 2002, 2003, 2004, 2005, 2006 Free Software Foundation,
|
||||
# Inc.
|
||||
# 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010,
|
||||
# 2011 Free Software Foundation, Inc.
|
||||
|
||||
timestamp='2009-07-24'
|
||||
timestamp='2011-02-02'
|
||||
|
||||
# This file is free software; you can redistribute it and/or modify it
|
||||
# under the terms of the GNU General Public License as published by
|
||||
@@ -27,16 +27,16 @@ timestamp='2009-07-24'
|
||||
# the same distribution terms that you use for the rest of that program.
|
||||
|
||||
|
||||
# Originally written by Per Bothner <per@bothner.com>.
|
||||
# Please send patches to <config-patches@gnu.org>. Submit a context
|
||||
# diff and a properly formatted ChangeLog entry.
|
||||
# Originally written by Per Bothner. Please send patches (context
|
||||
# diff format) to <config-patches@gnu.org> and include a ChangeLog
|
||||
# entry.
|
||||
#
|
||||
# This script attempts to guess a canonical system name similar to
|
||||
# config.sub. If it succeeds, it prints the system name on stdout, and
|
||||
# exits with 0. Otherwise, it exits with 1.
|
||||
#
|
||||
# The plan is that this can be called by configure scripts if you
|
||||
# don't specify an explicit build system type.
|
||||
# You can get the latest version of this script from:
|
||||
# http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess;hb=HEAD
|
||||
|
||||
me=`echo "$0" | sed -e 's,.*/,,'`
|
||||
|
||||
@@ -56,8 +56,9 @@ version="\
|
||||
GNU config.guess ($timestamp)
|
||||
|
||||
Originally written by Per Bothner.
|
||||
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005
|
||||
Free Software Foundation, Inc.
|
||||
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000,
|
||||
2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free
|
||||
Software Foundation, Inc.
|
||||
|
||||
This is free software; see the source for copying conditions. There is NO
|
||||
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
|
||||
@@ -187,7 +188,7 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
|
||||
arm*|i386|m68k|ns32k|sh3*|sparc|vax)
|
||||
eval $set_cc_for_build
|
||||
if echo __ELF__ | $CC_FOR_BUILD -E - 2>/dev/null \
|
||||
| grep __ELF__ >/dev/null
|
||||
| grep -q __ELF__
|
||||
then
|
||||
# Once all utilities can be ECOFF (netbsdecoff) or a.out (netbsdaout).
|
||||
# Return netbsd for either. FIX?
|
||||
@@ -197,7 +198,7 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
|
||||
fi
|
||||
;;
|
||||
*)
|
||||
os=netbsd
|
||||
os=netbsd
|
||||
;;
|
||||
esac
|
||||
# The OS release
|
||||
@@ -240,7 +241,7 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
|
||||
UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $3}'`
|
||||
;;
|
||||
*5.*)
|
||||
UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $4}'`
|
||||
UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $4}'`
|
||||
;;
|
||||
esac
|
||||
# According to Compaq, /usr/sbin/psrinfo has been available on
|
||||
@@ -286,7 +287,10 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
|
||||
# A Xn.n version is an unreleased experimental baselevel.
|
||||
# 1.2 uses "1.2" for uname -r.
|
||||
echo ${UNAME_MACHINE}-dec-osf`echo ${UNAME_RELEASE} | sed -e 's/^[PVTX]//' | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'`
|
||||
exit ;;
|
||||
# Reset EXIT trap before exiting to avoid spurious non-zero exit code.
|
||||
exitcode=$?
|
||||
trap '' 0
|
||||
exit $exitcode ;;
|
||||
Alpha\ *:Windows_NT*:*)
|
||||
# How do we know it's Interix rather than the generic POSIX subsystem?
|
||||
# Should we change UNAME_MACHINE based on the output of uname instead
|
||||
@@ -312,7 +316,7 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
|
||||
echo s390-ibm-zvmoe
|
||||
exit ;;
|
||||
*:OS400:*:*)
|
||||
echo powerpc-ibm-os400
|
||||
echo powerpc-ibm-os400
|
||||
exit ;;
|
||||
arm:RISC*:1.[012]*:*|arm:riscix:1.[012]*:*)
|
||||
echo arm-acorn-riscix${UNAME_RELEASE}
|
||||
@@ -341,14 +345,33 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
|
||||
case `/usr/bin/uname -p` in
|
||||
sparc) echo sparc-icl-nx7; exit ;;
|
||||
esac ;;
|
||||
s390x:SunOS:*:*)
|
||||
echo ${UNAME_MACHINE}-ibm-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
|
||||
exit ;;
|
||||
sun4H:SunOS:5.*:*)
|
||||
echo sparc-hal-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
|
||||
exit ;;
|
||||
sun4*:SunOS:5.*:* | tadpole*:SunOS:5.*:*)
|
||||
echo sparc-sun-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
|
||||
exit ;;
|
||||
i86pc:AuroraUX:5.*:* | i86xen:AuroraUX:5.*:*)
|
||||
echo i386-pc-auroraux${UNAME_RELEASE}
|
||||
exit ;;
|
||||
i86pc:SunOS:5.*:* | i86xen:SunOS:5.*:*)
|
||||
echo i386-pc-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
|
||||
eval $set_cc_for_build
|
||||
SUN_ARCH="i386"
|
||||
# If there is a compiler, see if it is configured for 64-bit objects.
|
||||
# Note that the Sun cc does not turn __LP64__ into 1 like gcc does.
|
||||
# This test works for both compilers.
|
||||
if [ "$CC_FOR_BUILD" != 'no_compiler_found' ]; then
|
||||
if (echo '#ifdef __amd64'; echo IS_64BIT_ARCH; echo '#endif') | \
|
||||
(CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) | \
|
||||
grep IS_64BIT_ARCH >/dev/null
|
||||
then
|
||||
SUN_ARCH="x86_64"
|
||||
fi
|
||||
fi
|
||||
echo ${SUN_ARCH}-pc-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
|
||||
exit ;;
|
||||
sun4*:SunOS:6*:*)
|
||||
# According to config.sub, this is the proper way to canonicalize
|
||||
@@ -392,23 +415,23 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
|
||||
# MiNT. But MiNT is downward compatible to TOS, so this should
|
||||
# be no problem.
|
||||
atarist[e]:*MiNT:*:* | atarist[e]:*mint:*:* | atarist[e]:*TOS:*:*)
|
||||
echo m68k-atari-mint${UNAME_RELEASE}
|
||||
echo m68k-atari-mint${UNAME_RELEASE}
|
||||
exit ;;
|
||||
atari*:*MiNT:*:* | atari*:*mint:*:* | atarist[e]:*TOS:*:*)
|
||||
echo m68k-atari-mint${UNAME_RELEASE}
|
||||
exit ;;
|
||||
exit ;;
|
||||
*falcon*:*MiNT:*:* | *falcon*:*mint:*:* | *falcon*:*TOS:*:*)
|
||||
echo m68k-atari-mint${UNAME_RELEASE}
|
||||
echo m68k-atari-mint${UNAME_RELEASE}
|
||||
exit ;;
|
||||
milan*:*MiNT:*:* | milan*:*mint:*:* | *milan*:*TOS:*:*)
|
||||
echo m68k-milan-mint${UNAME_RELEASE}
|
||||
exit ;;
|
||||
echo m68k-milan-mint${UNAME_RELEASE}
|
||||
exit ;;
|
||||
hades*:*MiNT:*:* | hades*:*mint:*:* | *hades*:*TOS:*:*)
|
||||
echo m68k-hades-mint${UNAME_RELEASE}
|
||||
exit ;;
|
||||
echo m68k-hades-mint${UNAME_RELEASE}
|
||||
exit ;;
|
||||
*:*MiNT:*:* | *:*mint:*:* | *:*TOS:*:*)
|
||||
echo m68k-unknown-mint${UNAME_RELEASE}
|
||||
exit ;;
|
||||
echo m68k-unknown-mint${UNAME_RELEASE}
|
||||
exit ;;
|
||||
m68k:machten:*:*)
|
||||
echo m68k-apple-machten${UNAME_RELEASE}
|
||||
exit ;;
|
||||
@@ -478,8 +501,8 @@ EOF
|
||||
echo m88k-motorola-sysv3
|
||||
exit ;;
|
||||
AViiON:dgux:*:*)
|
||||
# DG/UX returns AViiON for all architectures
|
||||
UNAME_PROCESSOR=`/usr/bin/uname -p`
|
||||
# DG/UX returns AViiON for all architectures
|
||||
UNAME_PROCESSOR=`/usr/bin/uname -p`
|
||||
if [ $UNAME_PROCESSOR = mc88100 ] || [ $UNAME_PROCESSOR = mc88110 ]
|
||||
then
|
||||
if [ ${TARGET_BINARY_INTERFACE}x = m88kdguxelfx ] || \
|
||||
@@ -492,7 +515,7 @@ EOF
|
||||
else
|
||||
echo i586-dg-dgux${UNAME_RELEASE}
|
||||
fi
|
||||
exit ;;
|
||||
exit ;;
|
||||
M88*:DolphinOS:*:*) # DolphinOS (SVR3)
|
||||
echo m88k-dolphin-sysv3
|
||||
exit ;;
|
||||
@@ -549,7 +572,7 @@ EOF
|
||||
echo rs6000-ibm-aix3.2
|
||||
fi
|
||||
exit ;;
|
||||
*:AIX:*:[45])
|
||||
*:AIX:*:[4567])
|
||||
IBM_CPU_ID=`/usr/sbin/lsdev -C -c processor -S available | sed 1q | awk '{ print $1 }'`
|
||||
if /usr/sbin/lsattr -El ${IBM_CPU_ID} | grep ' POWER' >/dev/null 2>&1; then
|
||||
IBM_ARCH=rs6000
|
||||
@@ -592,52 +615,52 @@ EOF
|
||||
9000/[678][0-9][0-9])
|
||||
if [ -x /usr/bin/getconf ]; then
|
||||
sc_cpu_version=`/usr/bin/getconf SC_CPU_VERSION 2>/dev/null`
|
||||
sc_kernel_bits=`/usr/bin/getconf SC_KERNEL_BITS 2>/dev/null`
|
||||
case "${sc_cpu_version}" in
|
||||
523) HP_ARCH="hppa1.0" ;; # CPU_PA_RISC1_0
|
||||
528) HP_ARCH="hppa1.1" ;; # CPU_PA_RISC1_1
|
||||
532) # CPU_PA_RISC2_0
|
||||
case "${sc_kernel_bits}" in
|
||||
32) HP_ARCH="hppa2.0n" ;;
|
||||
64) HP_ARCH="hppa2.0w" ;;
|
||||
sc_kernel_bits=`/usr/bin/getconf SC_KERNEL_BITS 2>/dev/null`
|
||||
case "${sc_cpu_version}" in
|
||||
523) HP_ARCH="hppa1.0" ;; # CPU_PA_RISC1_0
|
||||
528) HP_ARCH="hppa1.1" ;; # CPU_PA_RISC1_1
|
||||
532) # CPU_PA_RISC2_0
|
||||
case "${sc_kernel_bits}" in
|
||||
32) HP_ARCH="hppa2.0n" ;;
|
||||
64) HP_ARCH="hppa2.0w" ;;
|
||||
'') HP_ARCH="hppa2.0" ;; # HP-UX 10.20
|
||||
esac ;;
|
||||
esac
|
||||
esac ;;
|
||||
esac
|
||||
fi
|
||||
if [ "${HP_ARCH}" = "" ]; then
|
||||
eval $set_cc_for_build
|
||||
sed 's/^ //' << EOF >$dummy.c
|
||||
sed 's/^ //' << EOF >$dummy.c
|
||||
|
||||
#define _HPUX_SOURCE
|
||||
#include <stdlib.h>
|
||||
#include <unistd.h>
|
||||
#define _HPUX_SOURCE
|
||||
#include <stdlib.h>
|
||||
#include <unistd.h>
|
||||
|
||||
int main ()
|
||||
{
|
||||
#if defined(_SC_KERNEL_BITS)
|
||||
long bits = sysconf(_SC_KERNEL_BITS);
|
||||
#endif
|
||||
long cpu = sysconf (_SC_CPU_VERSION);
|
||||
int main ()
|
||||
{
|
||||
#if defined(_SC_KERNEL_BITS)
|
||||
long bits = sysconf(_SC_KERNEL_BITS);
|
||||
#endif
|
||||
long cpu = sysconf (_SC_CPU_VERSION);
|
||||
|
||||
switch (cpu)
|
||||
{
|
||||
case CPU_PA_RISC1_0: puts ("hppa1.0"); break;
|
||||
case CPU_PA_RISC1_1: puts ("hppa1.1"); break;
|
||||
case CPU_PA_RISC2_0:
|
||||
#if defined(_SC_KERNEL_BITS)
|
||||
switch (bits)
|
||||
{
|
||||
case 64: puts ("hppa2.0w"); break;
|
||||
case 32: puts ("hppa2.0n"); break;
|
||||
default: puts ("hppa2.0"); break;
|
||||
} break;
|
||||
#else /* !defined(_SC_KERNEL_BITS) */
|
||||
puts ("hppa2.0"); break;
|
||||
#endif
|
||||
default: puts ("hppa1.0"); break;
|
||||
}
|
||||
exit (0);
|
||||
}
|
||||
switch (cpu)
|
||||
{
|
||||
case CPU_PA_RISC1_0: puts ("hppa1.0"); break;
|
||||
case CPU_PA_RISC1_1: puts ("hppa1.1"); break;
|
||||
case CPU_PA_RISC2_0:
|
||||
#if defined(_SC_KERNEL_BITS)
|
||||
switch (bits)
|
||||
{
|
||||
case 64: puts ("hppa2.0w"); break;
|
||||
case 32: puts ("hppa2.0n"); break;
|
||||
default: puts ("hppa2.0"); break;
|
||||
} break;
|
||||
#else /* !defined(_SC_KERNEL_BITS) */
|
||||
puts ("hppa2.0"); break;
|
||||
#endif
|
||||
default: puts ("hppa1.0"); break;
|
||||
}
|
||||
exit (0);
|
||||
}
|
||||
EOF
|
||||
(CCOPTS= $CC_FOR_BUILD -o $dummy $dummy.c 2>/dev/null) && HP_ARCH=`$dummy`
|
||||
test -z "$HP_ARCH" && HP_ARCH=hppa
|
||||
@@ -657,7 +680,7 @@ EOF
|
||||
# => hppa64-hp-hpux11.23
|
||||
|
||||
if echo __LP64__ | (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) |
|
||||
grep __LP64__ >/dev/null
|
||||
grep -q __LP64__
|
||||
then
|
||||
HP_ARCH="hppa2.0w"
|
||||
else
|
||||
@@ -728,22 +751,22 @@ EOF
|
||||
exit ;;
|
||||
C1*:ConvexOS:*:* | convex:ConvexOS:C1*:*)
|
||||
echo c1-convex-bsd
|
||||
exit ;;
|
||||
exit ;;
|
||||
C2*:ConvexOS:*:* | convex:ConvexOS:C2*:*)
|
||||
if getsysinfo -f scalar_acc
|
||||
then echo c32-convex-bsd
|
||||
else echo c2-convex-bsd
|
||||
fi
|
||||
exit ;;
|
||||
exit ;;
|
||||
C34*:ConvexOS:*:* | convex:ConvexOS:C34*:*)
|
||||
echo c34-convex-bsd
|
||||
exit ;;
|
||||
exit ;;
|
||||
C38*:ConvexOS:*:* | convex:ConvexOS:C38*:*)
|
||||
echo c38-convex-bsd
|
||||
exit ;;
|
||||
exit ;;
|
||||
C4*:ConvexOS:*:* | convex:ConvexOS:C4*:*)
|
||||
echo c4-convex-bsd
|
||||
exit ;;
|
||||
exit ;;
|
||||
CRAY*Y-MP:*:*:*)
|
||||
echo ymp-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
|
||||
exit ;;
|
||||
@@ -767,14 +790,14 @@ EOF
|
||||
exit ;;
|
||||
F30[01]:UNIX_System_V:*:* | F700:UNIX_System_V:*:*)
|
||||
FUJITSU_PROC=`uname -m | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'`
|
||||
FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'`
|
||||
FUJITSU_REL=`echo ${UNAME_RELEASE} | sed -e 's/ /_/'`
|
||||
echo "${FUJITSU_PROC}-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}"
|
||||
exit ;;
|
||||
FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'`
|
||||
FUJITSU_REL=`echo ${UNAME_RELEASE} | sed -e 's/ /_/'`
|
||||
echo "${FUJITSU_PROC}-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}"
|
||||
exit ;;
|
||||
5000:UNIX_System_V:4.*:*)
|
||||
FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'`
|
||||
FUJITSU_REL=`echo ${UNAME_RELEASE} | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/ /_/'`
|
||||
echo "sparc-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}"
|
||||
FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'`
|
||||
FUJITSU_REL=`echo ${UNAME_RELEASE} | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/ /_/'`
|
||||
echo "sparc-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}"
|
||||
exit ;;
|
||||
i*86:BSD/386:*:* | i*86:BSD/OS:*:* | *:Ascend\ Embedded/OS:*:*)
|
||||
echo ${UNAME_MACHINE}-pc-bsdi${UNAME_RELEASE}
|
||||
@@ -802,24 +825,30 @@ EOF
|
||||
echo ${UNAME_MACHINE}-pc-mingw32
|
||||
exit ;;
|
||||
i*:windows32*:*)
|
||||
# uname -m includes "-pc" on this system.
|
||||
echo ${UNAME_MACHINE}-mingw32
|
||||
# uname -m includes "-pc" on this system.
|
||||
echo ${UNAME_MACHINE}-mingw32
|
||||
exit ;;
|
||||
i*:PW*:*)
|
||||
echo ${UNAME_MACHINE}-pc-pw32
|
||||
exit ;;
|
||||
*:Interix*:[3456]*)
|
||||
case ${UNAME_MACHINE} in
|
||||
*:Interix*:*)
|
||||
case ${UNAME_MACHINE} in
|
||||
x86)
|
||||
echo i586-pc-interix${UNAME_RELEASE}
|
||||
exit ;;
|
||||
EM64T | authenticamd)
|
||||
authenticamd | genuineintel | EM64T)
|
||||
echo x86_64-unknown-interix${UNAME_RELEASE}
|
||||
exit ;;
|
||||
IA64)
|
||||
echo ia64-unknown-interix${UNAME_RELEASE}
|
||||
exit ;;
|
||||
esac ;;
|
||||
[345]86:Windows_95:* | [345]86:Windows_98:* | [345]86:Windows_NT:*)
|
||||
echo i${UNAME_MACHINE}-pc-mks
|
||||
exit ;;
|
||||
8664:Windows_NT:*)
|
||||
echo x86_64-pc-mks
|
||||
exit ;;
|
||||
i*:Windows_NT*:* | Pentium*:Windows_NT*:*)
|
||||
# How do we know it's Interix rather than the generic POSIX subsystem?
|
||||
# It also conflicts with pre-2.0 versions of AT&T UWIN. Should we
|
||||
@@ -849,9 +878,30 @@ EOF
|
||||
i*86:Minix:*:*)
|
||||
echo ${UNAME_MACHINE}-pc-minix
|
||||
exit ;;
|
||||
arm*:Linux:*:*)
|
||||
alpha:Linux:*:*)
|
||||
case `sed -n '/^cpu model/s/^.*: \(.*\)/\1/p' < /proc/cpuinfo` in
|
||||
EV5) UNAME_MACHINE=alphaev5 ;;
|
||||
EV56) UNAME_MACHINE=alphaev56 ;;
|
||||
PCA56) UNAME_MACHINE=alphapca56 ;;
|
||||
PCA57) UNAME_MACHINE=alphapca56 ;;
|
||||
EV6) UNAME_MACHINE=alphaev6 ;;
|
||||
EV67) UNAME_MACHINE=alphaev67 ;;
|
||||
EV68*) UNAME_MACHINE=alphaev68 ;;
|
||||
esac
|
||||
objdump --private-headers /bin/sh | grep -q ld.so.1
|
||||
if test "$?" = 0 ; then LIBC="gnulibc1" ; fi
|
||||
echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
|
||||
exit ;;
|
||||
arm*:Linux:*:*)
|
||||
eval $set_cc_for_build
|
||||
if echo __ARM_EABI__ | $CC_FOR_BUILD -E - 2>/dev/null \
|
||||
| grep -q __ARM_EABI__
|
||||
then
|
||||
echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
|
||||
else
|
||||
echo ${UNAME_MACHINE}-unknown-linux-gnueabi
|
||||
fi
|
||||
exit ;;
|
||||
avr32*:Linux:*:*)
|
||||
echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
|
||||
exit ;;
|
||||
@@ -862,7 +912,17 @@ EOF
|
||||
echo crisv32-axis-linux-${LIBC}
|
||||
exit ;;
|
||||
frv:Linux:*:*)
|
||||
echo frv-unknown-linux-${LIBC}
|
||||
echo frv-unknown-linux-${LIBC}
|
||||
exit ;;
|
||||
i*86:Linux:*:*)
|
||||
eval $set_cc_for_build
|
||||
sed 's/^ //' << EOF >$dummy.c
|
||||
#ifdef __dietlibc__
|
||||
LIBC=dietlibc
|
||||
#endif
|
||||
EOF
|
||||
eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep '^LIBC'`
|
||||
echo "${UNAME_MACHINE}-pc-linux-${LIBC}"
|
||||
exit ;;
|
||||
ia64:Linux:*:*)
|
||||
echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
|
||||
@@ -873,74 +933,33 @@ EOF
|
||||
m68*:Linux:*:*)
|
||||
echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
|
||||
exit ;;
|
||||
mips:Linux:*:*)
|
||||
mips:Linux:*:* | mips64:Linux:*:*)
|
||||
eval $set_cc_for_build
|
||||
sed 's/^ //' << EOF >$dummy.c
|
||||
#undef CPU
|
||||
#undef mips
|
||||
#undef mipsel
|
||||
#undef ${UNAME_MACHINE}
|
||||
#undef ${UNAME_MACHINE}el
|
||||
#if defined(__MIPSEL__) || defined(__MIPSEL) || defined(_MIPSEL) || defined(MIPSEL)
|
||||
CPU=mipsel
|
||||
CPU=${UNAME_MACHINE}el
|
||||
#else
|
||||
#if defined(__MIPSEB__) || defined(__MIPSEB) || defined(_MIPSEB) || defined(MIPSEB)
|
||||
CPU=mips
|
||||
CPU=${UNAME_MACHINE}
|
||||
#else
|
||||
CPU=
|
||||
#endif
|
||||
#endif
|
||||
EOF
|
||||
eval "`$CC_FOR_BUILD -E $dummy.c 2>/dev/null | sed -n '
|
||||
/^CPU/{
|
||||
s: ::g
|
||||
p
|
||||
}'`"
|
||||
test x"${CPU}" != x && { echo "${CPU}-unknown-linux-${LIBC}"; exit; }
|
||||
;;
|
||||
mips64:Linux:*:*)
|
||||
eval $set_cc_for_build
|
||||
sed 's/^ //' << EOF >$dummy.c
|
||||
#undef CPU
|
||||
#undef mips64
|
||||
#undef mips64el
|
||||
#if defined(__MIPSEL__) || defined(__MIPSEL) || defined(_MIPSEL) || defined(MIPSEL)
|
||||
CPU=mips64el
|
||||
#else
|
||||
#if defined(__MIPSEB__) || defined(__MIPSEB) || defined(_MIPSEB) || defined(MIPSEB)
|
||||
CPU=mips64
|
||||
#else
|
||||
CPU=
|
||||
#endif
|
||||
#endif
|
||||
EOF
|
||||
eval "`$CC_FOR_BUILD -E $dummy.c 2>/dev/null | sed -n '
|
||||
/^CPU/{
|
||||
s: ::g
|
||||
p
|
||||
}'`"
|
||||
eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep '^CPU'`
|
||||
test x"${CPU}" != x && { echo "${CPU}-unknown-linux-${LIBC}"; exit; }
|
||||
;;
|
||||
or32:Linux:*:*)
|
||||
echo or32-unknown-linux-${LIBC}
|
||||
exit ;;
|
||||
ppc:Linux:*:*)
|
||||
echo powerpc-unknown-linux-${LIBC}
|
||||
padre:Linux:*:*)
|
||||
echo sparc-unknown-linux-gnu
|
||||
exit ;;
|
||||
ppc64:Linux:*:*)
|
||||
echo powerpc64-unknown-linux-${LIBC}
|
||||
exit ;;
|
||||
alpha:Linux:*:*)
|
||||
case `sed -n '/^cpu model/s/^.*: \(.*\)/\1/p' < /proc/cpuinfo` in
|
||||
EV5) UNAME_MACHINE=alphaev5 ;;
|
||||
EV56) UNAME_MACHINE=alphaev56 ;;
|
||||
PCA56) UNAME_MACHINE=alphapca56 ;;
|
||||
PCA57) UNAME_MACHINE=alphapca56 ;;
|
||||
EV6) UNAME_MACHINE=alphaev6 ;;
|
||||
EV67) UNAME_MACHINE=alphaev67 ;;
|
||||
EV68*) UNAME_MACHINE=alphaev68 ;;
|
||||
esac
|
||||
objdump --private-headers /bin/sh | grep ld.so.1 >/dev/null
|
||||
if test "$?" = 0 ; then LIBC="gnulibc1" ; fi
|
||||
echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
|
||||
parisc64:Linux:*:* | hppa64:Linux:*:*)
|
||||
echo hppa64-unknown-linux-gnu
|
||||
exit ;;
|
||||
parisc:Linux:*:* | hppa:Linux:*:*)
|
||||
# Look for CPU level
|
||||
@@ -950,8 +969,11 @@ EOF
|
||||
*) echo hppa-unknown-linux-${LIBC} ;;
|
||||
esac
|
||||
exit ;;
|
||||
parisc64:Linux:*:* | hppa64:Linux:*:*)
|
||||
echo hppa64-unknown-linux-${LIBC}
|
||||
ppc64:Linux:*:*)
|
||||
echo powerpc64-unknown-linux-${LIBC}
|
||||
exit ;;
|
||||
ppc:Linux:*:*)
|
||||
echo powerpc-unknown-linux-${LIBC}
|
||||
exit ;;
|
||||
s390:Linux:*:* | s390x:Linux:*:*)
|
||||
echo ${UNAME_MACHINE}-ibm-linux
|
||||
@@ -965,6 +987,9 @@ EOF
|
||||
sparc:Linux:*:* | sparc64:Linux:*:*)
|
||||
echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
|
||||
exit ;;
|
||||
tile*:Linux:*:*)
|
||||
echo ${UNAME_MACHINE}-tilera-linux-gnu
|
||||
exit ;;
|
||||
vax:Linux:*:*)
|
||||
echo ${UNAME_MACHINE}-dec-linux-${LIBC}
|
||||
exit ;;
|
||||
@@ -974,71 +999,6 @@ EOF
|
||||
xtensa*:Linux:*:*)
|
||||
echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
|
||||
exit ;;
|
||||
i*86:Linux:*:*)
|
||||
# The BFD linker knows what the default object file format is, so
|
||||
# first see if it will tell us. cd to the root directory to prevent
|
||||
# problems with other programs or directories called `ld' in the path.
|
||||
# Set LC_ALL=C to ensure ld outputs messages in English.
|
||||
ld_supported_targets=`cd /; LC_ALL=C ld --help 2>&1 \
|
||||
| sed -ne '/supported targets:/!d
|
||||
s/[ ][ ]*/ /g
|
||||
s/.*supported targets: *//
|
||||
s/ .*//
|
||||
p'`
|
||||
case "$ld_supported_targets" in
|
||||
elf32-i386)
|
||||
TENTATIVE="${UNAME_MACHINE}-pc-linux-${LIBC}"
|
||||
;;
|
||||
a.out-i386-linux)
|
||||
echo "${UNAME_MACHINE}-pc-linux-${LIBC}aout"
|
||||
exit ;;
|
||||
coff-i386)
|
||||
echo "${UNAME_MACHINE}-pc-linux-${LIBC}coff"
|
||||
exit ;;
|
||||
"")
|
||||
# Either a pre-BFD a.out linker (linux-gnuoldld) or
|
||||
# one that does not give us useful --help.
|
||||
echo "${UNAME_MACHINE}-pc-linux-${LIBC}oldld"
|
||||
exit ;;
|
||||
esac
|
||||
# This should get integrated into the C code below, but now we hack
|
||||
if [ "$LIBC" != "gnu" ] ; then echo "$TENTATIVE" && exit 0 ; fi
|
||||
# Determine whether the default compiler is a.out or elf
|
||||
eval $set_cc_for_build
|
||||
sed 's/^ //' << EOF >$dummy.c
|
||||
#include <features.h>
|
||||
#ifdef __ELF__
|
||||
# ifdef __GLIBC__
|
||||
# if __GLIBC__ >= 2
|
||||
LIBC=gnu
|
||||
# else
|
||||
LIBC=gnulibc1
|
||||
# endif
|
||||
# else
|
||||
LIBC=gnulibc1
|
||||
# endif
|
||||
#else
|
||||
#if defined(__INTEL_COMPILER) || defined(__PGI) || defined(__SUNPRO_C) || defined(__SUNPRO_CC)
|
||||
LIBC=gnu
|
||||
#else
|
||||
LIBC=gnuaout
|
||||
#endif
|
||||
#endif
|
||||
#ifdef __dietlibc__
|
||||
LIBC=dietlibc
|
||||
#endif
|
||||
EOF
|
||||
eval "`$CC_FOR_BUILD -E $dummy.c 2>/dev/null | sed -n '
|
||||
/^LIBC/{
|
||||
s: ::g
|
||||
p
|
||||
}'`"
|
||||
test x"${LIBC}" != x && {
|
||||
echo "${UNAME_MACHINE}-pc-linux-${LIBC}"
|
||||
exit
|
||||
}
|
||||
test x"${TENTATIVE}" != x && { echo "${TENTATIVE}"; exit; }
|
||||
;;
|
||||
i*86:DYNIX/ptx:4*:*)
|
||||
# ptx 4.0 does uname -s correctly, with DYNIX/ptx in there.
|
||||
# earlier versions are messed up and put the nodename in both
|
||||
@@ -1046,11 +1006,11 @@ EOF
|
||||
echo i386-sequent-sysv4
|
||||
exit ;;
|
||||
i*86:UNIX_SV:4.2MP:2.*)
|
||||
# Unixware is an offshoot of SVR4, but it has its own version
|
||||
# number series starting with 2...
|
||||
# I am not positive that other SVR4 systems won't match this,
|
||||
# Unixware is an offshoot of SVR4, but it has its own version
|
||||
# number series starting with 2...
|
||||
# I am not positive that other SVR4 systems won't match this,
|
||||
# I just have to hope. -- rms.
|
||||
# Use sysv4.2uw... so that sysv4* matches it.
|
||||
# Use sysv4.2uw... so that sysv4* matches it.
|
||||
echo ${UNAME_MACHINE}-pc-sysv4.2uw${UNAME_VERSION}
|
||||
exit ;;
|
||||
i*86:OS/2:*:*)
|
||||
@@ -1067,7 +1027,7 @@ EOF
|
||||
i*86:syllable:*:*)
|
||||
echo ${UNAME_MACHINE}-pc-syllable
|
||||
exit ;;
|
||||
i*86:LynxOS:2.*:* | i*86:LynxOS:3.[01]*:* | i*86:LynxOS:4.0*:*)
|
||||
i*86:LynxOS:2.*:* | i*86:LynxOS:3.[01]*:* | i*86:LynxOS:4.[02]*:*)
|
||||
echo i386-unknown-lynxos${UNAME_RELEASE}
|
||||
exit ;;
|
||||
i*86:*DOS:*:*)
|
||||
@@ -1082,7 +1042,7 @@ EOF
|
||||
fi
|
||||
exit ;;
|
||||
i*86:*:5:[678]*)
|
||||
# UnixWare 7.x, OpenUNIX and OpenServer 6.
|
||||
# UnixWare 7.x, OpenUNIX and OpenServer 6.
|
||||
case `/bin/uname -X | grep "^Machine"` in
|
||||
*486*) UNAME_MACHINE=i486 ;;
|
||||
*Pentium) UNAME_MACHINE=i586 ;;
|
||||
@@ -1110,10 +1070,13 @@ EOF
|
||||
exit ;;
|
||||
pc:*:*:*)
|
||||
# Left here for compatibility:
|
||||
# uname -m prints for DJGPP always 'pc', but it prints nothing about
|
||||
# the processor, so we play safe by assuming i386.
|
||||
echo i386-pc-msdosdjgpp
|
||||
exit ;;
|
||||
# uname -m prints for DJGPP always 'pc', but it prints nothing about
|
||||
# the processor, so we play safe by assuming i586.
|
||||
# Note: whatever this is, it MUST be the same as what config.sub
|
||||
# prints for the "djgpp" host, or else GDB configury will decide that
|
||||
# this is a cross-build.
|
||||
echo i586-pc-msdosdjgpp
|
||||
exit ;;
|
||||
Intel:Mach:3*:*)
|
||||
echo i386-pc-mach3
|
||||
exit ;;
|
||||
@@ -1148,8 +1111,18 @@ EOF
|
||||
/bin/uname -p 2>/dev/null | /bin/grep entium >/dev/null \
|
||||
&& { echo i586-ncr-sysv4.3${OS_REL}; exit; } ;;
|
||||
3[34]??:*:4.0:* | 3[34]??,*:*:4.0:*)
|
||||
/bin/uname -p 2>/dev/null | grep 86 >/dev/null \
|
||||
&& { echo i486-ncr-sysv4; exit; } ;;
|
||||
/bin/uname -p 2>/dev/null | grep 86 >/dev/null \
|
||||
&& { echo i486-ncr-sysv4; exit; } ;;
|
||||
NCR*:*:4.2:* | MPRAS*:*:4.2:*)
|
||||
OS_REL='.3'
|
||||
test -r /etc/.relid \
|
||||
&& OS_REL=.`sed -n 's/[^ ]* [^ ]* \([0-9][0-9]\).*/\1/p' < /etc/.relid`
|
||||
/bin/uname -p 2>/dev/null | grep 86 >/dev/null \
|
||||
&& { echo i486-ncr-sysv4.3${OS_REL}; exit; }
|
||||
/bin/uname -p 2>/dev/null | /bin/grep entium >/dev/null \
|
||||
&& { echo i586-ncr-sysv4.3${OS_REL}; exit; }
|
||||
/bin/uname -p 2>/dev/null | /bin/grep pteron >/dev/null \
|
||||
&& { echo i586-ncr-sysv4.3${OS_REL}; exit; } ;;
|
||||
m68*:LynxOS:2.*:* | m68*:LynxOS:3.0*:*)
|
||||
echo m68k-unknown-lynxos${UNAME_RELEASE}
|
||||
exit ;;
|
||||
@@ -1162,7 +1135,7 @@ EOF
|
||||
rs6000:LynxOS:2.*:*)
|
||||
echo rs6000-unknown-lynxos${UNAME_RELEASE}
|
||||
exit ;;
|
||||
PowerPC:LynxOS:2.*:* | PowerPC:LynxOS:3.[01]*:* | PowerPC:LynxOS:4.0*:*)
|
||||
PowerPC:LynxOS:2.*:* | PowerPC:LynxOS:3.[01]*:* | PowerPC:LynxOS:4.[02]*:*)
|
||||
echo powerpc-unknown-lynxos${UNAME_RELEASE}
|
||||
exit ;;
|
||||
SM[BE]S:UNIX_SV:*:*)
|
||||
@@ -1182,10 +1155,10 @@ EOF
|
||||
echo ns32k-sni-sysv
|
||||
fi
|
||||
exit ;;
|
||||
PENTIUM:*:4.0*:*) # Unisys `ClearPath HMP IX 4000' SVR4/MP effort
|
||||
# says <Richard.M.Bartel@ccMail.Census.GOV>
|
||||
echo i586-unisys-sysv4
|
||||
exit ;;
|
||||
PENTIUM:*:4.0*:*) # Unisys `ClearPath HMP IX 4000' SVR4/MP effort
|
||||
# says <Richard.M.Bartel@ccMail.Census.GOV>
|
||||
echo i586-unisys-sysv4
|
||||
exit ;;
|
||||
*:UNIX_System_V:4*:FTX*)
|
||||
# From Gerald Hewes <hewes@openmarket.com>.
|
||||
# How about differentiating between stratus architectures? -djm
|
||||
@@ -1211,11 +1184,11 @@ EOF
|
||||
exit ;;
|
||||
R[34]000:*System_V*:*:* | R4000:UNIX_SYSV:*:* | R*000:UNIX_SV:*:*)
|
||||
if [ -d /usr/nec ]; then
|
||||
echo mips-nec-sysv${UNAME_RELEASE}
|
||||
echo mips-nec-sysv${UNAME_RELEASE}
|
||||
else
|
||||
echo mips-unknown-sysv${UNAME_RELEASE}
|
||||
echo mips-unknown-sysv${UNAME_RELEASE}
|
||||
fi
|
||||
exit ;;
|
||||
exit ;;
|
||||
BeBox:BeOS:*:*) # BeOS running on hardware made by Be, PPC only.
|
||||
echo powerpc-be-beos
|
||||
exit ;;
|
||||
@@ -1225,6 +1198,9 @@ EOF
|
||||
BePC:BeOS:*:*) # BeOS running on Intel PC compatible.
|
||||
echo i586-pc-beos
|
||||
exit ;;
|
||||
BePC:Haiku:*:*) # Haiku running on Intel PC compatible.
|
||||
echo i586-pc-haiku
|
||||
exit ;;
|
||||
SX-4:SUPER-UX:*:*)
|
||||
echo sx4-nec-superux${UNAME_RELEASE}
|
||||
exit ;;
|
||||
@@ -1252,6 +1228,16 @@ EOF
|
||||
*:Darwin:*:*)
|
||||
UNAME_PROCESSOR=`uname -p` || UNAME_PROCESSOR=unknown
|
||||
case $UNAME_PROCESSOR in
|
||||
i386)
|
||||
eval $set_cc_for_build
|
||||
if [ "$CC_FOR_BUILD" != 'no_compiler_found' ]; then
|
||||
if (echo '#ifdef __LP64__'; echo IS_64BIT_ARCH; echo '#endif') | \
|
||||
(CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) | \
|
||||
grep IS_64BIT_ARCH >/dev/null
|
||||
then
|
||||
UNAME_PROCESSOR="x86_64"
|
||||
fi
|
||||
fi ;;
|
||||
unknown) UNAME_PROCESSOR=powerpc ;;
|
||||
esac
|
||||
echo ${UNAME_PROCESSOR}-apple-darwin${UNAME_RELEASE}
|
||||
@@ -1267,6 +1253,9 @@ EOF
|
||||
*:QNX:*:4*)
|
||||
echo i386-pc-qnx
|
||||
exit ;;
|
||||
NEO-?:NONSTOP_KERNEL:*:*)
|
||||
echo neo-tandem-nsk${UNAME_RELEASE}
|
||||
exit ;;
|
||||
NSE-?:NONSTOP_KERNEL:*:*)
|
||||
echo nse-tandem-nsk${UNAME_RELEASE}
|
||||
exit ;;
|
||||
@@ -1312,13 +1301,13 @@ EOF
|
||||
echo pdp10-unknown-its
|
||||
exit ;;
|
||||
SEI:*:*:SEIUX)
|
||||
echo mips-sei-seiux${UNAME_RELEASE}
|
||||
echo mips-sei-seiux${UNAME_RELEASE}
|
||||
exit ;;
|
||||
*:DragonFly:*:*)
|
||||
echo ${UNAME_MACHINE}-unknown-dragonfly`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`
|
||||
exit ;;
|
||||
*:*VMS:*:*)
|
||||
UNAME_MACHINE=`(uname -p) 2>/dev/null`
|
||||
UNAME_MACHINE=`(uname -p) 2>/dev/null`
|
||||
case "${UNAME_MACHINE}" in
|
||||
A*) echo alpha-dec-vms ; exit ;;
|
||||
I*) echo ia64-dec-vms ; exit ;;
|
||||
@@ -1333,6 +1322,9 @@ EOF
|
||||
i*86:rdos:*:*)
|
||||
echo ${UNAME_MACHINE}-pc-rdos
|
||||
exit ;;
|
||||
i*86:AROS:*:*)
|
||||
echo ${UNAME_MACHINE}-pc-aros
|
||||
exit ;;
|
||||
esac
|
||||
|
||||
#echo '(No uname command or uname output not recognized.)' 1>&2
|
||||
@@ -1355,11 +1347,11 @@ main ()
|
||||
#include <sys/param.h>
|
||||
printf ("m68k-sony-newsos%s\n",
|
||||
#ifdef NEWSOS4
|
||||
"4"
|
||||
"4"
|
||||
#else
|
||||
""
|
||||
""
|
||||
#endif
|
||||
); exit (0);
|
||||
); exit (0);
|
||||
#endif
|
||||
#endif
|
||||
|
||||
@@ -1493,9 +1485,9 @@ This script, last modified $timestamp, has failed to recognize
|
||||
the operating system you are using. It is advised that you
|
||||
download the most up to date version of the config scripts from
|
||||
|
||||
http://savannah.gnu.org/cgi-bin/viewcvs/*checkout*/config/config/config.guess
|
||||
http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess;hb=HEAD
|
||||
and
|
||||
http://savannah.gnu.org/cgi-bin/viewcvs/*checkout*/config/config/config.sub
|
||||
http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub;hb=HEAD
|
||||
|
||||
If the version you run ($0) is already up to date, please
|
||||
send the following data and any information you think might be
|
||||
|
||||
219
package/gnuconfig/config.sub
vendored
219
package/gnuconfig/config.sub
vendored
@@ -1,10 +1,10 @@
|
||||
#! /bin/sh
|
||||
# Configuration validation subroutine script.
|
||||
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
|
||||
# 2000, 2001, 2002, 2003, 2004, 2005, 2006 Free Software Foundation,
|
||||
# Inc.
|
||||
# 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010,
|
||||
# 2011 Free Software Foundation, Inc.
|
||||
|
||||
timestamp='2007-06-28'
|
||||
timestamp='2011-02-24'
|
||||
|
||||
# This file is (in principle) common to ALL GNU software.
|
||||
# The presence of a machine in this file suggests that SOME GNU software
|
||||
@@ -32,13 +32,16 @@ timestamp='2007-06-28'
|
||||
|
||||
|
||||
# Please send patches to <config-patches@gnu.org>. Submit a context
|
||||
# diff and a properly formatted ChangeLog entry.
|
||||
# diff and a properly formatted GNU ChangeLog entry.
|
||||
#
|
||||
# Configuration subroutine to validate and canonicalize a configuration type.
|
||||
# Supply the specified configuration type as an argument.
|
||||
# If it is invalid, we print an error message on stderr and exit with code 1.
|
||||
# Otherwise, we print the canonical config type on stdout and succeed.
|
||||
|
||||
# You can get the latest version of this script from:
|
||||
# http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub;hb=HEAD
|
||||
|
||||
# This file is supposed to be the same for all GNU packages
|
||||
# and recognize all the CPU types, system types and aliases
|
||||
# that are meaningful with *any* GNU software.
|
||||
@@ -72,8 +75,9 @@ Report bugs and patches to <config-patches@gnu.org>."
|
||||
version="\
|
||||
GNU config.sub ($timestamp)
|
||||
|
||||
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005
|
||||
Free Software Foundation, Inc.
|
||||
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000,
|
||||
2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free
|
||||
Software Foundation, Inc.
|
||||
|
||||
This is free software; see the source for copying conditions. There is NO
|
||||
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
|
||||
@@ -120,9 +124,10 @@ esac
|
||||
# Here we must recognize all the valid KERNEL-OS combinations.
|
||||
maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'`
|
||||
case $maybe_os in
|
||||
nto-qnx* | linux-gnu* | linux-dietlibc | linux-newlib* | linux-uclibc* | \
|
||||
gnu*-uclibc* | \
|
||||
uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | knetbsd*-gnu* | netbsd*-gnu* | \
|
||||
nto-qnx* | linux-gnu* | linux-android* | linux-dietlibc | linux-newlib* | \
|
||||
linux-uclibc* | uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | \
|
||||
knetbsd*-gnu* | netbsd*-gnu* | \
|
||||
kopensolaris*-gnu* | \
|
||||
storm-chaos* | os2-emx* | rtmk-nova*)
|
||||
os=-$maybe_os
|
||||
basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`
|
||||
@@ -149,10 +154,13 @@ case $os in
|
||||
-convergent* | -ncr* | -news | -32* | -3600* | -3100* | -hitachi* |\
|
||||
-c[123]* | -convex* | -sun | -crds | -omron* | -dg | -ultra | -tti* | \
|
||||
-harris | -dolphin | -highlevel | -gould | -cbm | -ns | -masscomp | \
|
||||
-apple | -axis | -knuth | -cray)
|
||||
-apple | -axis | -knuth | -cray | -microblaze)
|
||||
os=
|
||||
basic_machine=$1
|
||||
;;
|
||||
-bluegene*)
|
||||
os=-cnk
|
||||
;;
|
||||
-sim | -cisco | -oki | -wec | -winbond)
|
||||
os=
|
||||
basic_machine=$1
|
||||
@@ -167,10 +175,10 @@ case $os in
|
||||
os=-chorusos
|
||||
basic_machine=$1
|
||||
;;
|
||||
-chorusrdb)
|
||||
os=-chorusrdb
|
||||
-chorusrdb)
|
||||
os=-chorusrdb
|
||||
basic_machine=$1
|
||||
;;
|
||||
;;
|
||||
-hiux*)
|
||||
os=-hiuxwe2
|
||||
;;
|
||||
@@ -250,13 +258,16 @@ case $basic_machine in
|
||||
| h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \
|
||||
| i370 | i860 | i960 | ia64 \
|
||||
| ip2k | iq2000 \
|
||||
| lm32 \
|
||||
| m32c | m32r | m32rle | m68000 | m68k | m88k \
|
||||
| maxq | mb | microblaze | mcore | mep \
|
||||
| maxq | mb | microblaze | mcore | mep | metag \
|
||||
| mips | mipsbe | mipseb | mipsel | mipsle \
|
||||
| mips16 \
|
||||
| mips64 | mips64el \
|
||||
| mips64vr | mips64vrel \
|
||||
| mips64octeon | mips64octeonel \
|
||||
| mips64orion | mips64orionel \
|
||||
| mips64r5900 | mips64r5900el \
|
||||
| mips64vr | mips64vrel \
|
||||
| mips64vr4100 | mips64vr4100el \
|
||||
| mips64vr4300 | mips64vr4300el \
|
||||
| mips64vr5000 | mips64vr5000el \
|
||||
@@ -269,28 +280,41 @@ case $basic_machine in
|
||||
| mipsisa64sr71k | mipsisa64sr71kel \
|
||||
| mipstx39 | mipstx39el \
|
||||
| mn10200 | mn10300 \
|
||||
| moxie \
|
||||
| mt \
|
||||
| msp430 \
|
||||
| nds32 | nds32le | nds32be \
|
||||
| nios | nios2 \
|
||||
| ns16k | ns32k \
|
||||
| or32 \
|
||||
| pdp10 | pdp11 | pj | pjl \
|
||||
| powerpc | powerpc64 | powerpc64le | powerpcle | ppcbe \
|
||||
| pyramid \
|
||||
| rx \
|
||||
| score \
|
||||
| sh | sh[1234] | sh[24]a | sh[24]a*eb | sh[23]e | sh[34]eb | sheb | shbe | shle | sh[1234]le | sh3ele \
|
||||
| sh | sh[1234] | sh[24]a | sh[24]aeb | sh[23]e | sh[34]eb | sheb | shbe | shle | sh[1234]le | sh3ele \
|
||||
| sh64 | sh64le \
|
||||
| sparc | sparc64 | sparc64b | sparc64v | sparc86x | sparclet | sparclite \
|
||||
| sparcv8 | sparcv9 | sparcv9b | sparcv9v \
|
||||
| spu | strongarm \
|
||||
| tahoe | thumb | tic4x | tic80 | tron \
|
||||
| tahoe | thumb | tic4x | tic54x | tic55x | tic6x | tic80 | tron \
|
||||
| ubicom32 \
|
||||
| v850 | v850e \
|
||||
| we32k \
|
||||
| x86 | xc16x | xscale | xscalee[bl] | xstormy16 | xtensa \
|
||||
| z8k)
|
||||
| z8k | z80)
|
||||
basic_machine=$basic_machine-unknown
|
||||
;;
|
||||
m6811 | m68hc11 | m6812 | m68hc12)
|
||||
c54x)
|
||||
basic_machine=tic54x-unknown
|
||||
;;
|
||||
c55x)
|
||||
basic_machine=tic55x-unknown
|
||||
;;
|
||||
c6x)
|
||||
basic_machine=tic6x-unknown
|
||||
;;
|
||||
m6811 | m68hc11 | m6812 | m68hc12 | picochip)
|
||||
# Motorola 68HC11/12.
|
||||
basic_machine=$basic_machine-unknown
|
||||
os=-none
|
||||
@@ -321,7 +345,7 @@ case $basic_machine in
|
||||
| arm-* | armbe-* | armle-* | armeb-* | armv*-* \
|
||||
| avr-* | avr32-* \
|
||||
| bfin-* | bs2000-* \
|
||||
| c[123]* | c30-* | [cjt]90-* | c4x-* | c54x-* | c55x-* | c6x-* \
|
||||
| c[123]* | c30-* | [cjt]90-* | c4x-* \
|
||||
| clipper-* | craynv-* | cydra-* \
|
||||
| d10v-* | d30v-* | dlx-* \
|
||||
| elxsi-* \
|
||||
@@ -330,14 +354,17 @@ case $basic_machine in
|
||||
| hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \
|
||||
| i*86-* | i860-* | i960-* | ia64-* \
|
||||
| ip2k-* | iq2000-* \
|
||||
| lm32-* \
|
||||
| m32c-* | m32r-* | m32rle-* \
|
||||
| m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \
|
||||
| m88110-* | m88k-* | maxq-* | mcore-* \
|
||||
| m88110-* | m88k-* | maxq-* | mcore-* | metag-* | microblaze-* \
|
||||
| mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \
|
||||
| mips16-* \
|
||||
| mips64-* | mips64el-* \
|
||||
| mips64vr-* | mips64vrel-* \
|
||||
| mips64octeon-* | mips64octeonel-* \
|
||||
| mips64orion-* | mips64orionel-* \
|
||||
| mips64r5900-* | mips64r5900el-* \
|
||||
| mips64vr-* | mips64vrel-* \
|
||||
| mips64vr4100-* | mips64vr4100el-* \
|
||||
| mips64vr4300-* | mips64vr4300el-* \
|
||||
| mips64vr5000-* | mips64vr5000el-* \
|
||||
@@ -352,27 +379,30 @@ case $basic_machine in
|
||||
| mmix-* \
|
||||
| mt-* \
|
||||
| msp430-* \
|
||||
| nds32-* | nds32le-* | nds32be-* \
|
||||
| nios-* | nios2-* \
|
||||
| none-* | np1-* | ns16k-* | ns32k-* \
|
||||
| orion-* \
|
||||
| pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \
|
||||
| powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* | ppcbe-* \
|
||||
| pyramid-* \
|
||||
| romp-* | rs6000-* \
|
||||
| sh-* | sh[1234]-* | sh[24]a-* | sh[24]a*eb-* | sh[23]e-* | sh[34]eb-* | sheb-* | shbe-* \
|
||||
| romp-* | rs6000-* | rx-* \
|
||||
| sh-* | sh[1234]-* | sh[24]a-* | sh[24]aeb-* | sh[23]e-* | sh[34]eb-* | sheb-* | shbe-* \
|
||||
| shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \
|
||||
| sparc-* | sparc64-* | sparc64b-* | sparc64v-* | sparc86x-* | sparclet-* \
|
||||
| sparclite-* \
|
||||
| sparcv8-* | sparcv9-* | sparcv9b-* | sparcv9v-* | strongarm-* | sv1-* | sx?-* \
|
||||
| tahoe-* | thumb-* \
|
||||
| tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* \
|
||||
| tile-* | tilegx-* \
|
||||
| tron-* \
|
||||
| ubicom32-* \
|
||||
| v850-* | v850e-* | vax-* \
|
||||
| we32k-* \
|
||||
| x86-* | x86_64-* | xc16x-* | xps100-* | xscale-* | xscalee[bl]-* \
|
||||
| xstormy16-* | xtensa*-* \
|
||||
| ymp-* \
|
||||
| z8k-*)
|
||||
| z8k-* | z80-*)
|
||||
;;
|
||||
# Recognize the basic CPU types without company name, with glob match.
|
||||
xtensa*)
|
||||
@@ -394,7 +424,7 @@ case $basic_machine in
|
||||
basic_machine=a29k-amd
|
||||
os=-udi
|
||||
;;
|
||||
abacus)
|
||||
abacus)
|
||||
basic_machine=abacus-unknown
|
||||
;;
|
||||
adobe68k)
|
||||
@@ -440,6 +470,10 @@ case $basic_machine in
|
||||
basic_machine=m68k-apollo
|
||||
os=-bsd
|
||||
;;
|
||||
aros)
|
||||
basic_machine=i386-pc
|
||||
os=-aros
|
||||
;;
|
||||
aux)
|
||||
basic_machine=m68k-apple
|
||||
os=-aux
|
||||
@@ -448,10 +482,35 @@ case $basic_machine in
|
||||
basic_machine=ns32k-sequent
|
||||
os=-dynix
|
||||
;;
|
||||
blackfin)
|
||||
basic_machine=bfin-unknown
|
||||
os=-linux
|
||||
;;
|
||||
blackfin-*)
|
||||
basic_machine=bfin-`echo $basic_machine | sed 's/^[^-]*-//'`
|
||||
os=-linux
|
||||
;;
|
||||
bluegene*)
|
||||
basic_machine=powerpc-ibm
|
||||
os=-cnk
|
||||
;;
|
||||
c54x-*)
|
||||
basic_machine=tic54x-`echo $basic_machine | sed 's/^[^-]*-//'`
|
||||
;;
|
||||
c55x-*)
|
||||
basic_machine=tic55x-`echo $basic_machine | sed 's/^[^-]*-//'`
|
||||
;;
|
||||
c6x-*)
|
||||
basic_machine=tic6x-`echo $basic_machine | sed 's/^[^-]*-//'`
|
||||
;;
|
||||
c90)
|
||||
basic_machine=c90-cray
|
||||
os=-unicos
|
||||
;;
|
||||
cegcc)
|
||||
basic_machine=arm-unknown
|
||||
os=-cegcc
|
||||
;;
|
||||
convex-c1)
|
||||
basic_machine=c1-convex
|
||||
os=-bsd
|
||||
@@ -480,7 +539,7 @@ case $basic_machine in
|
||||
basic_machine=craynv-cray
|
||||
os=-unicosmp
|
||||
;;
|
||||
cr16)
|
||||
cr16 | cr16-*)
|
||||
basic_machine=cr16-unknown
|
||||
os=-elf
|
||||
;;
|
||||
@@ -519,6 +578,10 @@ case $basic_machine in
|
||||
basic_machine=m88k-motorola
|
||||
os=-sysv3
|
||||
;;
|
||||
dicos)
|
||||
basic_machine=i686-pc
|
||||
os=-dicos
|
||||
;;
|
||||
djgpp)
|
||||
basic_machine=i586-pc
|
||||
os=-msdosdjgpp
|
||||
@@ -673,6 +736,14 @@ case $basic_machine in
|
||||
basic_machine=m68k-isi
|
||||
os=-sysv
|
||||
;;
|
||||
m68knommu)
|
||||
basic_machine=m68k-unknown
|
||||
os=-linux
|
||||
;;
|
||||
m68knommu-*)
|
||||
basic_machine=m68k-`echo $basic_machine | sed 's/^[^-]*-//'`
|
||||
os=-linux
|
||||
;;
|
||||
m88k-omron*)
|
||||
basic_machine=m88k-omron
|
||||
;;
|
||||
@@ -684,6 +755,9 @@ case $basic_machine in
|
||||
basic_machine=ns32k-utek
|
||||
os=-sysv
|
||||
;;
|
||||
microblaze)
|
||||
basic_machine=microblaze-xilinx
|
||||
;;
|
||||
mingw32)
|
||||
basic_machine=i386-pc
|
||||
os=-mingw32
|
||||
@@ -806,6 +880,12 @@ case $basic_machine in
|
||||
np1)
|
||||
basic_machine=np1-gould
|
||||
;;
|
||||
neo-tandem)
|
||||
basic_machine=neo-tandem
|
||||
;;
|
||||
nse-tandem)
|
||||
basic_machine=nse-tandem
|
||||
;;
|
||||
nsr-tandem)
|
||||
basic_machine=nsr-tandem
|
||||
;;
|
||||
@@ -836,6 +916,14 @@ case $basic_machine in
|
||||
basic_machine=i860-intel
|
||||
os=-osf
|
||||
;;
|
||||
parisc)
|
||||
basic_machine=hppa-unknown
|
||||
os=-linux
|
||||
;;
|
||||
parisc-*)
|
||||
basic_machine=hppa-`echo $basic_machine | sed 's/^[^-]*-//'`
|
||||
os=-linux
|
||||
;;
|
||||
pbd)
|
||||
basic_machine=sparc-tti
|
||||
;;
|
||||
@@ -1032,17 +1120,14 @@ case $basic_machine in
|
||||
basic_machine=t90-cray
|
||||
os=-unicos
|
||||
;;
|
||||
tic54x | c54x*)
|
||||
basic_machine=tic54x-unknown
|
||||
os=-coff
|
||||
# This must be matched before tile*.
|
||||
tilegx*)
|
||||
basic_machine=tilegx-unknown
|
||||
os=-linux-gnu
|
||||
;;
|
||||
tic55x | c55x*)
|
||||
basic_machine=tic55x-unknown
|
||||
os=-coff
|
||||
;;
|
||||
tic6x | c6x*)
|
||||
basic_machine=tic6x-unknown
|
||||
os=-coff
|
||||
tile*)
|
||||
basic_machine=tile-unknown
|
||||
os=-linux-gnu
|
||||
;;
|
||||
tx39)
|
||||
basic_machine=mipstx39-unknown
|
||||
@@ -1119,6 +1204,10 @@ case $basic_machine in
|
||||
basic_machine=z8k-unknown
|
||||
os=-sim
|
||||
;;
|
||||
z80-*-coff)
|
||||
basic_machine=z80-unknown
|
||||
os=-sim
|
||||
;;
|
||||
none)
|
||||
basic_machine=none-none
|
||||
os=-none
|
||||
@@ -1157,7 +1246,7 @@ case $basic_machine in
|
||||
we32k)
|
||||
basic_machine=we32k-att
|
||||
;;
|
||||
sh[1234] | sh[24]a | sh[34]eb | sh[1234]le | sh[23]ele)
|
||||
sh[1234] | sh[24]a | sh[24]aeb | sh[34]eb | sh[1234]le | sh[23]ele)
|
||||
basic_machine=sh-unknown
|
||||
;;
|
||||
sparc | sparcv8 | sparcv9 | sparcv9b | sparcv9v)
|
||||
@@ -1204,9 +1293,12 @@ esac
|
||||
if [ x"$os" != x"" ]
|
||||
then
|
||||
case $os in
|
||||
# First match some system type aliases
|
||||
# that might get confused with valid system types.
|
||||
# First match some system type aliases
|
||||
# that might get confused with valid system types.
|
||||
# -solaris* is a basic system type, with this one exception.
|
||||
-auroraux)
|
||||
os=-auroraux
|
||||
;;
|
||||
-solaris1 | -solaris1.*)
|
||||
os=`echo $os | sed -e 's|solaris1|sunos4|'`
|
||||
;;
|
||||
@@ -1227,10 +1319,11 @@ case $os in
|
||||
# Each alternative MUST END IN A *, to match a version number.
|
||||
# -sysv* is not here because it comes later, after sysvr4.
|
||||
-gnu* | -bsd* | -mach* | -minix* | -genix* | -ultrix* | -irix* \
|
||||
| -*vms* | -sco* | -esix* | -isc* | -aix* | -sunos | -sunos[34]*\
|
||||
| -hpux* | -unos* | -osf* | -luna* | -dgux* | -solaris* | -sym* \
|
||||
| -*vms* | -sco* | -esix* | -isc* | -aix* | -cnk* | -sunos | -sunos[34]*\
|
||||
| -hpux* | -unos* | -osf* | -luna* | -dgux* | -auroraux* | -solaris* \
|
||||
| -sym* | -kopensolaris* \
|
||||
| -amigaos* | -amigados* | -msdos* | -newsos* | -unicos* | -aof* \
|
||||
| -aos* \
|
||||
| -aos* | -aros* \
|
||||
| -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \
|
||||
| -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \
|
||||
| -hiux* | -386bsd* | -knetbsd* | -mirbsd* | -netbsd* \
|
||||
@@ -1239,10 +1332,10 @@ case $os in
|
||||
| -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \
|
||||
| -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \
|
||||
| -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \
|
||||
| -chorusos* | -chorusrdb* \
|
||||
| -chorusos* | -chorusrdb* | -cegcc* \
|
||||
| -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* \
|
||||
| -mingw32* | -linux-gnu* | -linux-newlib* | -linux-uclibc* \
|
||||
| -gnu*-uclibc* \
|
||||
| -mingw32* | -linux-gnu* | -linux-android* \
|
||||
| -linux-newlib* | -linux-uclibc* \
|
||||
| -uxpv* | -beos* | -mpeix* | -udk* \
|
||||
| -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \
|
||||
| -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \
|
||||
@@ -1250,7 +1343,7 @@ case $os in
|
||||
| -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \
|
||||
| -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \
|
||||
| -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \
|
||||
| -skyos* | -haiku* | -rdos* | -toppers* | -drops* | -irx*)
|
||||
| -skyos* | -haiku* | -rdos* | -toppers* | -drops* | -es* | -irx*)
|
||||
# Remember, each alternative MUST END IN *, to match a version number.
|
||||
;;
|
||||
-qnx*)
|
||||
@@ -1289,7 +1382,7 @@ case $os in
|
||||
-opened*)
|
||||
os=-openedition
|
||||
;;
|
||||
-os400*)
|
||||
-os400*)
|
||||
os=-os400
|
||||
;;
|
||||
-wince*)
|
||||
@@ -1338,7 +1431,7 @@ case $os in
|
||||
-sinix*)
|
||||
os=-sysv4
|
||||
;;
|
||||
-tpf*)
|
||||
-tpf*)
|
||||
os=-tpf
|
||||
;;
|
||||
-triton*)
|
||||
@@ -1380,6 +1473,11 @@ case $os in
|
||||
-zvmoe)
|
||||
os=-zvmoe
|
||||
;;
|
||||
-dicos*)
|
||||
os=-dicos
|
||||
;;
|
||||
-nacl*)
|
||||
;;
|
||||
-none)
|
||||
;;
|
||||
*)
|
||||
@@ -1402,10 +1500,10 @@ else
|
||||
# system, and we'll never get to this point.
|
||||
|
||||
case $basic_machine in
|
||||
score-*)
|
||||
score-*)
|
||||
os=-elf
|
||||
;;
|
||||
spu-*)
|
||||
spu-*)
|
||||
os=-elf
|
||||
;;
|
||||
*-acorn)
|
||||
@@ -1417,8 +1515,17 @@ case $basic_machine in
|
||||
arm*-semi)
|
||||
os=-aout
|
||||
;;
|
||||
c4x-* | tic4x-*)
|
||||
os=-coff
|
||||
c4x-* | tic4x-*)
|
||||
os=-coff
|
||||
;;
|
||||
tic54x-*)
|
||||
os=-coff
|
||||
;;
|
||||
tic55x-*)
|
||||
os=-coff
|
||||
;;
|
||||
tic6x-*)
|
||||
os=-coff
|
||||
;;
|
||||
# This must come before the *-dec entry.
|
||||
pdp10-*)
|
||||
@@ -1445,7 +1552,7 @@ case $basic_machine in
|
||||
m68*-cisco)
|
||||
os=-aout
|
||||
;;
|
||||
mep-*)
|
||||
mep-*)
|
||||
os=-elf
|
||||
;;
|
||||
mips*-cisco)
|
||||
@@ -1472,7 +1579,7 @@ case $basic_machine in
|
||||
*-ibm)
|
||||
os=-aix
|
||||
;;
|
||||
*-knuth)
|
||||
*-knuth)
|
||||
os=-mmixware
|
||||
;;
|
||||
*-wec)
|
||||
@@ -1577,7 +1684,7 @@ case $basic_machine in
|
||||
-sunos*)
|
||||
vendor=sun
|
||||
;;
|
||||
-aix*)
|
||||
-cnk*|-aix*)
|
||||
vendor=ibm
|
||||
;;
|
||||
-beos*)
|
||||
|
||||
@@ -1,11 +1,6 @@
|
||||
Index: config.guess
|
||||
===================================================================
|
||||
RCS file: /cvsroot/config/config/config.guess,v
|
||||
retrieving revision 1.366
|
||||
diff -u -r1.366 config.guess
|
||||
--- config.guess 17 May 2007 06:28:53 -0000 1.366
|
||||
+++ config.guess 9 Jul 2007 17:32:18 -0000
|
||||
@@ -139,6 +139,23 @@
|
||||
--- config.guess
|
||||
+++ config.guess
|
||||
@@ -140,6 +141,23 @@ UNAME_RELEASE=`(uname -r) 2>/dev/null` || UNAME_RELEASE=unknown
|
||||
UNAME_SYSTEM=`(uname -s) 2>/dev/null` || UNAME_SYSTEM=unknown
|
||||
UNAME_VERSION=`(uname -v) 2>/dev/null` || UNAME_VERSION=unknown
|
||||
|
||||
@@ -29,12 +24,25 @@ diff -u -r1.366 config.guess
|
||||
# Note: order is significant - the case branches are not exclusive.
|
||||
|
||||
case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
|
||||
@@ -833,28 +850,28 @@
|
||||
echo ${UNAME_MACHINE}-pc-minix
|
||||
@@ -872,33 +890,32 @@ EOF
|
||||
EV68*) UNAME_MACHINE=alphaev68 ;;
|
||||
esac
|
||||
objdump --private-headers /bin/sh | grep -q ld.so.1
|
||||
- if test "$?" = 0 ; then LIBC="libc1" ; else LIBC="" ; fi
|
||||
- echo ${UNAME_MACHINE}-unknown-linux-gnu${LIBC}
|
||||
+ if test "$?" = 0 ; then LIBC="gnulibc1" ; fi
|
||||
+ echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
|
||||
exit ;;
|
||||
arm*:Linux:*:*)
|
||||
- echo ${UNAME_MACHINE}-unknown-linux-gnu
|
||||
+ echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
|
||||
eval $set_cc_for_build
|
||||
if echo __ARM_EABI__ | $CC_FOR_BUILD -E - 2>/dev/null \
|
||||
| grep -q __ARM_EABI__
|
||||
then
|
||||
- echo ${UNAME_MACHINE}-unknown-linux-gnu
|
||||
+ echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
|
||||
else
|
||||
echo ${UNAME_MACHINE}-unknown-linux-gnueabi
|
||||
fi
|
||||
exit ;;
|
||||
avr32*:Linux:*:*)
|
||||
- echo ${UNAME_MACHINE}-unknown-linux-gnu
|
||||
@@ -49,8 +57,16 @@ diff -u -r1.366 config.guess
|
||||
+ echo crisv32-axis-linux-${LIBC}
|
||||
exit ;;
|
||||
frv:Linux:*:*)
|
||||
- echo frv-unknown-linux-gnu
|
||||
+ echo frv-unknown-linux-${LIBC}
|
||||
- echo frv-unknown-linux-gnu
|
||||
+ echo frv-unknown-linux-${LIBC}
|
||||
exit ;;
|
||||
i*86:Linux:*:*)
|
||||
- LIBC=gnu
|
||||
eval $set_cc_for_build
|
||||
sed 's/^ //' << EOF >$dummy.c
|
||||
#ifdef __dietlibc__
|
||||
@@ -909,13 +926,13 @@ EOF
|
||||
echo "${UNAME_MACHINE}-pc-linux-${LIBC}"
|
||||
exit ;;
|
||||
ia64:Linux:*:*)
|
||||
- echo ${UNAME_MACHINE}-unknown-linux-gnu
|
||||
@@ -64,21 +80,12 @@ diff -u -r1.366 config.guess
|
||||
- echo ${UNAME_MACHINE}-unknown-linux-gnu
|
||||
+ echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
|
||||
exit ;;
|
||||
mips:Linux:*:*)
|
||||
mips:Linux:*:* | mips64:Linux:*:*)
|
||||
eval $set_cc_for_build
|
||||
@@ -877,7 +894,7 @@
|
||||
s: ::g
|
||||
p
|
||||
}'`"
|
||||
- test x"${CPU}" != x && { echo "${CPU}-unknown-linux-gnu"; exit; }
|
||||
+ test x"${CPU}" != x && { echo "${CPU}-unknown-linux-${LIBC}"; exit; }
|
||||
;;
|
||||
mips64:Linux:*:*)
|
||||
eval $set_cc_for_build
|
||||
@@ -900,16 +917,16 @@
|
||||
s: ::g
|
||||
p
|
||||
}'`"
|
||||
@@ -934,10 +951,10 @@ EOF
|
||||
#endif
|
||||
EOF
|
||||
eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep '^CPU'`
|
||||
- test x"${CPU}" != x && { echo "${CPU}-unknown-linux-gnu"; exit; }
|
||||
+ test x"${CPU}" != x && { echo "${CPU}-unknown-linux-${LIBC}"; exit; }
|
||||
;;
|
||||
@@ -86,25 +93,9 @@ diff -u -r1.366 config.guess
|
||||
- echo or32-unknown-linux-gnu
|
||||
+ echo or32-unknown-linux-${LIBC}
|
||||
exit ;;
|
||||
ppc:Linux:*:*)
|
||||
- echo powerpc-unknown-linux-gnu
|
||||
+ echo powerpc-unknown-linux-${LIBC}
|
||||
exit ;;
|
||||
ppc64:Linux:*:*)
|
||||
- echo powerpc64-unknown-linux-gnu
|
||||
+ echo powerpc64-unknown-linux-${LIBC}
|
||||
exit ;;
|
||||
alpha:Linux:*:*)
|
||||
case `sed -n '/^cpu model/s/^.*: \(.*\)/\1/p' < /proc/cpuinfo` in
|
||||
@@ -922,40 +939,40 @@
|
||||
EV68*) UNAME_MACHINE=alphaev68 ;;
|
||||
esac
|
||||
objdump --private-headers /bin/sh | grep ld.so.1 >/dev/null
|
||||
- if test "$?" = 0 ; then LIBC="libc1" ; else LIBC="" ; fi
|
||||
- echo ${UNAME_MACHINE}-unknown-linux-gnu${LIBC}
|
||||
+ if test "$?" = 0 ; then LIBC="gnulibc1" ; fi
|
||||
+ echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
|
||||
exit ;;
|
||||
padre:Linux:*:*)
|
||||
echo sparc-unknown-linux-gnu
|
||||
@@ -948,40 +965,40 @@ EOF
|
||||
parisc:Linux:*:* | hppa:Linux:*:*)
|
||||
# Look for CPU level
|
||||
case `grep '^cpu[^a-z]*:' /proc/cpuinfo 2>/dev/null | cut -d' ' -f2` in
|
||||
@@ -116,15 +107,19 @@ diff -u -r1.366 config.guess
|
||||
+ *) echo hppa-unknown-linux-${LIBC} ;;
|
||||
esac
|
||||
exit ;;
|
||||
parisc64:Linux:*:* | hppa64:Linux:*:*)
|
||||
- echo hppa64-unknown-linux-gnu
|
||||
+ echo hppa64-unknown-linux-${LIBC}
|
||||
ppc64:Linux:*:*)
|
||||
- echo powerpc64-unknown-linux-gnu
|
||||
+ echo powerpc64-unknown-linux-${LIBC}
|
||||
exit ;;
|
||||
ppc:Linux:*:*)
|
||||
- echo powerpc-unknown-linux-gnu
|
||||
+ echo powerpc-unknown-linux-${LIBC}
|
||||
exit ;;
|
||||
s390:Linux:*:* | s390x:Linux:*:*)
|
||||
echo ${UNAME_MACHINE}-ibm-linux
|
||||
exit ;;
|
||||
sh64*:Linux:*:*)
|
||||
- echo ${UNAME_MACHINE}-unknown-linux-gnu
|
||||
- echo ${UNAME_MACHINE}-unknown-linux-gnu
|
||||
+ echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
|
||||
exit ;;
|
||||
sh*:Linux:*:*)
|
||||
@@ -135,6 +130,9 @@ diff -u -r1.366 config.guess
|
||||
- echo ${UNAME_MACHINE}-unknown-linux-gnu
|
||||
+ echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
|
||||
exit ;;
|
||||
tile*:Linux:*:*)
|
||||
echo ${UNAME_MACHINE}-tilera-linux-gnu
|
||||
exit ;;
|
||||
vax:Linux:*:*)
|
||||
- echo ${UNAME_MACHINE}-dec-linux-gnu
|
||||
+ echo ${UNAME_MACHINE}-dec-linux-${LIBC}
|
||||
@@ -143,36 +141,9 @@ diff -u -r1.366 config.guess
|
||||
- echo x86_64-unknown-linux-gnu
|
||||
+ echo x86_64-unknown-linux-${LIBC}
|
||||
exit ;;
|
||||
xtensa:Linux:*:*)
|
||||
- echo xtensa-unknown-linux-gnu
|
||||
+ echo xtensa-unknown-linux-${LIBC}
|
||||
xtensa*:Linux:*:*)
|
||||
- echo ${UNAME_MACHINE}-unknown-linux-gnu
|
||||
+ echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
|
||||
exit ;;
|
||||
i*86:Linux:*:*)
|
||||
# The BFD linker knows what the default object file format is, so
|
||||
@@ -970,20 +987,22 @@
|
||||
p'`
|
||||
case "$ld_supported_targets" in
|
||||
elf32-i386)
|
||||
- TENTATIVE="${UNAME_MACHINE}-pc-linux-gnu"
|
||||
+ TENTATIVE="${UNAME_MACHINE}-pc-linux-${LIBC}"
|
||||
;;
|
||||
a.out-i386-linux)
|
||||
- echo "${UNAME_MACHINE}-pc-linux-gnuaout"
|
||||
+ echo "${UNAME_MACHINE}-pc-linux-${LIBC}aout"
|
||||
exit ;;
|
||||
coff-i386)
|
||||
- echo "${UNAME_MACHINE}-pc-linux-gnucoff"
|
||||
+ echo "${UNAME_MACHINE}-pc-linux-${LIBC}coff"
|
||||
exit ;;
|
||||
"")
|
||||
# Either a pre-BFD a.out linker (linux-gnuoldld) or
|
||||
# one that does not give us useful --help.
|
||||
- echo "${UNAME_MACHINE}-pc-linux-gnuoldld"
|
||||
+ echo "${UNAME_MACHINE}-pc-linux-${LIBC}oldld"
|
||||
exit ;;
|
||||
esac
|
||||
+ # This should get integrated into the C code below, but now we hack
|
||||
+ if [ "$LIBC" != "gnu" ] ; then echo "$TENTATIVE" && exit 0 ; fi
|
||||
# Determine whether the default compiler is a.out or elf
|
||||
eval $set_cc_for_build
|
||||
sed 's/^ //' << EOF >$dummy.c
|
||||
i*86:DYNIX/ptx:4*:*)
|
||||
# ptx 4.0 does uname -s correctly, with DYNIX/ptx in there.
|
||||
|
||||
@@ -1,20 +0,0 @@
|
||||
Index: config.sub
|
||||
===================================================================
|
||||
--- config.sub (revision 20153)
|
||||
+++ config.sub (working copy)
|
||||
@@ -121,6 +121,7 @@
|
||||
maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'`
|
||||
case $maybe_os in
|
||||
nto-qnx* | linux-gnu* | linux-dietlibc | linux-newlib* | linux-uclibc* | \
|
||||
+ gnu*-uclibc* | \
|
||||
uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | knetbsd*-gnu* | netbsd*-gnu* | \
|
||||
storm-chaos* | os2-emx* | rtmk-nova*)
|
||||
os=-$maybe_os
|
||||
@@ -1237,6 +1238,7 @@
|
||||
| -chorusos* | -chorusrdb* \
|
||||
| -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* \
|
||||
| -mingw32* | -linux-gnu* | -linux-newlib* | -linux-uclibc* \
|
||||
+ | -gnu*-uclibc* \
|
||||
| -uxpv* | -beos* | -mpeix* | -udk* \
|
||||
| -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \
|
||||
| -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \
|
||||
@@ -1,11 +1,6 @@
|
||||
Index: config.sub
|
||||
===================================================================
|
||||
RCS file: /cvsroot/config/config/config.sub,v
|
||||
retrieving revision 1.356
|
||||
diff -u -r1.356 config.sub
|
||||
--- config.sub 28 Jun 2007 06:56:43 -0000 1.356
|
||||
+++ config.sub 9 Jul 2007 17:43:32 -0000
|
||||
@@ -244,7 +244,7 @@
|
||||
--- config.sub
|
||||
+++ config.sub
|
||||
@@ -253,7 +253,7 @@ case $basic_machine in
|
||||
| arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr | avr32 \
|
||||
| bfin \
|
||||
| c4x | clipper \
|
||||
@@ -14,7 +9,7 @@ diff -u -r1.356 config.sub
|
||||
| fido | fr30 | frv \
|
||||
| h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \
|
||||
| i370 | i860 | i960 | ia64 \
|
||||
@@ -694,6 +694,24 @@
|
||||
@@ -773,6 +773,24 @@ case $basic_machine in
|
||||
basic_machine=m68k-atari
|
||||
os=-mint
|
||||
;;
|
||||
@@ -39,12 +34,12 @@ diff -u -r1.356 config.sub
|
||||
mips3*-*)
|
||||
basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'`
|
||||
;;
|
||||
@@ -1226,7 +1244,7 @@
|
||||
@@ -1325,7 +1343,7 @@ case $os in
|
||||
| -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \
|
||||
| -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \
|
||||
| -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \
|
||||
- | -skyos* | -haiku* | -rdos* | -toppers* | -drops*)
|
||||
+ | -skyos* | -haiku* | -rdos* | -toppers* | -drops* | -irx*)
|
||||
- | -skyos* | -haiku* | -rdos* | -toppers* | -drops* | -es*)
|
||||
+ | -skyos* | -haiku* | -rdos* | -toppers* | -drops* | -es* | -irx*)
|
||||
# Remember, each alternative MUST END IN *, to match a version number.
|
||||
;;
|
||||
-qnx*)
|
||||
|
||||
@@ -1,39 +0,0 @@
|
||||
gnuconfig seems intent on only supporting superfluous targets that don't
|
||||
represent any real hardware (such as sh2a LE). GCC in its infinite wisdom is
|
||||
also incapable of supporting tuning for other variants in a sensible fashion.
|
||||
|
||||
As such, we still need to be able to support such useful targets as
|
||||
sh2a_nofpueb in order to not only get the byte order right, but also to
|
||||
support -m2a-nofpu tuning from the kernel (though we tend to do this through
|
||||
-Wa,-isa= instead, as the binutils people do a much better job of not screwing
|
||||
up their config code every other day. Way to go config.gcc..).
|
||||
|
||||
The fact that the sh variant matching is the ugliest out of any of the other
|
||||
architectures doesn't seem to deter GCC folk from their well thought out and
|
||||
brilliantly managed config target list.
|
||||
|
||||
Index: config.sub
|
||||
===================================================================
|
||||
RCS file: /cvsroot/config/config/config.sub,v
|
||||
retrieving revision 1.356
|
||||
diff -u -r1.356 config.sub
|
||||
--- config.sub 28 Jun 2007 06:56:43 -0000 1.356
|
||||
+++ config.sub 9 Jul 2007 17:38:48 -0000
|
||||
@@ -277,7 +277,7 @@
|
||||
| powerpc | powerpc64 | powerpc64le | powerpcle | ppcbe \
|
||||
| pyramid \
|
||||
| score \
|
||||
- | sh | sh[1234] | sh[24]a | sh[23]e | sh[34]eb | sheb | shbe | shle | sh[1234]le | sh3ele \
|
||||
+ | sh | sh[1234] | sh[24]a | sh[24]a*eb | sh[23]e | sh[34]eb | sheb | shbe | shle | sh[1234]le | sh3ele \
|
||||
| sh64 | sh64le \
|
||||
| sparc | sparc64 | sparc64b | sparc64v | sparc86x | sparclet | sparclite \
|
||||
| sparcv8 | sparcv9 | sparcv9b | sparcv9v \
|
||||
@@ -358,7 +358,7 @@
|
||||
| powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* | ppcbe-* \
|
||||
| pyramid-* \
|
||||
| romp-* | rs6000-* \
|
||||
- | sh-* | sh[1234]-* | sh[24]a-* | sh[23]e-* | sh[34]eb-* | sheb-* | shbe-* \
|
||||
+ | sh-* | sh[1234]-* | sh[24]a-* | sh[24]a*eb-* | sh[23]e-* | sh[34]eb-* | sheb-* | shbe-* \
|
||||
| shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \
|
||||
| sparc-* | sparc64-* | sparc64b-* | sparc64v-* | sparc86x-* | sparclet-* \
|
||||
| sparclite-* \
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user