| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
|
|
|
|
| |
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
|
|
|
|
| |
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
|
|
|
|
|
|
| |
not the value
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
|
|
|
|
| |
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
|
|
|
|
| |
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
|
|
|
|
| |
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
|
|
|
|
| |
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
|
|
|
|
| |
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
|
|
|
|
| |
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
|
|
|
|
|
|
|
|
|
|
| |
Add the the possibility to overwrite any package in
local_src/<package>.<platform>
Just set a link to a directory or a directory there and it is used,
without being patched any more and without being cleaned.
Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
|
|
|
|
|
| |
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
|
|
|
|
| |
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
|
|
|
|
|
| |
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
|
|
|
|
| |
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
|
|
|
|
|
|
| |
define *_SYSROOT for use by others
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
|
|
|
|
| |
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
|
|
|
|
|
| |
Signed-off-by: Jon Ringle <jon@ringle.org>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
|
|
|
|
|
|
|
| |
This patch introduces the variable "pkg_fake_env" which holds the
fakeroot environment.
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
|
|
|
|
| |
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
|
|
|
|
| |
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
|
|
|
|
|
|
|
| |
It it needed for packages which use these "*-config" scripts during
compile time.
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
|
|
|
|
|
|
|
|
| |
....the previous patch [1] was non working
[1] 20021d3e2383043e40421fd31aee3ad4f70a37f7
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
|
|
|
|
|
|
|
|
|
|
| |
this patch sets the default path. Actually it only sets it for target
packages to include SYSROOT_CROSS.
The SYSROOT_HOST is always in path. and cross packages need cleanups
anyway.
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
|
|
|
|
|
|
|
| |
This patch add assignment of default values for the environemnt of host
and target packages.
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
|
|
|
|
|
|
|
|
|
|
|
|
| |
This patch adds a "_target" prefix to the following variables:
- ptx_conf_opt_autoconf
- ptx_conf_opt_cmake
- ptx_conf_opt_qmake
This eases assignment of the default values quite a lot, espcially when
adding support for host packages, which will follow in the next patches.
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
|
|
|
|
| |
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
|
|
|
|
| |
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
|
|
|
|
| |
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
|
|
|
|
| |
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
|
|
|
|
|
|
| |
qmake based packages use INSTALL_ROOT instead of DESTDIR
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
|
|
|
|
| |
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
|
|
|
|
|
|
|
|
| |
if ${pkg_pkg} is not defined the ${pkg_pkg_dir} defaults to
"${ptx_pkg_dir}/" which is wrong.
If that happens unset ${pkg_pkg_dir}
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
|
|
|
|
| |
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
|
|
|
|
| |
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
|
|
|
|
| |
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
|
|
|
|
| |
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This patch introduces a new per package variable ${PKG}_BINCONFIG_GLOB.
By default this variable contains "*-config". As the name suggests it
holds a shell glob pattern, intended to match the per package "-config"
tools.
In a later patch this mechanism is activated, then all files matching
this glob pattern are copied into ${SYSROOT_CROSS}/bin.
This eliminates the need for custom install stages, where these
'*-config' files are copied manually.
For example 'libpng': After a make install we see this in the bin
directory:
$ ll libpng-1.2.42/usr/bin/
total 12K
drwxr-xr-x 2 frogger frogger 4.0K 2010-01-09 11:43 ./
drwxr-xr-x 6 frogger frogger 4.0K 2010-01-09 11:43 ../
-rwxr-xr-x 1 frogger frogger 2.3K 2010-01-09 11:43 libpng12-config*
lrwxrwxrwx 1 frogger frogger 15 2010-01-09 11:43 libpng-config -> libpng12-config*
The default "*-config" matches both files, they are copied automatically
into ${SYSROOT}. Of course these -config files must be SYSROOT ware,
i.e. they must respect the env var SYSROOT and add it e.g. to their prefix.
$ ll sysroot-cross/bin/libpng*
-rwxr-xr-x 1 frogger frogger 2.3K 2010-01-09 15:15 sysroot-cross/bin/libpng12-config*
lrwxrwxrwx 1 frogger frogger 15 2010-01-09 15:15 sysroot-cross/bin/libpng-config -> libpng12-config*
In case a package doesn't want files to be copied it can define the per
package varibale: ${PKG}_BINCONFIG_GLOB := ""
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
|
|
|
|
| |
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
|
|
|
|
| |
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
|
|
|
|
| |
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
|
|
|
|
|
|
|
| |
..and introduce the variable: "pkg_sysroot_dir" which points to the
package's sysroot.
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
|
|
|
|
| |
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
|
|
|
|
|
|
| |
This has been removed and several packages are breaking now.
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
To generate tag for a certain pacakge, call ptxdist this way:
$ ptxdist tags <package>
PTXdist basically runs:
$ make <PKG>_TAGS_OPT
<PKG>_TAGS_OPT default to "tags", which is a good default for
autotoolizised packages. Of course it can be overwritten on a per
package base, e.g.:
BUSYBOX_TAGS_OPT := tags TAGS scope
Why:
1) non autotool based build system, that has cscope support.
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The install stage consists basically of:
make DESTDIR=<PKG>_PKGDIR <PKG>_INSTALL_OPT
With default "install" for <PKG>_INSTALL_OPT.
This can be overwritten or extended from a pacakge. There are
(at least) two reasons for this:
1) "make install" installs too mouch,
you don't want to install everything.
example:
MII_DIAG_INSTALL_OPT := install-mii-diag
2) The package doesn't understand DESTDIR. It uses INSTALL_ROOT instead.
example:
QT4_INSTALL_OPT := INSTALL_ROOT=$(QT4_PKGDIR)
The variable <PKG>_PKGDIR comes predefined from PTXdist and can be
used.
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
|
|
|
|
|
|
|
|
|
|
|
| |
In the compile stage no agrument is passed to <make>.
Use the variable <PKG>_MAKE_OPT to pass additional arguments.
example:
MII_DIAG_MAKE_OPT := $(CROSS_ENV_CC) mii-diag
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This patch fixes a problem with bash-3.0.x. This old bash versions
doesn't respect IFS when splitting a variable: This costruct doesn't
work:
foo="bar:baz"
local -a qux=( ${foo} )
echo "${foo[@]}"
it prints:
bar:baz
bash > 3.0.x prints
bar baz
The correct sequence is to first declare qux as a local array and then
assign it:
local -a qux
qux=( ${foo} )
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
|
|
|
|
| |
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
|
|
|
|
| |
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
|