File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -677,6 +677,8 @@ install-prereq: $(CLEAR_INSTALLED_LIST) yes-fake sudo-precheck PHONY
677677clear-installed-list : PHONY
678678 @> $(INSTALLED_LIST ) set MAKE=" $( MAKE) "
679679
680+ noarch_config_h = tmp/include/noarch/ruby/config.h
681+
680682clean : clean-ext clean-enc clean-golf clean-docs clean-extout clean-modular-gc clean-local clean-platform clean-spec
681683clean-local :: clean-runnable
682684 $(Q )$(RM ) $(ALLOBJS ) $(LIBRUBY_A ) $(LIBRUBY_SO ) $(LIBRUBY ) $(LIBRUBY_ALIASES )
@@ -685,6 +687,7 @@ clean-local:: clean-runnable
685687 $(Q )$(RM ) probes.h probes.$(OBJEXT ) probes.stamp ruby-glommed.$(OBJEXT ) ruby.imp ChangeLog $(STATIC_RUBY )$(EXEEXT )
686688 $(Q )$(RM ) GNUmakefile.old Makefile.old $(arch ) -fake.rb bisect.sh $(ENC_TRANS_D ) builtin_binary.rbbin
687689 $(Q )$(RM ) $(PRISM_BUILD_DIR ) /.time $(PRISM_BUILD_DIR ) /* /.time yjit_exit_locations.dump
690+ $(Q )$(RM ) $(noarch_config_h )
688691 -$(Q )$(RMALL ) dump_ast$(BUILD_EXEEXT ) *
689692 -$(Q )$(RMALL ) target
690693 -$(Q ) $(RMDIR ) enc/jis enc/trans enc $(COROUTINE_H:/Context.h= ) coroutine target \
@@ -858,6 +861,12 @@ $(arch:noarch=ignore)-fake.rb: $(srcdir)/template/fake.rb.in $(tooldir)/generic_
858861 i=- srcdir="$(srcdir)" BASERUBY="$(BASERUBY)" \
859862 LIBPATHENV="$(LIBPATHENV)" PRELOADENV="$(PRELOADENV)" LIBRUBY_SO="$(LIBRUBY_SO)"
860863
864+ # dummy file for generating sources; $(arch_hdrdir)/ruby/config.h with prereq.status.
865+ $(noarch_config_h ) :
866+ $(ECHO ) generating dummy config.h
867+ $(Q ) $(MAKEDIRS ) $(@D )
868+ $(Q ) $(TOUCH ) $@
869+
861870noarch-fake.rb : # prerequisite of yes-fake
862871 $(Q ) exit > $@
863872
You can’t perform that action at this time.
0 commit comments