fix Makefiles for out of source tree build
PATCH 1/1 fix Makefiles for out of source tree build
From: andrew chen <[email protected]>
For out of source tree build, realtime_config.h is created under the top_builddir. Add it into the include path or you will get a missing file issue.
--- ltp-full-20101031/testcases/realtime/config.mk | 1 + ltp-full-20101031/testcases/realtime/lib/Makefile | 3 +-- 2 files changed, 2 insertions(+), 2 deletions(-)
ltp-full-20101031/testcases/realtime/config.mk +1 -0
@@ -31,6 +31,7 @@ realtime_builddir := $(abs_top_builddir)/$(realtime_reldir) realtime_srcdir := $(abs_top_srcdir)/$(realtime_reldir) CPPFLAGS += -I$(realtime_srcdir)/include +CPPFLAGS += -I$(realtime_builddir)/include CFLAGS += -D_GNU_SOURCE LDLIBS += -lrealtime -lpthread -lrt -lm LDFLAGS += -L$(realtime_builddir)/lib
ltp-full-20101031/testcases/realtime/lib/Makefile +1 -2
@@ -23,8 +23,7 @@ top_srcdir ?= ../../.. include $(top_srcdir)/include/mk/env_pre.mk - -CPPFLAGS += -I$(abs_srcdir)/../include +include $(abs_srcdir)/../config.mk CFLAGS += -D_GNU_SOURCE
Signature · 13 lines
1.6.5 ------------------------------------------------------------------------------ WhatsUp Gold - Download Free Network Management Software The most intuitive, comprehensive, and cost-effective network management toolset available today. Delivers lowest initial acquisition cost and overall TCO of any competing solution. http://p.sf.net/sfu/whatsupgold-sd _______________________________________________ Ltp-list mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/ltp-list
Quoted 7 lines · Andrew Chen
From: andrew chen <[email protected]>
For out of source tree build,
realtime_config.his created under thetop_builddir. Add it into the include path or you will get a missing file issue.Signed-off-by Andrew Chen <[email protected]>
Committed with small adjustments to comments -- thanks! -Garrett
------------------------------------------------------------------------------
WhatsUp Gold - Download Free Network Management Software The most intuitive, comprehensive, and cost-effective network management toolset available today. Delivers lowest initial acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
_______________________________________________
Ltp-list mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list