diff options
author | Marc Kleine-Budde <mkl@pengutronix.de> | 2009-05-10 12:41:01 +0000 |
---|---|---|
committer | Marc Kleine-Budde <mkl@pengutronix.de> | 2009-05-10 12:41:01 +0000 |
commit | 6ffd9c5c797be4ea18694e2b58b6f5a5e54ceb25 (patch) | |
tree | 410feb0f39a1b17cb142885d65d152ce2de9a009 /rules/tcl.make | |
parent | 882a34ac5275373a60c706c1f46c804c50dc89b8 (diff) | |
download | ptxdist-6ffd9c5c797be4ea18694e2b58b6f5a5e54ceb25.tar.gz ptxdist-6ffd9c5c797be4ea18694e2b58b6f5a5e54ceb25.tar.xz |
[tcl] just cleanups
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
git-svn-id: https://svn.pengutronix.de/svn/ptxdist/trunks/ptxdist-trunk@10413 33e552b5-05e3-0310-8538-816dae2090ed
Diffstat (limited to 'rules/tcl.make')
-rw-r--r-- | rules/tcl.make | 85 |
1 files changed, 37 insertions, 48 deletions
diff --git a/rules/tcl.make b/rules/tcl.make index 57bf25a15..4d37338bd 100644 --- a/rules/tcl.make +++ b/rules/tcl.make @@ -39,12 +39,24 @@ $(TCL_SOURCE): # ---------------------------------------------------------------------------- TCL_PATH := PATH=$(CROSS_PATH) -TCL_ENV := $(CROSS_ENV) +TCL_ENV := \ + $(CROSS_ENV) \ + tcl_cv_sys_version=Linux-$(PTXCONF_KERNEL_VERSION) \ + tcl_cv_strstr_unbroken=yes \ + tcl_cv_strtoul_unbroken=yes \ + tcl_cv_strtod_unbroken=yes \ + tcl_cv_strtod_buggy=no \ + tcl_cv_stack_grows_up=no + +# unresolved issues yet: +# checking for timezone data... /usr/share/zoneinfo <-- it uses host's one +# # # autoconf # -TCL_AUTOCONF := $(CROSS_AUTOCONF_USR) \ +TCL_AUTOCONF := \ + $(CROSS_AUTOCONF_USR) \ --disable-rpath \ --disable-symbols \ --enable-load \ @@ -60,29 +72,6 @@ else TCL_AUTOCONF += --disable-threads endif -# 'configure' rejects some tests due to cross compiling - -# checking system version... Linux-2.6.25.4-ptx <-- it detects host's one! -TCL_ACONF_VAR := tcl_cv_sys_version=Linux-$(PTXCONF_KERNEL_VERSION) - -# checking for working memcmp... no -TCL_ACONF_VAR += ac_cv_func_memcmp_working=yes - -# checking proper strstr implementation... unknown -TCL_ACONF_VAR += ac_cv_func_strstr=yes tcl_cv_strstr_unbroken=yes - -# checking proper strtoul implementation... unknown -TCL_ACONF_VAR += ac_cv_func_strtoul=yes tcl_cv_strtoul_unbroken=yes - -# checking proper strtod implementation... unknown -TCL_ACONF_VAR += ac_cv_func_strtod=yes tcl_cv_strtod_unbroken=yes tcl_cv_strtod_buggy=no - -# checking if the C stack grows upwards in memory... unknown -TCL_ACONF_VAR += tcl_cv_stack_grows_up=no - -# unresolved issues yet: -# checking for timezone data... /usr/share/zoneinfo <-- it uses host's one -# $(STATEDIR)/tcl.prepare: @$(call targetinfo) @$(call clean, $(TCL_DIR)/unix/config.cache) @@ -121,18 +110,18 @@ $(STATEDIR)/tcl.targetinstall: @$(call install_fixup, tcl,PRIORITY,optional) @$(call install_fixup, tcl,VERSION,$(TCL_VERSION)) @$(call install_fixup, tcl,SECTION,base) - @$(call install_fixup, tcl,AUTHOR,"Juergen Beisert <juergen\@kreuzholzen.de") + @$(call install_fixup, tcl,AUTHOR,"Juergen Beisert <juergen@kreuzholzen.de") @$(call install_fixup, tcl,DEPENDS,) @$(call install_fixup, tcl,DESCRIPTION,missing) @$(call install_copy, tcl, 0, 0, 0755, \ /usr/lib/tcl$(TCL_MAJOR).$(TCL_MINOR)) @$(call install_copy, tcl, 0, 0, 0644, -, \ - /usr/lib/tcl$(TCL_MAJOR).$(TCL_MINOR)/tclIndex, n) + /usr/lib/tcl$(TCL_MAJOR).$(TCL_MINOR)/tclIndex) @$(call install_copy, tcl, 0, 0, 0644, -, \ - /usr/lib/tcl$(TCL_MAJOR).$(TCL_MINOR)/package.tcl, n) + /usr/lib/tcl$(TCL_MAJOR).$(TCL_MINOR)/package.tcl) @$(call install_copy, tcl, 0, 0, 0644, -, \ - /usr/lib/tcl$(TCL_MAJOR).$(TCL_MINOR)/init.tcl, n) + /usr/lib/tcl$(TCL_MAJOR).$(TCL_MINOR)/init.tcl) @$(call install_copy, tcl, 0, 0, 0755, -, \ /usr/bin/tclsh$(TCL_MAJOR).$(TCL_MINOR)) @@ -145,33 +134,33 @@ $(STATEDIR)/tcl.targetinstall: ifdef PTXCONF_TCL_TESTING @$(call install_copy, tcl, 0, 0, 0755, /usr/lib/tcl$(TCL_MAJOR)) @$(call install_copy, tcl, 0, 0, 0644, -, \ - /usr/lib/tcl$(TCL_MAJOR)/$(TCL_MAJOR).$(TCL_MINOR)/tcltest-2.3.0.tm, n) + /usr/lib/tcl$(TCL_MAJOR)/$(TCL_MAJOR).$(TCL_MINOR)/tcltest-2.3.0.tm) @$(call install_copy, tcl, 0, 0, 0644, -, \ - /usr/lib/tcl$(TCL_MAJOR)/$(TCL_MAJOR).$(TCL_MINOR)/msgcat-1.4.2.tm, n) + /usr/lib/tcl$(TCL_MAJOR)/$(TCL_MAJOR).$(TCL_MINOR)/msgcat-1.4.2.tm) @$(call install_copy, tcl, 0, 0, 0644, -, \ - /usr/lib/tcl$(TCL_MAJOR).$(TCL_MINOR)/tm.tcl, n) + /usr/lib/tcl$(TCL_MAJOR).$(TCL_MINOR)/tm.tcl) @$(call install_copy, tcl, 0, 0, 0644, -, \ - /usr/lib/tcl$(TCL_MAJOR).$(TCL_MINOR)/parray.tcl, n) + /usr/lib/tcl$(TCL_MAJOR).$(TCL_MINOR)/parray.tcl) @$(call install_copy, tcl, 0, 0, 0644, -, \ - /usr/lib/tcl$(TCL_MAJOR).$(TCL_MINOR)/clock.tcl, n) + /usr/lib/tcl$(TCL_MAJOR).$(TCL_MINOR)/clock.tcl) @$(call install_copy, tcl, 0, 0, 0644, -, \ - /usr/lib/tcl$(TCL_MAJOR).$(TCL_MINOR)/auto.tcl, n) + /usr/lib/tcl$(TCL_MAJOR).$(TCL_MINOR)/auto.tcl) @$(call install_copy, tcl, 0, 0, 0644, -, \ - /usr/lib/tcl$(TCL_MAJOR).$(TCL_MINOR)/history.tcl, n) + /usr/lib/tcl$(TCL_MAJOR).$(TCL_MINOR)/history.tcl) @$(call install_copy, tcl, 0, 0, 0644, -, \ - /usr/lib/tcl$(TCL_MAJOR).$(TCL_MINOR)/safe.tcl, n) + /usr/lib/tcl$(TCL_MAJOR).$(TCL_MINOR)/safe.tcl) @$(call install_copy, tcl, 0, 0, 0644, -, \ - /usr/lib/tcl$(TCL_MAJOR).$(TCL_MINOR)/word.tcl, n) + /usr/lib/tcl$(TCL_MAJOR).$(TCL_MINOR)/word.tcl) # avoid a subdirectory hell. Install them where also the other scripts are @$(call install_copy, tcl, 0, 0, 0644, \ $(TCL_DIR)/library/opt/optparse.tcl, \ - /usr/lib/tcl$(TCL_MAJOR).$(TCL_MINOR)/optparse.tcl, n) + /usr/lib/tcl$(TCL_MAJOR).$(TCL_MINOR)/optparse.tcl) @$(call install_copy, tcl, 0, 0, 0644, \ $(TCL_DIR)/library/opt/pkgIndex.tcl, \ - /usr/lib/tcl$(TCL_MAJOR).$(TCL_MINOR)/pkgIndex.tcl, n) + /usr/lib/tcl$(TCL_MAJOR).$(TCL_MINOR)/pkgIndex.tcl) endif ifdef PTXCONF_TCL_ENCODING @@ -181,24 +170,24 @@ ifndef PTXCONF_TCL_TESTING # install some popular code pages # FIXME: Are these the most common ones? Add more if not @$(call install_copy, tcl, 0, 0, 0644, -, \ - /usr/lib/tcl8.5/encoding/iso8859-1.enc, n) + /usr/lib/tcl8.5/encoding/iso8859-1.enc) @$(call install_copy, tcl, 0, 0, 0644, -, \ - /usr/lib/tcl8.5/encoding/iso8859-15.enc, n) + /usr/lib/tcl8.5/encoding/iso8859-15.enc) @$(call install_copy, tcl, 0, 0, 0644, -, \ - /usr/lib/tcl8.5/encoding/cp437.enc, n) + /usr/lib/tcl8.5/encoding/cp437.enc) @$(call install_copy, tcl, 0, 0, 0644, -, \ - /usr/lib/tcl8.5/encoding/cp850.enc, n) + /usr/lib/tcl8.5/encoding/cp850.enc) @$(call install_copy, tcl, 0, 0, 0644, -, \ - /usr/lib/tcl8.5/encoding/ascii.enc, n) + /usr/lib/tcl8.5/encoding/ascii.enc) @$(call install_copy, tcl, 0, 0, 0644, -, \ - /usr/lib/tcl8.5/encoding/big5.enc, n) + /usr/lib/tcl8.5/encoding/big5.enc) else # install all code pages @cd $(TCL_DIR)/library/encoding; \ for file in * ; do \ $(call install_copy, tcl, 0, 0, 0644, \ $(TCL_DIR)/library/encoding/$$file, \ - /usr/lib/tcl8.5/encoding/$$file, n); \ + /usr/lib/tcl8.5/encoding/$$file); \ done # copy all tests to the target @$(call install_copy, tcl, 0, 0, 0755, /usr/share/tcl-tests) @@ -207,7 +196,7 @@ else PER=`stat -c "%a" $$file` \ $(call install_copy, tcl, 0, 0, $$PER, \ $(TCL_DIR)/tests/$$file, \ - /usr/share/tcl-tests/$$file, n); \ + /usr/share/tcl-tests/$$file); \ done # unresolved tests: |