From: <ppr...@us...> - 2008-07-13 21:48:36
|
Revision: 1814 http://astlinux.svn.sourceforge.net/astlinux/?rev=1814&view=rev Author: pprindeville Date: 2008-07-13 14:48:40 -0700 (Sun, 13 Jul 2008) Log Message: ----------- Some sanity checks for new packages. Modified Paths: -------------- trunk/Makefile Added Paths: ----------- trunk/sizes.txt trunk/toolchain/accheck.sh trunk/toolchain/acpresent.sh Modified: trunk/Makefile =================================================================== --- trunk/Makefile 2008-07-11 02:21:41 UTC (rev 1813) +++ trunk/Makefile 2008-07-13 21:48:40 UTC (rev 1814) @@ -218,6 +218,15 @@ endif # ifeq ($(strip $(BR2_HAVE_DOT_CONFIG)),y) +sanity: + @echo "The following packages define non-standard types that aren't" + @echo "defined by the default cross-compilation settings." + toolchain/accheck.sh + @echo "" + @echo "Some warnings are for known issues and may be ignored." + toolchain/acpresent.sh + @echo "" + show_targets: var.TARGETS show_version: val.ASTVER @@ -230,6 +239,6 @@ .PHONY: dummy subdirs release distclean clean config oldconfig \ menuconfig tags check test depend defconfig \ - show_targets + show_targets show_version Added: trunk/sizes.txt =================================================================== --- trunk/sizes.txt (rev 0) +++ trunk/sizes.txt 2008-07-13 21:48:40 UTC (rev 1814) @@ -0,0 +1,28 @@ +ac_cv_sizeof_char=1 +ac_cv_sizeof_char_p=4 +ac_cv_sizeof_signed_char=1 +ac_cv_sizeof_unsigned_char=1 +ac_cv_sizeof_unsigned_char_p=4 +ac_cv_sizeof_short=2 +ac_cv_sizeof_short_int=2 +ac_cv_sizeof_unsigned_short=2 +ac_cv_sizeof_unsigned_short_int=2 +ac_cv_sizeof_int=4 +ac_cv_sizeof_unsigned=4 +ac_cv_sizeof_unsigned_int=4 +ac_cv_sizeof_long=4 +ac_cv_sizeof_long_int=4 +ac_cv_sizeof_unsigned_long=4 +ac_cv_sizeof_unsigned_long_int=4 +ac_cv_sizeof_long_long=8 +ac_cv_sizeof_long_long_int=8 +ac_cv_sizeof_unsigned_long_long=8 +ac_cv_sizeof_unsigned_long_long_int=8 +ac_cv_sizeof_size_t=4 +ac_cv_sizeof_time_t=4 +ac_cv_sizeof_off_t=4 +ac_cv_sizeof_off64_t=8 +ac_cv_sizeof_loff_t=8 +ac_cv_sizeof_ptrdiff_t=4 +ac_cv_sizeof_float=4 +ac_cv_sizeof_double=8 Added: trunk/toolchain/accheck.sh =================================================================== --- trunk/toolchain/accheck.sh (rev 0) +++ trunk/toolchain/accheck.sh 2008-07-13 21:48:40 UTC (rev 1814) @@ -0,0 +1,7 @@ +#!/bin/bash + +find build_i586 -name "config.log" -print \ + | sort \ + | xargs egrep '^ac_cv_sizeof_' | grep -v -F -f sizes.txt + + Property changes on: trunk/toolchain/accheck.sh ___________________________________________________________________ Name: svn:executable + * Added: trunk/toolchain/acpresent.sh =================================================================== --- trunk/toolchain/acpresent.sh (rev 0) +++ trunk/toolchain/acpresent.sh 2008-07-13 21:48:40 UTC (rev 1814) @@ -0,0 +1,10 @@ +#!/bin/bash + +find build_i586 -name "configure" -print \ + | sort \ + | while read file; do + if [ ! -f "$file.ac" -a ! -f "$file.in" ]; then + echo "`dirname $file`: has configure but no configure.ac or .in" 1>&2 + fi + done + Property changes on: trunk/toolchain/acpresent.sh ___________________________________________________________________ Name: svn:executable + * This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |