You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
openwrt/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
9 years ago
..
config scripts/config: sync with linux upstream 10 years ago
flashing scripts: fix wrong usage of '==' operator 10 years ago
arm-magic.sh add support for the Tonze AP-422/425 12 years ago
brcmImage.pl brcmImage.pl should be set executable 16 years ago
bundle-libraries.sh scripts/bundle-libraries: fall back to only copying binaries if ldd is unavailable (e.g. non-linux system) 10 years ago
checkpatch.pl scripts/checkpatch.pl: Fix whitespace errors 11 years ago
clang-gcc-wrapper build: fix build on Mac OS X 10.9 11 years ago
clean-package.sh build: clean up stale files from a previous build when installing a package build to the staging dir 11 years ago
cleanfile scripts/{cleanfile,cleanpatch}: Add scripts for cleaning up file and patch whitespaces 11 years ago
cleanpatch scripts/{cleanfile,cleanpatch}: Add scripts for cleaning up file and patch whitespaces 11 years ago
combined-ext-image.sh scripts: add script to generate combined extended image format 13 years ago
combined-image.sh scripts/combined-image.sh: remove the use of mktemp to make it more portable 15 years ago
config.guess aarch64: add initial support 10 years ago
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 13 years ago
config.sub scripts/config.sub: add back musl support that was accidentally dropped in r43353 10 years ago
deptest.sh deptest: Also accept stamps that are broken links. 14 years ago
diffconfig.sh build: add new menuconfig code based on linux 3.9 11 years ago
dl_cleanup.py packages: fix typo in OpenWrt name 10 years ago
download.pl scripts/download.pl: add support for adding mirrors through an environment variable 10 years ago
env scripts: unset GREP_OPTIONS in env and feeds (fixes #16924) 10 years ago
ext-toolchain.sh buildroot: allow specifying libc personality for external toolchains 11 years ago
feeds build: allow openwrt.git packages to be replaced by feeds 9 years ago
freebsd.sh build: BSD compile fixes 11 years ago
gen-dependencies.sh scripts: avoid outputting empty lines in gen-dependencies.sh 9 years ago
getver.sh scripts: fix getver git dir check 9 years ago
ipkg scripts/ipkg: print warnings/errors to stderr 11 years ago
ipkg-make-index.sh ipkg-make-index: use more backwards-compatible openssl call for SHA256 11 years ago
kconfig.pl scripts/kconfig.pl: Indicate which file we couldn't open 10 years ago
make-ipkg-dir.sh finally move buildroot-ng to trunk 8 years ago
md5sum improve support for building on mac os x by improving detection of missing components 16 years ago
metadata.pl build: propagate override information to .config file 9 years ago
metadata.pm build: propagate override information to .config file 9 years ago
mkits.sh build: move mkits.sh script to more common place 11 years ago
om-fwupgradecfg-gen.sh scripts/om-fwupgradecfg-gen.sh: add support for the MR900 10 years ago
openbsd.sh build: BSD compile fixes 11 years ago
pad_image rework board detection 14 years ago
patch-kernel.sh patch-kernel.sh: utilize --force (#7745), also use the PATCH env var and fallback to "patch" if unset 14 years ago
patch-specs.sh patch-specs.sh: gcc 3.4.6 has an additional "(OpenWrt-2.0)" after the version tag, cope with that 12 years ago
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 13 years ago
remote-gdb scripts: remote-gdb: fix target / libc matching on directory names 9 years ago
rstrip.sh scripts: extend rstrip.sh to remove bad rpaths 9 years ago
slugimage.pl use #!/usr/bin/env perl instead of #!/usr/bin/perl in openwrt scripts (fixes #2998) 16 years ago
strip-kmod.sh kernel: fix stripping of modules with duplicate symbol names 12 years ago
symlink-tree.sh scripts/symlink-tree.sh: print warnings/errors to stderr 11 years ago
timestamp.pl fix timestamp checks for build system paths which have '.svn' in their directory name 14 years ago
ubinize-image.sh scripts/ubinize-image.sh: fix ubinize-image.sh when used with --kernel 10 years ago
update-package-md5sum update-package-md5sum: A tool to update the md5sum of openwrt packages. Useful when upgrading a set of packages. 15 years ago