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
nexedi
linux
Commits
20dbfad8
Commit
20dbfad8
authored
Aug 07, 2006
by
Greg Kroah-Hartman
Browse files
Options
Browse Files
Download
Plain Diff
Merge
git://git.kernel.org/pub/scm/linux/kernel/git/sam/kbuild-2.6.18
parents
8b384b81
9ee4e336
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
21 additions
and
6 deletions
+21
-6
Makefile
Makefile
+18
-6
usr/Makefile
usr/Makefile
+3
-0
No files found.
Makefile
View file @
20dbfad8
...
...
@@ -436,12 +436,13 @@ core-y := usr/
endif
# KBUILD_EXTMOD
ifeq
($(dot-config),1)
# In this section, we need .config
# Read in config
-include
include/config/auto.conf
ifeq
($(KBUILD_EXTMOD),)
# Read in dependencies to all Kconfig* files, make sure to run
# oldconfig if changes are detected.
-include
include/config/auto.conf.cmd
-include
include/config/auto.conf
# To avoid any implicit rule to kick in, define an empty command
$(KCONFIG_CONFIG) include/config/auto.conf.cmd
:
;
...
...
@@ -451,16 +452,27 @@ $(KCONFIG_CONFIG) include/config/auto.conf.cmd: ;
# if auto.conf.cmd is missing then we are probably in a cleaned tree so
# we execute the config step to be sure to catch updated Kconfig files
include/config/auto.conf
:
$(KCONFIG_CONFIG) include/config/auto.conf.cmd
ifeq
($(KBUILD_EXTMOD),)
$(Q)$(MAKE)
-f
$(srctree)
/Makefile silentoldconfig
else
$(
error
kernel configuration not valid - run
'make prepare'
in
$(srctree)
to update it
)
endif
# external modules needs include/linux/autoconf.h and include/config/auto.conf
# but do not care if they are up-to-date. Use auto.conf to trigger the test
PHONY
+=
include/config/auto.conf
include/config/auto.conf
:
$(Q)
test
-e
include/linux/autoconf.h
-a
-e
$@
||
(
\
echo
;
\
echo
" ERROR: Kernel configuration is invalid."
;
\
echo
" include/linux/autoconf.h or
$@
are missing."
;
\
echo
" Run 'make oldconfig && make prepare' on kernel src to fix it."
;
\
echo
;
\
/bin/false
)
endif
# KBUILD_EXTMOD
else
# Dummy target needed, because used as prerequisite
include/config/auto.conf
:
;
endif
endif
# $(dot-config)
# The all: target is the default when no target is given on the
# command line.
...
...
usr/Makefile
View file @
20dbfad8
...
...
@@ -35,6 +35,9 @@ quiet_cmd_initfs = GEN $@
cmd_initfs
=
$(initramfs)
-o
$@
$
(
ramfs-args
)
$
(
ramfs-input
)
targets
:=
initramfs_data.cpio.gz
# do not try to update files included in initramfs
$(deps_initramfs)
:
;
$(deps_initramfs)
:
klibcdirs
# We rebuild initramfs_data.cpio.gz if:
# 1) Any included file is newer then initramfs_data.cpio.gz
...
...
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