Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
F
FMC ADC 100M 14b 4cha
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
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
FMC ADC 100M 14b 4cha
Commits
247a3a3a
Commit
247a3a3a
authored
Sep 21, 2023
by
Vaibhav Gupta
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
software: tools: Makefile: Add target 'install'
Signed-off-by:
Vaibhav Gupta
<
vaibhav.gupta@cern.ch
>
parent
c2a78e35
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
5 deletions
+10
-5
Makefile
software/tools/Makefile
+10
-5
No files found.
software/tools/Makefile
View file @
247a3a3a
...
...
@@ -12,8 +12,6 @@ REPO_PARENT ?= ../..
-include
$(REPO_PARENT)/parent_common.mk
# user-space tools for spec-fine-delay
DESTDIR
?=
/usr/local
GIT_VERSION
:=
$(
shell
git describe
--dirty
--long
--tags
)
CFLAGS
+=
-I
../kernel
-Wno-trigraphs
-Wall
-Werror
-ggdb
-O2
$(EXTRACFLAGS)
CFLAGS
+=
-DGIT_VERSION
=
"
\"
$(GIT_VERSION)
\"
"
...
...
@@ -36,9 +34,16 @@ clean:
# make nothing for modules_install, but avoid errors
modules_install
:
install
:
install
-d
$(DESTDIR)
/bin
install
-D
$(progs)
$(DESTDIR)
/bin
DESTDIR
?=
prefix
?=
/usr/local
exec_prefix
?=
$(prefix)
bindir
?=
$(exec_prefix)
/bin
includedir
?=
$(prefix)
/include
install
:
all
mkdir
-m
0775
-p
$(DESTDIR)$(bindir)
$(DESTDIR)$(includedir)
/fmc-adc
install
-D
-t
$(DESTDIR)$(bindir)
-m
0755
$(progs)
install
-D
-t
$(DESTDIR)$(includedir)
/fmc-adc
-m
0644 ../kernel/fmc-adc-100m14b4cha.h
# we need this as we are out of the kernel
%
:
%.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