Added support for timezone files which are parsed at configure time.
This allows jam to know which targets are expected. git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10030 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -128,3 +128,14 @@ INCLUDE_GPL_ADDONS ?= ${include_gpl_addons} ;
|
||||
TARGET_PLATFORM ?= ${target} ;
|
||||
EOF
|
||||
|
||||
# Generate Timezones binaries bindings
|
||||
|
||||
for f in src/data/etc/timezones/*;
|
||||
do
|
||||
|
||||
TZOBJECTS=`gawk '/^(Zone|Link)/ { print $2 } ' $f `
|
||||
|
||||
cat << EOF >> build/BuildConfig
|
||||
TZ_OBJECTS on <src!data!etc!timezones>${f##src/data/etc/timezones/} ?= $TZOBJECTS ;
|
||||
EOF
|
||||
done
|
||||
|
||||
Reference in New Issue
Block a user