Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
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
0
Merge Requests
0
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
Kirill Smelkov
linux
Commits
1ca5b0e0
Commit
1ca5b0e0
authored
Nov 03, 2002
by
Pete Zaitcev
Committed by
David S. Miller
Nov 03, 2002
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[SPARC]: Update makefiles for current kbuild.
parent
17d8878c
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
4 deletions
+11
-4
arch/sparc/Makefile
arch/sparc/Makefile
+9
-2
arch/sparc/boot/Makefile
arch/sparc/boot/Makefile
+2
-2
No files found.
arch/sparc/Makefile
View file @
1ca5b0e0
...
@@ -41,13 +41,20 @@ core-y += arch/sparc/kernel/ arch/sparc/mm/ arch/sparc/math-emu/
...
@@ -41,13 +41,20 @@ core-y += arch/sparc/kernel/ arch/sparc/mm/ arch/sparc/math-emu/
libs-y
+=
arch
/sparc/prom/
arch
/sparc/lib/
libs-y
+=
arch
/sparc/prom/
arch
/sparc/lib/
# Export what is needed by arch/sparc/boot/Makefile
# Export what is needed by arch/sparc/boot/Makefile
export
init-y
core-y
drivers-y
net-y
libs-y
HEAD
# Renaming is done to avoid confusing pattern matching rules in 2.5.45 (multy-)
INIT_Y
:=
$(
patsubst
%/, %/built-in.o,
$
(
init-y
))
CORE_Y
:=
$
(
core-y
)
CORE_Y
+=
kernel/ mm/ fs/ ipc/ security/ crypto/
CORE_Y
:=
$(
patsubst
%/, %/built-in.o,
$(CORE_Y)
)
DRIVERS_Y
:=
$(
patsubst
%/, %/built-in.o,
$
(
drivers-y
))
NET_Y
:=
$(
patsubst
%/, %/built-in.o,
$
(
net-y
))
LIBS_Y
:=
$(
patsubst
%/, %/lib.a,
$
(
libs-y
))
export
INIT_Y
CORE_Y
DRIVERS_Y
NET_Y
LIBS_Y
HEAD
image
:
vmlinux
image
:
vmlinux
$(MAKE)
-C
arch
/sparc/boot image
$(MAKE)
-C
arch
/sparc/boot image
archclean
:
archclean
:
rm
-f
arch
/sparc/kernel/include
rm
-f
$(TOPDIR)
/vmlinux.aout
rm
-f
$(TOPDIR)
/vmlinux.aout
-
$(MAKE)
-C
arch
/sparc/boot clean
-
$(MAKE)
-C
arch
/sparc/boot clean
...
...
arch/sparc/boot/Makefile
View file @
1ca5b0e0
...
@@ -22,8 +22,8 @@ btfixupprep: btfixupprep.c
...
@@ -22,8 +22,8 @@ btfixupprep: btfixupprep.c
clean
:
clean
:
rm
-f
btfixupprep piggyback tftpboot.img btfix.o btfix.s image
rm
-f
btfixupprep piggyback tftpboot.img btfix.o btfix.s image
BTOBJS
:=
$(HEAD)
$
(
init-y
)
BTOBJS
:=
$(HEAD)
$(
INIT_Y
)
BTLIBS
:=
$
(
core-y
)
$
(
libs-y
)
$
(
drivers-y
)
$
(
net-y
)
BTLIBS
:=
$(
CORE_Y)
$(LIBS_Y)
$(DRIVERS_Y)
$(NET_Y
)
# Actual linking
# Actual linking
image
:
btfix.o
image
:
btfix.o
...
...
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