Changeset 5c3223f in rtems-libbsd for libbsd.py


Ignore:
Timestamp:
Nov 16, 2016, 3:29:17 PM (3 years ago)
Author:
Christian Mauderer <Christian.Mauderer@…>
Branches:
c1e05b9ea378b2971e3d7704779112b4bc4296da, 4a77611a223ea883fb548679b516d326a020d447
Children:
e9a8b5a
Parents:
2389539
git-author:
Christian Mauderer <Christian.Mauderer@…> (11/16/16 15:29:17)
git-committer:
Christian Mauderer <Christian.Mauderer@…> (01/17/17 11:50:58)
Message:

ifconfig/wlan, expat, lib80211: Port to RTEMS.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libbsd.py

    r2389539 r5c3223f  
    19461946            'include/rpcsvc/yp_prot.h',
    19471947            'include/sysexits.h',
     1948            'lib/lib80211/lib80211_ioctl.h',
     1949            'lib/lib80211/lib80211_regdomain.h',
    19481950            'lib/libc/db/btree/btree.h',
    19491951            'lib/libc/db/btree/extern.h',
     
    20412043            'contrib/libxo/libxo/libxo.c',
    20422044            'contrib/libxo/libxo/xo_encoder.c',
     2045            'lib/lib80211/lib80211_ioctl.c',
     2046            'lib/lib80211/lib80211_regdomain.c',
    20432047            'lib/libc/gen/err.c',
    20442048            'lib/libc/gen/feature_present.c',
     
    22212225            'sbin/ifconfig/ifgre.c',
    22222226            'sbin/ifconfig/ifgroup.c',
     2227            'sbin/ifconfig/ifieee80211.c',
    22232228            'sbin/ifconfig/iflagg.c',
    22242229            'sbin/ifconfig/ifmac.c',
     
    22592264        ],
    22602265        mm.generator['source'](['-DINET6', '-DINET'])
     2266    )
     2267    return mod
     2268
     2269#
     2270# Contrib expat
     2271#
     2272def contrib_expat(mm):
     2273    mod = builder.Module('contrib_expat')
     2274    cflags = ['-DHAVE_MEMMOVE=1']
     2275    mod.addRTEMSHeaderFiles(
     2276        [
     2277            'include/bsdxml.h',
     2278        ]
     2279    )
     2280    mod.addUserSpaceHeaderFiles(
     2281        [
     2282            'contrib/expat/lib/ascii.h',
     2283            'contrib/expat/lib/asciitab.h',
     2284            'contrib/expat/lib/expat_external.h',
     2285            'contrib/expat/lib/expat.h',
     2286            'contrib/expat/lib/iasciitab.h',
     2287            'contrib/expat/lib/internal.h',
     2288            'contrib/expat/lib/latin1tab.h',
     2289            'contrib/expat/lib/nametab.h',
     2290            'contrib/expat/lib/utf8tab.h',
     2291            'contrib/expat/lib/xmlrole.h',
     2292            'contrib/expat/lib/xmltok.h',
     2293            'contrib/expat/lib/xmltok_impl.h',
     2294        ]
     2295    )
     2296    mod.addUserSpaceSourceFiles(
     2297        [
     2298            'contrib/expat/lib/xmlparse.c',
     2299            'contrib/expat/lib/xmlrole.c',
     2300            'contrib/expat/lib/xmltok.c',
     2301            'contrib/expat/lib/xmltok_impl.c',
     2302            'contrib/expat/lib/xmltok_ns.c',
     2303        ],
     2304        mm.generator['source'](cflags)
    22612305    )
    22622306    return mod
     
    28312875
    28322876    mm.addModule(user_space(mm))
     2877    mm.addModule(contrib_expat(mm))
    28332878    mm.addModule(contrib_libpcap(mm))
    28342879    mm.addModule(usr_sbin_tcpdump(mm))
Note: See TracChangeset for help on using the changeset viewer.