buildroot.git
14 years agomakedevs: convert to a more normal way of building packages
Thomas Petazzoni [Wed, 24 Mar 2010 22:12:29 +0000 (23:12 +0100)]
makedevs: convert to a more normal way of building packages

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
14 years agomakedevs: move to package/
Thomas Petazzoni [Wed, 24 Mar 2010 21:43:12 +0000 (22:43 +0100)]
makedevs: move to package/

Since target/ doesn't contain any .mk file in subdirectories, also
remove the include in target/Makefile.in.

14 years agopython: needs WCHAR support in toolchain
Peter Korsgaard [Mon, 19 Apr 2010 12:38:45 +0000 (14:38 +0200)]
python: needs WCHAR support in toolchain

And hence, portage needs it as well.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
14 years agofs/ext2: fix blocks/inodes calculation
Peter Korsgaard [Mon, 19 Apr 2010 12:24:11 +0000 (14:24 +0200)]
fs/ext2: fix blocks/inodes calculation

With the ROOTFS_TARGET conversion, EXT2_OPTS gets evaluated very early
(before TARGET_DIR is populated with files), so the calculated
blocks/inodes numbers are wrong.

Fix it by moving the calculation to a shell script wrapper around
genext2fs, so it only gets executed just before genext2fs runs.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
14 years agoEnable libutil by default for uclibc 0.9.31
Kelvin Cheung [Mon, 19 Apr 2010 01:22:35 +0000 (09:22 +0800)]
Enable libutil by default for uclibc 0.9.31

Closes #1591

Signed-off-by: Kelvin Cheung <keguang.zhang@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
14 years agotoolchain/gdb: target-gdb needs wchar support in toolchain
Peter Korsgaard [Mon, 19 Apr 2010 09:05:30 +0000 (11:05 +0200)]
toolchain/gdb: target-gdb needs wchar support in toolchain

For the embedded readline/gettext stuff.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
14 years agofs/ext2: fix typo
Peter Korsgaard [Mon, 19 Apr 2010 09:03:45 +0000 (11:03 +0200)]
fs/ext2: fix typo

BR2_TARGET_ROOTFS_EXT2_RESBLKS is an int, so test against 0 rather than
the empty string - Otherwise the test is always true and a -m option
without arguments is added to the argument list, causing genext2fs to
get confused.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
14 years agoCHANGES: #1591 is now closed (portmap fails to compile)
Peter Korsgaard [Mon, 19 Apr 2010 07:11:35 +0000 (09:11 +0200)]
CHANGES: #1591 is now closed (portmap fails to compile)

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
14 years agoCHANGES: #1537 is now closed (dev entries not created anymore)
Peter Korsgaard [Sun, 18 Apr 2010 20:33:09 +0000 (22:33 +0200)]
CHANGES: #1537 is now closed (dev entries not created anymore)

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
14 years agoMerge branch 'fs-fixes' of git://git.busybox.net/~tpetazzoni/git/buildroot
Peter Korsgaard [Sun, 18 Apr 2010 20:31:43 +0000 (22:31 +0200)]
Merge branch 'fs-fixes' of git://git.busybox.net/~tpetazzoni/git/buildroot

14 years agouclibc: Enable libresolv and libnsl stubs by default for 0.9.31
Gustavo Zacarias [Wed, 14 Apr 2010 14:17:47 +0000 (11:17 -0300)]
uclibc: Enable libresolv and libnsl stubs by default for 0.9.31

Closes #1555.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
14 years agoUpdate defconfigs to include BR2_ROOTFS_DEVICE_TABLE definition
Thomas Petazzoni [Sat, 17 Apr 2010 02:34:56 +0000 (04:34 +0200)]
Update defconfigs to include BR2_ROOTFS_DEVICE_TABLE definition

We only bother updating the defconfigs that need a non-default
BR2_ROOTFS_DEVICE_TABLE value.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
14 years agoRemove all TARGET_DEVICE_TABLE definitions
Thomas Petazzoni [Sat, 17 Apr 2010 02:33:30 +0000 (04:33 +0200)]
Remove all TARGET_DEVICE_TABLE definitions

We have a special case for Xtensa, which was patching the generic
device_table.txt. Instead of doing this, we just keep a copy of the
device table, specific to Xtensa, with Xtensa specifities. The fact
that the patch wasn't applying anymore on the generic device table is
a sign that the existing approach wasn't working anyway.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
14 years agodocumentation: update after TARGET_DEVICE_TABLE removal
Thomas Petazzoni [Sat, 17 Apr 2010 01:31:22 +0000 (03:31 +0200)]
documentation: update after TARGET_DEVICE_TABLE removal

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
14 years agocramfs/jffs2: use the new ROOTFS_DEVICE_TABLE variable
Thomas Petazzoni [Sat, 17 Apr 2010 01:30:59 +0000 (03:30 +0200)]
cramfs/jffs2: use the new ROOTFS_DEVICE_TABLE variable

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
14 years agofs: change the way the device table is configured
Thomas Petazzoni [Sat, 17 Apr 2010 01:26:16 +0000 (03:26 +0200)]
fs: change the way the device table is configured

Until now, the location of the device table was specified by a
variable in board Makefiles. Unfortunately, this variable is not
accessible from fs/common.mk, since the target/ code is included
*after* fs/common.mk.

Anyway, the general idea is to move away from these boards Makefile,
and provide configuration option for things like the device table
location.

Therefore, this patch adds a BR2_ROOTFS_DEVICE_TABLE option which
allows to specify which device table should be used.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
14 years agocramfs: fix installation
Thomas Petazzoni [Sat, 17 Apr 2010 01:25:05 +0000 (03:25 +0200)]
cramfs: fix installation

The installation procedure of cramfs was broken when
$(HOST_DIR)/usr/bin didn't exist (i.e, cramfsck was installed as
$(HOST_DIR)/usr/bin directly). Use install -D with a proper
destination argument to make it work.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
14 years agoopenssl: fix build without ipv6 support
Peter Korsgaard [Thu, 15 Apr 2010 14:26:15 +0000 (16:26 +0200)]
openssl: fix build without ipv6 support

Closes #1567

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
14 years agopciutils: convert to the generic-tools infrastructure
Thomas Brandstetter [Sun, 11 Apr 2010 08:26:24 +0000 (10:26 +0200)]
pciutils: convert to the generic-tools infrastructure

Signed-off-by: Thomas Brandstetter <thomas.brandstetter@me.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
14 years agomtd: host compilation needs host-zlib
Peter Korsgaard [Thu, 15 Apr 2010 12:02:22 +0000 (14:02 +0200)]
mtd: host compilation needs host-zlib

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
14 years agomtd: mkfs.jffs2 requires zlib to build
Will Wagner [Wed, 14 Apr 2010 22:24:26 +0000 (23:24 +0100)]
mtd: mkfs.jffs2 requires zlib to build

[Peter: lzo needed as well]
Signed-off-by: Will Wagner <will_wagner@carallon.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
14 years agoiso9660: menu.lst fixup after move to fs
Peter Korsgaard [Thu, 15 Apr 2010 11:51:33 +0000 (13:51 +0200)]
iso9660: menu.lst fixup after move to fs

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
14 years agoinitramfs: trivial fix following move to fs
Will Wagner [Wed, 14 Apr 2010 21:41:56 +0000 (22:41 +0100)]
initramfs: trivial fix following move to fs

Signed-off-by: Will Wagner <will_wagner@carallon.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
14 years agobusybox: 1.16.1 dnsd / hwclock fixes
Peter Korsgaard [Wed, 14 Apr 2010 18:41:15 +0000 (20:41 +0200)]
busybox: 1.16.1 dnsd / hwclock fixes

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
14 years agolibdrm: enable/disable features according to driver selection
Paulius Zaleckas [Wed, 14 Apr 2010 12:31:02 +0000 (15:31 +0300)]
libdrm: enable/disable features according to driver selection

Also cleanup autotools symbols and add libatomic_ops dependency
for Intel part.

Signed-off-by: Paulius Zaleckas <paulius.zaleckas@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
14 years agoAdd libatomic_ops 1.2 needed by libdrm Intel support
Paulius Zaleckas [Wed, 14 Apr 2010 12:30:52 +0000 (15:30 +0300)]
Add libatomic_ops 1.2 needed by libdrm Intel support

Signed-off-by: Paulius Zaleckas <paulius.zaleckas@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
14 years agoMerge branch 'autotools-conversion' of git://git.busybox.net/~tpetazzoni/git/buildroot
Peter Korsgaard [Tue, 13 Apr 2010 19:50:46 +0000 (21:50 +0200)]
Merge branch 'autotools-conversion' of git://git.busybox.net/~tpetazzoni/git/buildroot

14 years agolibid3tag: convert to the autotools infrastructure
Thomas Petazzoni [Sat, 10 Apr 2010 19:59:42 +0000 (21:59 +0200)]
libid3tag: convert to the autotools infrastructure

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
14 years agolibmad: convert to the autotools infrastructure
Thomas Petazzoni [Sat, 10 Apr 2010 19:58:12 +0000 (21:58 +0200)]
libmad: convert to the autotools infrastructure

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
14 years agoaumix: convert to the autotools infrastructure
Thomas Petazzoni [Sat, 10 Apr 2010 19:54:59 +0000 (21:54 +0200)]
aumix: convert to the autotools infrastructure

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
14 years agomadplay: convert to the autotools infrastructure
Thomas Petazzoni [Sat, 10 Apr 2010 19:53:56 +0000 (21:53 +0200)]
madplay: convert to the autotools infrastructure

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
14 years agofindutils: convert to the autotools infrastructure
Thomas Petazzoni [Sat, 10 Apr 2010 19:50:22 +0000 (21:50 +0200)]
findutils: convert to the autotools infrastructure

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
14 years agoipkg: remove useless configure options
Thomas Petazzoni [Sat, 10 Apr 2010 17:20:07 +0000 (19:20 +0200)]
ipkg: remove useless configure options

These options are part of the default set of options passed to
./configure by the AUTOTARGETS infrastructure.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
14 years agoargus: convert to the autotools infrastructure
Thomas Petazzoni [Sat, 10 Apr 2010 17:18:57 +0000 (19:18 +0200)]
argus: convert to the autotools infrastructure

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
14 years agotar: convert to the autotools infrastructure
Thomas Petazzoni [Sat, 10 Apr 2010 17:11:47 +0000 (19:11 +0200)]
tar: convert to the autotools infrastructure

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
14 years agobison: convert to the autotools infrastructure
Thomas Petazzoni [Sat, 10 Apr 2010 17:11:03 +0000 (19:11 +0200)]
bison: convert to the autotools infrastructure

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
14 years agoRemove incorrect 'dummy' example
Thomas Petazzoni [Sat, 10 Apr 2010 17:07:48 +0000 (19:07 +0200)]
Remove incorrect 'dummy' example

Since the introduction of the AUTOTARGETS infrastructure, the dummy
example is no longer correct. Moreover, the documentation now contains
extensive details about how new packages should be added, either using
the GENTARGETS or the AUTOTARGETS infrastructures.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
14 years agolibcgi: convert to the autotools infrastructure
Thomas Petazzoni [Sat, 10 Apr 2010 17:04:26 +0000 (19:04 +0200)]
libcgi: convert to the autotools infrastructure

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
14 years agolibsysfs: convert to the autotools infrastructure
Thomas Petazzoni [Sat, 10 Apr 2010 17:03:27 +0000 (19:03 +0200)]
libsysfs: convert to the autotools infrastructure

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
14 years agolibraw1394: convert to the autotools infrastructure
Thomas Petazzoni [Sat, 10 Apr 2010 17:01:15 +0000 (19:01 +0200)]
libraw1394: convert to the autotools infrastructure

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
14 years agolibcgicc: convert to the autotools infrastructure
Thomas Petazzoni [Sat, 10 Apr 2010 16:59:34 +0000 (18:59 +0200)]
libcgicc: convert to the autotools infrastructure

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
14 years agolibosip2: convert to the autotools infrastructure
Thomas Petazzoni [Sat, 10 Apr 2010 16:58:28 +0000 (18:58 +0200)]
libosip2: convert to the autotools infrastructure

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
14 years agopatch: convert to the autotools infrastructure and bump version
Thomas Petazzoni [Mon, 12 Apr 2010 13:06:55 +0000 (15:06 +0200)]
patch: convert to the autotools infrastructure and bump version

Bumping the version from 2.5.9 to 2.6 allows to avoid adding a patch
(merged upstream) to fix patch's Makefile install target.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
14 years agosmartmontools: convert to the autotools infrastructure
Thomas Petazzoni [Sat, 10 Apr 2010 16:50:08 +0000 (18:50 +0200)]
smartmontools: convert to the autotools infrastructure

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
14 years agosetserial: convert to the autotools infrastructure
Thomas Petazzoni [Sat, 10 Apr 2010 16:48:53 +0000 (18:48 +0200)]
setserial: convert to the autotools infrastructure

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
14 years agoudpcast: convert to the autotools infrastructure
Thomas Petazzoni [Sat, 10 Apr 2010 16:45:07 +0000 (18:45 +0200)]
udpcast: convert to the autotools infrastructure

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
14 years agox11vnc: cleanup useless config options
Thomas Petazzoni [Sat, 10 Apr 2010 16:39:35 +0000 (18:39 +0200)]
x11vnc: cleanup useless config options

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
14 years agovtun: convert to the autotools infrastructure
Thomas Petazzoni [Sat, 10 Apr 2010 16:34:47 +0000 (18:34 +0200)]
vtun: convert to the autotools infrastructure

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
14 years agoUpdate defconfigs after BR2_RECENT removal
Thomas Petazzoni [Sat, 10 Apr 2010 20:53:23 +0000 (22:53 +0200)]
Update defconfigs after BR2_RECENT removal

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
14 years agoRemove the BR2_RECENT option
Thomas Petazzoni [Sat, 10 Apr 2010 20:52:53 +0000 (22:52 +0200)]
Remove the BR2_RECENT option

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
14 years agoGet rid of all usages of BR2_RECENT
Thomas Petazzoni [Sat, 10 Apr 2010 20:52:38 +0000 (22:52 +0200)]
Get rid of all usages of BR2_RECENT

Since BR2_RECENT was enabled by default, we do not want entries marked
BR2_RECENT (and thus appearing by default in Buildroot) to disappear.

Therefore, all the entries marked BR2_RECENT are converted as
non-deprecated. We can later decide, on a per-entry basis, to add
BR2_DEPRECATED to some of them. But at least, this commit doesn't
change the default current behaviour of Buildroot.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
14 years agoGet rid of the OPTIMIZE_FOR_CPU variable
Thomas Petazzoni [Sat, 10 Apr 2010 21:50:45 +0000 (23:50 +0200)]
Get rid of the OPTIMIZE_FOR_CPU variable

This variable, together with the FIXME comment, has been added has
part of Eric Andersen's « Major buildroot facelift, step one » commit
that occured in October 2004.

Since then, no real usage has been made of OPTIMIZE_FOR_CPU, and the
initial intention has probably been lost in the memories of the
implementors.

Therefore, get rid of the variable, and just use $(ARCH) at the two
locations the variable was used.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
14 years agoGet rid of useless OpenMP related code
Thomas Petazzoni [Sat, 10 Apr 2010 21:46:54 +0000 (23:46 +0200)]
Get rid of useless OpenMP related code

It seems that there was an intention to add BR2_ENABLE_OPENMP someday,
but it was in June 2007 (commit
c81807a9d71fba9f35eeb7e3f3b56bda4b2e0edd) and since then, nothing
occured. Therefore, get rid of this code, and just pass
--disable-openmp to gettext to keep the current behaviour.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
14 years agoRemove variables useless after BR2_PREFER_IMA removal
Thomas Petazzoni [Sat, 10 Apr 2010 21:44:11 +0000 (23:44 +0200)]
Remove variables useless after BR2_PREFER_IMA removal

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
14 years agoGet rid of unused variables
Thomas Petazzoni [Sat, 10 Apr 2010 21:42:02 +0000 (23:42 +0200)]
Get rid of unused variables

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
14 years agoUpdate defconfigs after BR2_ENABLE_LOCALE_PREGENERATED removal
Thomas Petazzoni [Sat, 10 Apr 2010 21:39:14 +0000 (23:39 +0200)]
Update defconfigs after BR2_ENABLE_LOCALE_PREGENERATED removal

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
14 years agoRemove BR2_ENABLE_LOCALE_PREGENERATED
Thomas Petazzoni [Sat, 10 Apr 2010 21:37:18 +0000 (23:37 +0200)]
Remove BR2_ENABLE_LOCALE_PREGENERATED

The option is marked broken since october 2009, and even the uClibc
configuration help text says that using pregenerated locales is highly
discouraged.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
14 years agoGet rid of now unused HOST_ARCH computation code
Thomas Petazzoni [Sat, 10 Apr 2010 21:19:24 +0000 (23:19 +0200)]
Get rid of now unused HOST_ARCH computation code

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
14 years agoUpdate defconfigs after BR2_GNU_BUILD_SUFFIX removal
Thomas Petazzoni [Sat, 10 Apr 2010 21:18:41 +0000 (23:18 +0200)]
Update defconfigs after BR2_GNU_BUILD_SUFFIX removal

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
14 years agoGuess build system and remove BR2_GNU_BUILD_SUFFIX
Thomas Petazzoni [Sat, 10 Apr 2010 21:17:25 +0000 (23:17 +0200)]
Guess build system and remove BR2_GNU_BUILD_SUFFIX

Instead of having a configuration option BR2_GNU_BUILD_SUFFIX, let's
use config.guess to guess the build system type.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
14 years agoMove the global config cache option to an Advanced submenu
Thomas Petazzoni [Sat, 10 Apr 2010 20:56:52 +0000 (22:56 +0200)]
Move the global config cache option to an Advanced submenu

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
14 years agoBring the three path-related options together
Thomas Petazzoni [Sat, 10 Apr 2010 20:55:38 +0000 (22:55 +0200)]
Bring the three path-related options together

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
14 years agoMove the command-related options to a submenu
Thomas Petazzoni [Sat, 10 Apr 2010 20:55:01 +0000 (22:55 +0200)]
Move the command-related options to a submenu

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
14 years agoUpdate defconfigs after BR2_HAVE_{INFOPAGES,MANPAGES} removal
Thomas Petazzoni [Sat, 10 Apr 2010 20:48:23 +0000 (22:48 +0200)]
Update defconfigs after BR2_HAVE_{INFOPAGES,MANPAGES} removal

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
14 years agoGet rid of BR2_HAVE_{MANPAGES,INFOPAGES} config options
Thomas Petazzoni [Sat, 10 Apr 2010 20:47:28 +0000 (22:47 +0200)]
Get rid of BR2_HAVE_{MANPAGES,INFOPAGES} config options

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
14 years agoUse BR2_HAVE_DOCUMENTATION instead of BR2_HAVE_{MANPAGES,INFOPAGES}
Thomas Petazzoni [Sat, 10 Apr 2010 20:47:05 +0000 (22:47 +0200)]
Use BR2_HAVE_DOCUMENTATION instead of BR2_HAVE_{MANPAGES,INFOPAGES}

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
14 years agoDo not remove documentation on a per-package basis
Thomas Petazzoni [Sat, 10 Apr 2010 20:44:37 +0000 (22:44 +0200)]
Do not remove documentation on a per-package basis

Since the documentation cleanup is done by the main Makefile in a
global way, there's no need to do that on a per-package basis in the
generic package infrastructure.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
14 years agoRemove all documentation when BR2_HAVE_DOCUMENTATION is not set
Thomas Petazzoni [Sat, 10 Apr 2010 20:42:45 +0000 (22:42 +0200)]
Remove all documentation when BR2_HAVE_DOCUMENTATION is not set

Until now, we had BR2_HAVE_MANPAGES, BR2_HAVE_INFOPAGES and
BR2_HAVE_DOCUMENTATION, but there's no need to have such a
fine-grained control over what documentation gets kept or not.

Therefore, just remove all the documentation (man pages, info pages
and documentation in $(TARGET_DIR)/usr/doc and
$(TARGET_DIR)/usr/share/doc) when BR2_HAVE_DOCUMENTATION is not set.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
14 years agoDo not let packages remove man pages, info pages and documentation
Thomas Petazzoni [Sat, 10 Apr 2010 20:39:53 +0000 (22:39 +0200)]
Do not let packages remove man pages, info pages and documentation

The cleanup of $(TARGET_DIR)/usr/share/man, $(TARGET_DIR)/usr/man,
$(TARGET_DIR)/usr/share/info, $(TARGET_DIR)/usr/info,
$(TARGET_DIR)/usr/share/doc and $(TARGET_DIR)/usr/doc is already done
globally in the main Makefile. Therefore, there's no need to handle
that on a per-package basis.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
14 years agoUpdate defconfigs after BR2_UPDATE_CONFIG removal
Thomas Petazzoni [Sat, 10 Apr 2010 20:21:54 +0000 (22:21 +0200)]
Update defconfigs after BR2_UPDATE_CONFIG removal

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
14 years agoUpdate config.{guess,sub} unconditionally
Thomas Petazzoni [Sat, 10 Apr 2010 20:18:28 +0000 (22:18 +0200)]
Update config.{guess,sub} unconditionally

Remove the BR2_UPDATE_CONFIG option which allowed to globally
enable/disable the replacement of config.{guess,sub} for
autotools-based packages. Doing it unconditionnally just works.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
14 years agoUpdate defconfig after BR2_PREFER_IMA removal
Thomas Petazzoni [Sat, 10 Apr 2010 20:15:46 +0000 (22:15 +0200)]
Update defconfig after BR2_PREFER_IMA removal

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
14 years agoRemove BR2_PREFER_IMA
Thomas Petazzoni [Sat, 10 Apr 2010 20:14:39 +0000 (22:14 +0200)]
Remove BR2_PREFER_IMA

This option is barely used, no-one is maintaining it or extending
it. So let's remove it.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
14 years agocramfs: fix help text typo
Peter Korsgaard [Fri, 9 Apr 2010 14:19:13 +0000 (16:19 +0200)]
cramfs: fix help text typo

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
14 years agoMerge branch 'squashfs3' of git://git.busybox.net/~tpetazzoni/git/buildroot
Peter Korsgaard [Fri, 9 Apr 2010 14:17:57 +0000 (16:17 +0200)]
Merge branch 'squashfs3' of git://git.busybox.net/~tpetazzoni/git/buildroot

14 years agoMerge branch 'fs-cleanup' of git://git.busybox.net/~tpetazzoni/git/buildroot
Peter Korsgaard [Fri, 9 Apr 2010 14:16:44 +0000 (16:16 +0200)]
Merge branch 'fs-cleanup' of git://git.busybox.net/~tpetazzoni/git/buildroot

14 years agoAdd version selection for the SquashFS root filesystem
Thomas Petazzoni [Fri, 9 Apr 2010 10:15:59 +0000 (12:15 +0200)]
Add version selection for the SquashFS root filesystem

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
14 years agosquashfs3: new package
Thomas Petazzoni [Fri, 9 Apr 2010 10:15:25 +0000 (12:15 +0200)]
squashfs3: new package

Add support for the old squashfs 3.x tools, so that squashfs 3.x root
filesystems can be generated.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
14 years agofs/*/Config.in: remove useless configuration comments
Thomas Petazzoni [Wed, 10 Mar 2010 22:05:14 +0000 (23:05 +0100)]
fs/*/Config.in: remove useless configuration comments

The dependency on gzip, bzip2 and lzma are properly handled
automatically. No need to tell the user about this.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
14 years agoUpdate defconfigs after fs cleanup
Thomas Petazzoni [Wed, 10 Mar 2010 21:56:06 +0000 (22:56 +0100)]
Update defconfigs after fs cleanup

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
14 years agoCoherent naming for .mk files in fs/
Thomas Petazzoni [Wed, 10 Mar 2010 21:31:32 +0000 (22:31 +0100)]
Coherent naming for .mk files in fs/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
14 years agoMove all filesystem generation code to fs/
Thomas Petazzoni [Wed, 10 Mar 2010 21:30:06 +0000 (22:30 +0100)]
Move all filesystem generation code to fs/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
14 years agoRemove IMAGE and related configuration options
Thomas Petazzoni [Wed, 10 Mar 2010 21:13:47 +0000 (22:13 +0100)]
Remove IMAGE and related configuration options

Now, we just hardcode the image filenames to be rootfs.$(FSTYPE), in
the $(BINARIES_DIR).

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
14 years agoiso9660: rework in a similar way to ROOTFS_TARGET
Thomas Petazzoni [Wed, 10 Mar 2010 21:12:24 +0000 (22:12 +0100)]
iso9660: rework in a similar way to ROOTFS_TARGET

Unfortunately, it cannot use the ROOTFS_TARGET infrastructure, due to
the specifities of the iso9660 build process.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
14 years agotarget/common: do not use IMAGE
Thomas Petazzoni [Wed, 10 Mar 2010 21:11:21 +0000 (22:11 +0100)]
target/common: do not use IMAGE

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
14 years agobusybox initramfs: do not use the IMAGE variable
Thomas Petazzoni [Wed, 10 Mar 2010 21:10:23 +0000 (22:10 +0100)]
busybox initramfs: do not use the IMAGE variable

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
14 years agoinitramfs: convert to ROOTFS_TARGET infrastructure
Thomas Petazzoni [Tue, 9 Mar 2010 23:23:58 +0000 (00:23 +0100)]
initramfs: convert to ROOTFS_TARGET infrastructure

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
14 years agoubifs: convert to ROOTFS_TARGET infrastructure
Thomas Petazzoni [Tue, 9 Mar 2010 23:16:30 +0000 (00:16 +0100)]
ubifs: convert to ROOTFS_TARGET infrastructure

We also remove the BR2_TARGET_ROOTFS_UBIFS_OUTPUT option, that could
be used to specify an alternate name for the generated image file.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
14 years agojffs2: convert to ROOTFS_TARGET infrastructure
Thomas Petazzoni [Tue, 9 Mar 2010 23:16:01 +0000 (00:16 +0100)]
jffs2: convert to ROOTFS_TARGET infrastructure

We also remove the BR2_TARGET_ROOTFS_JFFS2_OUTPUT option, that could
be used to specify an alternate name for the generated image file.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
14 years agoext2: convert to ROOTFS_TARGET infrastructure
Thomas Petazzoni [Tue, 9 Mar 2010 23:15:15 +0000 (00:15 +0100)]
ext2: convert to ROOTFS_TARGET infrastructure

We also remove the BR2_TARGET_ROOTFS_EXT2_OUTPUT option, that could be
used to specify an alternate name for the generated image file.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
14 years agosquashfs: convert to ROOTFS_TARGET infrastructure
Thomas Petazzoni [Tue, 9 Mar 2010 23:14:29 +0000 (00:14 +0100)]
squashfs: convert to ROOTFS_TARGET infrastructure

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
14 years agotar: convert to ROOTFS_TARGET infrastructure
Thomas Petazzoni [Tue, 9 Mar 2010 23:14:16 +0000 (00:14 +0100)]
tar: convert to ROOTFS_TARGET infrastructure

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
14 years agoromfs: convert to ROOTFS_TARGET infrastructure
Thomas Petazzoni [Tue, 9 Mar 2010 23:14:06 +0000 (00:14 +0100)]
romfs: convert to ROOTFS_TARGET infrastructure

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
14 years agocramfs: convert to ROOTFS_TARGET infrastructure
Thomas Petazzoni [Tue, 9 Mar 2010 23:13:39 +0000 (00:13 +0100)]
cramfs: convert to ROOTFS_TARGET infrastructure

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
14 years agocpio: convert to ROOTFS_TARGET infrastructure
Thomas Petazzoni [Tue, 9 Mar 2010 23:13:24 +0000 (00:13 +0100)]
cpio: convert to ROOTFS_TARGET infrastructure

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
14 years agocloop: convert to ROOTFS_TARGET infrastructure
Thomas Petazzoni [Tue, 9 Mar 2010 23:13:12 +0000 (00:13 +0100)]
cloop: convert to ROOTFS_TARGET infrastructure

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
14 years agotarget: Add new infrastructure for filesystem generation
Thomas Petazzoni [Tue, 9 Mar 2010 23:11:58 +0000 (00:11 +0100)]
target: Add new infrastructure for filesystem generation

In order to avoid code duplication between the different filesystem
generation makefile, we introduce a ROOTFS_TARGET macro. Documentation
for this macro is contained in the patch.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
14 years agotarget/: remove the COPYTO mess
Thomas Petazzoni [Tue, 2 Mar 2010 22:10:49 +0000 (23:10 +0100)]
target/: remove the COPYTO mess

There's no need to provide options to copy the filesystem image after
the build. Just use 'cp' outside of Buildroot.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
14 years agofakeroot: remove all references to BR2_HOST_FAKEROOT
Thomas Petazzoni [Tue, 2 Mar 2010 21:57:58 +0000 (22:57 +0100)]
fakeroot: remove all references to BR2_HOST_FAKEROOT

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
14 years agofakeroot: convert to the autotools infrastructure
Thomas Petazzoni [Tue, 2 Mar 2010 21:56:33 +0000 (22:56 +0100)]
fakeroot: convert to the autotools infrastructure

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>