On Mon, 2008-09-29 at 11:19 +0900, Masatake YAMATO wrote:
> This patch introduces new check_header defined in utils/cond.mk
> to Makefile for modify_ldt test cases. 
> 
> Signed-off-by: Masatake YAMATO <[EMAIL PROTECTED]>

Thanks for this as well.

Regards--
Subrata

> 
> 
> --- ltp/testcases/kernel/syscalls/modify_ldt/Makefile 2006-08-21 
> 15:58:41.000000000 +0900
> +++ ltp-hacked/testcases/kernel/syscalls/modify_ldt/Makefile  2008-09-26 
> 23:12:07.000000000 +0900
> @@ -16,16 +16,15 @@
>  #  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
>  #
> 
> +include ../utils/cond.mk
> +
> +
>  SRCS    = $(wildcard *.c)
>  TARGETS = $(patsubst %.c,%,$(SRCS))
> 
> -check_header = $(shell \
> -     if echo "\#include <$(1)>" | $(CC) -E - > /dev/null 2>&1 ; \
> -     then echo yes ; \
> -     else echo no ; fi)
> -
>  ifeq ($(call check_header,asm/ldt.h),yes)
> 
> +# TODO: Next shell call makes cross-compiling LTP difficult.
>  NEEDSPECIAL:=$(shell echo "\#include <asm/ldt.h>" | $(CC) -E - 2>&1 | grep 
> user_desc)
>  ifeq ($(strip $(NEEDSPECIAL)),)
>  CFLAGS+=-I../../../../include -g -Wall
> 
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
> Build the coolest Linux based applications with Moblin SDK & win great prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> Ltp-list mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/ltp-list


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list

Reply via email to