diff options
| author | Bernard Xiong <[email protected]> | 2019-07-30 16:21:24 +0800 |
|---|---|---|
| committer | GitHub <[email protected]> | 2019-07-30 16:21:24 +0800 |
| commit | e5562cf60dddf21cf075ecb2b7b57ddfde3016b4 (patch) | |
| tree | 1319c6b33d7b6977def5381ddec53fd5938f3a11 | |
| parent | ba084c5b5bb9ae1a4d1a302b5d833f548b435b2c (diff) | |
| parent | cfd54c76b6e59e7818008ccba1786ee212260f9a (diff) | |
Merge pull request #2909 from BernardXiong/fix_automac
[BSP][QEMU-VExress] fix the automac issue under rtthread-apps
| -rw-r--r-- | bsp/qemu-vexpress-a9/rtconfig.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/bsp/qemu-vexpress-a9/rtconfig.py b/bsp/qemu-vexpress-a9/rtconfig.py index 77e8d6debb..abec45ac35 100644 --- a/bsp/qemu-vexpress-a9/rtconfig.py +++ b/bsp/qemu-vexpress-a9/rtconfig.py @@ -21,7 +21,8 @@ end = ''' #endif ''' -with open('drivers/automac.h', 'w') as f: +automac_h_fn = os.path.join(os.path.dirname(__file__), 'drivers', 'automac.h') +with open(automac_h_fn, 'w') as f: f.write(header + get_mac_address() + end) # toolchains options |
