summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2011-07-11Improve TARGETS handling for bootloaders and kernelThomas Petazzoni
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>
2011-07-11u-boot: rename to ubootThomas Petazzoni
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>
2011-07-11linux: convert to the GENTARGETS infrastructureThomas Petazzoni
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-07-11linux: rename LINUX26 to LINUXThomas Petazzoni
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-07-11valgrind: bump to 3.6.1 and add support for ARMv7Thomas Petazzoni
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>
2011-07-11ebtables: new packageBaruch Siach
[Peter: add ipv6 dependency] Signed-off-by: Baruch Siach <baruch@tkos.co.il> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-07-11busybox: provide /etc/mdev.conf if mdev is usedLuca Ceresoli
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>
2011-07-11CHANGES: update with recent changesPeter Korsgaard
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-07-11package: add libnssWill Newton
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>
2011-07-10fs/skeleton: allow rootfs not to be remounted read-writeLuca Ceresoli
[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>
2011-07-10package: add support for post-download hooksThomas Petazzoni
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>
2011-07-10uboot-mkimage: add target supportPeter Korsgaard
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-07-10uboot-mkimage: use correct host compiler/flagsPeter Korsgaard
As used elswwhere in BR. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-07-10uboot-mkimage: new packageThomas Petazzoni
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>
2011-07-10u-boot: convert to GENTARGETSThomas Petazzoni
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>
2011-07-10linux: bump 2.6.39.x stable versionPeter Korsgaard
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-07-10kernel-headers: bump 2.6.39.x stable versionPeter Korsgaard
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-07-10libarchive: add optional libxml2 supportPeter Korsgaard
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-07-10libarchive: bump to version 2.8.4Baruch Siach
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>
2011-07-10grub2: remove packageThomas Petazzoni
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>
2011-07-10grub: convert to AUTOTARGETSThomas Petazzoni
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-07-10syslinux: convert to GENTARGETSThomas Petazzoni
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>
2011-07-10at91dataflashboot: convert to GENTARGETSThomas Petazzoni
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>
2011-07-10at91bootstrap: convert to GENTARGETSThomas Petazzoni
[Peter: add ':=' -> '=' change] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-07-10barebox: convert to GENTARGETSThomas Petazzoni
[Peter: add ':=' -> '=' change] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-07-08libgtk2: fix host build after 7a41cbf938d (fix patching procedure for host ↵Peter Korsgaard
packages) NOHOSTPKG is no more, use RAWNAME instead. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-07-07package: fix patching procedure for host packagesThomas Petazzoni
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>
2011-07-07package: add infrastructure to install things in images/Thomas Petazzoni
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>
2011-07-07linux: simplify modules checkPeter Korsgaard
No need to mix make and shell code. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-07-07linux: make it possible to install the kernel in /bootThomas Petazzoni
[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>
2011-07-07Fix quoting in default extract commandThomas Petazzoni
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>
2011-07-07Makefile.package.in: Makes it possible to override the default extract commandsAllan W. Nielsen
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>
2011-07-07package: add libnsprWill Newton
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>
2011-07-07BR2_ARCH definition was missing for 32-bit AMD architecture variants.Arnout Vandecappelle (Essensium - Mind)
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>
2011-07-07gst-plugins-bad: clean up configurationSven Neumann
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>
2011-07-07gst-plugins: ivborbis (aka tremor) moved to gst-plugins-baseSven Neumann
The integer vorbis decoder moved from gst-plugins-bad to gst-plugins-base. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-07-07gst-plugins-base: add option for dependency-less pluginSven Neumann
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>
2011-07-07Makefile.package.in: extract: only ensure r/w access for userPeter Korsgaard
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>
2011-07-07ruby: fix build with openssl 1.0Peter Korsgaard
Patch from Debian bug #620998 Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-07-07uClibc: fix 0.9.32 build on x86Peter Korsgaard
Patch from uClibc git. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-07-06infrastructure: remove leftover of old style hooksDaniel Hobi
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>
2011-07-05lame: fix build if host has libgtk12-dev (gtk-config)Peter Korsgaard
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>
2011-07-05target: default to i586 for x86Peter Korsgaard
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>
2011-07-05toolchain/uClibc: NPTL needs i486+ for cmpxchgl instructionPeter Korsgaard
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-07-05package: add rsyslogMaxime Ripard
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>
2011-07-04skeleton: inittab: remove /var/log/messages log on tty3Peter Korsgaard
Hardcodes policy, is not critical, and people might not have tty3 (E.G. virtual consoles) available. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-07-04busybox: only install S01logging if syslogd applet is enabledPeter Korsgaard
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-07-04Rework the logging daemons startupMaxime Ripard
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>
2011-07-04Remove obsolete code in busybox.mkMaxime Ripard
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>
2011-07-04toolchain/uClibc: remove 0.9.29, mark 0.9.30 as deprecatedPeter Korsgaard
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>