Skip to content

Commit

Permalink
Fix building of primary bootstrap when versions have changed
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
bjorng committed Aug 3, 2010
1 parent 2257135 commit d0c862a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -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/*
Expand Down

0 comments on commit d0c862a

Please sign in to comment.