Commit Graph

408 Commits (9ee69a94b7a0e2ca3c99c0d12df618a044a7ead7)

Author SHA1 Message Date
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