mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-05-24 10:39:52 +00:00

ionmap_test compile rule is missing ipcsocket.c dependency. Add it to fix the following compile errors: ..android/ion/ionutils.c:221: undefined reference to `sendtosocket' ..android/ion/ionutils.c:243: undefined reference to `receivefromsocket' Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
20 lines
598 B
Makefile
20 lines
598 B
Makefile
# SPDX-License-Identifier: GPL-2.0-only
|
|
|
|
INCLUDEDIR := -I. -I../../../../../drivers/staging/android/uapi/ -I../../../../../usr/include/
|
|
CFLAGS := $(CFLAGS) $(INCLUDEDIR) -Wall -O2 -g
|
|
|
|
TEST_GEN_FILES := ionapp_export ionapp_import ionmap_test
|
|
|
|
all: $(TEST_GEN_FILES)
|
|
|
|
$(TEST_GEN_FILES): ipcsocket.c ionutils.c
|
|
|
|
TEST_PROGS := ion_test.sh
|
|
|
|
KSFT_KHDR_INSTALL := 1
|
|
top_srcdir = ../../../../..
|
|
include ../../lib.mk
|
|
|
|
$(OUTPUT)/ionapp_export: ionapp_export.c ipcsocket.c ionutils.c
|
|
$(OUTPUT)/ionapp_import: ionapp_import.c ipcsocket.c ionutils.c
|
|
$(OUTPUT)/ionmap_test: ionmap_test.c ionutils.c ipcsocket.c
|