Packets/80211Bundle: Fix missing le16toh/le32toh on older libc
[senf.git] / senf / Packets / 80211Bundle / radiotap / SConscript
1 # -*- python -*-
2
3 Import('env')
4 import SENFSCons
5
6 env.SetDefault(
7     RADIOTAP_URL = 'http://git.sipsolutions.net/radiotap.git',
8     )
9
10 env.PhonyTarget(
11     'update-radiotap', [],
12     [ Delete('$GITDIR'),
13       'git clone $RADIOTAP_URL $GITDIR',
14       'cp $RADIOTAP_FILES $HERE',
15       Delete('$GITDIR') ],
16     HERE           = env.Dir('.'),
17     GITDIR         = env.Dir('radiotap.git'),
18     RADIOTAP_FILES = [ env.Dir('radiotap.git').File(f)
19                        for f in env.Glob("*.h") + env.Glob("*.c") ])