提交 52fd1d08 编写于 作者: S Shuah Khan

selftests: Makefile: clear LDFLAGS for make O=dir use-case

kselftest target fails when object directory is specified to relocate
objects. Inherited "LDFLAGS = -m" fails the test builds. Clear it.
Signed-off-by: NShuah Khan <shuahkh@osg.samsung.com>
上级 8050ef2b
...@@ -52,6 +52,10 @@ override LDFLAGS = ...@@ -52,6 +52,10 @@ override LDFLAGS =
override MAKEFLAGS = override MAKEFLAGS =
endif endif
ifneq ($(KBUILD_SRC),)
override LDFLAGS =
endif
BUILD := $(O) BUILD := $(O)
ifndef BUILD ifndef BUILD
BUILD := $(KBUILD_OUTPUT) BUILD := $(KBUILD_OUTPUT)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册