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>
Reported by H Hartley Sweeten.
Make sure we pass proper CFLAGS to mtd-utils, so builds needing --sysroot
works (E.G. external toolchains).
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Build host version in build/mtd-utils-<VERSION>-host like other host
packages, and install into host/usr/sbin.
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
This patch does a couple mtd related things:
* Updates to the latest (2005/01/22) mtd from debian.org
* Fixes weird behavior where mkfs.jffs2 built for target was put into the staging dir.
* Shows the mtd package in the package selection menu. When mtd is enabled, the various mtd utilities appear and can be individually selected.
* Added a config item for sumtool, which is part of the mtd-utils and helps manage the new summary feature in jffs2 images.
* Fixed mtd build dependency problem. The mtd utils dynamically link with libz.so, therefore the zlib package is prerequisite for any of the mtd utilities.
0000040: Adds options to jffs2 filesystem creation
Brings jffs2 up to the 20041007 build level so it will compile with both 2.4
and 2.6 kernels.
Adds ability to specify eraseblock and pad sizes, permissions squash,
big/little endian and device table in the configuration.
Also adds capability to copy the resulting image to a secondary location like
a tftp server's root directory.
mtd.patch adds capabilities of the previously attached patch plus allows you to
compile a version of the utilities to run on the target system.
So now there's a set of config options under package to compile the utils for
distribution to the target and a set of config options under target to create a
jffs2 filesystem.