John Crispin
5c408ede6c
download: add @GITHUB download facility
...
Define a new alias (@GITHUB) for downloading raw github repository files
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
SVN-Revision: 49138
2016-04-09 10:25:34 +00:00
Felix Fietkau
9a94538272
scripts/download.pl: fix sha256 hash command ( #21931 )
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 48809
2016-02-27 16:20:06 +00:00
Felix Fietkau
86625a148a
scripts/strip-kmod.sh: remove a few extra sections to slightly reduce kernel module size
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 48608
2016-02-01 13:33:33 +00:00
Jo-Philipp Wich
78e5e56201
scripts: fix GNU data invocation
...
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
SVN-Revision: 48594
2016-02-01 10:43:27 +00:00
Felix Fietkau
18ba1305d5
scripts/get_source_date_epoch.sh: for SVN use a variant that is compatible with older versions
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 48593
2016-02-01 10:33:25 +00:00
Felix Fietkau
64ec9dc2a1
scripts/portable_date.sh: fix parsing of date strings on non-GNU systems
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 48592
2016-02-01 10:33:15 +00:00
Felix Fietkau
be6acba4dc
build system: have tar use $SOURCE_DATE_EPOCH for --mtime
...
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
2016-01-31 23:29:16 +00:00
Felix Fietkau
82522dbaee
build: introduce SOURCE_DATE_EPOCH variable
...
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
2016-01-31 23:29:07 +00:00
Felix Fietkau
2f14514a12
add scripts/portable_date: wrapper around date for bsd/linux
...
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
2016-01-31 23:28:55 +00:00
Jo-Philipp Wich
0333da8943
include: group kmod ipk files into a "kernel" subdirectory
...
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
2016-01-24 15:36:05 +00:00
Felix Fietkau
883b5b8191
build: add @APACHE download facility
...
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
2016-01-17 10:47:32 +00:00
Felix Fietkau
526f470c5f
download.pl: fix openssl sha256 digest output
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 48259
2016-01-16 10:24:15 +00:00
Felix Fietkau
eaa4eba10a
scripts/download.pl: add SHA-256 support
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 48253
2016-01-16 00:19:41 +00:00
Felix Fietkau
3d8c8cf3bb
scripts/metadata.pl: add support for ignoring source packages when generating metadata
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 48170
2016-01-10 16:35:16 +00:00
Felix Fietkau
4eaeee7151
scripts/download.pl: cleanup GNOME source location definitions
...
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
2015-12-10 12:40:08 +00:00
Felix Fietkau
9b68fe961b
build: add support for choosing a different url filename part than the output file
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 47591
2015-11-22 19:06:33 +00:00
Felix Fietkau
edd87061ec
scripts/diffconfig.sh: reduce config output with CONFIG_BUSYBOX_CUSTOM
...
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
2015-11-13 11:34:18 +00:00
Felix Fietkau
9c611eccbf
scripts/diffconfig.sh: reduce config output with CONFIG_ALL_KMODS
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 47461
2015-11-12 01:06:10 +00:00
Felix Fietkau
b0d9e64464
scripts/config: fix handling of CONFDEFAULT on oldconfig
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 47372
2015-11-03 12:00:53 +00:00
Felix Fietkau
2fa7541613
update config.guess & config.sub
...
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
2015-11-02 18:12:45 +00:00
John Crispin
0aeb0ae938
scripts/checkpatch.pl: Fix deprecation warnings
...
In perl version v5.22, use of unescaped opening braces is deprecated
Signed-off-by: Javier Domingo Cansino <javierdo1@gmail.com>
SVN-Revision: 47342
2015-11-02 10:17:03 +00:00
Felix Fietkau
3bbb927728
build: Allow kernel modules to set build ID debug symbol
...
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
2015-10-30 15:20:12 +00:00
Michael Büsch
325a69486e
dl_cleanup: Fix linux blacklist
...
SVN-Revision: 47157
2015-10-07 10:51:18 +00:00
Michael Büsch
9644e33c65
dl_cleanup: Port to Python 3
...
SVN-Revision: 47156
2015-10-07 10:03:16 +00:00
John Crispin
3d5cdf7094
scripts/om-fwupgradecfg-gen.sh: add support for the MR1750
...
Signed-off-by: Sven Eckelmann <sven@open-mesh.com>
SVN-Revision: 46928
2015-09-14 20:11:18 +00:00
John Crispin
5798dfb846
scripts/om-fwupgradecfg-gen.sh: Fix u-boot image md5sum check
...
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
2015-09-14 20:10:10 +00:00
Hauke Mehrtens
accc5e3693
script: downlaod: change mirror for kernel.org
...
kernel.org now suggests a different mirror address. this one also
support IPv6 connections and was faster for me.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
SVN-Revision: 46875
2015-09-11 17:59:12 +00:00
Felix Fietkau
1a2fd4f869
ipkg-build: add ogargs to outer tar/ipk
...
prevent name:uid leaks of build system
Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de>
SVN-Revision: 46863
2015-09-11 16:34:22 +00:00
Felix Fietkau
4baec2468a
include/image.mk: make tar reproducible
...
several packages reported different file order between builds
make binutils, kmod-sched reproducible
Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de>
SVN-Revision: 46859
2015-09-11 16:33:26 +00:00
Jonas Gorski
a164be8ebe
build: add a build step for generic sysupgrade nand image
...
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
SVN-Revision: 46784
2015-09-04 14:44:27 +00:00
Felix Fietkau
13a095085e
scripts/patch-kernel.sh: remove -E flag to preserve empty files touched by patches
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 46723
2015-08-25 07:46:32 +00:00
Jonas Gorski
0d54d44349
scripts/feeds: allow export of feeds with static revisions
...
Add a switch to scripts/feeds that allows listing the feeds with their
currently checked out revisions in feeds.conf compatible format.
This allows providing a feeds.conf for public builds to make replication
of the build easier.
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
SVN-Revision: 46706
2015-08-23 09:35:46 +00:00
Jonas Gorski
ddc6d047b7
scripts: add tool for generating redboot scripts
...
This tool avoids generating the redboot script directly from Makefile, which
can get really complicated when adapting image/Makefile to the new IB system.
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
SVN-Revision: 46488
2015-07-25 12:12:03 +00:00
Felix Fietkau
7f359e52ce
scripts/ipkg-build: fix a build regression introduced in r46360 ( fixes #20082 )
...
go to the $TOPDIR directory before trying to extract a git/svn timestamp
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 46383
2015-07-15 08:17:49 +00:00
Jo-Philipp Wich
c5fbcf59e0
scripts/feeds: return error status from feed update
...
This patch is a modified version of the patch being discussed at here:
https://patchwork.ozlabs.org/patch/471303/
from Martin Strbacka <martin.strbacka@nic.cz>
My version modifies scripts/feeds so that an error with one of the feeds just
raises the error flag, but script continues and tries to update the other
feeds. After all feeds have been updated, the script returns 1 if at least
one feed failed, and 0 on success with all feeds. The user can then utilise
the status in his build script, if he wants.
signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
SVN-Revision: 46374
2015-07-14 22:27:39 +00:00
John Crispin
3eff7927ce
scripts: fix 64bit uclibc external toolchain detection
...
according to gcc, UCLIBC_DYNAMIC_LINKER64
Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de>
SVN-Revision: 46362
2015-07-14 09:57:52 +00:00
John Crispin
3846bb9ac9
ipkg-build: use deterministic timestamps in ipk tarballs
...
As a follow-up to r46026, this commit sets the modification
times of files inside the tarballs to deterministic values.
It uses the date of the last git or svn commit and falls
back to the old behavior if those are not available.
Signed-off-by: Reiner Herrmann <reiner@reiner-h.de>
SVN-Revision: 46360
2015-07-14 09:57:19 +00:00
Steven Barth
37c015fe25
scripts/feeds: print the source of packages installed
...
Can be helpful in diagnosing unexpected package overlaps between
feeds/core.
Signed-off-by: Karl Palsson <karlp@remake.is>
SVN-Revision: 46255
2015-07-07 22:32:38 +00:00
Steven Barth
b6d0061fec
scripts/feeds: observe -p flag for preferential feeds
...
lookup_target was trampling the $feed variable, resulting in the -p flag
no longer preferentially installing from the named feed.
Make sure to use a local variable for this instead.
Signed-off-by: Karl Palsson <karlp@remake.is>
SVN-Revision: 46120
2015-06-24 10:57:20 +00:00
Felix Fietkau
949d7e30e4
ipkg-build: suppress timestamps in gzip headers
...
When creating control.tar.gz, data.tar.gz and $package.ipk
tar compresses them with default gzip options.
This includes build timestamps in their gzip headers.
By setting the GZIP env variable to -n, gzip no longer embeds
them, which is a step towards reproducibility.
See also [1] for more detailed motivations.
[1]: https://wiki.debian.org/ReproducibleBuilds/About
Signed-off-by: Reiner Herrmann <reiner@reiner-h.de>
SVN-Revision: 46026
2015-06-18 06:41:45 +00:00
Jo-Philipp Wich
045966d4e9
scripts: add srecimage.pl, a script to convert binaries to SREC format
...
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
SVN-Revision: 45808
2015-05-28 15:53:55 +00:00
Jonas Gorski
ff6f66c192
scripts/arm-magic.sh: make the generated kernels also include $IMG_PREFIX
...
In r45785 ixp4xx was changed to use a common image prefix also for
kernels, but the script creating them was not updated to generate the
expected filenames.
Fix this by letting arm-magic.sh respect $IMG_PREFIX for the output
kernel file names as well.
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
SVN-Revision: 45803
2015-05-28 10:48:23 +00:00
Felix Fietkau
7de4c92804
scripts/feeds: fix typo in copied code
...
do_install_target copied code from do_install_package, but didn't
replace all text.
Signed-off-by: Karl Palsson <karlp@remake.is>
SVN-Revision: 45784
2015-05-27 15:20:22 +00:00
Jo-Philipp Wich
4d96170c32
scripts: ensure that ipkg-make-index.sh exits successfully
...
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
SVN-Revision: 45771
2015-05-27 08:29:10 +00:00
Felix Fietkau
ecb14f4a5d
build: allow creating empty package feeds
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 45757
2015-05-26 09:09:07 +00:00
John Crispin
803ebd2725
scripts/feeds: Delete package/feeds folder in the clean procedure to prevent dangling links.
...
Hello,
if you run:
./scripts/feeds clean
It removes ./feeds folder but not ./package/feeds/ which is full of dangling links then. This patch fixes it.
Best Regards,
Martin Strbačka
Signed-off-by: Martin Strbacka <martin.strbacka@nic.cz>
SVN-Revision: 45738
2015-05-23 15:29:06 +00:00
Felix Fietkau
08436887fb
scripts/feeds: add support for optionally using a full clone of git repositories
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 45668
2015-05-10 15:51:19 +00:00
Felix Fietkau
a37814faa7
build: make device-tree arg optional in mkits.sh
...
mkits.sh help currently shows dtb file as optional, but generates an
invalid its file when this option is unspecified.
We're fixing this problem by removing the use of the sed command and
just including variables instead.
Signed-off-by: Mathieu Olivari <mathieu@qca.qualcomm.com>
SVN-Revision: 45659
2015-05-10 11:46:45 +00:00
Jo-Philipp Wich
f2277a967d
env: allow passing a commit message on save
...
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
SVN-Revision: 45592
2015-05-01 17:23:15 +00:00
Felix Fietkau
d2030482b3
scripts/ipkg: remove file, it is obsolete
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 45130
2015-03-29 07:35:36 +00:00
Felix Fietkau
55c5d10ca9
tools: replace ipkg-utils with a reduced ipkg-build variant in scripts/
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 45129
2015-03-29 07:35:26 +00:00
Felix Fietkau
2900f6984f
scripts/metadata.pl: do not emit ARCH selection for a target if it has subtargets
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 45112
2015-03-29 04:31:15 +00:00
Jonas Gorski
9dc137397f
buildroot: make it easier to build all kmods
...
Split out kmods from ALL to make it easier to create local builds that
are compatible kmod-wise with releases.
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
SVN-Revision: 44830
2015-03-16 11:51:54 +00:00
Felix Fietkau
4b1165d5c7
scripts/feeds: add support for uninstalling targets
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 44782
2015-03-15 11:08:10 +00:00
Felix Fietkau
2484f3a86a
scripts/feeds: add support for installing targets
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 44781
2015-03-15 11:08:05 +00:00
Felix Fietkau
797b0459c4
scripts/metadata.pm: save target makefile names
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 44780
2015-03-15 11:08:01 +00:00
Felix Fietkau
b7ebb19b02
scripts/feeds: get rid of redundant feed cache copy
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 44779
2015-03-15 11:07:57 +00:00
Felix Fietkau
0efcb02c9d
scripts/feeds: remove useless install_method abstraction
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 44778
2015-03-15 11:07:52 +00:00
Felix Fietkau
b6ac0d799c
scripts/feeds: add support for searching for targets
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 44777
2015-03-15 11:07:44 +00:00
Felix Fietkau
acb43b3df7
scripts/metadata.pl: move parse_target_metadata() to metadata.pm
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 44776
2015-03-15 11:07:40 +00:00
Felix Fietkau
f8b95e05f1
scripts/feeds: scan for target metadata
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 44775
2015-03-15 11:07:34 +00:00
Felix Fietkau
1592f3f607
scripts/feeds: remove a few trailing tabs
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 44773
2015-03-15 11:06:50 +00:00
Felix Fietkau
08706120bb
scripts: fix ubinize-image on OS X
...
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
SVN-Revision: 44761
2015-03-15 05:12:11 +00:00
John Crispin
59acb0b8f4
scripts: fix getver git dir check
...
Git internals are referenced by .git which isn't necessarily a
directory. It may also be a file that references the actual .git
directory using the gitdir directive.
If .git is assumed to be a directory the build will not be able to get
the correct version when openwrt is included as a git submodule because
when used as a submodule .git will actually be a file referencing to a
subdirectory in the parent's git dir.
When the correct version is not detected some image generation tools
will fail because the OpenWrt string will be 'OpenWrtunknown' which is
too long for some header formats.
Signed-off-by: Felix Kaechele <heffer@fedoraproject.org>
SVN-Revision: 44452
2015-02-14 20:48:37 +00:00
Jo-Philipp Wich
2efe776ab0
scripts: extend rstrip.sh to remove bad rpaths
...
Remove all rpath entries which do not point to a location below /lib or
/usr/lib and which do not begin with '$ORIGIN'.
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
SVN-Revision: 44377
2015-02-10 15:48:48 +00:00
John Crispin
e2684c218d
build: propagate override information to .config file
...
With this change, override information is now parsed from the metadata
and put in the %packages hash. A new hash - %overrides - is created and
exported, to be used during the .config-package.in generation.
If an override is detected, a new option CONFIG_OVERRIDE_PKGS will be
created in the .config, and will contain a space-separated list of all
the overridden packages.
Signed-off-by: Mathieu Olivari <mathieu@qca.qualcomm.com>
SVN-Revision: 44336
2015-02-09 12:09:43 +00:00
John Crispin
2e2c04777b
build: allow openwrt.git packages to be replaced by feeds
...
Currently, replacing a package available in openwrt.git requires
modifications in openwrt.git, or requires duplicating the package in a
feed but with a different name, which causes all kind of problems
related to dependencies (all packages selecting it would have to be
modified accordingly to select the new package).
With this change, if a package with the same name is present both in
feeds/ and package/ folders, the one in feeds/ can override the one
in package/, both in the menuconfig and during the build, by passing the
"-f" option to "./scripts/feeds install"
This mechanism is particularly useful for vendor tree, or in general for
application which needs to replace one particular package which exists
within openwrt.git by a custom/newer version.
Signed-off-by: Mathieu Olivari <mathieu@qca.qualcomm.com>
SVN-Revision: 44334
2015-02-09 12:09:23 +00:00
Jo-Philipp Wich
a06f81cc3b
scripts: avoid outputting empty lines in gen-dependencies.sh
...
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
SVN-Revision: 44208
2015-01-29 22:05:31 +00:00
Jo-Philipp Wich
2e5411518f
scripts: gen-dependencies.sh: fix kmod dependency generation
...
Do not output faulty ".ko" dependency if a scanned .ko file has an empty
"depends=" specification, also replace the `grep | sed | awk` chain with a
single sed program.
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
SVN-Revision: 44206
2015-01-29 21:59:10 +00:00
Jo-Philipp Wich
f0293eae4f
scripts: add version_filter command to metadata.pl
...
Also support version annotated Kconfig symbols in the kconfig subcommand.
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
SVN-Revision: 44188
2015-01-29 15:50:53 +00:00
Jo-Philipp Wich
9694917416
scripts: remote-gdb: fix target / libc matching on directory names
...
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
SVN-Revision: 44088
2015-01-23 12:41:06 +00:00
John Crispin
b6f268d775
build: revert r44076
...
the patch causes issues when installing feeds
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 44078
2015-01-22 13:13:09 +00:00
John Crispin
de3bf7e4c2
build: allow openwrt.git packages to be replaced by feeds
...
Currently, replacing a package available in openwrt.git requires
modifications in openwrt.git, or requires duplicating the package in a
feed but with a different name, which causes all kind of problems
related to dependencies (all packages selecting it would have to be
modified accordingly to select the new package).
With this change, if a package with the same name is present both in
feeds/ and package/ folders, the one in feeds/ can override the one
in package/, both in the menuconfig and during the build, by passing the
"-f" option to "./scripts/feeds install"
This mechanism is particularly useful for vendor tree, or in general for
application which needs to replace one particular package which exists
within openwrt.git by a custom/newer version.
Signed-off-by: Mathieu Olivari <mathieu@qca.qualcomm.com>
SVN-Revision: 44076
2015-01-22 09:35:40 +00:00
Felix Fietkau
a9f6941436
scripts/config: sync with linux upstream
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 43873
2015-01-08 14:33:53 +00:00
Felix Fietkau
0fa857f3ba
scripts/config: fix segfault introduced in r43652
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 43695
2014-12-13 14:01:26 +00:00
Jo-Philipp Wich
8557b8cd3f
scripts/config: remove debug statement
...
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
SVN-Revision: 43655
2014-12-12 12:37:51 +00:00
Felix Fietkau
3d640eccc1
scripts/download.pl: add support for adding mirrors through an environment variable
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 43654
2014-12-12 12:35:23 +00:00
Jo-Philipp Wich
2f39014a48
scripts/config: support includes relative to the currently processed file
...
When the initial glob() attempt on a path specified with "source" statement
yields no result, then retry the globbing on the same path with the directory
part of the currently processed file prepended.
This allows us to reference Config.in files relative to their parent instead
of relative to the top dir.
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
SVN-Revision: 43652
2014-12-12 12:29:58 +00:00
John Crispin
c399f98689
scripts: use extended-remote for greater compatibility
...
Plain "remote" results in failure to connect using the gdb built with
the toolchain. (On atheros target at least) extended-remote also allows
"run" to restart the target process.
Signed-off-by: Karl Palsson <karlp@remake.is>
SVN-Revision: 43596
2014-12-10 15:50:52 +00:00
John Crispin
f76755da3f
packages: fix typo in OpenWrt name
...
Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com>
SVN-Revision: 43542
2014-12-07 16:53:30 +00:00
Felix Fietkau
5462e85ef1
scripts/config.sub: add back musl support that was accidentally dropped in r43353
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 43417
2014-11-28 00:59:57 +00:00
Florian Fainelli
dd8d7188ee
aarch64: add initial support
...
Add initial support for the AArch64 architecture
Signed-off-by: Florian Fainelli <florian@openwrt.org>
SVN-Revision: 43353
2014-11-24 06:33:13 +00:00
John Crispin
9b1bc2d671
scripts/om-fwupgradecfg-gen.sh: add support for the MR900
...
Signed-off-by: Sven Eckelmann <sven@open-mesh.com>
SVN-Revision: 43260
2014-11-14 16:54:23 +00:00
John Crispin
eb738f5275
generate list of license information for packages
...
Many packages define already metadata about their license (PKG_LICENSE),
but this is only included in the ipk files.
This change allows to create the information also on the build-host,
to get an overview on the used licenses.
In the full list, also all packages without this info are shown
Signed-off-by: Thomas Langer <thomas.langer@lantiq.com>
SVN-Revision: 43070
2014-10-26 16:57:33 +00:00
John Crispin
20940138ac
scripts: fix wrong usage of '==' operator
...
[base-files] shell-scripting: fix wrong usage of '==' operator
normally the '==' is used for invoking a regex parser and is a bashism.
all of the fixes just want to compare a string. the used busybox-ash
will silently "ignore" this mistake, but make it portable/clean at least.
this patch does not change the behavior/logic of the scripts.
Signed-off-by: Bastian Bittorf <bittorf@bluebottle.com>
SVN-Revision: 42911
2014-10-14 12:21:11 +00:00
John Crispin
590b855c26
scripts/feeds: handle missing/broken feeds better
...
pts/feeds update -a" can fail rather silently for feeds using git, as
the script does not pause when updating a feed fails. Instead it prints the
error message and calmly continues to the next feed. It is very easy to
overlook update errors with the feeds updated first, as their text scrolls
rapidly away from the screen.
This behaviour has not been a big problem with svn feeds, as svn update stops
with a conflict message and interactively forces the user to resolve or
postpone the conflict. In any case the svn error is noticed by the user.
Majority of the feeds use now git, so this silent failure can affect users
doing private builds in an increasing amount.
Below is an example of update failing and script continuing:
perus@v1404:/Openwrt/barrier$ ./scripts/feeds update -a
Updating feed 'packages' from
'https://github.com/openwrt/packages.git;for-14.07 ' ...
remote: Counting objects: 17, done.
remote: Compressing objects: 100% (15/15), done.
remote: Total 17 (delta 10), reused 8 (delta 1)
Unpacking objects: 100% (17/17), done.
From https://github.com/openwrt/packages
62031da..dc26009 for-14.07 -> origin/for-14.07
Updating 62031da..dc26009
error: Your local changes to the following files would be overwritten by merge:
utils/collectd/Makefile
Please, commit your changes or stash them before you can merge.
Aborting
failed.
Updating feed 'luci' from 'http://git.openwrt.org/project/luci.git;luci-0.12 ' ...
Already up-to-date.
Create index file './feeds/luci.index'
Updating feed 'routing' from
'https://github.com/openwrt-routing/packages.git;for-14.07 ' ...
...
The script prints "failed.", but does not break the updating process. The
"update_feed" function returns an error code 1, but that value is not checked
in the "update" function, which continues to the next feed.
Return 1 as error:
https://dev.openwrt.org/browser/trunk/scripts/feeds#L547
Call to update_feed without any error monitoring:
https://dev.openwrt.org/browser/trunk/scripts/feeds#L585
The included patch makes the feeds script to stop updating after failing to
update a feed.
The script continues to the refresh_config step despite a possible failure in
updating, so the stopping action just prevents the other feeds from updating
and makes the error more clearly visible.
Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
SVN-Revision: 42891
2014-10-13 19:41:27 +00:00
John Crispin
b0a1c7dc0d
include/download.mk: Add download mirrors for tools from GNU Savannah (bug #15184 )
...
I defined a new download method @SAVANNAH in include/download.mk and scripts/download.pl,
and converted quilt and qemu to use that method.
Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
SVN-Revision: 42840
2014-10-08 08:01:39 +00:00
Felix Fietkau
5e4789671a
build: add support for declaring package CONFLICTS which only affect selecting built-in packages
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 42770
2014-10-05 16:41:33 +00:00
Felix Fietkau
a62f0d02ec
build: allow packages with build variants to explicitly select a default variant
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 42654
2014-09-23 10:41:15 +00:00
Jo-Philipp Wich
2490007142
script/remote-gdb: enable and keep command history
...
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
SVN-Revision: 42609
2014-09-18 09:29:44 +00:00
Jo-Philipp Wich
a720dd209f
build: introduce per feed repository support
...
This changeset implements a new menuconfig option to generate separate
repositories for each enabled package feed instead of one monolithic one.
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
SVN-Revision: 42002
2014-08-05 11:24:24 +00:00
John Crispin
4e03bdd63c
scripts/om-fwupgradecfg-gen.sh: add support for the OM5P
...
Signed-off-by: Marek Lindner <marek@open-mesh.com>
[sven@open-mesh.com: Rebased]
Signed-off-by: Sven Eckelmann <sven@open-mesh.com>
SVN-Revision: 41771
2014-07-20 17:30:48 +00:00
Felix Fietkau
069e862ad5
scripts/abs2rel.pl: remove, it is unused
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 41510
2014-07-04 12:11:40 +00:00
Felix Fietkau
dcb5d00875
scripts: unset GREP_OPTIONS in env and feeds ( fixes #16924 )
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 41407
2014-06-30 06:50:22 +00:00
John Crispin
d1898b84c6
scripts/ubinize-image.sh: fix ubinize-image.sh when used with --kernel
...
r41359 broke support for building ubinized images which do
include a kernel volume.
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
SVN-Revision: 41368
2014-06-29 06:59:29 +00:00
Imre Kaloz
dc9ebfc9e6
make UbinizeImage work nicely without a kernel volume
...
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
SVN-Revision: 41359
2014-06-27 12:58:08 +00:00
John Crispin
0f39877bac
scripts/ubinize-image.sh: fix parameter handling
...
ubinize-image.sh previously used ${var:offset:length} substitutions
which are not valid in standard shell.
Replace the existing parameter matching by a case ... esac expression.
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
SVN-Revision: 41347
2014-06-26 11:43:42 +00:00
Felix Fietkau
58bd3b0764
scripts/metadata.pl: avoid adding depends and select for the same symbol
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 41160
2014-06-12 14:35:09 +00:00
John Crispin
ac5d5cbc79
kernel: add a NAND_SUPPORT symbol
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 41122
2014-06-11 12:59:22 +00:00
John Crispin
28a563dec3
scripts: add ubinize-image.sh to generate ubi images
...
This is a wrapper for the ubinize tool which integrates auto-generation
of the ubinize.cfg for common volume layouts with and without a kernel
volume.
It supports auto-detecting the rootfs-type and decides whether or not
to include a rootfs_data volume based on whether the rootfs is ubifs
or not (and thus is read-only and needs rootfs_data ubifs overlay).
The script allows to create layouts as found in all current
ubinize{,-overlay}.cfg files using
ubinize-image.sh --no-kernel root.{ubifs,squashfs} output.ubi $UBI_OPTS
It also includes support for adding ubootenv and ubootenv2 volumes
typically used by U-Boot for storing its environment in UBI using the
"--uboot-env" parameter.
See also
https://gitorious.org/openwrt-oxnas/openwrt-oxnas/source/target/linux/
oxnas/image/Makefile
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
create mode 100755 scripts/ubinize-image.sh
SVN-Revision: 41121
2014-06-11 12:59:19 +00:00
Felix Fietkau
b24897ee5c
build: add a feature flag for low-memory systems
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 40980
2014-06-02 17:04:38 +00:00
Felix Fietkau
aab9ffeacc
scripts/bundle-libraries: fall back to only copying binaries if ldd is unavailable (e.g. non-linux system)
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 40967
2014-06-02 13:27:23 +00:00
Felix Fietkau
2c4bde9c8f
metadata.pl: suppress profile config.in code for targets that have subtargets ( fixes #14480 )
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 40896
2014-06-01 15:18:47 +00:00
Felix Fietkau
e9abf9f8a0
scripts/metadata.pl: fix ignoring missing host dependencies
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 39917
2014-03-13 14:14:06 +00:00
Felix Fietkau
52dcb1f411
scripts/metadata.pl: remove sdk specific config symbol override
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 39916
2014-03-13 14:14:03 +00:00
Felix Fietkau
81013f6bbe
scripts/config: make wildcard include with no results non-fatal
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 39862
2014-03-10 18:58:40 +00:00
John Crispin
2f5f498969
scripts/kconfig.pl: Indicate which file we couldn't open
...
Signed-off-by: Daniel Colascione <dancol@dancol.org>
SVN-Revision: 39327
2014-01-19 17:27:04 +00:00
Felix Fietkau
27fe688c5f
scripts/download.pl: prefer the GNU mirror redirect over the primary site ( #14603 )
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 39045
2013-12-13 16:43:07 +00:00
Imre Kaloz
f3e2331e18
add a feature flag for device tree support
...
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
SVN-Revision: 38893
2013-11-22 12:01:01 +00:00
Felix Fietkau
13f5ebaf8e
scripts/gen-dependencies.sh: prevent zero-length dep.* files from accumulating in tmp/
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 38860
2013-11-19 00:03:34 +00:00
Felix Fietkau
1879c5f8e7
build: fix build on Mac OS X 10.9
...
Add a wrapper around the clang gcc emulation to fix -print-file-name=<lib>
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 38560
2013-10-28 15:15:09 +00:00
Steven Barth
f22196e4e9
ipkg-make-index: use more backwards-compatible openssl call for SHA256
...
SVN-Revision: 38440
2013-10-17 19:32:28 +00:00
Luka Perkov
59eb6137dd
build: drop FIT option until we actually need it
...
Signed-off-by: Luka Perkov <luka@openwrt.org>
SVN-Revision: 38439
2013-10-17 15:45:41 +00:00
Luka Perkov
cc1b164634
build: add menuconfig option for building FIT images
...
Signed-off-by: Luka Perkov <luka@openwrt.org>
SVN-Revision: 38431
2013-10-16 21:23:24 +00:00
Luka Perkov
acdb0ac35c
build: move mkits.sh script to more common place
...
Signed-off-by: Luka Perkov <luka@openwrt.org>
SVN-Revision: 38430
2013-10-16 10:29:50 +00:00
Steven Barth
8b7b7cabf2
opkg: add support for SHA256 verification
...
based on a patch by Evan Hunt <each@isc.org>
Signed-off-by: Steven Barth <steven@midlink.org>
SVN-Revision: 38302
2013-10-04 05:56:20 +00:00
Felix Fietkau
b14e0d008c
scripts/gen-dependencies.sh: use the cross readelf ( #12940 )
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 38259
2013-09-29 20:10:42 +00:00
Felix Fietkau
e0189ccef4
build: include the cpu type as part of the toolchain/target directory name
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 38214
2013-09-26 17:53:32 +00:00
Luka Perkov
49722e7dcb
feeds: enable cloning of specific git commit
...
Following syntax should be used to enable this feature:
src-git custom git://openwrt/custom-feed^SHA_COMMIT_ID
Signed-off-by: Luka Perkov <luka@openwrt.org>
SVN-Revision: 38172
2013-09-25 13:02:55 +00:00
Florian Fainelli
a1267290ed
scripts/feeds: ensure that --ff is enabled
...
Users may have merge.ff set to false, which will force merge commits to
be generated. The intent here is to have a fast-forward merge when
possible, so let's make sure fast-forwards are enabled.
Signed-off-by: John Szakmeister <john@szakmeister.net>
Signed-off-by: Florian Fainelli <florian@openwrt.org>
SVN-Revision: 37884
2013-09-02 18:25:10 +00:00
Vasilis Tsiligiannis
e532d65373
scripts/checkpatch.pl: Fix whitespace errors
...
Signed-off-by: Vasilis Tsiligiannis <acinonyx@openwrt.gr>
SVN-Revision: 37864
2013-08-31 11:16:49 +00:00
Vasilis Tsiligiannis
957c2576cc
scripts/{cleanfile,cleanpatch}: Add scripts for cleaning up file and patch whitespaces
...
Signed-off-by: Vasilis Tsiligiannis <acinonyx@openwrt.gr>
SVN-Revision: 37863
2013-08-31 11:16:44 +00:00
Vasilis Tsiligiannis
a35b5dc2f7
scripts/checkpatch.pl: Remove checks for __setup's documentation
...
Signed-off-by: Vasilis Tsiligiannis <acinonyx@openwrt.gr>
SVN-Revision: 37862
2013-08-31 11:15:06 +00:00
Vasilis Tsiligiannis
23ea2cb10e
scripts/checkpatch.pl: Remove check for deprecated features
...
Signed-off-by: Vasilis Tsiligiannis <acinonyx@openwrt.gr>
SVN-Revision: 37861
2013-08-31 11:15:03 +00:00
Vasilis Tsiligiannis
c724c76f65
scripts/checkpatch.pl: Introduce 'checkpatch.pl' script
...
Signed-off-by: Vasilis Tsiligiannis <acinonyx@openwrt.gr>
SVN-Revision: 37860
2013-08-31 11:14:53 +00:00
Felix Fietkau
1d3067892b
build: process transitive dependencies after local dependencies
...
This improves duplicate dependency detection
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 37679
2013-08-04 12:17:26 +00:00
Felix Fietkau
0249f7510c
build: suppress conditional dependencies if there are unconditional dependencies on the same symbol
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 37678
2013-08-04 12:17:22 +00:00
Felix Fietkau
94439c2b5d
kernel: add a new global config symbol for enabling rfkill support (can be enabled by default via target feature flag)
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 37491
2013-07-21 11:55:30 +00:00
Felix Fietkau
14b307c10e
scripts/metadata.pl: emit dependencies for package/kernel/linux
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 37433
2013-07-19 12:49:21 +00:00
Felix Fietkau
1ffa67e0c6
scripts/gen-dependencies.sh: clean up temp files
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 37430
2013-07-19 10:41:56 +00:00
Jo-Philipp Wich
b2f2233306
scripts: change metadata.pm and metadata.pl to not emit "default m if ALL" Kconfig instructions for hidden packages
...
SVN-Revision: 37397
2013-07-18 13:11:46 +00:00
Felix Fietkau
ccebc5a091
gen-dependencies.sh: sort kmod dependencies
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 37390
2013-07-18 11:57:36 +00:00
Felix Fietkau
18840ae808
build: implement kernel module dependency tracking
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 37386
2013-07-18 10:47:05 +00:00
Jo-Philipp Wich
24f345dbe4
metadata.pl: use alphabetical order for menuconfig categories, also fixes random ordering of symbols in .config
...
SVN-Revision: 37369
2013-07-16 10:35:40 +00:00
Mirko Vogt
53d4d18f07
remove broken mirrors for linux kernel
...
ftp.de.kernel.org / ftp.fr.kernel.org don't resolv anymore,
ftp.all.kernel.org is DNS round robin anyway
Signed-off-by: Mirko Vogt <mirko@openwrt.org>
SVN-Revision: 37323
2013-07-14 21:26:35 +00:00
Felix Fietkau
40b3db713d
scripts/download.pl: use HTTP instead of FTP for the default GNU site
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 37213
2013-07-09 12:52:12 +00:00
John Crispin
89d41d95bf
metadata.pl: fixpath exclusion of kernel packages
...
module and build deps did not work for kernel modules
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 37091
2013-06-29 19:37:11 +00:00
Jonas Gorski
9f7ef8d5f0
target: split jffs2 NAND out of jffs2
...
Make jffs2_nand a separate option so this can be triggered without forcing
jffs2 images for nor targets.
Adds a new NAND_BLOCKSIZE variable that allows setting the generated layout
in <page_size>:<block_size> pairs.
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
SVN-Revision: 36860
2013-06-05 20:58:03 +00:00
Jo-Philipp Wich
103b69e250
feeds: fix check for core packages that are not in the package/ toplevel directory
...
SVN-Revision: 36763
2013-05-29 18:17:07 +00:00
Felix Fietkau
6f4cb088a0
build: clean up stale files from a previous build when installing a package build to the staging dir
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 36755
2013-05-29 10:31:45 +00:00
Jo-Philipp Wich
1c9bc8822d
scripts: dl_cleanup.py: properly detect file names with <date>-<githash> version string
...
SVN-Revision: 36729
2013-05-26 17:28:11 +00:00
Felix Fietkau
eea89fea6a
build: add config symbols for different ARM arch levels
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 36620
2013-05-13 15:04:58 +00:00
Felix Fietkau
0fb3475ecc
scripts/remote-gdb: add support for debugging core files
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 36596
2013-05-09 20:50:58 +00:00
Felix Fietkau
ed30c90e2d
scripts/remote-gdb: fix path when built for musl
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 36595
2013-05-09 20:50:54 +00:00
Felix Fietkau
f935d800bf
scripts/config: fix an option processing error that caused duplication in diffconfig.sh output ( #13384 )
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 36522
2013-05-02 14:06:10 +00:00
Felix Fietkau
45339e03de
scripts/config: warn on deprected "depends" syntax instead of throwing a syntax error
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 36375
2013-04-22 12:53:32 +00:00
Felix Fietkau
9d5510a500
build: add new menuconfig code based on linux 3.9
...
SVN-Revision: 36361
2013-04-18 12:05:16 +00:00
Felix Fietkau
96bb7c123b
build: consistently use 'depends on' instead of 'depends'
...
make the syntax more compatible with kernel menuconfig
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 36351
2013-04-17 15:36:41 +00:00
Florian Fainelli
9e1d2c15d9
buildroot: allow enabling MIPS16 user-space build
...
Enabling MIPS16 is made conditional on advertising the "mips16" feature
for a specific target since it requires support from the CPU
(HAS_MIPS16) and the actual use of MIPS16 for building packages
(USE_MIPS16).
Signed-off-by: Florian Fainelli <florian@openwrt.org>
SVN-Revision: 36202
2013-04-05 12:36:12 +00:00
Felix Fietkau
1f77bfff96
build: BSD compile fixes
...
following patch allows to build images for Qemu ARM on
OpenBSD 5.2 amd64 and FreeBSD 9.1 amd64.
Mostly small pieces of code changes to get things right on the
specific platform.
Updated the README to describe better, which tools on the host
are required. Added some kind of prepare scripts to install needed
tools on BSD via packages.
Signed-off-by: Waldemar Brodkorb <mail@waldemar-brodkorb.de>
SVN-Revision: 35900
2013-03-07 17:32:29 +00:00
Luka Perkov
819472b2d0
scripts: update GNU mirrors
...
SVN-Revision: 35838
2013-02-28 23:49:36 +00:00
Jonas Gorski
2d8c5117c0
scripts/symlink-tree.sh: print warnings/errors to stderr
...
Makes warnings/errors visible when building with V=w/V=1.
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
SVN-Revision: 35718
2013-02-21 11:45:27 +00:00
Jonas Gorski
5449b24099
scripts/ipkg: print warnings/errors to stderr
...
Makes warnings/errors visible when building with V=w/V=1.
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
SVN-Revision: 35717
2013-02-21 11:45:25 +00:00
Jo-Philipp Wich
9622f68581
buildroot: allow specifying libc personality for external toolchains
...
SVN-Revision: 35703
2013-02-20 15:06:10 +00:00
Gabor Juhos
65fc9eee18
Add xz compressed packages to known extensions of dl_cleanup
...
Add .tar.xz, .txz, and .orig.tar.xz as known extensions to dl_cleanup.py.
Signed-off-by: Ian Leonard <antonlacon@gmail.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 35645
2013-02-17 21:37:14 +00:00
Jo-Philipp Wich
509f39a10a
scripts: bundle-libraries.sh: support mixing 32bit and 64bit binaries
...
SVN-Revision: 35349
2013-01-28 15:54:27 +00:00
Florian Fainelli
4801705d83
remove support for ubicom32
...
Signed-off-by: Florian Fainelli <florian@openwrt.org>
SVN-Revision: 34432
2012-11-30 10:53:55 +00:00
Florian Fainelli
6b63716262
add preliminary support for musl
...
Musl is an alternative C-library, see http://www.musl-libc.org for more infos.
Signed-off-by: Florian Fainelli <florian@openwrt.org>
SVN-Revision: 34314
2012-11-23 20:02:29 +00:00
Gabor Juhos
d325e622d2
scripts/om-fwupgradecfg-gen.sh: add support for the MR600
...
Signed-off-by: Marek Lindner <lindner_marek@yahoo.de>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 34233
2012-11-18 09:32:36 +00:00
Gabor Juhos
7da001d068
scripts: rename om2p-fwupgradecfg-gen.sh to more generic om-fwupgradecfg-gen.sh
...
It will be used for non OM2P boards as well.
Signed-off-by: Marek Lindner <lindner_marek@yahoo.de>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 34200
2012-11-14 14:18:33 +00:00
Imre Kaloz
527c473674
add support for the Tonze AP-422/425
...
SVN-Revision: 34165
2012-11-11 21:04:30 +00:00
Imre Kaloz
79289bdca5
fix machtype handling above 4096
...
SVN-Revision: 34141
2012-11-11 11:07:59 +00:00
Jo-Philipp Wich
26263535fe
scripts: fix remote-gdb script to cope with _eabi suffix in uClibc version
...
SVN-Revision: 34118
2012-11-08 11:22:09 +00:00
Jonas Gorski
53c014e221
scrips/metadata.pl: fix broken targets with subtargets being selectable
...
r26926 moved all target features to subtargets if present, which had the
side effect that broken targets are available for selection, just without
any available subtargets (since they are still marked as broken).
Fix this by explicitly letting the top level target also depend on broken.
SVN-Revision: 33892
2012-10-22 22:16:19 +00:00
Jo-Philipp Wich
5b38fdd704
scripts/config: fix menuconfig segfault in text inputs when format patterns are entered by the user
...
SVN-Revision: 33773
2012-10-14 17:11:57 +00:00
Imre Kaloz
84b43f112a
AR71xx/9xxx based routers are the most common these days, select that as the default target
...
SVN-Revision: 33590
2012-09-28 20:54:35 +00:00
Jo-Philipp Wich
c70e919ae8
fix library bundling when host libraries reside in /lib/tls/ or similar
...
SVN-Revision: 33353
2012-09-09 22:37:32 +00:00
Jo-Philipp Wich
183f625a48
add a helper script to bundle required libraries for host utilities
...
SVN-Revision: 33195
2012-08-15 13:28:23 +00:00
Felix Fietkau
2335304a08
build: ensure that reordering of KCONFIG lines are handled properly and that the final result does not depend on the package scan order
...
SVN-Revision: 32788
2012-07-22 21:00:07 +00:00
Felix Fietkau
3df534502c
scripts/feeds: redirect stderr of the which call to /dev/null to avoid potentially confusing error messages on some systems
...
SVN-Revision: 32499
2012-06-25 00:27:03 +00:00
Jo-Philipp Wich
3f8fb64e60
gen-dependencies.sh: only include lib*.so* files in dependency list, to match the filtering of provides lists
...
SVN-Revision: 32272
2012-06-12 22:02:41 +00:00
Felix Fietkau
7cb42738e6
package/index: filter out the libc package from the index
...
SVN-Revision: 32187
2012-06-11 01:29:11 +00:00
Felix Fietkau
6ca6d317b3
build: add checks for missing package dependencies
...
SVN-Revision: 32185
2012-06-11 00:57:36 +00:00
Felix Fietkau
03babf3641
target: add a feature flag for RTC support
...
SVN-Revision: 31777
2012-05-17 15:28:09 +00:00
Felix Fietkau
a243cb1735
scripts/ipkg-make-index.sh: use bash instead of /bin/sh to fix use of [[ ]]
...
SVN-Revision: 31708
2012-05-13 16:29:39 +00:00
Felix Fietkau
f1fd082441
build: prevent the virtual "kernel" package from leaking into the package index to make dependency checks fail on kernel config mismatch
...
SVN-Revision: 31704
2012-05-13 12:31:53 +00:00
Jo-Philipp Wich
12728ea66b
download.pl: - cleanup cache handling code - use alternative m// and s/// delimiters to get rid of tedious slash escaping - use multi-argument form of system() where possible to avoid quoting & escaping issues - avoid a temporary variable
...
SVN-Revision: 31677
2012-05-11 18:17:15 +00:00
Felix Fietkau
85f1a2c67a
add further countermeasures against the git core.autocrlf option ( fixes #9075 )
...
SVN-Revision: 31650
2012-05-08 13:30:54 +00:00
Jo-Philipp Wich
643babfc3c
ext-toolchain.sh: don't pass CFLAGS when wrapping ld
...
SVN-Revision: 31549
2012-05-01 22:45:55 +00:00
Felix Fietkau
34ffb526a2
build: rework verbosity level selection
...
V=99 and V=1 are now deprecated in favor of a new verbosity class system,
though the old flags are still supported.
You can set the V variable on the command line (or OPENWRT_VERBOSE in the
environment) to one or more of the following characters:
- s: stdout+stderr (equal to the old V=99)
- c: commands (for build systems that suppress commands by default, e.g. kbuild)
- w: warnings/errors only (equal to the old V=1)
SVN-Revision: 31484
2012-04-26 17:53:56 +00:00
Mirko Vogt
1f489e4084
re-enable shallow git clones ('--depth 1')
...
SVN-Revision: 31469
2012-04-24 18:19:16 +00:00
Mirko Vogt
2ebcd4707c
include revisions of feeds when listing them
...
SVN-Revision: 31467
2012-04-24 12:56:18 +00:00
John Crispin
0c4bcae7a1
allow arbitary folder layout when using localmirrors
...
Make the download script follow symlinks and search subfolders when looking for
a file in a local download mirror.
Signed-off-by: Tathagata Das <tathagata@alumnux.com>
SVN-Revision: 31240
2012-04-10 14:11:45 +00:00
Felix Fietkau
571bd159a1
kernel: fix stripping of modules with duplicate symbol names
...
SVN-Revision: 31031
2012-03-19 21:09:47 +00:00
Felix Fietkau
7b609a31be
kernel: improve profiling support, keep static symbols when profiling is enabled
...
SVN-Revision: 30964
2012-03-17 13:03:14 +00:00
Felix Fietkau
236dd9d9a2
kernel: keep more symbols in the kernel modules when doing profiling
...
SVN-Revision: 30762
2012-03-01 15:13:26 +00:00
Felix Fietkau
a8ec8ce1ac
kernel: do not rename module symbols with kallsyms enabled
...
SVN-Revision: 30759
2012-03-01 09:58:03 +00:00
Felix Fietkau
548155ab7d
Revert "scripts/download.pl: fix sourceforge url"
...
To use the new url, the project name would need to be appended multiple times,
let's hope the old redirect will continue to work in the future
SVN-Revision: 30730
2012-02-26 09:29:53 +00:00
Felix Fietkau
4dc4ebe0c8
scripts/download.pl: fix sourceforge url
...
SVN-Revision: 30726
2012-02-25 20:44:02 +00:00
Felix Fietkau
c2590fe930
strip kernel modules more aggressively: make all global symbols local, rename all symbols in the symbol table to make them compress better
...
SVN-Revision: 30662
2012-02-20 17:38:26 +00:00
Florian Fainelli
e50315d61c
env: colorize git output
...
SVN-Revision: 30602
2012-02-16 19:24:34 +00:00
Jo-Philipp Wich
1a6ccdc0cf
patch-specs.sh: gcc 3.4.6 has an additional "(OpenWrt-2.0)" after the version tag, cope with that
...
SVN-Revision: 29948
2012-01-29 20:19:06 +00:00
Jo-Philipp Wich
0c3a383974
download.pl: remove ftp.geo.kernel.org mirror, it does not resolve
...
SVN-Revision: 29947
2012-01-29 19:28:12 +00:00
Jo-Philipp Wich
c21b5cc34a
ext-toolchain.sh: rework generated gcc wrapper Only append -L and -Wl,-rpath-link flags if the command line contains -l, -L, -shared or -static flags; this is needed to suppress "-rpath-link: linker input file unused because linking not done" on each cc invocation.
...
SVN-Revision: 29946
2012-01-29 18:53:12 +00:00
Jo-Philipp Wich
d5cf09642c
patch-specs.sh: fallback to ext-toolchain.sh --wrap if spec file patching is not possible (gcc < 4.3.0)
...
SVN-Revision: 29945
2012-01-29 17:42:58 +00:00
Jo-Philipp Wich
86ddf7c7a8
ext-toolchain.sh: support --wrap with src == dest
...
SVN-Revision: 29944
2012-01-29 17:42:10 +00:00
Jo-Philipp Wich
fe60046a26
ext-toolchain.sh: CONFIG_NLS -> CONFIG_BUILD_NLS
...
SVN-Revision: 29782
2012-01-19 00:03:52 +00:00
Jo-Philipp Wich
ee62b0d751
ext-toolchain.sh: fix typo
...
SVN-Revision: 29781
2012-01-19 00:01:54 +00:00
Jo-Philipp Wich
796231d95c
ext-toolchain.sh: add option to write .config Add a new --config option to generate a .config from a given toolchain, this allows for easy integration of external toolchains, e.g.
...
./scripts/ext-toolchain.sh --toolchain /opt/mips-2011.03 --cflags "-muclibc" --config atheros
to setup a ready-to-compile atheros target using the external CodeSourcery toolchain.
SVN-Revision: 29780
2012-01-18 23:46:06 +00:00
Jo-Philipp Wich
989c73848f
ext-toolchain.sh: properly handle toolchains without sysroot support
...
SVN-Revision: 29772
2012-01-18 04:03:15 +00:00
Jo-Philipp Wich
f20b6c3ff9
ext-toolchain.sh: - use GCC's own idea of the target name (-dumpmachine) - display help if called without args - add copyright foo - remove some leftover flag handling code
...
SVN-Revision: 29769
2012-01-18 03:32:30 +00:00
Jo-Philipp Wich
6df3af8a36
add patch-specs.sh, a utility for modifying GCC specs The patch-specs.sh utility dumps the GCC specs of a given toolchain and modifies them to always include $STAGING_DIR in the link and compiler command lines, this makes most -I and -L flags unnecessary and lets the compiler automatically find libraries and headers in the staging dir, also solves the majority of -rpath issues.
...
SVN-Revision: 29767
2012-01-18 03:11:45 +00:00
Jo-Philipp Wich
7a563f122f
add ext-toolchain.sh, a utility for external toolchains The ext-toolchain.sh utility script implements various external toolchain tasks: * Testing of available features, like c++, soft-float or ipv6 support * Finding the libc implementation (uclibc or eglibc/glibc) * Inferring the GNU target name * Finding shared objects for packaging (libc, libpthread, ...) * Finding executables for packaging (ldd, gdbserver, ...) * Generating wrapper scripts for toolchain commands
...
SVN-Revision: 29765
2012-01-18 03:03:24 +00:00
Jo-Philipp Wich
73b4974397
metadata.pl: filter direct recursive depends like "select PACKAGE_kmod-ipv6 if PACKAGE_kmod-ipv6"
...
SVN-Revision: 29695
2012-01-08 15:49:20 +00:00
Gabor Juhos
6c28efff9c
scripts: add a script for generating fwupgrade config for the OM2P board
...
Signed-off-by: Marek Lindner <lindner_marek@yahoo.de>
SVN-Revision: 29396
2011-12-01 22:49:03 +00:00
Nicolas Thill
140dfb485f
scripts: add script to generate combined extended image format
...
Signed-off-by: Marek Lindner <lindner_marek@yahoo.de>
SVN-Revision: 29358
2011-11-30 07:43:58 +00:00
Felix Fietkau
a97304cf61
scripts/env: improve the wording of the question when starting repository (patch by Rolf Leggewie)
...
SVN-Revision: 29262
2011-11-19 17:15:53 +00:00
Felix Fietkau
6b929e2687
scripts/env: make mv and cp operations more robust (treat dotfiles appropriately) (based on patch by Rolf Leggewie)
...
SVN-Revision: 29261
2011-11-19 17:15:50 +00:00
Felix Fietkau
b9eb659364
scripts/env: fix indentation (patch by Rolf Leggewie)
...
SVN-Revision: 29260
2011-11-19 17:15:45 +00:00
Michael Büsch
50a7ff97ef
mconf: Fix compile warning: "warning: conflicting types for ‘sym_set_all_changed’"
...
SVN-Revision: 29190
2011-11-16 17:27:36 +00:00
Felix Fietkau
5e48d47dfe
scripts/config: merge fixes for various issues, including recursive dependency detection/handling (patch by mbm)
...
SVN-Revision: 28658
2011-10-28 14:09:12 +00:00
Jo-Philipp Wich
ad6c4198a9
getver.sh: cope with varying "git log" line formats to reliably extract the git-svn rev ( #10268 )
...
SVN-Revision: 28604
2011-10-26 14:54:57 +00:00
Felix Fietkau
e925dbf704
scripts/feeds: override the OPENWRT_BUILD variable when calling internal targets (based on patch from #10212 )
...
SVN-Revision: 28503
2011-10-21 13:03:37 +00:00
John Crispin
ad250089aa
allow targets to define a default subtarget when using automatic subtarget detection from r27407
...
SVN-Revision: 27444
2011-07-04 11:21:37 +00:00
John Crispin
4d8b9fafcb
ignore empty lines in scripts/localmirrors
...
SVN-Revision: 27416
2011-07-03 19:33:24 +00:00
Jo-Philipp Wich
0649dfdfb6
download.pl: cope with potential two-digit linux versions
...
SVN-Revision: 27376
2011-07-03 15:00:24 +00:00
Felix Fietkau
bcf4757508
add support for hidden packages that get selected/built but do not show up in menuconfig
...
SVN-Revision: 27344
2011-07-02 06:49:09 +00:00
Jo-Philipp Wich
e745fc762b
metadata.pl: fix handling of multiple conditional depends that reference the same package (exposed by previous hotplug2 changes), also kill duplicate dependency specs while we're at it
...
SVN-Revision: 27267
2011-06-23 19:28:16 +00:00
Jo-Philipp Wich
11dcad2834
scripts/config/.gitignore omits source files scripts/config/.gitignore aims to avoid checking binaries in to git. Unfortunately it also omits conf.c, confdata.c, and all source files in lxdialog. An OpenWRT tree pulled from a git repository will not build, and I suspect this was not the intention.
...
Signed-off-by: Denton Gentry <denny@geekhold.com>
SVN-Revision: 27244
2011-06-20 10:41:02 +00:00
Hauke Mehrtens
e04f68fb77
Fix CONFIG_LINUX_ for linux 3.0
...
Signed-off-by: Jonas Gorski <jonas.gorski+openwrt@gmail.com>
SVN-Revision: 27184
2011-06-15 21:11:05 +00:00
Felix Fietkau
6e43f65dc4
remove the now unused Target-Kernel field from the target metadata
...
SVN-Revision: 27033
2011-05-30 23:07:53 +00:00
Jo-Philipp Wich
a02ba6ccc2
Add support for git-svn package feeds Signed-off-by: Jonathan McCrohan <jmccrohan@gmail.com>
...
SVN-Revision: 26988
2011-05-24 09:30:24 +00:00
Felix Fietkau
984ab9a139
metadata: do not emit feature flag selects for targets which have subtargets - fixes a buildbot error cause by ssb not being blacklisted for lantiq falcon
...
SVN-Revision: 26926
2011-05-17 12:54:45 +00:00
Hamish Guthrie
7b53059401
Correct libc path
...
SVN-Revision: 26885
2011-05-13 11:52:40 +00:00
Felix Fietkau
459762ace2
add a new package metadata variable MDEPENDS for specifying local menuconfig dependencies that do not propagate to other packages
...
SVN-Revision: 26491
2011-04-05 19:03:51 +00:00
John Crispin
e42e2b3e9c
path expansion was broken due to a badly quoted *
...
Signed-of-by: Benjamin Cama <benoar@dolka.fr>
SVN-Revision: 26391
2011-04-01 11:07:27 +00:00
Felix Fietkau
1dbabd309b
scripts/diffconfig.sh: handle CONFIG_ALL, CONFIG_DEVEL and CONFIG_TOOLCHAINOPTS properly
...
SVN-Revision: 26349
2011-03-28 23:25:18 +00:00
Felix Fietkau
1cc0bcfffc
base-files: relink uclibc and libgcc libraries to remove leftovers of the statically linked initial libgcc saves a few kb and gets rid of unused not exported functions as well should also improve the reliability of mklibs
...
SVN-Revision: 25800
2011-03-01 05:40:38 +00:00
Jo-Philipp Wich
073c5e0e74
add config.rpath and link it in autotools.mk if missing, some packages might need it, especially users of lib-link.m4 or iconv.m4
...
SVN-Revision: 25753
2011-02-27 15:39:27 +00:00
Jo-Philipp Wich
3edf9c3544
Never write errors to stdout from ipkg-make-index.sh
...
Since the output of ipkg-make-index.sh is unconditionally used to create
the Packages file, sending the errors into this file is unacceptable
(both because they are not shown to users and because they make an
invalid Packages file).
For incorrect invocation, write to stderr.
For errors from which, send to /dev/null with stdout.
Signed-off-by: Kevin Locke <klocke@digitalenginesoftware.com>
SVN-Revision: 25677
2011-02-23 22:58:58 +00:00
Jo-Philipp Wich
a9c7feb0f7
download.pl: adjust kernel download urls for longterm and testing releases
...
SVN-Revision: 25589
2011-02-19 15:41:00 +00:00
Felix Fietkau
8d0cf8fde2
metadata: fix handling of multiple build dependencies with different conditions
...
SVN-Revision: 25505
2011-02-13 02:52:22 +00:00
Felix Fietkau
b0359432ae
scripts/diffconfig.sh: use the new kconfig mode to remove some more unnecessary entries in the generated output
...
SVN-Revision: 25233
2011-01-29 02:35:28 +00:00
Felix Fietkau
b760b5fcf7
scripts/kconfig.pl: add a mode to generate a config diff that ignores added undefined config values
...
SVN-Revision: 25232
2011-01-29 02:35:24 +00:00
Felix Fietkau
024dc6ea5f
add scripts/diffconfig.sh: a tool for making reduced .config files these files contain only the target selection and options that differ from the default settings this makes it much easier to review .config files
...
SVN-Revision: 25231
2011-01-29 02:22:45 +00:00
Felix Fietkau
b0f60f8023
scripts/config: add an option for making the conf tool write to a different file
...
SVN-Revision: 25230
2011-01-29 02:22:40 +00:00
Felix Fietkau
8740549c57
mpc85xx: add a new 'spe_fpu' feature flag for the FPU used on freescale powerpc cpus The SPE FPU is ABI-incompatible with the regular powerpc FPU, this needs to be reflected in the toolchain target name. Fixes floating point crashes in user space
...
SVN-Revision: 25018
2011-01-16 01:25:06 +00:00
Jo-Philipp Wich
65fad8645d
download.pl: pass --no-check-certificate to wget
...
SVN-Revision: 24686
2010-12-18 20:54:53 +00:00
Michael Büsch
58255d44e2
deptest: Also accept stamps that are broken links.
...
SVN-Revision: 24350
2010-12-08 16:08:14 +00:00
Felix Fietkau
3945267a99
scripts/feeds: support checking out git trees with different branches
...
SVN-Revision: 24285
2010-12-06 16:57:25 +00:00
Michael Büsch
bdfe80df4c
deptest: Make stamps be symlinks to logs.
...
SVN-Revision: 24277
2010-12-06 10:49:37 +00:00
Imre Kaloz
4052849677
switch from ext2 to ext4 (w/o) journaling
...
SVN-Revision: 24084
2010-11-22 12:12:39 +00:00
Michael Büsch
bf274946af
deptest: Capitalize failure message. Makes it easier to spot in the logs.
...
SVN-Revision: 23855
2010-11-04 11:30:10 +00:00
Michael Büsch
100fc4c7ce
deptest: Do not clobber the base build and staging dirs
...
SVN-Revision: 23835
2010-11-03 18:48:03 +00:00
Michael Büsch
55081c6a19
deptest: --force also overrides blacklist stamps
...
SVN-Revision: 23827
2010-11-03 15:18:53 +00:00
Michael Büsch
ae6b08d22b
deptest: Add --force to force a test
...
SVN-Revision: 23826
2010-11-03 15:01:03 +00:00
Michael Büsch
050902efd7
deptest: Install of host tools has to be forced for every test, because the host staging dir is cleaned prior a test.
...
SVN-Revision: 23825
2010-11-03 14:58:32 +00:00
Michael Büsch
00e1797f14
deptest: Add option for lean test
...
SVN-Revision: 23821
2010-11-03 14:44:31 +00:00
Michael Büsch
1e317e8f43
deptest: Add sanity check to avoid trouble with illegal package names
...
SVN-Revision: 23819
2010-11-03 12:49:38 +00:00
Michael Büsch
57ccc7e834
deptest: Support specifying certain packages to test on the commandline.
...
SVN-Revision: 23818
2010-11-03 12:41:28 +00:00
Michael Büsch
0e2b397a8b
deptest: Add optional blacklisting
...
SVN-Revision: 23811
2010-11-03 01:10:52 +00:00
Michael Büsch
ba91f56bf4
deptest: Check for .config
...
SVN-Revision: 23810
2010-11-03 00:27:50 +00:00
Michael Büsch
87fe1d36d3
deptest: Install the kernel at init stage
...
SVN-Revision: 23809
2010-11-03 00:24:12 +00:00
Michael Büsch
e37d386dfc
deptest: Better detection of base directory
...
SVN-Revision: 23807
2010-11-02 23:22:34 +00:00
Michael Büsch
0cacb5855d
deptest: Also make sure the toolchain is built in the initialization step. This makes it possible to run the script from within a fresh tree.
...
SVN-Revision: 23806
2010-11-02 22:48:29 +00:00
Michael Büsch
0f21452ff8
deptest: Also create "failed" stamps. This makes it easier to check what failed after the script finished.
...
SVN-Revision: 23805
2010-11-02 22:36:32 +00:00
Michael Büsch
6bb89b547a
deptest: Add shbang
...
SVN-Revision: 23804
2010-11-02 21:58:24 +00:00
Michael Büsch
12dfecd4be
deptest: Fix indent
...
SVN-Revision: 23803
2010-11-02 21:57:03 +00:00
Florian Fainelli
0d74b45467
add support for darcs-based feeds
...
The following patch adds support for darcs-based feeds.
It is tested and works well for my purpose. I wish it
were committed upstream so that I can share my feed with
other users without converting it to svn/git/whatever.
Best regards,
Signed-off-by: Gabriel Kerneis <kerneis@pps.jussieu.fr>
SVN-Revision: 23616
2010-10-24 12:36:51 +00:00
Michael Büsch
b5cfdcd278
Fix typo
...
SVN-Revision: 23524
2010-10-18 21:43:50 +00:00
Jo-Philipp Wich
04c4b01fb4
remote-gdb: fix parsing of arch and libc from given path as well
...
SVN-Revision: 23407
2010-10-12 03:07:07 +00:00
Jo-Philipp Wich
9d50430238
remote-gdb: - fix parsing of arch-libc tuples - automatically add sysroot to executable if needed
...
SVN-Revision: 23406
2010-10-12 01:15:55 +00:00
Jo-Philipp Wich
80a79d3910
metadata.pl: don't emit LINUX_2_6 selects anymore
...
SVN-Revision: 23375
2010-10-10 12:27:44 +00:00
Jo-Philipp Wich
be2a1e14ba
patch-kernel.sh: utilize --force ( #7745 ), also use the PATCH env var and fallback to "patch" if unset
...
SVN-Revision: 23314
2010-10-08 09:21:01 +00:00
Jo-Philipp Wich
adcfdc46e0
feeds: restore previously active feed after install_package(), fixes install all case for packages with inter-feed dependencies
...
SVN-Revision: 23171
2010-10-02 02:37:27 +00:00
Felix Fietkau
7f80e26661
fix build dependencies on packages with multiple variants but no selected virtual packages
...
SVN-Revision: 23102
2010-09-20 20:17:28 +00:00
Michael Büsch
1460115836
dl_cleanup: Add support for GIT-SHASUM
...
SVN-Revision: 23084
2010-09-18 19:19:34 +00:00
Jo-Philipp Wich
064e7c8f00
Implement an ARCH_PACKAGES variable which defaults to BOARD but can be overridden on a per-subtarget basis. This is intended for targets such as adm5120 and malta which support both big and little endianess and will replace the target specific exceptions in package-defaults and Image Builder.
...
SVN-Revision: 23029
2010-09-12 20:49:54 +00:00
Jo-Philipp Wich
097d38615b
metadata.pl: fix handling of HOST_BUILD_DEPENDS if a package is referenced that only exists as source pkg, e.g. libtool
...
SVN-Revision: 22946
2010-09-06 01:43:20 +00:00
Felix Fietkau
00d1e599d7
add a command for printing a cleaned up make target database - will be used to analyze package dependencies at some point
...
SVN-Revision: 22871
2010-09-01 17:51:36 +00:00
Felix Fietkau
198f027c4b
scripts/feeds: fix a bug in the metadata caching change
...
SVN-Revision: 22819
2010-08-26 21:40:16 +00:00
Felix Fietkau
76d517b629
scripts/feeds: switch to the right feed metadata when installing a package to fix dependency handling (patch by matthijs from #5891 )
...
SVN-Revision: 22815
2010-08-26 15:13:47 +00:00
Felix Fietkau
f9ff9d02f6
scripts/feeds: cache feed metadata instead of re-reading it on every get_feed() call
...
SVN-Revision: 22814
2010-08-26 15:13:42 +00:00
Michael Büsch
7a8066735d
Add usb gadget feature flag
...
SVN-Revision: 22798
2010-08-25 17:35:34 +00:00
Michael Büsch
b0745dd8ce
Fix dl_cleanup.py
...
SVN-Revision: 22578
2010-08-10 15:08:02 +00:00
Felix Fietkau
0e1337ea47
scripts/env: fix initialization of files/ when creating a new environment (patch from #7603 )
...
SVN-Revision: 22336
2010-07-21 17:49:52 +00:00
Imre Kaloz
c1e57d12c8
upgrade the config.* scripts
...
SVN-Revision: 22312
2010-07-20 13:21:00 +00:00
Hamish Guthrie
1d2f157928
Revert r22094 and r22095
...
SVN-Revision: 22096
2010-07-08 16:15:57 +00:00
Hamish Guthrie
6a7c2c244f
Added --non-interactive flag to svn package downloads
...
SVN-Revision: 22095
2010-07-08 15:44:24 +00:00
Hamish Guthrie
6615374f13
add --trust-server-cert to svn checkout of feeds
...
SVN-Revision: 22094
2010-07-08 15:27:33 +00:00
Felix Fietkau
bb44616ebe
set the default target to brcm47xx, now that brcm-2.4 is gone
...
SVN-Revision: 21960
2010-06-26 23:47:25 +00:00
Florian Fainelli
27fc94ff52
make flashing scripts executable
...
SVN-Revision: 21958
2010-06-26 22:18:15 +00:00
Nicolas Thill
b3b591c000
buildsystem: rename tgz/TGZ "feature" and matching options to targz/TARGZ
...
SVN-Revision: 21238
2010-04-28 14:47:43 +00:00
Felix Fietkau
ceaa4bbe3c
metadata.pl: fix recursive handling of conditional dependencies
...
SVN-Revision: 21088
2010-04-22 15:39:20 +00:00
Felix Fietkau
091934e7fb
fix timestamp checks for build system paths which have '.svn' in their directory name
...
SVN-Revision: 20856
2010-04-14 22:21:15 +00:00
Nicolas Thill
841eff56d4
target/ixp4xx: fix image building after r20834 ( closes : #7157 )
...
SVN-Revision: 20854
2010-04-14 14:36:41 +00:00
Florian Fainelli
a1058204d0
rework board detection
...
Rework board detection, separate board specific code into its own file. As a
result we also change the way rdc images are generated.
Support for board which required binary tools, like AMIT are dropped. Patch by
Bernhard Loos.
SVN-Revision: 20294
2010-03-18 23:35:21 +00:00
Jo-Philipp Wich
029b3f62ab
remote-gdb: * use sysroot instead of solib search paths * don't query arch if there's only one choice
...
SVN-Revision: 20290
2010-03-18 21:10:56 +00:00
Felix Fietkau
63350fa59b
scripts/metadata.pl: fix handling of multiple conditional depends on the same package
...
SVN-Revision: 20085
2010-03-09 15:51:40 +00:00
Jo-Philipp Wich
e2e39dae90
ipkg: strip directory entries from package file list when offline installing .ipk archives, this prevents opkg from removing directories like /usr later on when trying to uninstall preinstalled packages (partial fix for #6772 )
...
SVN-Revision: 19936
2010-03-01 18:01:33 +00:00
Jo-Philipp Wich
ba29f08008
remote-gdb: change library paths after r19849, swap usr/lib/ and lib/
...
SVN-Revision: 19850
2010-02-24 23:51:50 +00:00
Jo-Philipp Wich
20a64a738c
remote-gdb: add build_dir/target-*/debug-* to solib-search-path
...
SVN-Revision: 19845
2010-02-24 22:56:36 +00:00
Lars-Peter Clausen
900de42186
Add audio feature flag.
...
There are targets which neither have usb host nor pci support but do have audio
capabilities. Those targets should expliclitly specifiy that they support audio
through the new feature flag. The audio feature flag is also implicitly selected
by the usb and pci feature flags.
SVN-Revision: 19643
2010-02-15 20:03:18 +00:00
Travis Kemen
cf7a37f119
add geodns addresses for the kernel, closes #6574
...
SVN-Revision: 19621
2010-02-13 01:07:44 +00:00
Hauke Mehrtens
292b9782cd
preinit: fix #6596 Setting LAN IP Address in menuconfig is ignored
...
SVN-Revision: 19384
2010-01-29 20:30:21 +00:00
Felix Fietkau
75e38a19cf
kconfig.pl: fix handling of multiple kmod-* package referencing the same KCONFIG symbols
...
SVN-Revision: 19366
2010-01-28 19:27:43 +00:00
Felix Fietkau
56bc02a305
add preinit modularization work by Daniel Dickinson (cshore)
...
SVN-Revision: 19331
2010-01-25 17:11:17 +00:00
Felix Fietkau
ccb604a573
metadata: allow build variants to contain "-"
...
SVN-Revision: 19284
2010-01-23 08:28:15 +00:00
Lars-Peter Clausen
db06ca593b
Add support for building ubifs images.
...
SVN-Revision: 19097
2010-01-11 01:10:45 +00:00
Michael Büsch
ff6010a732
dl_cleanup: Show it to the user, if file extension or version pattern is unknown
...
SVN-Revision: 19085
2010-01-09 18:58:28 +00:00
Michael Büsch
bee5dab1a1
dl_cleanup: Add regex for foo_1_2_3
...
SVN-Revision: 19084
2010-01-09 18:45:05 +00:00
Michael Büsch
9c54343555
dl_cleanup: Allow removing items from blacklist
...
SVN-Revision: 19083
2010-01-09 18:31:29 +00:00
Michael Büsch
274e372e4c
dl_cleanup: Add linux and gcc to blacklist
...
SVN-Revision: 19082
2010-01-09 18:19:29 +00:00
Michael Büsch
4a2465a295
dl_cleanup: Add dry-run option
...
SVN-Revision: 19081
2010-01-09 18:06:54 +00:00
Florian Fainelli
aca9c9c81d
adjust svn:ignore for cygwin builds
...
SVN-Revision: 19040
2010-01-05 11:06:21 +00:00
Lars-Peter Clausen
41a1a80059
update-package-md5sum: A tool to update the md5sum of openwrt packages. Useful when upgrading a set of packages.
...
SVN-Revision: 19019
2010-01-03 17:06:06 +00:00
Michael Büsch
16d107d5f9
dl_cleanup: Utility to delete all but the very last version of the tarballs in the download directory. The tool does currently have a few false positives (probably below 1%), but this is harmless, because buildroot will just redownload them.
...
SVN-Revision: 19018
2010-01-03 13:26:30 +00:00
Felix Fietkau
919724ab50
scripts/combined-image.sh: remove the use of mktemp to make it more portable
...
SVN-Revision: 18920
2009-12-24 10:34:37 +00:00
Felix Fietkau
30992cceeb
menuconfig: allow wildcard includes to return no match ( #6339 )
...
SVN-Revision: 18743
2009-12-11 04:41:56 +00:00
Felix Fietkau
04abaefe70
add a simple script for symlinking one tree into another for doing builds with separate build dirs, but the same source dir
...
SVN-Revision: 18734
2009-12-10 20:52:45 +00:00
Felix Fietkau
edeee3ac19
metadata.pl: fix menuconfig code for package features
...
SVN-Revision: 18386
2009-11-12 00:06:35 +00:00
Felix Fietkau
579d54038b
build system: introduce a new feature called build variants. it allows building a package multiple times in one pass with different build dirs, based on the same build settings. replaces templating hacks like the one used in the hostapd package
...
SVN-Revision: 18357
2009-11-10 22:00:54 +00:00
Felix Fietkau
ea63b88b10
metadata: process dependencies for targets that have subtargets as well - hides the ramips target unless the user has requested to play with broken packages/targets (related to #6051 )
...
SVN-Revision: 18306
2009-11-05 01:24:30 +00:00
Jo-Philipp Wich
9df63ce253
add "remote-gdb", a helper script to connect the local host gdb with a running gdbserver on the target
...
SVN-Revision: 18153
2009-10-25 17:45:57 +00:00
Felix Fietkau
94cdcbde6d
add experimental support for a new menuconfig submenu "Package features". allows selection between multiple packages providing the same feature, which affects dependencies of other packages. will be used e.g. for choosing between DirectFB and X.org for libraries like GTK2
...
SVN-Revision: 18056
2009-10-17 22:11:21 +00:00
Nicolas Thill
0aeed7e525
getver: don't use "-r COMMITTED" arg which needs network access to the repository, use the "Last Changed Rev:" line instead
...
SVN-Revision: 17864
2009-10-05 09:30:53 +00:00
Nicolas Thill
c9b0c63f07
metadata.pl: fix a bug where dependency flags (@ and +) from a dependency were inherited by others
...
SVN-Revision: 17840
2009-10-03 20:01:22 +00:00
Felix Fietkau
7bd8115c7e
metadata.pl: do not strip whitespaces from multiline data
...
SVN-Revision: 17827
2009-10-02 22:02:31 +00:00
Nicolas Thill
6fa03d63d4
getver: get svn rev from last commit so that we have consistent revision numbers between git and svn
...
SVN-Revision: 17781
2009-09-28 12:26:47 +00:00
Felix Fietkau
25fadf0b07
make scripts/ipkg more portable by using printf instead of echo -n
...
SVN-Revision: 17729
2009-09-26 08:34:18 +00:00
Jo-Philipp Wich
f58536ff83
use mktemp instead of tempfile in combined-image.sh to make it work on OS X
...
SVN-Revision: 17674
2009-09-22 15:07:12 +00:00
Jo-Philipp Wich
f20af38322
Implement a preliminary combined image format. - add sysupgrade support for combined images by providing a platform.sh backend - use the mtd fis partition table rewrite facility to resize partitions on demand - generate generic combined images for the atheros target
...
SVN-Revision: 17668
2009-09-22 01:09:04 +00:00
Felix Fietkau
caf8074566
scripts/feeds: fix an error message
...
SVN-Revision: 17451
2009-08-31 14:28:24 +00:00
Felix Fietkau
cbb9a14d8a
add hg support to getver.sh (patch from #5763 )
...
SVN-Revision: 17432
2009-08-28 12:51:01 +00:00
Imre Kaloz
49e657f433
fix breakage introduced with [17394]
...
SVN-Revision: 17395
2009-08-25 11:56:27 +00:00
Florian Fainelli
32ab3b9692
do not check for a specific Cygwin version, rather check the operating system name directly, thanks AndyI
...
SVN-Revision: 17394
2009-08-25 09:16:03 +00:00
Felix Fietkau
ec7621ebf9
add nommu target feature flag
...
SVN-Revision: 17347
2009-08-21 22:32:03 +00:00
Felix Fietkau
aee9d6c31c
add a heavily cleaned up version of ubicom32 toolchain support
...
SVN-Revision: 17346
2009-08-21 22:31:47 +00:00
Geoff Levand
7581681466
powerpc: Create a powerpc64 config feature
...
The config symbol TARGET_ps3 is used in the build files where
special handling for the 64 bit PowerPC processors is needed.
Introduce a new config feature powerpc64, and replace the use
of TARGET_ps3 with powerpc64.
Signed-off-by: Geoff Levand <geoffrey.levand@am.sony.com>
SVN-Revision: 17306
2009-08-18 23:07:45 +00:00
Lars-Peter Clausen
4063d0c93f
Workaround a bug(?) in tar in debian squeeze, which causes the build process to fail without any reason.
...
SVN-Revision: 16390
2009-06-08 21:17:58 +00:00
Imre Kaloz
48cd8188ef
missing changes for pcie handling
...
SVN-Revision: 16294
2009-06-02 09:54:45 +00:00
Felix Fietkau
487570f387
deptest: use a separate build dir for host packages to prevent hardcoded path screwups
...
SVN-Revision: 16162
2009-05-28 23:49:13 +00:00
Felix Fietkau
0fc0346e0a
deptest: handle packages from feeds
...
SVN-Revision: 16099
2009-05-26 19:50:49 +00:00
Felix Fietkau
f40ea986e9
add a somewhat hackish script for automatic dependency testing
...
SVN-Revision: 16097
2009-05-26 19:12:00 +00:00
Felix Fietkau
1428bca7f5
scripts/feeds: ignore virtual packages
...
SVN-Revision: 15706
2009-05-08 10:39:32 +00:00
Felix Fietkau
0db826eded
scripts/feeds: fix a warning ( #4474 )
...
SVN-Revision: 15600
2009-05-04 18:50:58 +00:00
Nicolas Thill
54d622a815
add a workaround to rstrip restoring exec perms when they got changed by sstrip
...
SVN-Revision: 15312
2009-04-21 01:10:21 +00:00
Felix Fietkau
34939cad39
get rid of $Id$ - it has never helped us and it has broken too many patches ;)
...
SVN-Revision: 15242
2009-04-17 14:09:46 +00:00
Mirko Vogt
9af0ab6efa
use parent-dependencies for all dependencies of a package, not only those which are conditional deendencies (thanks to lars (also for this commit message :P)) fixes bug #4917
...
SVN-Revision: 15187
2009-04-10 11:41:18 +00:00
Florian Fainelli
9c470b63b3
cygwin also needs to be passed LIBS=-lncurses to link lxdialog successfully
...
SVN-Revision: 15183
2009-04-10 10:08:47 +00:00
Gabor Juhos
2f26f545cd
ipkg-make-index: remove leading './' from the Filename field
...
SVN-Revision: 15069
2009-03-29 08:46:04 +00:00
Jose Vasconcellos
6e22a2bb4f
Add check for IXP42x A0 stepping.
...
SVN-Revision: 15013
2009-03-24 12:24:06 +00:00
Felix Fietkau
9a3368ebca
kconfig.pl: interpret =n as undefined symbol
...
SVN-Revision: 15003
2009-03-24 01:34:23 +00:00
Felix Fietkau
59848db7da
kconfig.pl: add support for custom prefixes instead of CONFIG_
...
SVN-Revision: 15002
2009-03-24 01:34:14 +00:00
Felix Fietkau
08b7cbe44e
fix host dependencies for packages that depend on their own host build
...
SVN-Revision: 14952
2009-03-20 12:47:13 +00:00
Hamish Guthrie
1b216aa20a
Add FEATURE ramdisk to be able to select the use of INITRAMFS for a sub-target
...
SVN-Revision: 14939
2009-03-18 15:57:18 +00:00
Felix Fietkau
ddcfaeb1e5
move host build in packages into a separate namespace: package/<name>/host/<target> this allows dependencies between host and target packages, and saves unnecessary host builds for packages that contain both variants
...
SVN-Revision: 14905
2009-03-17 02:20:34 +00:00
Felix Fietkau
72faa09dff
move cflags default setting to target makefiles
...
SVN-Revision: 14866
2009-03-14 03:17:06 +00:00
Felix Fietkau
d38153a847
get rid of an illegal characters warning with packages that contain uppercase characters
...
SVN-Revision: 14810
2009-03-09 15:06:30 +00:00
Felix Fietkau
7f4bc03adb
kconfig.pl: throw warnings into stderr instead of stdout
...
SVN-Revision: 14807
2009-03-09 15:05:32 +00:00
Felix Fietkau
daf7406075
fix a package metadata parsing bug
...
SVN-Revision: 14735
2009-03-03 14:03:37 +00:00
Ralph Hempel
f9d0fb8a16
ensure that the timestamp script will follow the path even if it is link ( in our case the build directory might be a link to a ClearCase dynamic view )
...
SVN-Revision: 14728
2009-03-02 17:38:08 +00:00
Ralph Hempel
89181213dc
check for correct make version ( thanks to Thomas )
...
SVN-Revision: 14727
2009-03-02 17:34:34 +00:00
Ralph Hempel
91042e02a7
strip relocatable binaries (not depending on the extension) ( thanks to Thomas )
...
SVN-Revision: 14726
2009-03-02 17:33:02 +00:00
Ralph Hempel
6ae7a0f94f
added source distribution to package dump, used by our SDK (include source distributions for offline usage) added bugfix for sub-targets added bugfix for help info (thanks to Thomas)
...
SVN-Revision: 14703
2009-03-01 09:35:53 +00:00
Ralph Hempel
77df307183
add multiple download mirrors
...
SVN-Revision: 14573
2009-02-20 10:16:47 +00:00
Nicolas Thill
177b22a541
feeds: extend 'search' to lookup in source package names too
...
SVN-Revision: 14537
2009-02-17 03:44:43 +00:00
Nicolas Thill
8a253e1ac1
adam2flash: fix 'Interrupted system call' error when flashing ( closes : #4490 , thanks oliver)
...
SVN-Revision: 14344
2009-02-01 17:36:07 +00:00
Lars-Peter Clausen
f42bf4d6cf
Reset condition for each dependeny when generating mconf files. Previously all dependencys listed after a conditional dependency had the same condition.
...
SVN-Revision: 14335
2009-02-01 01:16:01 +00:00
Florian Fainelli
9924d9ce36
brcmImage.pl should be set executable
...
SVN-Revision: 14265
2009-01-29 15:15:21 +00:00
Florian Fainelli
c2c0d74f67
generate images for old CFE based boards like the Davolink DV201
...
SVN-Revision: 14264
2009-01-29 14:56:45 +00:00
Jose Vasconcellos
9a74dd2faa
Added support WRV54G.
...
SVN-Revision: 14186
2009-01-25 20:42:03 +00:00
Felix Fietkau
ca8486a632
improve support for building on mac os x by improving detection of missing components
...
SVN-Revision: 14180
2009-01-25 19:00:43 +00:00
Jose Vasconcellos
f30bf8cbd4
Fix to wait for internal http server to complete transfer. Rework and simplify command line options.
...
SVN-Revision: 14098
2009-01-18 18:38:32 +00:00
Jose Vasconcellos
435790e112
Fix parsing of password option; set timeout for writing.
...
SVN-Revision: 14046
2009-01-15 22:05:10 +00:00
Felix Fietkau
7502d4bd61
add support for build-only packages which do not appear in menuconfig
...
SVN-Revision: 14009
2009-01-13 02:02:56 +00:00
Lars-Peter Clausen
a77f3b6656
If a package is part of a virtual dependency and also listed as a normal dependency ensure that the dependency is always unconditional. Such a case happens if for example a package has a build dependency and the build dependency provides a virtual install dependency of the package.
...
SVN-Revision: 13877
2009-01-05 20:02:59 +00:00
Felix Fietkau
e5905aebb7
fix recursive dependencies that might be caused by using conditional dependencies
...
SVN-Revision: 13813
2009-01-02 02:49:02 +00:00
Felix Fietkau
5918719e1e
scripts/feeds update:
...
* Fix feed update via git.
* Add support for bzr and hg.
* Proper escaping of command line arguments handed to system.
* Reduced code duplication.
Patch by Justus Winter
SVN-Revision: 13782
2008-12-31 14:52:10 +00:00
Florian Fainelli
d8df4c38a8
Also move jungo-image.py to scripts/flashing
...
SVN-Revision: 13675
2008-12-17 13:50:04 +00:00
Florian Fainelli
dd4eef0468
Move flashing scripts to scripts/flashing/
...
SVN-Revision: 13674
2008-12-17 13:35:14 +00:00
Florian Fainelli
36b3feca06
Add flashing script for adsl2mue ( #3994 )
...
SVN-Revision: 13673
2008-12-17 13:29:39 +00:00
Mirko Vogt
b49a749114
increased SCAN_DEPTH for feeds/ by 1
...
SVN-Revision: 13572
2008-12-09 23:37:21 +00:00
Peter Denison
4fad1b5898
Updated jungo-image.py script (from Jose): Fix http server issues when imagefile is on different directory Fix computation of flash size Obtain MAC address in a more portable way Add percent display when dumping flash (instead of dots) Set default to display progress information; added --quiet option
...
SVN-Revision: 13550
2008-12-08 20:13:23 +00:00
Peter Denison
33c19a498a
Added jungo-image.py script for backing up and flashing Jungo-based routers such as MI424-WR, USR8200 and WRV54G
...
SVN-Revision: 13486
2008-12-02 20:00:34 +00:00
Lars-Peter Clausen
ac44b053c8
Fix indention.
...
SVN-Revision: 13321
2008-11-22 22:53:38 +00:00
Lars-Peter Clausen
38824a1351
Add support for negative conditional dependencies. Also add the condition of conditional dependencies to dependencies which are inherited form the conditional dependency.
...
SVN-Revision: 13319
2008-11-22 22:44:35 +00:00
Steven Barth
af42e36df0
Detect changed feed urls and rebase working copies if needed. (Patch by xMff)
...
SVN-Revision: 13138
2008-11-07 14:01:22 +00:00
Felix Fietkau
fa6b452873
menuconfig: don't generate inconsistencies when ~/.openwrt/defconfig specifies a default target
...
SVN-Revision: 13008
2008-10-18 20:16:59 +00:00
Felix Fietkau
df90f52b5a
add support for conditional depends to the feeds script
...
SVN-Revision: 13004
2008-10-18 19:36:44 +00:00
Felix Fietkau
02052624df
scripts/env: fix file syncing on env switch
...
SVN-Revision: 12925
2008-10-08 19:15:26 +00:00
Felix Fietkau
ece4ca493b
don't print warnings for undefined DEFAULT_* symbols on menuconfig. generate those in config-target.in instead of config-package.in
...
SVN-Revision: 12871
2008-10-06 16:34:28 +00:00
Felix Fietkau
009e41906f
fix infinite recursion in metadata.pl
...
SVN-Revision: 12851
2008-10-04 16:22:24 +00:00
Felix Fietkau
b0e7c7ba79
implement conditional dependencies for menuconfig and build deps
...
SVN-Revision: 12820
2008-10-01 21:26:19 +00:00
Felix Fietkau
033d2f6ca6
scripts/feeds: allow multiple alternative urls for a single feed. this will be useful for maintaining release branch forks of /packages
...
SVN-Revision: 12746
2008-09-27 22:57:58 +00:00
Felix Fietkau
625b692c1f
use #!/usr/bin/env perl instead of #!/usr/bin/perl in openwrt scripts ( fixes #2998 )
...
SVN-Revision: 12674
2008-09-23 18:29:44 +00:00
Lars-Peter Clausen
5ac7398565
Restore config after running scripts/env diff.
...
SVN-Revision: 12632
2008-09-18 20:45:12 +00:00
Steven Barth
551bee5fa6
Fixed dependency handling for feeds
...
SVN-Revision: 12615
2008-09-16 20:25:36 +00:00
Felix Fietkau
973d7e80d7
fix ./scripts/env for newer git versions
...
SVN-Revision: 12502
2008-09-02 15:48:40 +00:00
Lars-Peter Clausen
2552e9362b
Add @GNOME download source.
...
SVN-Revision: 12469
2008-09-01 21:46:17 +00:00
Felix Fietkau
1063f8d415
fix ./scripts/env delete
...
SVN-Revision: 12399
2008-08-27 14:13:47 +00:00
Felix Fietkau
d58dd061fe
some more s/git-/git /
...
SVN-Revision: 12380
2008-08-24 14:16:49 +00:00
Felix Fietkau
2311fc9850
replace the deprecated git-* command calls with git *
...
SVN-Revision: 12379
2008-08-24 13:40:21 +00:00
Nicolas Thill
0bb4b7d761
don't display the "Image configuration" menu entry when there's nothing to pre-configure (when using the SDK for example)
...
SVN-Revision: 12366
2008-08-22 04:18:35 +00:00
Nicolas Thill
718fd729df
add "Architecture" field to opkg status file ( closes : #3901 )
...
SVN-Revision: 12349
2008-08-20 14:09:19 +00:00
Felix Fietkau
a74bb3b417
rename feeds.conf to feeds.conf.default, make feeds.conf override feeds.conf.default this makes it possible to change the feeds lists without having the version control system record it as a change
...
SVN-Revision: 12328
2008-08-17 09:05:01 +00:00
Felix Fietkau
696b05e031
fix uninitialized variable in metadata.pm ( #3860 )
...
SVN-Revision: 12325
2008-08-16 17:00:50 +00:00
Travis Kemen
99dd3e13fc
make opkg the default package manager, disable busybox ipkg from building by default
...
SVN-Revision: 12319
2008-08-16 06:35:14 +00:00
Florian Fainelli
067a1fe3b6
scripts/feeds calls 'make' irrespective of the platform it is running on. The attached patch changes the code to use gmake if available (which should cover non-linux platforms, and is the same logic used to adapt other programs in include/host.mk) ( #3867 )
...
Signed-off-by: Luigi Rizzo <rizzo@iet.unipi.it>
SVN-Revision: 12246
2008-08-08 21:30:08 +00:00
Felix Fietkau
1391134579
and another one
...
SVN-Revision: 12217
2008-08-06 16:14:53 +00:00
Felix Fietkau
88b0d6785e
fix a small typo
...
SVN-Revision: 12216
2008-08-06 16:13:38 +00:00
Felix Fietkau
131ba6fed7
add script for managing 'build environments' (.config+files/), including documentation
...
SVN-Revision: 12212
2008-08-06 14:30:46 +00:00
Felix Fietkau
01046ae4b2
fix a small bug in the recursive dependency lookup for generated menuconfig files
...
SVN-Revision: 12107
2008-08-04 23:43:13 +00:00
Felix Fietkau
9cda3fb084
scripts/feeds: properly handle virtual packages as well, use the first available provider by default
...
SVN-Revision: 12103
2008-08-04 22:22:43 +00:00
Felix Fietkau
bcf75aca7b
scripts/feeds: fix some installation warnings for locally installed packages
...
SVN-Revision: 12102
2008-08-04 22:22:29 +00:00
Felix Fietkau
311553c77b
fix scripts/feeds dependency lookup: process deps for all virtual packages of a src package that belongs to the package that the user wants to install
...
SVN-Revision: 12101
2008-08-04 22:03:28 +00:00
Imre Kaloz
e0a748c051
generate zImage for the ADI Sidewinder, too
...
SVN-Revision: 11901
2008-07-22 06:15:07 +00:00
Imre Kaloz
1f68c4745d
generate patched zImage for the Pronghorn, too
...
SVN-Revision: 11623
2008-07-02 23:25:52 +00:00
Matteo Croce
f5e550f438
use the european kernel.org mirror too
...
SVN-Revision: 11448
2008-06-12 14:48:32 +00:00
Felix Fietkau
ab504da309
fix missing package compile/installation issue
...
SVN-Revision: 11441
2008-06-11 18:48:37 +00:00
Felix Fietkau
46e3535d08
fix some previously ignored build dependencies (for example, uci->lua)
...
SVN-Revision: 11429
2008-06-11 01:36:08 +00:00
Felix Fietkau
51bc4434dd
consider virtual dependencies (generated by using PROVIDES:=) when generating the build dependencies (fixes python build dependency errors)
...
SVN-Revision: 11428
2008-06-10 21:10:02 +00:00
Imre Kaloz
c5657f08d5
add new target feature option for fpu
...
SVN-Revision: 11337
2008-06-03 09:29:58 +00:00
Imre Kaloz
d62feeaac1
add support for the Gateworks Cambria
...
SVN-Revision: 10973
2008-04-28 22:20:49 +00:00
Nicolas Thill
ddc57879ec
add a gpio feature for devices supporting the generic GPIO interface
...
SVN-Revision: 10879
2008-04-20 09:46:45 +00:00
Nicolas Thill
c7b3dff10c
install dependencies after installing package to avoid deep recursion and mass memory consuption
...
SVN-Revision: 10823
2008-04-13 22:36:51 +00:00
Nicolas Thill
4e319c572f
install build-depends packages as well
...
SVN-Revision: 10793
2008-04-12 09:37:44 +00:00
Imre Kaloz
08f82d001d
add support for the IXDPG425
...
SVN-Revision: 10756
2008-04-07 10:48:45 +00:00
Felix Fietkau
7e2fc31830
fix error message in scripts/feeds when indexes are missing
...
SVN-Revision: 10736
2008-04-05 14:32:08 +00:00
Felix Fietkau
1d3ed2fca0
fix a recursive symlink issue with scripts/feeds and src-link
...
SVN-Revision: 10714
2008-04-02 21:27:21 +00:00
Rod Whitby
6ec9c45b88
arm-magic.sh: added tw5334 machine id
...
SVN-Revision: 10652
2008-03-25 06:10:58 +00:00
Ralph Hempel
585997f8d2
fix package/symlinks target, will call scripts/feeds update / install introduce new package/symlinks-install and package/symlinks-clean targets - package/symlink-install will re-create the index files and the symlinks for all ./feeds (no update from repositories is performed) - package/symlink-clean will delete all installed symlinks (keeping the ./feeds untouched)
...
SVN-Revision: 10634
2008-03-20 17:08:24 +00:00
Ralph Hempel
c15ca4fb80
adding the possibility of local file cache specify file://path_to_file_cache within localmirrors file to add new local file cache
...
SVN-Revision: 10617
2008-03-18 21:07:22 +00:00
Ralph Hempel
0e158467a4
fix multiple update (cpy), added index generation (allows to re-create the index without updating the complete package) possible to specify the feed(s) which should be updated added -h switch to most of the commands
...
SVN-Revision: 10614
2008-03-18 15:50:29 +00:00
Rod Whitby
60dd242ab9
Added a new mach id
...
SVN-Revision: 10593
2008-03-12 12:35:17 +00:00
Andy Boyett
197fafaff6
Increased to five download attempts in download.pl
...
SVN-Revision: 10486
2008-02-18 21:05:24 +00:00
Ralph Hempel
2dd0677c86
- added package list function -r list packages of specified feed -s list the feed names only and their URL - refresh of usage text
...
-d-This line, and those below, will be ignored--
M feeds
SVN-Revision: 10322
2008-01-30 09:22:05 +00:00
Gabor Juhos
5b3951bfbb
add feature flag for the cpio.gz support
...
SVN-Revision: 10311
2008-01-29 13:56:43 +00:00
Felix Fietkau
214601c012
cleanups, small fixes and improvements for the feeds script
...
SVN-Revision: 10281
2008-01-27 15:09:03 +00:00
Felix Fietkau
e01479aca0
scripts/feeds: Add support for git feeds.
...
Invokes 'git clone' on initial feed-update and 'git pull' later on.
Signed-off-by: Michel Marti <mcdmx@users.sf.net>
SVN-Revision: 10280
2008-01-27 15:08:58 +00:00
Felix Fietkau
e7d27627fd
the attached patch adds the -a option to the feeds install command. Therefore following command option should work now
...
./scripts/feeds install -a
./scripts/feeds install -a -p xwrt
To-do:
- The next step should be to replace the current make package/symlinks implementation with ./scripts/feeds install -a .
( the locations of the packages within ./packages are different with both methods )
- The current feed script is not able to handle "Provides" statements properly. The dependencies will be installed only if they are real package names and not aliases (provides) .
Note:
This patch also includes the previous patch reg. directory (ClearCase) support from 30.12.07.
br/R
Signed-off-by: ralph <ralph.hempel@infineon.com>
SVN-Revision: 10252
2008-01-25 11:33:20 +00:00
Imre Kaloz
ed57d3042b
add support for the Netgear WG302v1/WAG302v1
...
SVN-Revision: 10197
2008-01-14 22:36:09 +00:00
Florian Fainelli
6588e58b88
Also export LC_ALL to C to work properly ( #2926 )
...
SVN-Revision: 10059
2007-12-30 17:02:00 +00:00
Imre Kaloz
efadab3747
* upgrade ixp4xx to 2.6.23.12 * upgrade to the new ethernet driver (temporary breaks Marvell switch support on Compex units) * handle NPE microcodes in a user friendly way - YAY for Intel for changing the license * add support for the Lanready AP1000 (used in for example the Ligowave LGO2AGN)
...
SVN-Revision: 10016
2007-12-28 21:00:01 +00:00
Felix Fietkau
1a94a85970
remove old feeds stuff
...
SVN-Revision: 9991
2007-12-28 17:03:07 +00:00
John Crispin
98926663d6
added extra product id to adamflash, signed of by <Andrew Ruthven <andrew@etc.gen.nz>
...
SVN-Revision: 9972
2007-12-28 12:39:09 +00:00
Florian Fainelli
d24c3c9806
Add the adam2 fritzbox flasher ( #799 )
...
SVN-Revision: 9966
2007-12-27 22:52:06 +00:00
Florian Fainelli
7e83cf568a
Add the ADAM2 flashing script ( #2780 )
...
Signed-off-by: Oliver <oliver@opencloud.com>
SVN-Revision: 9777
2007-12-16 13:26:01 +00:00
Felix Fietkau
2da3f6a256
fix the sdk
...
SVN-Revision: 9747
2007-12-14 00:33:25 +00:00
Felix Fietkau
51996a78f1
clean up openwrt version handling, use a separate script that is executed at the beginning of the build process, fix revision checking with git
...
SVN-Revision: 9723
2007-12-13 06:25:54 +00:00
Felix Fietkau
e484fd5100
fix a warning
...
SVN-Revision: 9667
2007-12-07 10:32:48 +00:00
Gabor Juhos
db709eb81e
fix image names in arm-magic.sh ( closes : #2682 )
...
SVN-Revision: 9538
2007-11-11 13:37:37 +00:00
Felix Fietkau
6e03b9ce43
add config symbols for the kernel version
...
SVN-Revision: 9520
2007-11-10 15:22:53 +00:00
Felix Fietkau
772c6488da
indent custom package config code
...
SVN-Revision: 9472
2007-10-31 23:27:55 +00:00
Felix Fietkau
41815ee5c8
add feature flag for display support. will be used as dependency for x.org
...
SVN-Revision: 9448
2007-10-25 21:08:46 +00:00
Felix Fietkau
aef9b313b1
remove the dummy profile that was created on targets that have subtargets
...
SVN-Revision: 9383
2007-10-21 06:44:06 +00:00
Felix Fietkau
6700c1d745
ignore mconf_check
...
SVN-Revision: 9379
2007-10-20 19:10:09 +00:00
Felix Fietkau
86a906bed2
reorganize subtargets, sort subtargets below top level targets
...
SVN-Revision: 9378
2007-10-20 19:10:06 +00:00
Felix Fietkau
9bfa0d1d08
show md5sums on mismatch in download.pl
...
SVN-Revision: 9367
2007-10-20 15:30:16 +00:00
Felix Fietkau
80b7ff39f9
fix duplicate dependencies
...
SVN-Revision: 9311
2007-10-14 05:25:50 +00:00