-
- Downloads
boards/native: set PORT to tap0
`PORT` is unset if `netdev2_tap` is not in `USEMODULES`. But unfortunately, `netdev2_tap` is set by boards/native/Makefile.dep *after* `PORT` is set, so that `PORT` remains empty. This commit breaks this circular dependency by checking for `netdev_default` and `gnrc_netdev_default` instead. Without this commit, `make term` throws an error for examples that require a tap interface, when `PORT` is not explicitely given.
Please register or sign in to comment