summaryrefslogtreecommitdiffstats
path: root/scripts
Commit message (Collapse)AuthorAgeFilesLines
* ptxd_make_xpkg_pkg: fix strip detection.ptxdist-2016.05.1stable/ptxdist-2016.05.xMichael Olbrich2016-07-011-4/+4
| | | | | | | | | | | | Without this, the strip argument is ignored. As a result, all kernel modules are broken. Also, always run readelf for now. Anything else breaks the current kernel and glibc packages. Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de> (cherry picked from commit c4dd3b50ce90c145bdf611cf822ea093e96c011b) Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* redirect command stderr to stdoutMichael Olbrich2016-05-295-6/+6
| | | | | | | | | | | | | Redirect stderr to stdout for the actual autogen.sh, prepare, compile, install and opkg-build command. This preserves the chronological order of stdout vs. stderr when building packages in parallel with output sync enabled. As a side-effect, the stderr output of these commands won't show up on the console for quiet builds. But most of that is not really useful by itself anyways. And the resulting logfile is more readable now for the rest. Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* ptxd_make_world_prepare: cleanup sanity checksMichael Olbrich2016-05-291-9/+14
| | | | Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* ptxd_make_xpkg_pkg: strip only onceMichael Olbrich2016-05-271-26/+33
| | | | Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* ptxdist: add --output-sync optionMichael Olbrich2016-05-261-7/+6
| | | | | | | | Calling make with --output-sync=... can have unexpected effects. So don't enable it by default for parallel building. Instead this adds an option for this and enables it by default for quiet builds. Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* ptxd_make_world_install_python_cleanup: prefer *.pyc in __pycache__ over ↵Michael Olbrich2016-05-261-3/+3
| | | | | | existing (packaged) *.pyc files Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* ptxd_make_world_install_python_cleanup: make sure shared libraries are not ↵Michael Olbrich2016-05-261-0/+4
| | | | | | executable Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* install: add new 'install_glob' commandMichael Olbrich2016-05-261-3/+33
| | | | Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* ptxd_make_serialize_init: don't add --output-sync for interactive commandsMichael Olbrich2016-05-191-1/+1
| | | | Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* ptxd_make_world_patchin_apply_git: make sure the series file existsMichael Olbrich2016-05-191-1/+2
| | | | | | | | | | | | The series file for 'git quiltimport' was only created if the original series file is not empty. In this case, with newer git versions (at least 2.8.1) 'git quiltimport' returns an error if the series file is missing. An empty series file is usefull to start creating new patches. Create the series file for 'git quiltimport' to make sure this works with new git versions. Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* ptxd_lib_dgen: merge dependencies of virtual packagesMichael Olbrich2016-05-191-0/+22
| | | | Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* ptxdist: improve output ordering for parallel buildingMichael Olbrich2016-05-171-1/+11
| | | | Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* kconfig: update to latest versionMichael Olbrich2016-05-1330-1143/+1371
| | | | Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* ptxdist: add support for alldefconfigMichael Olbrich2016-05-041-11/+2
| | | | Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* ptxd_install_generic: don't call 'stat' twiceMichael Olbrich2016-05-011-2/+5
| | | | Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* ptxd_install_file_strip: strip .GCC.command.line from kernel modulesMichael Olbrich2016-05-011-1/+1
| | | | Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* ptxd_make_world_init: make pkg_conf_dir relativeMichael Olbrich2016-05-011-0/+1
| | | | Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* ptxd_lib_dgen: handle dependencies from ptxconfig and platformconfig for the ↵Michael Olbrich2016-05-011-9/+31
| | | | | | same package Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* ptxd_lib_colgen: handle buildtime/runtime correctlyMichael Olbrich2016-05-011-3/+6
| | | | Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* python-django: rename to python3-djangoFlorian Scherf2016-02-041-0/+8
| | | | | Signed-off-by: Florian Scherf <f.scherf@pengutronix.de> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* ptxd_init_cross_env: set PKG_CONFIG_SYSTEM_LIBRARY_PATH and ↵Michael Olbrich2016-02-031-2/+4
| | | | | | | | | PKG_CONFIG_SYSTEM_INCLUDE_PATH With these variables, pkg-config will skip unnecessary '-I' and '-L' arguments. Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* ptxd_make_dts_dtb: fix parallel buildingMichael Olbrich2016-01-221-1/+1
| | | | Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* ptxd_make_world_install_mangle_pc: fix warningsMichael Olbrich2015-12-281-1/+1
| | | | | | | Just like 99df263919d3ea8ae8ed3aeb873eeab19fa01945 but for ptxd_make_world_install_mangle_pc.awk Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* project-name: add option to check license information when building the packagesMichael Olbrich2015-12-111-0/+9
| | | | Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* wrapper: allow package specific LDFLAGS for host packagesMichael Olbrich2015-12-111-0/+1
| | | | Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* ptxd_make_world_license_flags: add 'nosource' for ignored packagesMichael Olbrich2015-12-031-0/+3
| | | | | | | Otherwise ptxd_make_world_release() will fail to find the source those packages and produce bogus error files. Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* license: handle SPDX composite license expressionsMichael Olbrich2015-12-012-2/+13
| | | | Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* opkg: version bump 0.2.2 -> 0.3.0Michael Olbrich2015-11-251-1/+1
| | | | | | | | * remove obsolete patches. This is handled correctly now by libarchive. * the lock-file is now configured in the config file. * The binary is now called 'opkg' instead of 'opkg-cl'. Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* ipkg-push: also generate Packages.gzMichael Olbrich2015-11-121-1/+1
| | | | | | In may be used depending on the opkg configuration. Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* ptxd_make_world_install_post: copy files with '--remove-destination'Michael Olbrich2015-11-071-1/+1
| | | | | | | | Otherwise overwriting broken symlinks with files will fail. This happens occasionally in sysroot target, e.g. with /bin/pidof from busybox and initng. Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* ptxd_make_world_patchin: don't complain about missing 'series' if there are ↵Michael Olbrich2015-11-071-21/+16
| | | | | | no patches Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* ptxd_make_world_autogen: fail if autogen.sh is brokenMichael Olbrich2015-11-071-0/+3
| | | | Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* improve PTXdist release for license reporting mechanismMichael Olbrich2015-10-278-44/+972
| | | | Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* ptxd_make_world_install_python_cleanup: fix race conditionMichael Olbrich2015-10-271-2/+3
| | | | | | | | | If the while loop returns early, then 'find' can fail with a 'broken pipe' error. Add an error message to indicate the origin of the failure. Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* ptxd_make_world_extract: do nothing if <PKG>_DIR is not definedMichael Olbrich2015-10-151-2/+2
| | | | Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* ptxd_install_file_extract_debug: adapt to binutils typo fixMichael Olbrich2015-09-301-1/+1
| | | | | | | | | | | | | | | | From binutils commitdiff: https://sourceware.org/git/?p=binutils.git;a=commitdiff;h=45c8411440ad1fac721a9236f2fdff47792dcf1b elf.c was changed 2012-07-01. - (_("%B: unable to initialize commpress status for section %s"), + (_("%B: unable to initialize compress status for section %s"), Thus the subsequent test in ptxd_install_file_extract_debug() fails to detect this condition for newer binutils. Based on a patch from Christian Melki <christian.melki@t2data.com> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* ptxd_make_world_install: handle python3 pyc filesMichael Olbrich2015-09-211-0/+18
| | | | | | | | python3 generates __pycache__/<file>.*.pyc for <file>.py. However, <file>.pyc is needed if <file>.py is not installed. So move the files to meed the requirements. Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* ptxd_kconfig: allow the BSP to overwrite kconfig subtrees in config/Michael Olbrich2015-08-041-1/+10
| | | | Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* ptxd_make_import: handle menuconfig correctlyMichael Olbrich2015-08-041-2/+2
| | | | Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* ptxd_make_world_patchin_apply_git: fail on errorMichael Olbrich2015-07-271-5/+5
| | | | Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* image: ipkg, opkg: use symbol IMAGE_XPKG_EXTRA_ARGS to pass extra arguments ↵ptxdist-2015.07.0Marc Kleine-Budde2015-07-023-2/+10
| | | | | | | | | | | | | to ipkg and opkg build Originally the symbols IMAGE_IPKG_EXTRA_ARGS, IMAGE_OPKG_EXTRA_ARGS were used in the code, but there only was the config entry for the ipkg symbol in Kconfig. This patch converts the IMAGE_IPKG_EXTRA_ARGS to IMAGE_XPKG_EXTRA_ARGS and uses it during ipkg and opkg build. Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
* ptxd_make_serialize: whitespace fixMichael Olbrich2015-07-011-2/+2
| | | | Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* ptxd_make_world_patchin: don't fail on packages that don't extract anythingMarc Kleine-Budde2015-06-261-1/+1
| | | | | | | | | | | Since commit b6f9a55b3ddc ptxd_make_world_patchin: run use pkg_dir for patchin_fixup ptxdist will fail on packages that define a <PACKAGE>_DIR but don't create that during extract stage. This patch fixes the problem. Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
* scripts: fix typo //projectroot -> /projectrootMarc Kleine-Budde2015-06-192-2/+2
| | | | Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
* scripts: look in projectroot rather than genericMarc Kleine-Budde2015-06-192-2/+2
| | | | | | fixes: 28db1773524e generic: rename generic -> projectroot Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
* ptxd_make_get: improve serializationMichael Olbrich2015-06-161-1/+6
| | | | | | | - add serialization for git and svn - don't call ptxd_bailout while holding a token Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* ptxd_make_world_extract: don't call ptxd_bailout while holding a ↵Michael Olbrich2015-06-161-0/+1
| | | | | | serialization token Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* ptxd_make_serialize_put: propagate last return valueMichael Olbrich2015-06-161-0/+2
| | | | | | | This way, we can avoid doing this whenever ptxd_make_serialize_put is called. Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* ptxd_make_world_extract.sh: complete get rid of deleting pkg_extract_dirMarc Kleine-Budde2015-06-111-1/+0
| | | | Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
* ptxd_make_world_patchin: remove leading 0 from patch numberMarc Kleine-Budde2015-06-111-1/+1
| | | | | | | ...otherweise bash would interprete the number as octal. This fails if the patch number contains a figure >= 8. Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>