aboutsummaryrefslogtreecommitdiffstats
path: root/scripts
Commit message (Collapse)AuthorAgeFilesLines
...
* build: add option to enable all profilesFelix Fietkau2016-07-291-0/+4
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* build: add support for per-device rootfs based on device profile packgesFelix Fietkau2016-07-291-3/+29
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* scripts/getver.sh: fix older git versions from printing stuff to stdoutJonas Gorski2016-07-161-2/+2
| | | | | | | | | Older git versions seem output the original argument to stdout if there is no upstream, presumably because they try to do things with it internally. This can be prevented by passing --verify to it, which should be safe on newer git versions. Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com>
* scripts/getver.sh: stop relying on the reboot tagFelix Fietkau2016-07-141-3/+4
| | | | | | It may not be present when cloning a staging tree or another fork Signed-off-by: Felix Fietkau <nbd@nbd.name>
* scripts/getver.sh: fix one more wc -l callJonas Gorski2016-07-131-1/+1
| | | | | | The revision to hash conversion was missed when fixing up the script. Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com>
* scripts/getver.sh: try to get branch/upstream automaticallyJonas Gorski2016-07-131-5/+14
| | | | | | | | Instead of assuming master is the current branch and origin the right upstream, try to get both dynamically. If the current branch is not tracking any upstream, use the origin of the master branch. Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com>
* scripts/getver.sh: fix revision number on BSD/MacOSFelix Fietkau2016-07-091-2/+2
| | | | | | Strip leading whitespace from wc -l output Signed-off-by: Felix Fietkau <nbd@nbd.name>
* scripts/getver.sh: avoid use of git rev-list --countJonas Gorski2016-07-091-3/+3
| | | | | | | This is not a valid option in older git version, used in e.g. RHEL6. Reported-by: Steven Haigh <netwiz@crc.id.au> Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com>
* scripts/getver.sh: improve revision outputJonas Gorski2016-07-091-2/+7
| | | | | | | | | | | | | Change the revision output to r<upstream-revision>+<local commits> so it is easier to get the base revision (and see if there are local commits). Example: $ ./scripts/getver.sh r794+3 $ Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com>
* scripts/getver.sh: allow conversion between git hash and revisionJonas Gorski2016-07-091-2/+18
| | | | | | | | | | | | | | | Add code allowing easy conversion between git commit ids and revisions. Example: $ ./scripts/getver.sh r792 $ ./scripts/getver.sh r123 b7fc892eb56b52d25bc00578af9d1ee058dcf6b3 $ ./scrpts/getver.sh b7fc892eb56b52d25bc00578af9d1ee058dcf6b3 r123 Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com>
* scripts/getver.sh: simplify revision calculationJonas Gorski2016-07-091-1/+1
| | | | | | Use git rev-list --count to get the revision number. Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com>
* scripts/package-metadata.pl: fix kmod pakage dependencies within the SDKFelix Fietkau2016-07-072-3/+4
| | | | | | | | | | Instead of ignoring all metadata for package/kernel/linux, process it and only suppress emitting config data to tmp/.config-package.in This ensures that packages that select kmod-* packages can inherit their depdendencies. Signed-off-by: Felix Fietkau <nbd@nbd.name>
* scripts/diffconfig.sh: fix handing of CONFIG_TARGET_MULTI_PROFILEFelix Fietkau2016-07-071-0/+1
| | | | | | Fixes FS#43 Signed-off-by: Felix Fietkau <nbd@nbd.name>
* tools: add kernel2minor utility for Mikrotik devicesSergey Sergeev2016-07-051-0/+1
| | | | | | | | This patch adds support of Mikrotik yaffs2 filesystem image for kernel file and tools/kernel2minor package. We neede this to boot kernel through RouterBoot on new Mikrotik NOR flash devices. Signed-off-by: Sergey Sergeev <adron@yapic.net>
* scripts/feeds: Prevent .config autocreationDaniel Dickinson2016-07-051-0/+5
| | | | | | | | | | | | | When using scripts/feeds upgrade the .config needs to be updated but the code to do so was also autocreating a .config if one didn't exist. This is counter-productive when you have not yet used menuconfig (or other config targets) because things like selecting or deselecting CONFIG_ALL (to build all package by default) only works if the package selection has not already been done via an existing .config selection. Signed-off-by: Daniel Dickinson <lede@daniel.thecshore.com>
* scripts: feeds: fix version detection for Make >= 4.2.1Jo-Philipp Wich2016-06-151-1/+4
| | | | Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* config: add a small_flash featureJohn Crispin2016-06-131-0/+1
| | | | | | this causes KALLSYMS to be off by default Signed-off-by: John Crispin <john@phrozen.org>
* treewide: replace jow@openwrt.org with jo@mein.ioJo-Philipp Wich2016-06-073-3/+3
| | | | Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* treewide: replace nbd@openwrt.org with nbd@nbd.nameFelix Fietkau2016-06-071-1/+1
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* build: implement support for selecting multiple device profilesFelix Fietkau2016-06-072-0/+47
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* build: split scripts/metadata.pl into target-metadata.pl and package-metadata.plFelix Fietkau2016-06-072-323/+342
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* 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