xref: /OK3568_Linux_fs/buildroot/package/tvheadend/0001-no-check_config.patch (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1Makefile: do not use check_config
2
3test(1) only uses the second to compare two files dates.
4test(1) also does a strict comparison wrt. dates.
5
6But, on very fast systems, the configure and .config.mk
7files may be created in the same second, and so would lead
8to a false comparison of the files' dates.
9
10Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
11
12diff -durN tvheadend-c84bc2b72b462ef2dbed305f3fd0bb3fa5046fc3.orig/Makefile tvheadend-c84bc2b72b462ef2dbed305f3fd0bb3fa5046fc3/Makefile
13--- tvheadend-c84bc2b72b462ef2dbed305f3fd0bb3fa5046fc3.orig/Makefile	2014-03-09 14:47:43.780025330 +0100
14+++ tvheadend-c84bc2b72b462ef2dbed305f3fd0bb3fa5046fc3/Makefile	2014-03-09 14:48:40.836539093 +0100
15@@ -708,7 +708,7 @@
16 	$(ROOTDIR)/configure $(CONFIGURE_ARGS)
17
18 # Binary
19-${PROG}: .config.mk make_webui $(OBJS)
20+${PROG}: make_webui $(OBJS)
21 	$(pCC) -o $@ $(OBJS) $(CFLAGS) $(LDFLAGS)
22
23 # Object
24