[oe-commits] org.oe.dev ltp: 2008-02-29 release. Patched to build. ballista test still fails detecting native perl. Not tested on any target yet.
likewise commit
openembedded-commits at lists.openembedded.org
Sat Mar 1 00:50:09 UTC 2008
ltp: 2008-02-29 release. Patched to build. ballista test still fails detecting native perl. Not tested on any target yet.
Author: likewise at openembedded.org
Branch: org.openembedded.dev
Revision: dee683d3de0616c362d03b01a6bf3caa2da5423c
ViewMTN: http://monotone.openembedded.org/revision/info/dee683d3de0616c362d03b01a6bf3caa2da5423c
Files:
1
packages/ltp/ltp-20080229/ballista.patch
packages/ltp/ltp-20080229/cross-compile.patch
packages/ltp/ltp_20080229.bb
Diffs:
#
# mt diff -r9d236d0f0128c911003134432d186cef6fb7f26f -rdee683d3de0616c362d03b01a6bf3caa2da5423c
#
#
#
# add_file "packages/ltp/ltp-20080229/ballista.patch"
# content [03c8fb2c442ea81117b4b7bbb28e2bbb90a31e89]
#
# patch "packages/ltp/ltp-20080229/cross-compile.patch"
# from [9676303d9142bfbb308d7dd1f5ba8cd414d1de12]
# to [031b7228b6e7076d8eea3d23ff2adbf202cd4107]
#
# patch "packages/ltp/ltp_20080229.bb"
# from [dcd98407746285869ed6d16ef588839f8d170337]
# to [9a5448b41b907e4bb4bd1b02764a6a8c7bdc0f86]
#
============================================================
--- packages/ltp/ltp-20080229/ballista.patch 03c8fb2c442ea81117b4b7bbb28e2bbb90a31e89
+++ packages/ltp/ltp-20080229/ballista.patch 03c8fb2c442ea81117b4b7bbb28e2bbb90a31e89
@@ -0,0 +1,22 @@
+Index: ltp-full-20080229/testcases/ballista/Makefile
+===================================================================
+--- ltp-full-20080229.orig/testcases/ballista/Makefile 2008-02-29 08:55:46.000000000 +0100
++++ ltp-full-20080229/testcases/ballista/Makefile 2008-03-01 01:21:16.000000000 +0100
+@@ -1,4 +1,4 @@
+-ifeq ($(shell perl -v &> /dev/null && echo yes),yes)
++ifeq ($(shell perl -v > /dev/null && echo yes),yes)
+
+ all: bal
+
+Index: ltp-full-20080229/testcases/ballista/ballista/Makefile
+===================================================================
+--- ltp-full-20080229.orig/testcases/ballista/ballista/Makefile 2008-03-01 01:21:16.000000000 +0100
++++ ltp-full-20080229/testcases/ballista/ballista/Makefile 2008-03-01 01:22:22.000000000 +0100
+@@ -37,6 +37,7 @@
+
+ # build everything by default
+ all : callGen callGen_standAlone genCodeCreator replacer ballista
++ rm blexer bparser mut.out
+
+ # run-of-of-the-mill rules for utility programs
+ callGen: callGen.cpp
============================================================
--- packages/ltp/ltp-20080229/cross-compile.patch 9676303d9142bfbb308d7dd1f5ba8cd414d1de12
+++ packages/ltp/ltp-20080229/cross-compile.patch 031b7228b6e7076d8eea3d23ff2adbf202cd4107
@@ -1,7 +1,7 @@ Index: ltp-full-20080229/Makefile
Index: ltp-full-20080229/Makefile
===================================================================
--- ltp-full-20080229.orig/Makefile 2008-02-29 08:55:41.000000000 +0100
-+++ ltp-full-20080229/Makefile 2008-03-01 00:27:33.000000000 +0100
++++ ltp-full-20080229/Makefile 2008-03-01 01:14:35.000000000 +0100
@@ -33,11 +33,12 @@
endif
ifdef CROSS_COMPILER
@@ -19,7 +19,7 @@ Index: ltp-full-20080229/testcases/balli
Index: ltp-full-20080229/testcases/ballista/ballista/Makefile
===================================================================
--- ltp-full-20080229.orig/testcases/ballista/ballista/Makefile 2008-02-29 08:55:46.000000000 +0100
-+++ ltp-full-20080229/testcases/ballista/ballista/Makefile 2008-03-01 00:27:33.000000000 +0100
++++ ltp-full-20080229/testcases/ballista/ballista/Makefile 2008-03-01 01:14:35.000000000 +0100
@@ -24,7 +24,7 @@
########################
@@ -29,3 +29,29 @@ Index: ltp-full-20080229/testcases/balli
CFLAGS = -w -O ${TARGET_DEF}
CLIBS = -lpthread -ldl -lnsl -rdynamic
TEST_MAN_FILE = selfHost
+Index: ltp-full-20080229/testcases/kernel/security/filecaps/Makefile
+===================================================================
+--- ltp-full-20080229.orig/testcases/kernel/security/filecaps/Makefile 2008-03-01 01:14:49.000000000 +0100
++++ ltp-full-20080229/testcases/kernel/security/filecaps/Makefile 2008-03-01 01:15:05.000000000 +0100
+@@ -20,7 +20,6 @@
+
+ SCRIPTS = filecapstest.sh checkforlibcap.sh checkforfilecaps.sh
+ ifeq ($(shell sh checkforlibcap.sh yesno),yes)
+-CC=gcc
+
+ CFLAGS += -I../../../../include -Wall
+ LDLIBS += -L../../../../lib -lltp -lcap
+@@ -29,11 +28,11 @@
+ TARGETS = $(patsubst %.c,%,$(SRCS))
+ INSTALLTARGETS = $(TARGETS) $(SCRIPTS)
+ all: $(TARGETS)
+- gcc -o checkforlibcap gotlibcap.c
++ $(CC) -o checkforlibcap gotlibcap.c
+ else
+ all:
+ @echo "setcap or xattr headers not installed. Please install libcap from"; echo "ftp://ftp.kernel.org/pub/linux/libs/security/linux-privs/libcap2"; echo "Then make clean in ltp or ltp/testcases/kernel/security/filecaps, and recompile ltp."
+- gcc -o checkforlibcap nolibcap.c
++ $(CC) -o checkforlibcap nolibcap.c
+ TARGETS =
+ endif
+
============================================================
--- packages/ltp/ltp_20080229.bb dcd98407746285869ed6d16ef588839f8d170337
+++ packages/ltp/ltp_20080229.bb 9a5448b41b907e4bb4bd1b02764a6a8c7bdc0f86
@@ -7,7 +7,8 @@ SRC_URI = "${SOURCEFORGE_MIRROR}/ltp/ltp
file://cross-compile.patch;patch=1 \
file://runltp-path.patch;patch=1 \
file://ltp-run \
- file://posix_shell_compat.patch;patch=1"
+ file://posix_shell_compat.patch;patch=1 \
+ file://ballista.patch;patch=1"
S = "${WORKDIR}/ltp-full-${PV}"
More information about the Openembedded-commits
mailing list