Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
S
Simple VME FMC Carrier SVEC - Software
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
Simple VME FMC Carrier SVEC - Software
Commits
4faca0bb
Commit
4faca0bb
authored
May 07, 2013
by
Juan David González Cobas
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
svec: miscellaneous fixes in makefiles
parent
49ef964a
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
18 additions
and
6 deletions
+18
-6
Makefile
kernel/Makefile
+6
-1
Makefile
tools/Makefile
+12
-5
No files found.
kernel/Makefile
View file @
4faca0bb
...
...
@@ -25,5 +25,10 @@ all: modules
.PHONY
:
all modules clean help install modules_install
modules
clean
help install modules_install
:
modules help install modules_install
:
$(MAKE)
-C
$(LINUX)
M
=
$(
shell
pwd
)
CPU
=
$(CPU)
KVER
=
$(KVER)
$@
# be able to run the "clean" rule even if $(LINUX) is not valid
clean
:
rm
-rf
*
.o
*
~ .
*
.cmd
*
.ko
*
.mod.c .tmp_versions Module.symvers
\
Module.markers modules.order
tools/Makefile
View file @
4faca0bb
ENV
?=
lab
CPU
?=
L865
VME_INC
?=
/acc/src/dsc/drivers/coht/vmebridge/include/
include
/acc/src/dsc/co/Make.auto
VME_INC
?=
/acc/src/dsc/drivers/coht/vmebridge/include/
CFLAGS
+=
-g
-Wall
CFLAGS
+=
-I
$(VME_INC)
LDFLAGS
+=
-L
/acc/local/
L865/lib
LDFLAGS
+=
-L
/acc/local/
$(CPU)
/lib
LDLIBS
+=
-lvmebus
all
:
vme
vme
:
vme.o
all
:
vme.$(CPU)
vme.$(CPU)
:
vme.$(CPU).o
install-$(ENV)
:
dsc_install vme.
$(CPU)
/acc/dsc/
$(ENV)
/
$(CPU)
/bin
clean
:
rm
-f
*
.o
vme
rm
-f
*
.o
*
.
$(CPU)
# These targets are called from ../Makefile, just do nothing
modules install modules_install
:
...
...
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