diff options
Diffstat (limited to 'meta/recipes-devtools/tcltk/tcl/no_packages.patch')
-rw-r--r-- | meta/recipes-devtools/tcltk/tcl/no_packages.patch | 53 |
1 files changed, 53 insertions, 0 deletions
diff --git a/meta/recipes-devtools/tcltk/tcl/no_packages.patch b/meta/recipes-devtools/tcltk/tcl/no_packages.patch new file mode 100644 index 0000000000..ab6cc43169 --- /dev/null +++ b/meta/recipes-devtools/tcltk/tcl/no_packages.patch | |||
@@ -0,0 +1,53 @@ | |||
1 | tcl 8.6.0 builds by default a number of packages that are not needed in Yocto. | ||
2 | This patch changes the makefile so that these packages are not built by default. | ||
3 | |||
4 | Upstream-Status:Inappropriate [embedded specific] | ||
5 | |||
6 | Signed-off-by: Bogdan Marinescu <bogdan.a.marinescu@intel.com> | ||
7 | |||
8 | Index: unix/Makefile.in | ||
9 | =================================================================== | ||
10 | --- unix.orig/Makefile.in 2013-11-10 23:38:12.235425891 -0800 | ||
11 | +++ unix/Makefile.in 2013-11-10 23:38:12.231425891 -0800 | ||
12 | @@ -611,7 +611,7 @@ | ||
13 | # Start of rules | ||
14 | #-------------------------------------------------------------------------- | ||
15 | |||
16 | -all: binaries libraries doc packages | ||
17 | +all: binaries libraries doc | ||
18 | |||
19 | binaries: ${LIB_FILE} $(STUB_LIB_FILE) ${TCL_EXE} | ||
20 | |||
21 | @@ -653,12 +653,12 @@ | ||
22 | #tclConfig.h: $(UNIX_DIR)/tclConfig.h.in | ||
23 | # $(SHELL) config.status | ||
24 | |||
25 | -clean: clean-packages | ||
26 | +clean: | ||
27 | rm -f *.a *.o libtcl* core errs *~ \#* TAGS *.E a.out \ | ||
28 | 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 | ||
36 | @@ -706,7 +706,7 @@ | ||
37 | # 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) | ||
45 | @@ -771,7 +771,7 @@ | ||
46 | 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 | |||