public inbox for ltp@lists.linux.it
 help / color / mirror / Atom feed
* [LTP] [PATCH] realtime/lib: Fix includes in Makefile
@ 2013-01-16 20:34 Sedat Dilek
  2013-01-17 15:14 ` chrubis
  0 siblings, 1 reply; 3+ messages in thread
From: Sedat Dilek @ 2013-01-16 20:34 UTC (permalink / raw)
  To: ltp-list

On a freshly cloned ltp-git source-dir and with ltp-full-20130109, executing
'make distclean' fails with these errors:

testcases/realtime/lib/Makefile:25: ../../../../config.mk: No such file or directory
make[2]: *** No rule to make target `../../../../config.mk'.  Stop.

The patch fixes the issue by using env_pre.mk to include config.mk from
the correct location.

Tested with ltp-full-20130109 and ltp-git (20130109-5-g385d792).

Signed-off-by: Sedat Dilek <sedat.dilek@gmail.com>
---
 testcases/realtime/lib/Makefile | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/testcases/realtime/lib/Makefile b/testcases/realtime/lib/Makefile
index 8860549..fbbb873 100644
--- a/testcases/realtime/lib/Makefile
+++ b/testcases/realtime/lib/Makefile
@@ -22,7 +22,8 @@
 
 top_srcdir		?= ../../..
 
-include $(top_srcdir)/../config.mk
+include $(top_srcdir)/include/mk/env_pre.mk
+include $(abs_srcdir)/../config.mk
 
 CFLAGS			+= -D_GNU_SOURCE
 
-- 
1.8.1.1


------------------------------------------------------------------------------
Master Java SE, Java EE, Eclipse, Spring, Hibernate, JavaScript, jQuery
and much more. Keep your Java skills current with LearnJavaNow -
200+ hours of step-by-step video tutorials by Java experts.
SALE $49.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122612 
_______________________________________________
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list

^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2013-01-21 14:04 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-01-16 20:34 [LTP] [PATCH] realtime/lib: Fix includes in Makefile Sedat Dilek
2013-01-17 15:14 ` chrubis
2013-01-21 14:04   ` chrubis

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox