summaryrefslogtreecommitdiffstats
path: root/scripts
Commit message (Collapse)AuthorAgeFilesLines
* ptxd_make_get_git: abort on all errorsMichael Olbrich2016-06-201-3/+3
| | | | Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* ptxdist: set PTXDIST_PATH correctly if ptxdist is called from PTXDIST_TOPDIRMichael Olbrich2016-06-201-1/+3
| | | | Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* wrapper: add more stack protector optionsMichael Olbrich2016-06-171-0/+2
| | | | Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* install_copy_toolchain: go back to old install handlingMichael Olbrich2016-06-131-0/+15
| | | | | | | | Using just 'ptxd_install_file' does not install all symlinks and ptxd_install_shared does not handle errors correctly causes some symlinks to be installed again. Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* ptxd_install_toolchain_lib: use ptxd_install_file instead of ptxd_install_sharedMichael Olbrich2016-06-101-1/+1
| | | | | | | ptxd_install_toolchain_lib creates ptxd_install_link for all necessary links, so using ptxd_install_shared just creates them a second time. Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* ptxd_make_xpkg_finish: improve outputMichael Olbrich2016-06-051-4/+3
| | | | Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* ptxd_make_xpkg_pkg: never overwrite a specified strip argumentMichael Olbrich2016-06-051-2/+2
| | | | | | | | If a strip argument is given, don't overwrite it with the readelf result. This avoids some unnecessary calls of readelf but may break packages with incorrect strip arguments. Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* install_copy_toolchain_lib: don't ignore strip argumentMichael Olbrich2016-06-052-2/+3
| | | | Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* ptxd_install_copy_toolchain: set strip argument unless explicitly specifiedMichael Olbrich2016-06-051-1/+4
| | | | | | | | With this change strip=y will no longer be specified for non elf files. This will be needed for later changes, when any explicitly specified strip argument is enforced. Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* ptxd_make_xpkg_pkg: add missing '&&'Michael Olbrich2016-05-311-1/+1
|
* ptxd_make_xpkg_pkg: fix strip detection.Michael Olbrich2016-05-311-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>
* 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>