Compare commits
67 Commits
822a2b7d43
...
a770b67b08
Author | SHA1 | Date | |
---|---|---|---|
a770b67b08 | |||
e0fb90d97e | |||
ce9d0f5856 | |||
13a0d4860d | |||
59915a5cd6 | |||
f3fbfcf8fb | |||
f2e0c87dfc | |||
ff1135c4b6 | |||
29d9620540 | |||
265c22ddaa | |||
75fb5dd98e | |||
64b93f6664 | |||
105cd99fc9 | |||
c54d9d6bf8 | |||
23edc6e12a | |||
f1d10af5b2 | |||
89c11cdffe | |||
6cdc9ea40a | |||
ae4b383a16 | |||
031b57b97a | |||
e37b2e7b07 | |||
78fb55112e | |||
311ca222d3 | |||
9d10e16760 | |||
6e78cdc356 | |||
20488d8413 | |||
c84e4d661e | |||
62b8455d52 | |||
71598efb45 | |||
f60d11fc42 | |||
e188a61499 | |||
34f54a2a16 | |||
66a40d0951 | |||
ae02a3edb0 | |||
6316156f83 | |||
d75bce3b73 | |||
265db4b081 | |||
7fddffdbff | |||
4e9aea19ab | |||
70e2d627bc | |||
9db54a4d83 | |||
3c3e5ece3d | |||
707516276d | |||
44206b1305 | |||
357aefed54 | |||
94de39ca3d | |||
382e2d7492 | |||
aff08a2812 | |||
ea1c3a28ae | |||
1f2c8da478 | |||
9ac5b73f01 | |||
8eca96de64 | |||
94b1d47f1b | |||
818909266d | |||
954fdf43f1 | |||
fd330452f5 | |||
d3d9cc9c4f | |||
6696fd82a1 | |||
ec8875e6ea | |||
ba7be587ae | |||
0a75d3e5d8 | |||
5ab0ffd683 | |||
59c20b04ee | |||
3a61341381 | |||
7cca3d092a | |||
30ff704342 | |||
6e69d37d62 |
@ -55,3 +55,8 @@ target_compile_options(luna-freestanding PRIVATE -mno-80387 -mno-mmx -mno-sse -m
|
|||||||
target_compile_definitions(luna-freestanding PUBLIC ARCH_X86_64)
|
target_compile_definitions(luna-freestanding PUBLIC ARCH_X86_64)
|
||||||
target_compile_definitions(luna PUBLIC ARCH_X86_64)
|
target_compile_definitions(luna PUBLIC ARCH_X86_64)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
add_custom_command(
|
||||||
|
TARGET luna
|
||||||
|
COMMAND "${CMAKE_COMMAND}" -E copy ${CMAKE_CURRENT_BINARY_DIR}/libluna.a ${LUNA_BASE}/usr/lib/libluna.a
|
||||||
|
)
|
||||||
|
@ -27,3 +27,8 @@ target_include_directories(os PUBLIC ${LUNA_BASE}/usr/include)
|
|||||||
if("${LUNA_ARCH}" MATCHES "x86_64")
|
if("${LUNA_ARCH}" MATCHES "x86_64")
|
||||||
target_compile_definitions(os PUBLIC ARCH_X86_64)
|
target_compile_definitions(os PUBLIC ARCH_X86_64)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
add_custom_command(
|
||||||
|
TARGET os
|
||||||
|
COMMAND "${CMAKE_COMMAND}" -E copy ${CMAKE_CURRENT_BINARY_DIR}/libos.a ${LUNA_BASE}/usr/lib/libos.a
|
||||||
|
)
|
||||||
|
@ -58,7 +58,7 @@ case $format in
|
|||||||
tar xf $output
|
tar xf $output
|
||||||
;;
|
;;
|
||||||
git)
|
git)
|
||||||
if ! [ -d $srcdir]; then
|
if ! [ -d $srcdir ]; then
|
||||||
echo "Cloning repository for $name..."
|
echo "Cloning repository for $name..."
|
||||||
git clone $url $srcdir
|
git clone $url $srcdir
|
||||||
else
|
else
|
||||||
@ -78,9 +78,11 @@ esac
|
|||||||
if ! [ "$set_cc_variables" = "no" ]; then
|
if ! [ "$set_cc_variables" = "no" ]; then
|
||||||
export CC=x86_64-luna-gcc
|
export CC=x86_64-luna-gcc
|
||||||
export CXX=x86_64-luna-g++
|
export CXX=x86_64-luna-g++
|
||||||
|
export AR=x86_64-luna-ar
|
||||||
export PKG_CONFIG=luna-pkg-config
|
export PKG_CONFIG=luna-pkg-config
|
||||||
export CC_FOR_BUILD=gcc
|
export CC_FOR_BUILD=gcc
|
||||||
export CXX_FOR_BUILD=g++
|
export CXX_FOR_BUILD=g++
|
||||||
|
export AR_FOR_BUILD=ar
|
||||||
export PKG_CONFIG_FOR_BUILD=pkg-config
|
export PKG_CONFIG_FOR_BUILD=pkg-config
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user