Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
M
Mock Turtle
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
image/svg+xml
Discourse
Discourse
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Projects
Mock Turtle
Commits
0b9bf0db
Commit
0b9bf0db
authored
Oct 03, 2023
by
Dimitris Lampridis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
sw/fw: use standard Make variables for install
parent
65d4ea0c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
+5
-2
Makefile
software/firmware/Makefile
+5
-2
No files found.
software/firmware/Makefile
View file @
0b9bf0db
...
...
@@ -21,7 +21,9 @@ ifndef OBJS
endif
# and don't touch the rest unless you know what you're doing.
INSTALL_PREFIX
?=
.
DESTDIR
?=
prefix
?=
/lib
firmwaredir
?=
$(prefix)
/firmware
PATH_COMMON_RT
?=
.
PATH_COMMON_H
?=
../include
TRTL
?=
../..
...
...
@@ -189,7 +191,8 @@ clean-dot-config:
cleanall
:
clean clean-dot-config
install
:
@
cp
$(build_output)
.bin
$(INSTALL_PREFIX)
mkdir
-m
0775
-p
$(DESTDIR)$(firmwaredir)
install
-D
-t
$(DESTDIR)$(firmwaredir)
-m
0644
$(build_output)
.
{
bin,elf,bram
}
# inlude *.d files from the build directory
include
$(wildcard
$(patsubst
%,%/.d/*.d,$(basename
$(OBJDIR_BUILD))))
...
...
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