diff options
author | fuzzard <fuzzard@kodi.tv> | 2023-06-13 16:33:59 +1000 |
---|---|---|
committer | fuzzard <fuzzard@kodi.tv> | 2023-06-13 16:33:59 +1000 |
commit | ae1c4825d22fefdfa4205fb8437ade0cef438284 (patch) | |
tree | 0fbccbbc9f2b69a678830baa6d048de61ac50d07 /tools/depends/Makefile.include.in | |
parent | 10efd225bd75019e5340d2f8df27dd8fbdaa1395 (diff) |
[tools/depends] Update native toolchain and Makefile.include
introduce new variable in Makefile.include to call cmake with native toolchain file
Add native ARCH_DEFINES to native toolchain file for use in host cmake dep building
Diffstat (limited to 'tools/depends/Makefile.include.in')
-rw-r--r-- | tools/depends/Makefile.include.in | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/depends/Makefile.include.in b/tools/depends/Makefile.include.in index 691cc253e9..e91bf152f4 100644 --- a/tools/depends/Makefile.include.in +++ b/tools/depends/Makefile.include.in @@ -98,6 +98,7 @@ NM_FOR_BUILD=@NM_FOR_BUILD@ STRIP_FOR_BUILD=@STRIP_FOR_BUILD@ READELF_FOR_BUILD=@READELF_FOR_BUILD@ OBJDUMP_FOR_BUILD=@OBJDUMP_FOR_BUILD@ +CMAKE_FOR_BUILD=@prefix@/@tool_dir@/bin/cmake -DCMAKE_TOOLCHAIN_FILE=$(NATIVEPREFIX)/share/Toolchain-Native.cmake -DCMAKE_INSTALL_PREFIX=$(NATIVEPREFIX) NATIVE_CFLAGS=@host_includes@ -I@prefix@/@tool_dir@/include NATIVE_LDFLAGS=@host_includes@ -L@prefix@/@tool_dir@/lib |