summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Improve TARGETS handling for bootloaders and kernelThomas Petazzoni2011-07-118-54/+13
| | | | | | | | | | | | | | | | | | As the kernel and bootloaders do not use the normal BR2_PACKAGE_* Kconfig options, their target name was not automatically added to the global TARGETS variable. Each bootloader .mk and the linux.mk had to add their own target manually to TARGETS, and the package infrastructure was making tests on non-existing Kconfig variables. This commit improves the package infrastructure so that it looks at BR2_PACKAGE_<pkg> for packages, BR2_TARGET_<pkg> for bootloaders and at the special BR2_LINUX_KERNEL for the linux package. This allows to simplify a little bit the bootloaders and linux .mk files. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* u-boot: rename to ubootThomas Petazzoni2011-07-114-40/+40
| | | | | | | | | This will allow to match the currently Config.in option BR2_TARGET_UBOOT, in order to make it easy to integrate U-Boot into the package infrastructure. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* linux: convert to the GENTARGETS infrastructureThomas Petazzoni2011-07-111-65/+61
| | | | | Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* linux: rename LINUX26 to LINUXThomas Petazzoni2011-07-111-55/+55
| | | | | Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* valgrind: bump to 3.6.1 and add support for ARMv7Thomas Petazzoni2011-07-116-217/+176
| | | | | | | | | We removed the shell script that wrapped valgrind (not nice to install such non-standard things), and will let the user use the uclibc.supp suppression file if needed. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* ebtables: new packageBaruch Siach2011-07-113-0/+41
| | | | | | [Peter: add ipv6 dependency] Signed-off-by: Baruch Siach <baruch@tkos.co.il> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* busybox: provide /etc/mdev.conf if mdev is usedLuca Ceresoli2011-07-112-0/+41
| | | | | | | | | | | | | | | | Without an mdev.conf file installed, mdev generates some /dev entries in an incorrect or non-standard way. Some examples: 1. /dev/null has permissions 660, but it should be accessible to normal users; 2. alsa devices get created in /dev, not /dev/snd as is more common, and as the default value of BR2_PACKAGE_ALSA_LIB_DEVDIR suggests; 3. event<N> files are created in /dev, not /dev/input. This mdev.conf is a selection from the examples provided in the busybox sources with minor tweaks. Signed-off-by: Luca Ceresoli <luca@lucaceresoli.net> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* CHANGES: update with recent changesPeter Korsgaard2011-07-111-5/+11
| | | | Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* package: add libnssWill Newton2011-07-115-0/+131
| | | | | | | | | | NSS is the Network Security Services library developed as part of the Mozilla project. It provides similar functions to OpenSSL but allows MPL, GPL and LGPL licensing. [Peter: fix target install] Signed-off-by: Will Newton <will.newton@imgtec.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* fs/skeleton: allow rootfs not to be remounted read-writeLuca Ceresoli2011-07-104-2/+26
| | | | | | | [Peter: prefix option with TARGET_GENERIC_] Signed-off-by: Luca Ceresoli <luca@lucaceresoli.net> Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* package: add support for post-download hooksThomas Petazzoni2011-07-101-0/+2
| | | | | | | | This will be needed for the Linux kernel package, which needs to download patches in a custom way. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* uboot-mkimage: add target supportPeter Korsgaard2011-07-103-0/+22
| | | | Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* uboot-mkimage: use correct host compiler/flagsPeter Korsgaard2011-07-102-2/+32
| | | | | | As used elswwhere in BR. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* uboot-mkimage: new packageThomas Petazzoni2011-07-102-0/+16
| | | | | | | | | | The mkimage for the host is now built by a package, so that boot/u-boot/u-boot.mk is no longer responsible for doing this. It makes things a lot easier to handle, as linux/linux.mk now simply depends on host-uboot-mkimage. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* u-boot: convert to GENTARGETSThomas Petazzoni2011-07-102-149/+74
| | | | | | | | | | | | | The feature of building mkimage for the target is removed, it wasn't building with current U-Boot, and doesn't make a lot of sense (mkimage is needed only to prepare a kernel image, or an U-Boot script). The feature of building mkimage for the host is moved to a proper package. It duplicates a few things (U-Boot URL, etc.) but it makes things a lot cleaner than having it handled by boot/u-boot/u-boot.mk. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* linux: bump 2.6.39.x stable versionPeter Korsgaard2011-07-101-3/+3
| | | | Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* kernel-headers: bump 2.6.39.x stable versionPeter Korsgaard2011-07-101-1/+1
| | | | Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* libarchive: add optional libxml2 supportPeter Korsgaard2011-07-101-1/+7
| | | | Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* libarchive: bump to version 2.8.4Baruch Siach2011-07-101-1/+2
| | | | | | | | | The libxml2 dependency is new in this version, and does not behave nicely with cross compile. The configure script looks for the host xml2-config. Add '--disable-xml2' as a workaround for now. Signed-off-by: Baruch Siach <baruch@tkos.co.il> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* grub2: remove packageThomas Petazzoni2011-07-103-103/+0
| | | | | | | | | | | | | | | | | | | | | Grub 2 has been marked BROKEN in June 2010, and nobody cared to fix it since then. At that time, it was marked broken because the build process needed a Ruby interpreter available on the host, and it's really a pain that building a bootloader needs such a thing. I've tried to upgrade the package to Grub2 1.99-rcX, and now it does not need a Ruby interpreter anymore, but instead requires a tool called "autogen", which itself needs the Guile Scheme interpreter. Since we haven't heard any complaints about Grub2 being marked broken, and since it's such a pain to package, let's get rid of it. Of course, anybody interested in Grub2 is invited to contribute a working package. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* grub: convert to AUTOTARGETSThomas Petazzoni2011-07-102-63/+53
| | | | | Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* syslinux: convert to GENTARGETSThomas Petazzoni2011-07-102-38/+26
| | | | | | | | | | | Moreover, the installation of pxelinux and/or isolinux is now handled as suboptions, like we traditionally do for other packages. This allows to have a single option (BR2_TARGET_SYSLINUX) that enables the syslinux package. [Peter: drop basename in install step] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* at91dataflashboot: convert to GENTARGETSThomas Petazzoni2011-07-102-52/+15
| | | | | | | | | | | | | | | | This commit converts the at91dataflashboot bootloader build process to GENTARGETS. It also does the following changes : * As the package directory name is at91dataflashboot, the configuration options and make variables are renamed to AT91DATAFLASHBOOT instead of DATAFLASHBOOT. * Since the board selection in Kconfig wasn't used anywhere, get rid of it. at91dataflashboot is only for AT91RM9200 apparently anyway. [Peter: add ':=' -> '=' change] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* at91bootstrap: convert to GENTARGETSThomas Petazzoni2011-07-101-37/+20
| | | | | | [Peter: add ':=' -> '=' change] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* barebox: convert to GENTARGETSThomas Petazzoni2011-07-101-36/+32
| | | | | | [Peter: add ':=' -> '=' change] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* libgtk2: fix host build after 7a41cbf938d (fix patching procedure for host ↵Peter Korsgaard2011-07-081-1/+1
| | | | | | | | packages) NOHOSTPKG is no more, use RAWNAME instead. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* package: fix patching procedure for host packagesThomas Petazzoni2011-07-071-14/+12
| | | | | | | | | | | | | | | | | | | The patching procedure was using $($(NOHOSTPKG)_NAME) to find the name of the package without the host- prefix for host packages, which is needed to find the package directory and the prefix of the patches. However, this $($(NOHOSTPKG)_NAME) variable is empty when there is only an host variant for the package and no target variant for it. Therefore, instead of using this $($(NOHOSTPKG)_NAME) variable, we now use a new $(RAWNAME) variable, which is always the name of the package without the host- prefix, even for host packages. Thanks to Yann E. Morin for providing the tip on using patsubst instead of subst. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* package: add infrastructure to install things in images/Thomas Petazzoni2011-07-071-1/+19
| | | | | | | | This will allow the bootloader makefiles and the kernel makefile to rely on the GENTARGETS infrastructure. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* linux: simplify modules checkPeter Korsgaard2011-07-071-2/+2
| | | | | | No need to mix make and shell code. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* linux: make it possible to install the kernel in /bootThomas Petazzoni2011-07-072-0/+11
| | | | | | [Peter: always copy to output/images as requested by Luca] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* Fix quoting in default extract commandThomas Petazzoni2011-07-071-1/+2
| | | | | | Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Reviewed-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* Makefile.package.in: Makes it possible to override the default extract commandsAllan W. Nielsen2011-07-071-2/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | When using GENTARGETS (or macroes depending on it), there is no way of specifying a custom extraction procedure. When using the patch one can simply define $(PACKAGE_NAME)_EXTRACT_CMDS which will override the default. If non is defined it will fall back to the default extract procedure. An example could look like this: === PACKAGE BEGIN === FGLRX_VERSION=11-3 FGLRX_SOURCE:=ati-driver-installer-$(FGLRX_VERSION)-x86.x86_64.run FGLRX_SITE:=http://www2.ati.com/drivers/linux/ define FGLRX_EXTRACT_CMDS sh $(DL_DIR)/$(FGLRX_SOURCE) --extract $(@D) endef $(eval $(call GENTARGETS,package,fglrx)) === PACKAGE END === Signed-off-by: Allan W. Nielsen <a@awn.dk> Cc: Allan W. Nielsen <a@awn.dk> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* package: add libnsprWill Newton2011-07-073-0/+31
| | | | | | | Add a package for the Netscape Portable Runtime library. Signed-off-by: Will Newton <will.newton@imgtec.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* BR2_ARCH definition was missing for 32-bit AMD architecture variants.Arnout Vandecappelle (Essensium - Mind)2011-07-071-0/+7
| | | | | | Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* gst-plugins-bad: clean up configurationSven Neumann2011-07-072-68/+180
| | | | | | | | Remove obsoleted configurations and add options for new dependency-less plugins. Signed-off-by: Sven Neumann <s.neumann@raumfeld.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* gst-plugins: ivborbis (aka tremor) moved to gst-plugins-baseSven Neumann2011-07-074-11/+11
| | | | | | | The integer vorbis decoder moved from gst-plugins-bad to gst-plugins-base. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* gst-plugins-base: add option for dependency-less pluginSven Neumann2011-07-072-0/+9
| | | | | | | Make the build of the dependency-less plugin 'encoding' optional. Signed-off-by: Sven Neumann <s.neumann@raumfeld.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* Makefile.package.in: extract: only ensure r/w access for userPeter Korsgaard2011-07-071-1/+1
| | | | | | | There's no reason to make the source files writable for everyone. Reported-by: Arnout Vandecappelle <arnout@mind.be> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* ruby: fix build with openssl 1.0Peter Korsgaard2011-07-071-0/+53
| | | | | | Patch from Debian bug #620998 Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* uClibc: fix 0.9.32 build on x86Peter Korsgaard2011-07-071-0/+43
| | | | | | Patch from uClibc git. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* infrastructure: remove leftover of old style hooksDaniel Hobi2011-07-061-1/+1
| | | | | | | | | Commit ae2be8d (infrastructure: remove support for old style hooks) forgot to update an uninstall rule. Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Daniel Hobi <daniel.hobi@schmid-telecom.ch> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* lame: fix build if host has libgtk12-dev (gtk-config)Peter Korsgaard2011-07-051-0/+1
| | | | | | | | | Lame contains an optional gtk12 based frame analyzer application, which will be built if gtk12 is detected (using gtk-config). We no longer have support for (the obsolete) gtk12 in BR, but the host might have gtk-config, so forcible disable it. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* target: default to i586 for x86Peter Korsgaard2011-07-051-1/+1
| | | | | | | | The i586 was introduced almost 20 years ago, and some software (NPTL, libstdc++, ..) doesn't work nicely with i386 anymore, so it is time to move on. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* toolchain/uClibc: NPTL needs i486+ for cmpxchgl instructionPeter Korsgaard2011-07-051-0/+1
| | | | Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* package: add rsyslogMaxime Ripard2011-07-054-0/+71
| | | | | | | | Rsyslog is a powerful and flexible syslog daemon. [Peter: whitespace, rename initscript, allow platform override of conf file] Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* skeleton: inittab: remove /var/log/messages log on tty3Peter Korsgaard2011-07-041-4/+0
| | | | | | | Hardcodes policy, is not critical, and people might not have tty3 (E.G. virtual consoles) available. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* busybox: only install S01logging if syslogd applet is enabledPeter Korsgaard2011-07-041-2/+4
| | | | Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* Rework the logging daemons startupMaxime Ripard2011-07-043-2/+32
| | | | | | | | | | | The logging mechanism startup being in inittab, it isn't easy to overcharge the default policy. With this patch, the startup of the syslog daemon is moved to an init.d script, that can easily be overwritten. [Peter: use install -D] Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* Remove obsolete code in busybox.mkMaxime Ripard2011-07-041-8/+0
| | | | | | | | Remove this quirk since the tested code is no longer present in busybox since 1.10. Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* toolchain/uClibc: remove 0.9.29, mark 0.9.30 as deprecatedPeter Korsgaard2011-07-0410-1060/+1
| | | | | | | 0.9.29 doesn't seem to build anymore with the toolchain versions in BR and is very old, so remove it. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>