summaryrefslogtreecommitdiff
path: root/package
AgeCommit message (Collapse)Author
2010-07-19ipsec-tools: replace sysv3 legacy functions with modern equivalentsJulien Boibessot
Signed-off-by: Julien Boibessot <julien.boibessot@armadeus.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-07-19flex: bump patch versionJulien Boibessot
Version 9 is no more available on Debian FTP. Signed-off-by: Julien Boibessot <julien.boibessot@armadeus.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-07-18Merge branch 'other-build-fixes' of ↵Peter Korsgaard
git://git.busybox.net/~tpetazzoni/git/buildroot
2010-07-18alsa-lib: make sure to only look in STAGING_DIR for Python includesThomas Petazzoni
Even though we pass a -I option to tell alsa-lib to look for Python includes in the STAGING_DIR, alsa-lib build process still looks in /usr/include for some stuff, causing bug #321. This fix is the one suggested by Ulf Samuelsson in bug #321, and allows to make alsa-lib with Python support to build properly on a 64 bits machine with python-dev installed on the host. Without this fix, the build fails with exactly the same problem that Ulf reported. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-07-18move default skeleton to fs/ and drop busybox skeletonDmytro Milinevskyy
[Peter: fixup patch, adjust for busybox.mk changes] Signed-off-by: Dmytro Milinevskyy <milinevskyy@gmail.com> Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-07-18neon: explicit path to xml2-configThomas Petazzoni
Now that $(STAGING_DIR)/usr/bin is not in the PATH, we need to explicit the path to such tools. This might also fix bug 1393 since by expliciting the path to xml2-config, we'll force neon ./configure to choose our xml2-config and not the one of the host. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-07-18Choose host/target ldconfig based on availabilityMalte Starostik
Decide whether to use the host or target ldconfig based on an availability check instead of internal/external toolchain selection. An external toolchain may very well provide an ldconfig while the host's one may fail. External toolchain generated by Gentoo crossdev: $ LC_ALL=C i686-pc-linux-uclibc-ldconfig -r output/target/; echo $? i686-pc-linux-uclibc-ldconfig: skipping /usr/lib: No such file or directory 0 vs. the host (x86_64-pc-linux-gnu) version: $ LC_ALL=C /sbin/ldconfig -r output/target/; echo $? /sbin/ldconfig: Can't open configuration file output/target/etc/ld.so.conf: No such file or directory /sbin/ldconfig: Can't open cache file /var/cache/ldconfig/aux-cache : No such file or directory 1 Signed-off-by: Malte Starostik <m-starostik@versanet.de> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-07-18Match whole words when changing .config optionsMalte Starostik
Make KCONFIG_{ENABLE,DISABLE,SET}_OPT match whole words only. Fixes that BR_INET_IPV6 enables CONFIG_IPV6 in the kernel's .config, but also nukes everything with "CONFIG_IPV6" in its name, e.g. CONFIG_IPV6_PRIVACY. This in turn causes any IPv6 options in a custom kernel .config to be lost and oldconfig going interactive. Signed-off-by: Malte Starostik <m-starostik@versanet.de> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-07-18busybox: 1.17.0 dos2unix fixPeter Korsgaard
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-07-17dsl: disable ps3 video driverPeter Korsgaard
The ps3 driver is enabled by default on ps3, but depends on spu support, which most ppc toolchains don't have, so disable it. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-07-17games: put doom related options togetherPeter Korsgaard
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-07-17sdl: fix build of other sdl componentsThomas Petazzoni
The post installation hook of SDL was not being executed, due to an incorrect usage of the infrastructure. Moreover, it did not patch prefix/exec_prefix in sdl-config as is needed. In addition to that, we remove the -Wl,-rpath option from sdl-config, since it is not needed. This fixes at least the build of sdl_image, and probably of other sdl components as well. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-07-17mysql_client: Bump to 5.1.47 and fix buildThomas Petazzoni
MySQL build has been broken for quite some time due to the ./configure inability to find out how to use 'ps' to find the PID of a running program. This commit bumps MySQL to the latest version and adds a few patches to fix various build issues, including the 'ps' issue. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-07-17dhcp: Bump to 4.1.1-P1 and convert to autotoolsThomas Petazzoni
dhcp 3.0.5 was causing build issues due to its build system not based on the autotools. Instead of work-arounding dhcp 3.0.5 issues, this commit bumps to 4.1.1 which uses the autotools as the build system. The package is therefore converted to the autotools infrastructure. The dhcp_xecute patch is no longer needed, this feature seems to have been merged into the upstream dhcp (according to the manpage). Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-07-17Merge branch 'linux-fusion-fix' of ↵Peter Korsgaard
git://git.busybox.net/~tpetazzoni/git/buildroot
2010-07-16qt: fix mysql dependency and disable unavailable sql driversPeter Korsgaard
We don't have the needed dependencies in BR for most of the SQL drivers, so mark those options as broken. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-07-16qt: fix directfb dependencyPeter Korsgaard
Closes #2221 Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-07-16linux-fusion: many fixesThomas Petazzoni
This commit fixes several issues with linux-fusion so that it builds properly with the current Buildroot: * Following the rework of the Linux kernel build process in Buildroot, a few adaptations were needed: depend on BR2_LINUX_KERNEL instead of !BR2_KERNEL_none, use $(LINUX26_VERSION_PROBED) to get the real kernel version, etc. * Add a LINUX_FUSION_BUILD_CMDS that actually does the build of linux-fusion. * Define SYSROOT for linux-fusion to TARGET_DIR so that at target installation, kernel modules are installed in $(TARGET_DIR) * Replace the staging installation by a simple one-liner that only installs the linux fusion header, needed for DirectFB to use the fusion kernel module * Fix the uninstallation macros. They have been misunderstood as hooks, while their are in fact normal macros. * Add a patch to fix a build failure in linux-fusion itself (missing <linux/sched.h> include in fusiondev.c) Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-07-16linux-fusion: use install target instead of headers_installThomas Petazzoni
The headers_install target no longer exists in the Makefile, the installation of headers is done by the install target. Signed-off-by: Phil Edworthy <phil.edworthy@renesas.com>
2010-07-12qt: fix javscriptcore/multimedia build with uClibcSagaert Johan
Signed-off-by: Sagaert Johan <sagaert.johan@skynet.be> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-07-12busybox: default to v1.17.xPeter Korsgaard
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-07-12busbox: add 1.17.0 upstream fixesPeter Korsgaard
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-07-12busybox: add 1.17.0, convert to gentargets, drop 1.12, deprecate 1.13 and 1.15Gustavo Zacarias
Closes #2167 [Peter: fix CONFIG_ID workaround for old uClibcs] Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-07-12libpng: bump to 1.2.44 [CVE-2010-1205]Gustavo Zacarias
Closes #2166 Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-07-09qt: install qt3 support lib to target if enabledKarl Krach
Signed-off-by: Karl Krach <mailinglists@blueSpirit.la> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-07-08libsvgtiny: needs host-pkg-configPeter Korsgaard
The makefile uses pkg-config for libxml2 support. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-07-08libcgi: fix target install if usr/include doesn't existPeter Korsgaard
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-07-08libsvgtiny: remove TARGET_CONFIGURE_ENVPeter Korsgaard
TARGET_CONFIG_ENV got removed in e721a7c07 (Merge TARGET_CONFIGURE_ENV into TARGET_CONFIGURE_OPTS), so remove it from the recent libsvgtiny package as well. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-07-08Merge branch 'misc-fixes' of git://git.busybox.net/~tpetazzoni/git/buildrootPeter Korsgaard
2010-07-08e2fsprogs: bump versionH Hartley Sweeten
Version 1.41.12 was released May 18, 2010. Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com> Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-07-07bzip2: don't overwrite busybox during installationPeter Korsgaard
The bzip2 make install target follows symlinks, so if busybox is enabled and the bzip/bunzip2 applets are installed, bin/busybox will get overwritten by bzip2. Fix it by ensuring any previously installed bzip2/bunzip2/bzcat (the applets available in busybox) are removed before running make install. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-07-07xvkbd: add missing dependency on xlib_libXtstThomas Petazzoni
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-07-07Update all packages to quote $(TARGET_CC)Thomas Petazzoni
Now that TARGET_CC contains several space-separated words, it must be used quoted everywhere. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-07-07openssl: don't override the CC passed at configure timeThomas Petazzoni
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-07-07Merge TARGET_CONFIGURE_ENV into TARGET_CONFIGURE_OPTSThomas Petazzoni
TARGET_CONFIGURE_ENV defines CFLAGS, LDFLAGS, CXXFLAGS and FCFLAGS, separatly from all other variables that are part of TARGET_CONFIGURE_OPTS. This is useless and not consistent with the HOST_CONFIGURE_ variables, therefore we merge TARGET_CONFIGURE_ENV into TARGET_CONFIGURE_OPTS and fix the few users of TARGET_CONFIGURE_ENV. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-07-07Introduce support for host config cacheThomas Petazzoni
We now have for quite some time a configuration cache used to speed-up the execution of ./configure scripts when compiling programs for the target. This commit introduces a similar concept when Buildroot compiles programs for the host. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-07-07Remove $(TOOLCHAIN_DIR)/bin and $(STAGING_DIR)/{usr/bin,bin} from the PATHThomas Petazzoni
These shouldn't be needed. Even when the cross-compiler is in $(STAGING_DIR)/usr/bin, we anyway use an absolute path for TARGET_CC, TARGET_LD and al. Not having $(STAGING_DIR)/{usr/bin,bin} in the PATH will avoid having Buildroot trying to run target binaries. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-07-07Remove *_FOR_TARGET variables from TARGET_CONFIGURE_OPTSThomas Petazzoni
Those variables are not standard. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-07-07Cleanup TARGET_CONFIGURE_OPTSThomas Petazzoni
The definition of CC, LD, GCC, CPP, CXX and FC shouldn't contain the CFLAGS/LDFLAGS/CXXFLAGS, those should be passed through the appropriate variables. However, the --sysroot option is a particular case here: it needs to be part of the CC/LD/GCC/etc. definitions otherwise libtool strips it from the CFLAGS/LDFLAGS. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-07-07Rework sysroot option handlingThomas Petazzoni
The external toolchain and internal toolchain cases both need to use the --sysroot option, and they have almost identical LDFLAGS/CFLAGS/CXXFLAGS definition, so we can factorize these definitions. Moreover, the --isysroot option is implied by --sysroot so there's no need to specify both. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-07-07Separate flags from commands in HOST_CONFIGURE_OPTSThomas Petazzoni
Just as we did for LD/LDFLAGS, pass CFLAGS and CXXFLAGS in their own variables. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-07-07Remove unneeded variables in HOST_CONFIGURE_OPTSThomas Petazzoni
When building packages for the host, the *_FOR_BUILD and *_FOR_TARGET variables are not needed. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-07-07Solve the host tools relying on host libraries problemThomas Petazzoni
We build host tools installed in $(HOST_DIR)/usr/bin, and some of them rely on host libraries in $(HOST_DIR)/usr/lib. So when these host tools are executed, they need to find the host libraries, which are not installed in a default location. In c1b6242fdcf2cff7ebf09fec4cc1be58963e8427 we tried to use LD_LIBRARY_PATH when building target packages to solve this problem. Unfortunately, LD_LIBRARY_PATH is not only used to find libraries at run-time, but also at compile time. So it leads the build of some packages, such as icu, to fail. Therefore, in 0d1830b07db4ebfd14e77a258de6fb391e57e960, we reverted the LD_LIBRARY_PATH idea. The other option to solve this problem was to hardcode a RPATH value in the host binaries that would reference the location of host libraries. We added this -Wl,-rpath option to HOST_CFLAGS in 6b939d40f6a29a43277566adc9d4312d49cb3abf. Unfortunately, this caused problems when building binutils, as reported in bug 1789 so this change was reverted in e1a7d916e9eeaa215551740de40c055130d6c073. Then, we tried to use -Wl,-rpath in HOST_LDFLAGS, but it was causing problems with fakeroot not recognizing 'ld' as the GNU linker, since the -Wl,-rpath cannot be understood by 'ld' directly, only by 'gcc'. This commit is a new attempt at using HOST_LDFLAGS, but in this case we modified the definition of HOST_LD to *not* contain HOST_LDFLAGS. LDFLAGS are being set separatly. It solved the fakeroot issue and was tested against nearly 300 packages of Buildroot. For more details on this story, see http://lists.busybox.net/pipermail/buildroot/2010-June/035580.html http://lists.busybox.net/pipermail/buildroot/2010-June/035581.html http://lists.busybox.net/pipermail/buildroot/2010-June/035586.html http://lists.busybox.net/pipermail/buildroot/2010-June/035609.html https://bugs.busybox.net/show_bug.cgi?id=1789 Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-07-07fontconfig: fix cross-compilation patchThomas Petazzoni
The existing cross-compilation patch works with our not completely correct TARGET_CONFIGURE_OPTS. With the correct variables (CFLAGS, LDFLAGS) being passed, fontconfig was trying to use target CFLAGS/LDFLAGS when building tools for the host. This updated patch fixes that problem by correctly using the CC_FOR_BUILD, CFLAGS_FOR_BUILD variables. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-07-07cmake: pass LDFLAGS/CFLAGS when building for the hostThomas Petazzoni
Passing LDFLAGS/CFLAGS when building for the host allows cmake to be compiled with the proper -rpath value (the -rpath option is added to HOST_LDFLAGS in a later commit). Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-07-06libsvgtiny: fix clean command namePeter Korsgaard
Thanks to Thomas for noticing. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-07-06libsvgtiny: only print debugging if GRADIENT_DEBUG is enabledPeter Korsgaard
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-07-06libsvgtiny: pass TARGET_CONFIGURE_ENV / OPTS to each make invocationPeter Korsgaard
As it doesn't use a ./configure, we need to pass it each time. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-07-06libsvgtiny: needs gperf on the hostPeter Korsgaard
And fix the .mk file name while we're at it. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-07-06ruby: convert to autotools and fix buildThomas Petazzoni
ruby is converted to the autotools infrastructure, and the dependency on host-ruby is added since a ruby interpreter is needed to build a ruby interpreter. Fortunately, this is taken into account in the ruby build process, and it first start to build a mini-interpreter that is used to build the rest. However, this doesn't take the cross-compilation case into account, so we have to build ruby for the host. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>