Skip to content

Commit 11f5b7e

Browse files
authored
Merge pull request #586 from rodionov/fix_output
Fix OUTPUT environment variable for LKL build.
2 parents cab6e39 + eca6448 commit 11f5b7e

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

arch/lkl/scripts/headers_install.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ def install_headers(self):
129129
except:
130130
pass
131131
print(" INSTALL\t%s" % (out_dir + "/" + os.path.basename(h)))
132-
os.system(self.srctree+"/scripts/headers_install.sh %s %s" % (os.path.abspath(h),
132+
os.system(self.srctree+"/scripts/headers_install.sh %s %s" % (self.relpath2abspath(h),
133133
out_dir + "/" + os.path.basename(h)))
134134
new_headers.add(out_dir + "/" + os.path.basename(h))
135135

tools/lkl/Makefile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,8 @@ include ../scripts/Makefile.include
2828

2929
# OUTPUT fixup should be *after* include ../scripts/Makefile.include
3030
ifneq ($(OUTPUT),)
31+
KERNEL_OUT_DIR := $(OUTPUT)
32+
KOPT += O=$(KERNEL_OUT_DIR)
3133
OUTPUT := $(OUTPUT)/tools/lkl/
3234
else
3335
OUTPUT := $(CURDIR)/

0 commit comments

Comments
 (0)