Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ramstore
fast-ipc-module
Commits
f5068365
Commit
f5068365
authored
Mar 08, 2016
by
Charles Jacobsen
Browse files
lcd: Fix kernel tests build and install
parent
d1d9a2ba
Changes
4
Hide whitespace changes
Inline
Side-by-side
src/platform/kernel/Makefile.am
View file @
f5068365
...
...
@@ -28,8 +28,9 @@ export AM_CPPFLAGS COMMON_SRCS
LIBFIPC_KBUILD
=
@abs_top_builddir@/src/platform/kernel
LIBFIPC_TESTS_KBUILD
=
@abs_top_builddir@/src/platform/kernel/tests
LIBFIPC_PATH
=
../libfipc.a
# relative to tests dir
export
LIBFIPC_TESTS_KBUILD
export
LIBFIPC_TESTS_KBUILD
LIBFIPC_PATH
if
ENABLE_KERNEL_TESTS_BUILD
...
...
src/platform/kernel/tests/Makefile.am
View file @
f5068365
LIBFIPC
=
$(abs_top_buildir)
/src/platform/kernel/libfipc.a
export
LIBFIPC
# D=install dir (something/lib)
install-tests
:
cp
$(LIBFIPC_TESTS_KBUILD)
/rpc/libfipc_test_rpc.ko
$(D)
src/platform/kernel/tests/rpc/Kbuild.in
View file @
f5068365
...
...
@@ -6,8 +6,9 @@ src = @abs_top_srcdir@/src/platform/kernel/tests/rpc
obj-m = libfipc_test_rpc.o
# Path are relative to root test/ dir
libfipc_test_rpc-y += main.o callee.o caller.o
libfipc_test_rpc-y += $(LIBFIPC
)
libfipc_test_rpc-y +=
../
$(LIBFIPC
_PATH) # libfipc.a is relative to tests/
# Add -DCHECK_MESSAGES to check that message values contain what is expected
ccflags-y += $(CFLAGS) $(AM_CPPFLAGS) -DCHECK_MESSAGES
src/platform/kernel/tests/test_helpers.h
View file @
f5068365
...
...
@@ -69,7 +69,7 @@ test_fipc_wait_for_thread(struct task_struct *thread)
{
int
ret
;
ret
=
kthread_stop
(
thread
);
release_thread
(
thread
);
test_fipc_
release_thread
(
thread
);
return
ret
;
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment