summaryrefslogtreecommitdiff
path: root/include/inject.sh
diff options
context:
space:
mode:
Diffstat (limited to 'include/inject.sh')
-rw-r--r--include/inject.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/inject.sh b/include/inject.sh
index beaebf4d..8fb0a34e 100644
--- a/include/inject.sh
+++ b/include/inject.sh
@@ -562,7 +562,8 @@ modify_mac()
[ -n "$CONFIG_GBE_BIN_PATH" ] || return 1
x_ cp "${CONFIG_GBE_BIN_PATH##*../}" tmp/gbe
- [ "$new_mac" != "restore" ] && x_ make -C util/nvmutil && \
+ [ "$new_mac" != "restore" ] && x_ make -C util/nvmutil clean && \
+ x_ make -C util/nvmutil && \
x_ "$nvm" tmp/gbe setmac "$new_mac"
fe_ newmac "$tmpromdir" -maxdepth 1 -type f -name "*.rom"