Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
B
bootrom
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kestrel Collaboration
Kestrel Firmware
bootrom
Commits
7165ff33
Commit
7165ff33
authored
Feb 26, 2021
by
Evan Lojewski
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
release: Add bios elf, bin, and init files to the release package.
parent
880ddd00
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
5 deletions
+10
-5
bios/CMakeLists.txt
bios/CMakeLists.txt
+2
-0
cmake/ppc64le.cmake
cmake/ppc64le.cmake
+8
-5
No files found.
bios/CMakeLists.txt
View file @
7165ff33
...
...
@@ -75,4 +75,6 @@ target_include_directories(${PROJECT_NAME} PUBLIC include)
target_compile_definitions
(
${
PROJECT_NAME
}
PRIVATE
"-DTERM_NO_HIST"
)
target_compile_definitions
(
${
PROJECT_NAME
}
PRIVATE
"-DNO_FLINT"
)
# Disable linting
install
(
TARGETS
${
PROJECT_NAME
}
DESTINATION fw RESOURCE
)
format_target_sources
(
${
PROJECT_NAME
}
)
cmake/ppc64le.cmake
View file @
7165ff33
...
...
@@ -99,14 +99,17 @@ function(ppc64le_add_executable target)
VERBATIM
)
add_custom_command
(
OUTPUT
${
target
}
.init
COMMAND bin2init --input
${
target
}
.bin --output
${
target
}
.init
DEPENDS
${
target
}
bin2init
VERBATIM
)
OUTPUT
${
target
}
.init
COMMAND bin2init --input
${
target
}
.bin --output
${
target
}
.init
DEPENDS
${
target
}
bin2init
VERBATIM
)
add_custom_target
(
bios-init ALL DEPENDS
${
target
}
.init
)
set_target_properties
(
${
target
}
PROPERTIES RESOURCE
${
CMAKE_CURRENT_BINARY_DIR
}
/
${
target
}
.bin
)
SET
(
RESOURCES
${
CMAKE_CURRENT_BINARY_DIR
}
/
${
target
}
.bin
${
CMAKE_CURRENT_BINARY_DIR
}
/
${
target
}
.init
)
set_target_properties
(
${
target
}
PROPERTIES RESOURCE
"
${
RESOURCES
}
"
)
# Add host binary
add_library
(
${
target
}
-binary EXCLUDE_FROM_ALL
${
target
}
.c
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment