aboutsummaryrefslogtreecommitdiffstats
path: root/scripts
Commit message (Collapse)AuthorAgeFilesLines
* download.pl: Rework URLsDaniel Engberg2016-05-281-15/+32
| | | | | | | | Provide HTTPS URL when possible, try to keep 8 mirrors per entry and spread over several locations of the world. Since most active contributors are in US/CA and/or EU prioritize mirrors that are within those regions if possible. Signed-off-by: Daniel Engberg <daniel.engberg.lists@pyret.net>
* scripts/download.pl: Use CDN for kernel downloadsPetr Štetiar2016-05-231-2/+2
| | | | | | More info at https://www.kernel.org/introducing-fastly-cdn.html Signed-off-by: Petr Štetiar <ynezz@true.cz>
* script/symlink-tree.sh: Fix missing config dirDaniel Dickinson2016-05-181-0/+7
| | | | | | | | | | | Apparently symlink-tree has not been used in quite some time as it fails to symlink the always required config dir Also, if we pulled from git but .git is missing we get many error messages on the symlinked tree without this patch (which symlinks .git, if present) Signed-off-by: Daniel Dickinson <openwrt@daniel.thecshore.com>
* build: remove profile kernel/build system config override supportFelix Fietkau2016-05-152-4/+0
| | | | | | It has been unused for years Signed-off-by: Felix Fietkau <nbd@nbd.name>
* scripts/ipkg-build: fix deprecated GZIP environment variable warningSyrone Wong2016-05-131-4/+4
| | | | | | | | | | | | According to gzip 1.7 release note: The GZIP environment variable is now obsolescent; gzip now warns if it is used, and rejects attempts to use dangerous options or operands. You can use an alias or script instead. Fix this warning by using pipe instead Signed-off-by: Syrone Wong <wong.syrone@gmail.com>
* scripts/metadata.pl: add support for generating profile make code for the ↵Felix Fietkau2016-05-132-6/+22
| | | | | | image builder Signed-off-by: Felix Fietkau <nbd@nbd.name>
* download.pl: use http://sources.lede-project.org as download mirrorFelix Fietkau2016-05-131-0/+1
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* build: avoid including profiles/*.mkFelix Fietkau2016-05-111-0/+12
| | | | | | Generate the active profile name in menuconfig context Signed-off-by: Felix Fietkau <nbd@nbd.name>
* metadata.pl: fix target profile sorting checkFelix Fietkau2016-05-111-3/+3
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* metadata.pl: add support for forcing sorting of profilesFelix Fietkau2016-05-112-1/+10
| | | | | | | Used to mix device profiles (specified in the image makefile) with regular target profiles. Signed-off-by: Felix Fietkau <nbd@nbd.name>
* target.mk: remove the unused Target-Path fieldFelix Fietkau2016-05-111-1/+0
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* metadata.pl: add support for selecting packages available only via PROVIDESFelix Fietkau2016-05-091-20/+30
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* scripts: add "r" to revisionJohn Crispin2016-04-291-1/+2
| | | | | | 343c3be45451e4a11f03109bd6cb1dd9061ec5eb accidentially removed the "r" Signed-off-by: John Crispin <john@phrozen.org>
* scripts: avoid hard-coded paths in scriptsIblis Lin2016-04-287-7/+7
| | | | Signed-off-by: Iblis Lin <e196819@hotmail.com>
* global: introduce ALL_NONSHARED symbolJo-Philipp Wich2016-04-132-3/+7
| | | | | | | | Introduce a new symbol ALL_NONSHARED which selects all non-sharable packages by default. This option is mainly intented for buildbot setups to build the target dependant software subset only. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* scripts: remove "Package-Subdir" metadata handlingJo-Philipp Wich2016-04-131-1/+0
| | | | Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* scripts: metadata: use the new "Repository" fieldJo-Philipp Wich2016-04-132-2/+3
| | | | | | Switch to the new "Repository" metadata field to populate tmp/.packagesubdirs Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* scripts: metadata: add CONFIG_TARGET_SUBTARGET symbolJo-Philipp Wich2016-04-061-0/+12
| | | | | | | Add a new string symbol "CONFIG_TARGET_SUBTARGET" which contains the name of the chosen subtarget or "generic" if there are no subtargets available. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* download: add @GITHUB download facilityÁlvaro Fernández Rojas2016-04-031-0/+1
| | | | | | Define a new alias (@GITHUB) for downloading raw files from github repos. Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* branding: add LEDE brandingJohn Crispin2016-03-247-13/+7
| | | | Signed-off-by: John Crispin <blogic@openwrt.org>
* scripts/getver.sh: generate revision relative to the reboot tagJohn Crispin2016-03-241-10/+2
| | | | Signed-off-by: John Crispin <blogic@openwrt.org>
* scripts/getver.sh: Use 'git-rev-parse' to detect if tree lies in Git repositoryVasilis Tsiligiannis2016-04-131-1/+1
| | | | | | | | | | | Path to the Git repository directory can be overriden by using the '$GIT_DIR' environment variable. This patch improves detection of Git repository by using 'git-rev-parse', which respects '$GIT_DIR' environment variable, instead of just checking the existence of '.git' directory. Signed-off-by: Vasilis Tsiligiannis <acinonyx@openwrt.gr> SVN-Revision: 49165
* scripts/om-fwupgradecfg-gen.sh: add support for the OM5P-ACJohn Crispin2016-04-091-2/+2
| | | | | | Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com> SVN-Revision: 49143
* scripts/om-fwupgradecfg-gen.sh: Generate sha256sum for uboot verificationJohn Crispin2016-04-091-0/+4
| | | | | | | | | | Future Open Mesh u-boot versions are changing the check of the image files (vmlinux, rootfs) from md5 to sha256. Having both in them should be enough to ensure backward and forward compatibility. Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com> SVN-Revision: 49140
* download: add @GITHUB download facilityJohn Crispin2016-04-091-0/+5
| | | | | | | | Define a new alias (@GITHUB) for downloading raw github repository files Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> SVN-Revision: 49138
* scripts/download.pl: fix sha256 hash command (#21931)Felix Fietkau2016-02-271-1/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 48809
* scripts/strip-kmod.sh: remove a few extra sections to slightly reduce kernel ↵Felix Fietkau2016-02-011-0/+2
| | | | | | | | module size Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 48608
* scripts: fix GNU data invocationJo-Philipp Wich2016-02-011-1/+1
| | | | | | Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> SVN-Revision: 48594
* scripts/get_source_date_epoch.sh: for SVN use a variant that is compatible ↵Felix Fietkau2016-02-011-1/+1
| | | | | | | | with older versions Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 48593
* scripts/portable_date.sh: fix parsing of date strings on non-GNU systemsFelix Fietkau2016-02-011-2/+2
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 48592
* build system: have tar use $SOURCE_DATE_EPOCH for --mtimeFelix Fietkau2016-01-311-1/+6
| | | | | | | | | | | | | | | | The --mtime argument to 'tar' sets the modification time for all files within the archive, which determines the timestamp files will get when they are extracted. In this case, rootfs and other tarballs will get mtimes which correspond to the last commit timestamp of the build system, as reported by git/subversion. This is a step towards reproducible image builds. Signed-off-by: bryan newbold <bnewbold@robocracy.org> Signed-off-by: Alexander Couzens <lynxis@fe80.eu> Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 48586
* build: introduce SOURCE_DATE_EPOCH variableFelix Fietkau2016-01-311-0/+31
| | | | | | | | | | | SOURCE_DATE_EPOCH is the date of the last modified file using git/svn as date source. See https://reproducible-builds.org/specs/source-date-epoch/ Signed-off-by: Alexander Couzens <lynxis@fe80.eu> Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 48584
* add scripts/portable_date: wrapper around date for bsd/linuxFelix Fietkau2016-01-311-0/+11
| | | | | | | | | | | | date -r $unix_timestamp on bsd is equal to date -d @$unix_timestamp on linux. To support reproducible builds and not loosing every timestamp it's required to convert a unix timestamp into human readable timestamp ./scripts/portable_date $unix_timstamp +%T Signed-off-by: Alexander Couzens <lynxis@fe80.eu> SVN-Revision: 48583
* include: group kmod ipk files into a "kernel" subdirectoryJo-Philipp Wich2016-01-242-6/+6
| | | | | | | | | | This is useful to just use the kmods from an official build while supplying base packages from a custom feed or the other way around; for just overriding the kmods with a local repo while using official repos for the rest. Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> SVN-Revision: 48475
* build: add @APACHE download facilityFelix Fietkau2016-01-171-0/+6
| | | | | | | | | | The Apache Software Foundation offers diverse download mirros. For packaging Apache software a new alias @APACHE is defined. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> SVN-Revision: 48270
* download.pl: fix openssl sha256 digest outputFelix Fietkau2016-01-161-1/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 48259
* scripts/download.pl: add SHA-256 supportFelix Fietkau2016-01-161-20/+38
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 48253
* scripts/metadata.pl: add support for ignoring source packages when ↵Felix Fietkau2016-01-102-1/+8
| | | | | | | | generating metadata Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 48170
* scripts/download.pl: cleanup GNOME source location definitionsFelix Fietkau2015-12-101-7/+2
| | | | | | | | | | | Cleanup the @GNOME source download location definitions: * remove dead and stale mirrors * adjust to changes at directory structure * add one new working mirror Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi> SVN-Revision: 47825
* build: add support for choosing a different url filename part than the ↵Felix Fietkau2015-11-221-2/+6
| | | | | | | | output file Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 47591
* scripts/diffconfig.sh: reduce config output with CONFIG_BUSYBOX_CUSTOMFelix Fietkau2015-11-131-0/+1
| | | | | | | | | | | | | | | Use similar approach as r47461 to reduce output for busybox config. Since r39435 CONFIG_BUSYBOX_CUSTOM=y has caused the addition of all ~260 busybox config options to the diffconfig output even if only one option has been changed. This patch eliminates the unchanged busybox config options from the output and leaves only the actually modified options. Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi> SVN-Revision: 47463
* scripts/diffconfig.sh: reduce config output with CONFIG_ALL_KMODSFelix Fietkau2015-11-121-0/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 47461
* scripts/config: fix handling of CONFDEFAULT on oldconfigFelix Fietkau2015-11-031-2/+2
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 47372
* update config.guess & config.subFelix Fietkau2015-11-022-290/+238
| | | | | | | | | | | | | | | | These are from today's master branch of: http://git.savannah.gnu.org/gitweb/?p=config.git;a=tree In particular it adds support for ARC architecture plus some more improvements and fixes. This patch is built-tested against NetGear WNDR3800. Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com> Cc: Florian Fainelli <florian@openwrt.org> Cc: Imre Kaloz <kaloz@openwrt.org> SVN-Revision: 47360
* scripts/checkpatch.pl: Fix deprecation warningsJohn Crispin2015-11-021-5/+5
| | | | | | | | In perl version v5.22, use of unescaped opening braces is deprecated Signed-off-by: Javier Domingo Cansino <javierdo1@gmail.com> SVN-Revision: 47342
* build: Allow kernel modules to set build ID debug symbolFelix Fietkau2015-10-301-1/+4
| | | | | | | | | | | | | | | | | | | | This change adds support for specifying a build ID for kernel modules. This is done by setting PKG_BUILD_ID to a hexadecimal string, which will then be passed to the kernel linker. In addition, when this flag is set, the build ID debug symbol (.note.gnu.build-id) will not be stripped from the kernel module. This symbol is exported in sysfs by the kernel (if the kernel is compiled with CONFIG_KALLSYMS) and so can be used to uniquely identify a version of a kernel module in a running kernel. This is useful for keeping track of different versions of a module when doing experiments and development. Modules that specify the build ID will be ~100 bytes larger (depending on the length of the build ID specified). There is no size difference for kernel modules that do not set this variable. Signed-off-by: Toke Høiland-Jørgensen <toke@toke.dk> SVN-Revision: 47290
* dl_cleanup: Fix linux blacklistMichael Büsch2015-10-071-2/+5
| | | | SVN-Revision: 47157
* dl_cleanup: Port to Python 3Michael Büsch2015-10-071-26/+29
| | | | SVN-Revision: 47156
* scripts/om-fwupgradecfg-gen.sh: add support for the MR1750John Crispin2015-09-141-2/+2
| | | | | | Signed-off-by: Sven Eckelmann <sven@open-mesh.com> SVN-Revision: 46928
* scripts/om-fwupgradecfg-gen.sh: Fix u-boot image md5sum checkJohn Crispin2015-09-141-0/+3
| | | | | | | | | | | The u-boot on Open Mesh devices checks the whole transfered image against a md5sum. This is stored inside the option filemd5sum inside the fwupgrade.cfg. The bootloader will not check it when this setting is missing and could therefore write invalid images to the flash. Signed-off-by: Sven Eckelmann <sven@open-mesh.com> SVN-Revision: 46925