summaryrefslogtreecommitdiffstats
path: root/scripts
Commit message (Collapse)AuthorAgeFilesLines
* git-ptx-patches: create patches without signatureMichael Olbrich2011-06-131-1/+1
| | | | | | | This avoids unnecessary changes to patches when using a different git version. Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* ptxd_lib_dgen: generate source rule for all packagesMichael Olbrich2011-06-101-5/+5
| | | | | | this is necessary in case the only the host package is selected Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* ptxd_install_generic: fix creating device nodesMichael Olbrich2011-06-021-1/+1
| | | | | | | 'stat' prints major/minor numbers as hex. Add '0x' so that 'mknod' interprets them correctly. Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* add helper functions for vfat imagesMichael Olbrich2011-05-311-0/+59
| | | | Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* Added option to sign ipkg-repositoryGeorge McCollister2011-05-281-0/+3
| | | | | | | | | | | | | | | ipkg-repository can now be signed using openssl. A signature for the Packages file is created and stored in Packages.sig. On the target, opkg can be configured to enforce verification of the Packages file (which in turn contains hashes of each ipk file) by using an /etc/opkg/opkg.conf similar to the following: src myrepo http://server/ipkg-repository/mydistro/dists/mydistro-3 option check_signature option signature_ca_path /var/keys option signature_ca_file /var/keys/selfsigned.crt Signed-off-by: George McCollister <george.mccollister@gmail.com> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* lndir: add support for lndir:// URLJon Ringle2011-05-272-1/+20
| | | | | | | | | | | | | Use lndir for local external projects referenced by lndir:// URL lndir will create a shadow directory tree of the source tree populated with symlinks of all the files contained in the source tree. Building from the lndir created shadow tree will result in all files created by the build to be created in the shadow tree and leaving the source tree prestine. This is useful when building for multiple archs. Signed-off-by: Jon Ringle <jon@ringle.org> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* ptxd_make_xpkg_pkg: make it possible to use "-" as source for install_treeMichael Olbrich2011-05-261-1/+7
| | | | Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* opkg can now be used instead of ipkgGeorge McCollister2011-05-204-7/+84
| | | | | | | | | | | | | | | | | opkg and opkg-utils can now be used to build .ipk files and generate images from them. No longer default HOST_IPKG_UTILS and HOST_IPKG to yes. HOST_PACKAGE_MANAGEMENT_IPKG will select HOST_IPKG. HOST_IPKG will select HOST_IPKG_UTILS. Added package management selection to hosttools. Changed scripts to use the package management utilities for the selected package management system. Signed-off-by: George McCollister <george.mccollister@gmail.com> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* build images from ipkg repositoryGeorge McCollister2011-05-202-6/+31
| | | | | | | Added option to build images from the ipkg repository. Signed-off-by: George McCollister <george.mccollister@gmail.com> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* make ptxd_make_xpkg more genericGeorge McCollister2011-05-124-8/+12
| | | | | | | | | Change name of pkg_ipkg_control_dir to pkg_xpkg_control_dir. Change name of pkg_ipkg_control to pkg_xpkg_control. Signed-off-by: George McCollister <george.mccollister@gmail.com> [mol: added on missing replacement] Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* Define CMAKE_SYSTEM_PROCESSORBernhard Walle2011-05-101-0/+2
| | | | | Signed-off-by: Bernhard Walle <walle@corscience.de> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* install_link: relax absolute link handlingMichael Olbrich2011-05-091-4/+9
| | | | | | | | so far installing absolute links was not allowed. This change makes it possible and add a setup option to transform absolute links into relative links when installing to nfsroot Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* ptxd_make_xpkg_pkg: all destinations must be absolute pathsMichael Olbrich2011-05-091-0/+5
| | | | Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* [get] add md5sum checking for downloaded archivesMichael Olbrich2011-05-043-0/+158
| | | | Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* ptxd_make_world_install: create /usr/share/misc directoryMichael Olbrich2011-05-041-1/+1
| | | | Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* temporary ipkg.conf doesn't need a real sourceGeorge McCollister2011-04-291-2/+1
| | | | | | | | | A temporary ipkg.conf is created and provided to the host ipkg-cl. There is no reason to fill in the source. This just clutters it up and makes it less generic. Signed-off-by: George McCollister <george.mccollister@gmail.com> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* Added install_configGeorge McCollister2011-04-292-3/+18
| | | | | | | | | I added install_config which is the same as install_alternative except it also adds the file name to conffiles inside of the .ipk file so it is handled by the package manager as a config file. Signed-off-by: George McCollister <george.mccollister@gmail.com> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* V3: add Xilinx MicroBlaze architectureStephan Linz2011-04-143-0/+156
| | | | | | | | | | | | | | | | | | | | | | | | | | | This is support for Xilinx MicroBlaze processors. MicroBlaze is a soft core processor designed for Xilinx FPGAs. With this new architecture ptxdist have to handle dynamic platform configurations exported by Xilinx design tools. Some essential changes and extensions inside a few ptxdist core scripts were made to merge external platform configurations into the ptxdist platform configuration. That is very important since the resulting build process have to know about the real CPU features like hardware multiplier, barrel shifter or similar high performance accelerators. So ptxdist knows about this specialty, parse the new platform directory "xlbsp" and use the content for its own platform configuration. The content of the new platform directory "xlbsp" comes from Xilinx design tools and have to be: * auto-config.in (Linux Kernel 2.4 configuration) * Kconfig.auto (Linux Kernel 2.6 configuration) * xilinx.dts (Linux Kernel 2.6 configuration) * config.mk (U-Boot configuration) * xparameters.h (U-Boot configuration) Signed-off-by: Stephan Linz <linz@li-pro.net> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* libptxdist: fix including scripts/lib/ptxd_make_*.shMichael Olbrich2011-04-121-2/+5
| | | | | | | e449e28d4edfbf0ebc1fe9bfbbf0fa93e134e1c2 broke BSPs with a scripts/ directory but no file matching scripts/lib/ptxd_make_*.sh Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* ptxd_make_world_install_mangle_pc: fix for prefix=/Michael Olbrich2011-04-121-8/+2
| | | | Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* ptxd_make_bootable: do nothing if no bootloader is selectedMichael Olbrich2011-03-311-2/+4
| | | | Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* barebox: improve installing barebox on x86Michael Olbrich2011-03-281-1/+23
| | | | Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* image_hd: move bootloader selection into a functionMichael Olbrich2011-03-281-1/+41
| | | | Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* libptxdist: load scripts/lib/ptxd_make_* scripts from the BSPMichael Olbrich2011-03-282-2/+9
| | | | | | this makes it possible to overwrite stuff exported during ptxd_make Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* ptxd_make_world_extract: fix typoMichael Olbrich2011-03-211-1/+1
| | | | Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* genhdimg: write as little as possibleMichael Olbrich2011-03-171-90/+15
| | | | Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* image_hd: fix installing grubMichael Olbrich2011-03-171-2/+2
| | | | Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* image_hd: move adding the bootloader to a separate scriptMichael Olbrich2011-03-152-46/+129
| | | | Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* scripts: add ptxd_filter_dirMichael Olbrich2011-03-101-0/+36
| | | | Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* owfs: use '|| ALLYES' when depending on !BUSYBOX_*Michael Olbrich2011-02-021-0/+9
| | | | | | and cleanup OWFS__* -> OWFS_* Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* ptxd_kconfig: export all necessary functionsMichael Olbrich2011-01-262-0/+4
| | | | Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* prepare: add -DCMAKE_TOOLCHAIN_FILE=... to {CROSS,HOST}_CMAKE_*Michael Olbrich2011-01-261-11/+2
| | | | | | This makes it possible to call cmake manually in the prepare stage. Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* [ptxd_make_world_patchin] use ptxd_in_path to find patch dirMichael Olbrich2011-01-241-5/+3
| | | | Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* [ptxd_lib_dgen] use ptxd_in_path to find existing dirs in PTXDIST_PATH_RULESMichael Olbrich2011-01-241-4/+2
| | | | Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* [ptxd_make_xpkg_finish] use ptxd_in_path to search in PTXDIST_PATH_RULESMichael Olbrich2011-01-241-1/+1
| | | | Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* [ptxd_make_xpkg_prepare] use ptxd_in_path to search in PTXDIST_PATH_RULESMichael Olbrich2011-01-241-1/+1
| | | | Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* [libptxdist] add ptxd_in_path to find files in ":" separated pathsMichael Olbrich2011-01-191-0/+22
| | | | Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* Revert "[dgen] use targetinstall.post instead of targetinstall for package ↵Michael Olbrich2011-01-151-2/+2
| | | | | | | | | | dependencies" This reverts commit 4bbbb7ec5cc848232201126c2b23ace92473cf2f. The change broke the ipkg dependencies. Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* [kconfig] update to kconfig from linux 2.6.37-rc7Arnaud Lacombe2010-12-238-338/+391
| | | | | | | | | this adds the upstream patches for "visible": 09899c9 kconfig: regen parser 86e187f kconfig: add an option to determine a menu's visibility Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* [ptxd_make_xpkg_pkg] use 'readelf' to check if a file can be strippedMichael Olbrich2010-11-241-1/+1
| | | | | | it's more accurate than 'file'. Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* install_tree: add "not stripping" optionMarc Kleine-Budde2010-11-231-2/+4
| | | | Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
* [kconfig] don't fail writing deps when the config file is not up to date.Michael Olbrich2010-11-192-2/+2
| | | | Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* [collection] generate valid kconfig files for "ptxdist collectionconfig"Michael Olbrich2010-11-181-16/+3
| | | | Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* [kconfig] fix bug in kconfig dependency output patchMichael Olbrich2010-11-172-2/+2
| | | | Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* Merge branch 'next/kconfig'Michael Olbrich2010-11-1741-1967/+4614
|\
| * ptxdist: enable building nconf and add option to use itMichael Olbrich2010-11-171-0/+4
| | | | | | | | Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
| * kconfig: update with kconfig from linux-2.6.37-rc2Michael Olbrich2010-11-1741-1967/+4610
| | | | | | | | | | | | | | The kconfig upstream now has a configurable conig symbol prefix and there are no more references to the kernel in the help texts. Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* | [devpkg] be smarter when looking for dev packagesMichael Olbrich2010-11-161-4/+14
| | | | | | | | Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* | [dgen] add -$(PTXCONF_ARCH_STRING)- to the devpkg namesMichael Olbrich2010-11-161-1/+1
| | | | | | | | | | | | | | This is to make sure that we don't accidentally use devpkgs for a different architecture. Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* | [ptxd_lib_dgen] use gawk because 'gensub()' is not POSIX awkMichael Olbrich2010-11-111-1/+1
| | | | | | | | Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>