Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
S
Simple PCIe FMC carrier SPEC - Software
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
3
Issues
3
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 PCIe FMC carrier SPEC - Software
Commits
1353b7b0
Commit
1353b7b0
authored
Oct 10, 2012
by
Alessandro Rubini
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
all Makefiles: allow 'make install' from topdir
Signed-off-by:
Alessandro Rubini
<
rubini@gnudd.com
>
parent
80b01619
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
11 additions
and
3 deletions
+11
-3
Makefile
Makefile
+1
-1
Makefile
doc/Makefile
+2
-0
Makefile
kernel/Makefile
+1
-1
Makefile
test-lm32/Makefile
+3
-0
Makefile
tools/Makefile
+4
-1
No files found.
Makefile
View file @
1353b7b0
DIRS
=
kernel tools doc
all clean
:
all clean
modules install modules_install
:
for
d
in
$(DIRS)
;
do
$(MAKE)
-C
$$
d
$@
||
exit
1
;
done
doc/Makefile
View file @
1353b7b0
...
...
@@ -58,3 +58,5 @@ clean: terse
install
:
# add the other unused targets, so the rule in ../Makefile works
modules modules_install
:
kernel/Makefile
View file @
1353b7b0
...
...
@@ -38,7 +38,7 @@ all modules:
install modules_install
:
$(MAKE)
-C
$(LINUX)
M
=
$(
shell
/bin/pwd
)
modules_install
# 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
test-lm32/Makefile
View file @
1353b7b0
...
...
@@ -31,3 +31,6 @@ clean:
spec-test00-cpu
:
crt0.o spec-test00-cpu.o
$(CC)
$(LDFLAGS)
$^
-o
$@
# add the other unused targets, so the rule in ../Makefile works
modules install modules_install
:
tools/Makefile
View file @
1353b7b0
...
...
@@ -21,4 +21,7 @@ loader-ll.o: ../kernel/loader-ll.c
${
CC
}
-c
$^
-I
.
clean
:
rm
-f
*
.o
$(LIB)
$(PROGS)
*
~
\ No newline at end of file
rm
-f
*
.o
$(LIB)
$(PROGS)
*
~
# add the other unused targets, so the rule in ../Makefile works
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