15 Commits

Author SHA1 Message Date
René Rebe
4d108bfcce * added support for conditional Flags for .arch, .cc, .libc
git-svn-id: https://svn.exactcode.de/t2/trunk@63105 c5f82cb5-29bc-0310-9cd0-bff59a50e3bc
2023-05-14 09:57:11 +00:00
René Rebe
8f8f63109f * format config .lua a bit more consistent
git-svn-id: https://svn.exactcode.de/t2/trunk@61930 c5f82cb5-29bc-0310-9cd0-bff59a50e3bc
2023-03-10 19:59:03 +00:00
René Rebe
1fc02aaa60 * normalize some more leading spaces in scripts/, too
git-svn-id: https://svn.exactcode.de/t2/trunk@59446 c5f82cb5-29bc-0310-9cd0-bff59a50e3bc
2022-11-18 11:58:41 +00:00
René Rebe
912321e4b4 * improved pkgswitch to support multiple package arguments,
by simply passing them to pkgswitch as variable arguments


git-svn-id: https://svn.exactcode.de/t2/trunk@52842 c5f82cb5-29bc-0310-9cd0-bff59a50e3bc
2021-07-27 10:46:54 +00:00
René Rebe
e550bfa196 * introduce new zero stage ? indicator, only enables when the package is cross compiled as well
* should save some hazle and avoid stray errors for regular native builds


git-svn-id: https://svn.exactcode.de/t2/trunk@43931 c5f82cb5-29bc-0310-9cd0-bff59a50e3bc
2015-04-01 10:28:25 +00:00
René Rebe
6f608405c9 * further tweak Lua accel. line
git-svn-id: https://svn.exactcode.de/t2/trunk@39026 c5f82cb5-29bc-0310-9cd0-bff59a50e3bc
2011-04-25 17:41:27 +00:00
René Rebe
a9dbb7119d * fix spelling of Lua (!LUA)
git-svn-id: https://svn.exactcode.de/t2/trunk@39018 c5f82cb5-29bc-0310-9cd0-bff59a50e3bc
2011-04-25 14:53:39 +00:00
René Rebe
38523efacd * fixed the config-functions.lua to print a pretty error for packages without Category tags
git-svn-id: https://svn.exactcode.de/t2/trunk@24613 c5f82cb5-29bc-0310-9cd0-bff59a50e3bc
2007-06-18 09:54:04 +00:00
René Rebe
24998b0682 * prepared Lua code to warn about umatched pkgsel patterns, not
enabled by default yet, because it yields warnings on packages
	  only available on some architectures when that architecture
	  is currently not selected - will be enabled in the future to help
	  tracking typographical errors in the pkgsel rules


git-svn-id: https://svn.exactcode.de/t2/trunk@22266 c5f82cb5-29bc-0310-9cd0-bff59a50e3bc
2007-01-30 10:49:29 +00:00
René Rebe
90301c8f01 * use boolean return values in scripts/config-functions.lua now that
the luabash supports this (and maps it to Un*x shell return values)


git-svn-id: https://svn.exactcode.de/t2/trunk@20582 c5f82cb5-29bc-0310-9cd0-bff59a50e3bc
2006-10-31 17:00:07 +00:00
René Rebe
e57b52f98b * added an explicit, readable error notification if the pkgsel file can not be opened for reading
git-svn-id: https://svn.exactcode.de/t2/trunk@20560 c5f82cb5-29bc-0310-9cd0-bff59a50e3bc
2006-10-30 09:31:25 +00:00
René Rebe
2c93f5ff35 * further 33% pkgsel parsing speedup by properly anchoring the matches
and thus also avoiding the need to compare the resulting strings
	  (removed a stray semicolon on-the-way)


git-svn-id: https://svn.exactcode.de/t2/trunk@20193 c5f82cb5-29bc-0310-9cd0-bff59a50e3bc
2006-10-16 07:53:59 +00:00
René Rebe
e3508d4742 * simplified new file reading loops
git-svn-id: https://svn.exactcode.de/t2/trunk@20118 c5f82cb5-29bc-0310-9cd0-bff59a50e3bc
2006-10-11 06:31:41 +00:00
René Rebe
e93d02b420 * reimplemented the former pkgsel code (shell code generating the
pattern matching awk script) in LUA, resulting in a vast
	  performance bost and some more feature on-the-way (like
	  consistent support in custom rules and pkgsel files in a
	  combined feature set)


git-svn-id: https://svn.exactcode.de/t2/trunk@20106 c5f82cb5-29bc-0310-9cd0-bff59a50e3bc
2006-10-10 13:31:12 +00:00
René Rebe
ea4a72ad71 * reimplemented the former C Config accelerator in LUA and integrated it
instead into the Config using Valentin's luabash bridge, can be used for
	  further Config rewrite and speedup


git-svn-id: https://svn.exactcode.de/t2/trunk@20094 c5f82cb5-29bc-0310-9cd0-bff59a50e3bc
2006-10-09 13:50:01 +00:00