On Thu, Oct 15, 2009 at 10:30 AM, Cyril Hrubis <[email protected]> wrote:
> Hi!
> Following patch should fix all troubles with get/set_mempolicy. Header
> linux_syscall_numbers.h wasn't included in libcpuset.c and part of makefile
> that creates symlink in $(LTP_TOPDIR)/include to this header was lost in
> buildsystem rework. May be it would be be cleaner to move content of
> testcases/kernel/include somewhere into include but at least with this patch 
> it
> should compile fine.

Cyril,

    This logic is covered in include/mk/testcases.mk as follows:

include $(top_srcdir)/include/mk/env_pre.mk

# For linux_syscall_numbers.h
CPPFLAGS                += -I$(abs_top_builddir)/testcases/kernel/include

INSTALL_DIR             := testcases/bin

LDLIBS                  += -lltp

    There's no reason why we have to go back to the hackish Makefile's
-- we can just include testcases.mk if it's not included already (I
admit, a smallhandful of testcases/... Makefile's didn't do this, but
I did this on need-to-have basis).

Thanks!
-Garrett

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list

Reply via email to