Skip to content

Commit d395b62

Browse files
committed
Fix build of bootstrap
1 parent 4a85693 commit d395b62

File tree

6 files changed

+11
-5
lines changed

6 files changed

+11
-5
lines changed

Makefile.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -769,7 +769,7 @@ tertiary_bootstrap_copy:
769769
true; \
770770
done
771771
# copy erl_interface includes
772-
$(V_at)for x in lib/erl_interface/include/* lib/erl_interface/include/$(TARGET)/*; do \
772+
$(V_at)for x in lib/erl_interface/include/*.h lib/erl_interface/include/$(TARGET)/*.h; do \
773773
BN=`basename $$x`; \
774774
TF=$(BOOTSTRAP_ROOT)/bootstrap/lib/erl_interface/include/$$BN; \
775775
test -f $$TF && \

configure.src

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,8 +70,10 @@ while test $# != 0; do
7070
ERL_TOP="$user_srcdir"
7171
;;
7272
--enable-bootstrap-only)
73+
config_arguments="$config_arguments --enable-bootstrap-only"
7374
bootstrap_only=yes;;
7475
--disable-bootstrap-only)
76+
config_arguments="$config_arguments --disable-bootstrap-only"
7577
bootstrap_only=no;;
7678
--enable-option-checking)
7779
echo "ERROR: Cannot enable option checking" 1>&2

lib/Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,10 +58,10 @@ else
5858
SUB_DIRECTORIES = hipe parsetools asn1/src
5959
else
6060
ifdef TERTIARY_BOOTSTRAP
61-
SUB_DIRECTORIES = snmp sasl jinterface syntax_tools wx
61+
SUB_DIRECTORIES = snmp sasl erl_interface jinterface syntax_tools wx
6262
else
6363
ifdef DOC_BOOTSTRAP
64-
SUB_DIRECTORIES = xmerl edoc erl_docgen
64+
SUB_DIRECTORIES = xmerl edoc erl_docgen public_key
6565
else # Not bootstrap build
6666
SUB_DIRECTORIES = $(ERTS_APPLICATIONS) \
6767
$(ERLANG_APPLICATIONS) \

lib/erl_interface/Makefile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,11 @@ include $(ERL_TOP)/make/$(TARGET)/otp.mk
2323
# ----------------------------------------------------
2424
# Common Macros
2525
# ----------------------------------------------------
26+
ifdef TERTIARY_BOOTSTRAP
27+
SUB_DIRECTORIES =
28+
else
2629
SUB_DIRECTORIES = src doc/src
30+
endif
2731

2832
SPECIAL_TARGETS =
2933

lib/erl_interface/configure.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@ AC_MSG_CHECKING([for deprecated attribute])
188188
AC_TRY_COMPILE([],
189189
[void my_function(void) __attribute__((deprecated));],
190190
[AC_MSG_RESULT(yes)
191-
AC_DEFINE(HAVE_DEPRECATED_ATTRIBUTE, [], [Define to 1 if you have the `deprecated' attribute])],
191+
AC_DEFINE(HAVE_DEPRECATED_ATTRIBUTE, [1], [Define to 1 if you have the `deprecated' attribute])],
192192
[AC_MSG_RESULT(no)])
193193

194194

otp_build

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ AUTOCONF_SUBDIRS="$AUTOCONF_SUBDIRS make erts"
3030
# partly built in one of the bootstrap phases. Applications that
3131
# only get some static includes copied into the bootstrap directory
3232
# should not be included.
33-
bootstrap_apps="erts lib/asn1 lib/compiler lib/hipe lib/ic lib/kernel lib/parsetools lib/sasl lib/snmp lib/stdlib lib/syntax_tools"
33+
bootstrap_apps="erts lib/asn1 lib/compiler lib/erl_interface lib/hipe lib/kernel lib/jinterface lib/parsetools lib/sasl lib/snmp lib/stdlib lib/syntax_tools lib/wx"
3434

3535
# We will quote a bit more than needed, but the important thing is that
3636
# all that needs quoting will be quoted...

0 commit comments

Comments
 (0)