diff options
author | Björn Gustavsson <[email protected]> | 2010-08-03 16:49:10 +0200 |
---|---|---|
committer | Björn Gustavsson <[email protected]> | 2010-08-03 16:49:10 +0200 |
commit | d0c862a222ee108376c1c91cbe888661d61a0ee5 (patch) | |
tree | ce5861ec84705486fc3a2197340e054678c4e240 | |
parent | 2257135c992df32554abbb996b028fdbbda39343 (diff) | |
download | otp-d0c862a222ee108376c1c91cbe888661d61a0ee5.tar.gz otp-d0c862a222ee108376c1c91cbe888661d61a0ee5.tar.bz2 otp-d0c862a222ee108376c1c91cbe888661d61a0ee5.zip |
Fix building of primary bootstrap when versions have changed
If the versions of kernel or stdlib have changed, attempting
to update the primary bootstrap (using "./otp_build update_primary")
will fail during the rebuild of the start scripts.
The problem is that the app files in bootstrap/lib/*/ebin/*.app
will not be refreshed if they exist, because of missing dependencies.
Ultimately the dependencies should be fixed, but since there
already is a bootstrap_clean target to work around missing
dependencies, fix bootstrap_clean to also remove
bootstrap/lib/*/ebin/*.app.
-rw-r--r-- | Makefile.in | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Makefile.in b/Makefile.in index 7bdcdcc297..8453c3bdf5 100644 --- a/Makefile.in +++ b/Makefile.in @@ -1023,6 +1023,7 @@ bootstrap_root_clean: # $(BOOTSTRAP_TOP) for some reason should be empty). bootstrap_clean: rm -f $(ERL_TOP)/bootstrap/lib/*/ebin/*.beam + rm -f $(ERL_TOP)/bootstrap/lib/*/ebin/*.app rm -f $(ERL_TOP)/bootstrap/lib/*/egen/* rm -f $(ERL_TOP)/bootstrap/lib/*/include/*.hrl rm -f $(ERL_TOP)/bootstrap/primary_compiler/ebin/* |