Skip to content

Commit

Permalink
selftests: remove CROSS_COMPILE in dedicated Makefile
Browse files Browse the repository at this point in the history
After previous clean up patches, memfd and timers could get
CROSS_COMPILE from tools/testing/selftest/lib.mk. There is no need to
preserve these definition. So, this patch remove them.

Acked-by: Michael Ellerman <mpe@ellerman.id.au>
Signed-off-by: Bamvor Jian Zhang <bamvor.zhangjian@linaro.org>
Signed-off-by: Shuah Khan <shuahkh@osg.samsung.com>
  • Loading branch information
bamvor.zhangjian@huawei.com authored and Shuah Khan committed Jan 5, 2017
1 parent 7d758af commit 5a2d4a5
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion tools/testing/selftests/memfd/Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
CC = $(CROSS_COMPILE)gcc
CFLAGS += -D_FILE_OFFSET_BITS=64
CFLAGS += -I../../../../include/uapi/
CFLAGS += -I../../../../include/
Expand Down
1 change: 0 additions & 1 deletion tools/testing/selftests/timers/Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
CC = $(CROSS_COMPILE)gcc
BUILD_FLAGS = -DKTEST
CFLAGS += -O3 -Wl,-no-as-needed -Wall $(BUILD_FLAGS)
LDFLAGS += -lrt -lpthread
Expand Down

0 comments on commit 5a2d4a5

Please sign in to comment.