openwrt-owl/scripts
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
..
config scripts/config: sync with linux upstream 2015-01-08 14:33:53 +00:00
flashing scripts: fix wrong usage of '==' operator 2014-10-14 12:21:11 +00:00
arm-magic.sh add support for the Tonze AP-422/425 2012-11-11 21:04:30 +00:00
brcmImage.pl brcmImage.pl should be set executable 2009-01-29 15:15:21 +00:00
bundle-libraries.sh scripts/bundle-libraries: fall back to only copying binaries if ldd is unavailable (e.g. non-linux system) 2014-06-02 13:27:23 +00:00
checkpatch.pl scripts/checkpatch.pl: Fix whitespace errors 2013-08-31 11:16:49 +00:00
clang-gcc-wrapper build: fix build on Mac OS X 10.9 2013-10-28 15:15:09 +00:00
clean-package.sh build: clean up stale files from a previous build when installing a package build to the staging dir 2013-05-29 10:31:45 +00:00
cleanfile scripts/{cleanfile,cleanpatch}: Add scripts for cleaning up file and patch whitespaces 2013-08-31 11:16:44 +00:00
cleanpatch scripts/{cleanfile,cleanpatch}: Add scripts for cleaning up file and patch whitespaces 2013-08-31 11:16:44 +00:00
combined-ext-image.sh scripts: add script to generate combined extended image format 2011-11-30 07:43:58 +00:00
combined-image.sh scripts/combined-image.sh: remove the use of mktemp to make it more portable 2009-12-24 10:34:37 +00:00
config.guess aarch64: add initial support 2014-11-24 06:33:13 +00:00
config.rpath 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 2011-02-27 15:39:27 +00:00
config.sub scripts/config.sub: add back musl support that was accidentally dropped in r43353 2014-11-28 00:59:57 +00:00
deptest.sh deptest: Also accept stamps that are broken links. 2010-12-08 16:08:14 +00:00
diffconfig.sh build: add new menuconfig code based on linux 3.9 2013-04-18 12:05:16 +00:00
dl_cleanup.py packages: fix typo in OpenWrt name 2014-12-07 16:53:30 +00:00
download.pl scripts/download.pl: add support for adding mirrors through an environment variable 2014-12-12 12:35:23 +00:00
env scripts: unset GREP_OPTIONS in env and feeds (fixes #16924) 2014-06-30 06:50:22 +00:00
ext-toolchain.sh buildroot: allow specifying libc personality for external toolchains 2013-02-20 15:06:10 +00:00
feeds build: allow openwrt.git packages to be replaced by feeds 2015-02-09 12:09:23 +00:00
freebsd.sh build: BSD compile fixes 2013-03-07 17:32:29 +00:00
gen-dependencies.sh scripts: avoid outputting empty lines in gen-dependencies.sh 2015-01-29 22:05:31 +00:00
getver.sh scripts: fix getver git dir check 2015-02-14 20:48:37 +00:00
ipkg scripts/ipkg: print warnings/errors to stderr 2013-02-21 11:45:25 +00:00
ipkg-make-index.sh ipkg-make-index: use more backwards-compatible openssl call for SHA256 2013-10-17 19:32:28 +00:00
kconfig.pl scripts/kconfig.pl: Indicate which file we couldn't open 2014-01-19 17:27:04 +00:00
make-ipkg-dir.sh
md5sum improve support for building on mac os x by improving detection of missing components 2009-01-25 19:00:43 +00:00
metadata.pl build: propagate override information to .config file 2015-02-09 12:09:43 +00:00
metadata.pm build: propagate override information to .config file 2015-02-09 12:09:43 +00:00
mkits.sh build: move mkits.sh script to more common place 2013-10-16 10:29:50 +00:00
om-fwupgradecfg-gen.sh scripts/om-fwupgradecfg-gen.sh: add support for the MR900 2014-11-14 16:54:23 +00:00
openbsd.sh build: BSD compile fixes 2013-03-07 17:32:29 +00:00
pad_image rework board detection 2010-03-18 23:35:21 +00:00
patch-kernel.sh patch-kernel.sh: utilize --force (#7745), also use the PATCH env var and fallback to "patch" if unset 2010-10-08 09:21:01 +00:00
patch-specs.sh patch-specs.sh: gcc 3.4.6 has an additional "(OpenWrt-2.0)" after the version tag, cope with that 2012-01-29 20:19:06 +00:00
relink-lib.sh 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 2011-03-01 05:40:38 +00:00
remote-gdb scripts: remote-gdb: fix target / libc matching on directory names 2015-01-23 12:41:06 +00:00
rstrip.sh scripts: extend rstrip.sh to remove bad rpaths 2015-02-10 15:48:48 +00:00
slugimage.pl use #!/usr/bin/env perl instead of #!/usr/bin/perl in openwrt scripts (fixes #2998) 2008-09-23 18:29:44 +00:00
strip-kmod.sh kernel: fix stripping of modules with duplicate symbol names 2012-03-19 21:09:47 +00:00
symlink-tree.sh scripts/symlink-tree.sh: print warnings/errors to stderr 2013-02-21 11:45:27 +00:00
timestamp.pl fix timestamp checks for build system paths which have '.svn' in their directory name 2010-04-14 22:21:15 +00:00
ubinize-image.sh scripts/ubinize-image.sh: fix ubinize-image.sh when used with --kernel 2014-06-29 06:59:29 +00:00
update-package-md5sum update-package-md5sum: A tool to update the md5sum of openwrt packages. Useful when upgrading a set of packages. 2010-01-03 17:06:06 +00:00