blob: 5c622a2369e3e9e645eba18767264f05d46e7b48 [file] [log] [blame]
Patrick Williamsc124f4f2015-09-15 14:41:29 -05001tcl 8.6.0 builds by default a number of packages that are not needed in Yocto.
2This patch changes the makefile so that these packages are not built by default.
3
4Upstream-Status:Inappropriate [embedded specific]
5
6Signed-off-by: Bogdan Marinescu <bogdan.a.marinescu@intel.com>
7
Patrick Williamsc0f7c042017-02-23 20:41:17 -06008diff --git a/Makefile.in b/Makefile.in
9index b729ffd..2c2e824 100644
10--- a/Makefile.in
11+++ b/Makefile.in
12@@ -612,7 +612,7 @@ SRCS = $(GENERIC_SRCS) $(TOMMATH_SRCS) $(UNIX_SRCS) $(NOTIFY_SRCS) \
Patrick Williamsc124f4f2015-09-15 14:41:29 -050013 # Start of rules
14 #--------------------------------------------------------------------------
15
16-all: binaries libraries doc packages
17+all: binaries libraries doc
18
Patrick Williamsc0f7c042017-02-23 20:41:17 -060019 binaries: ${LIB_FILE} ${TCL_EXE}
Patrick Williamsc124f4f2015-09-15 14:41:29 -050020
Patrick Williamsc0f7c042017-02-23 20:41:17 -060021@@ -656,12 +656,12 @@ Makefile: $(UNIX_DIR)/Makefile.in $(DLTEST_DIR)/Makefile.in
Patrick Williamsc124f4f2015-09-15 14:41:29 -050022 #tclConfig.h: $(UNIX_DIR)/tclConfig.h.in
23 # $(SHELL) config.status
24
25-clean: clean-packages
26+clean:
Patrick Williamsc0f7c042017-02-23 20:41:17 -060027 rm -rf *.a *.o libtcl* core errs *~ \#* TAGS *.E a.out \
Patrick Williamsc124f4f2015-09-15 14:41:29 -050028 errors ${TCL_EXE} ${TCLTEST_EXE} lib.exp Tcl @DTRACE_HDR@
29 cd dltest ; $(MAKE) clean
30
31-distclean: distclean-packages clean
32+distclean: clean
33 rm -rf Makefile config.status config.cache config.log tclConfig.sh \
34 tclConfig.h *.plist Tcl.framework tcl.pc
35 cd dltest ; $(MAKE) distclean
Patrick Williamsc0f7c042017-02-23 20:41:17 -060036@@ -709,7 +709,7 @@ tcltest-real:
Patrick Williamsc124f4f2015-09-15 14:41:29 -050037 # tcltest, ie:
38 # % make test TESTFLAGS="-verbose bps -file fileName.test"
39
40-test: test-tcl test-packages
41+test: test-tcl
42
43 test-tcl: ${TCLTEST_EXE}
44 $(SHELL_ENV) ${TCLTEST_EXE} $(TOP_DIR)/tests/all.tcl $(TESTFLAGS)
Patrick Williamsc0f7c042017-02-23 20:41:17 -060045@@ -774,7 +774,7 @@ INSTALL_PACKAGE_TARGETS = install-packages
Patrick Williamsc124f4f2015-09-15 14:41:29 -050046 INSTALL_DEV_TARGETS = install-headers
47 INSTALL_EXTRA_TARGETS = @EXTRA_INSTALL@
48 INSTALL_TARGETS = $(INSTALL_BASE_TARGETS) $(INSTALL_DOC_TARGETS) $(INSTALL_DEV_TARGETS) \
49- $(INSTALL_PACKAGE_TARGETS) $(INSTALL_EXTRA_TARGETS)
50+ $(INSTALL_EXTRA_TARGETS)
51
52 install: $(INSTALL_TARGETS)
53