To upgrade lwIP within the apache-mynewt-core repo:

1. Delete the old version of lwIP.  Remove everything in the `net/ip/lwip_base`
directory, *except* `MYNEWT` (this file) and `pkg.yml`:

    rm -r * && git checkout MYNEWT pkg.yml

2. Copy the lwIP repo contents into this directory (adjust source directory as
needed).

    cp -r ~/repos/lwip/* .

3. Move the `src/include` directory to the top-level:

    mv src/include .

4. Delete the Windows-only makefsdata app:

    rm -r src/apps/http/makefsdata

5. Delete the pppoe files (not Apache-license-compatible):

    rm include/netif/ppp/pppoe.h src/netif/ppp/pppoe.c 

6. In addition to removing `include/netif/ppp/pppoe.h`, it's necessary to
remove includes from files that reference it:

    `net/ip/lwip_base/src/netif/ppp/pppapi.c`
    `net/ip/lwip_base/src/netif/ethernet.c`

7. Fix conflicting log macros (they conflict with Mynewt logging) from
`lwip_base/include/netif/ppp/pppdebug.h`.
    * Prefix `LOG_*`, with `PPP_` in `lwip_base/include/netif/ppp/pppdebug.h`.
    * Apply `PPP_` prefixes as needed in `lwip_base/src/netif/ppp/utils.c`
