summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/tcltk/tcl/no_packages.patch
blob: 5c622a2369e3e9e645eba18767264f05d46e7b48 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
tcl 8.6.0 builds by default a number of packages that are not needed in Yocto.
This patch changes the makefile so that these packages are not built by default.

Upstream-Status:Inappropriate [embedded specific]

Signed-off-by: Bogdan Marinescu <bogdan.a.marinescu@intel.com>

diff --git a/Makefile.in b/Makefile.in
index b729ffd..2c2e824 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -612,7 +612,7 @@ SRCS = $(GENERIC_SRCS) $(TOMMATH_SRCS) $(UNIX_SRCS) $(NOTIFY_SRCS) \
 # Start of rules
 #--------------------------------------------------------------------------
 
-all: binaries libraries doc packages
+all: binaries libraries doc
 
 binaries: ${LIB_FILE} ${TCL_EXE}
 
@@ -656,12 +656,12 @@ Makefile: $(UNIX_DIR)/Makefile.in $(DLTEST_DIR)/Makefile.in
 #tclConfig.h: $(UNIX_DIR)/tclConfig.h.in
 #	$(SHELL) config.status
 
-clean: clean-packages
+clean:
 	rm -rf *.a *.o libtcl* core errs *~ \#* TAGS *.E a.out \
 		errors ${TCL_EXE} ${TCLTEST_EXE} lib.exp Tcl @DTRACE_HDR@
 	cd dltest ; $(MAKE) clean
 
-distclean: distclean-packages clean
+distclean: clean
 	rm -rf Makefile config.status config.cache config.log tclConfig.sh \
 		tclConfig.h *.plist Tcl.framework tcl.pc
 	cd dltest ; $(MAKE) distclean
@@ -709,7 +709,7 @@ tcltest-real:
 # tcltest, ie:
 #	% make test TESTFLAGS="-verbose bps -file fileName.test"
 
-test: test-tcl test-packages
+test: test-tcl
 
 test-tcl: ${TCLTEST_EXE}
 	$(SHELL_ENV) ${TCLTEST_EXE} $(TOP_DIR)/tests/all.tcl $(TESTFLAGS)
@@ -774,7 +774,7 @@ INSTALL_PACKAGE_TARGETS = install-packages
 INSTALL_DEV_TARGETS = install-headers
 INSTALL_EXTRA_TARGETS = @EXTRA_INSTALL@
 INSTALL_TARGETS = $(INSTALL_BASE_TARGETS) $(INSTALL_DOC_TARGETS) $(INSTALL_DEV_TARGETS) \
-		  $(INSTALL_PACKAGE_TARGETS) $(INSTALL_EXTRA_TARGETS)
+		  $(INSTALL_EXTRA_TARGETS)
 
 install: $(INSTALL_TARGETS)