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
0b154bb7
Commit
0b154bb7
authored
Nov 06, 2005
by
Linus Torvalds
Browse files
Options
Browse Files
Download
Plain Diff
Merge master.kernel.org:/pub/scm/linux/kernel/git/sam/kbuild
parents
6adfd34e
ab919c06
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
15 additions
and
12 deletions
+15
-12
Makefile
Makefile
+2
-6
include/linux/config.h
include/linux/config.h
+3
-1
scripts/kconfig/Makefile
scripts/kconfig/Makefile
+10
-5
No files found.
Makefile
View file @
0b154bb7
...
...
@@ -346,7 +346,8 @@ AFLAGS_KERNEL =
# Use LINUXINCLUDE when you must reference the include/ directory.
# Needed to be compatible with the O= option
LINUXINCLUDE
:=
-Iinclude
\
$(
if
$(KBUILD_SRC)
,-Iinclude2
-I
$(srctree)
/include
)
$(
if
$(KBUILD_SRC)
,-Iinclude2
-I
$(srctree)
/include
)
\
-imacros
include/linux/autoconf.h
CPPFLAGS
:=
-D__KERNEL__
$(LINUXINCLUDE)
...
...
@@ -1249,11 +1250,6 @@ tags: FORCE
# Scripts to check various things for consistency
# ---------------------------------------------------------------------------
configcheck
:
find
*
$(RCS_FIND_IGNORE)
\
-name
'*.[hcS]'
-type
f
-print
|
sort
\
| xargs
$(PERL)
-w
scripts/checkconfig.pl
includecheck
:
find
*
$(RCS_FIND_IGNORE)
\
-name
'*.[hcS]'
-type
f
-print
|
sort
\
...
...
include/linux/config.h
View file @
0b154bb7
#ifndef _LINUX_CONFIG_H
#define _LINUX_CONFIG_H
/* This file is no longer in use and kept only for backward compatibility.
* autoconf.h is now included via -imacros on the commandline
*/
#include <linux/autoconf.h>
#endif
scripts/kconfig/Makefile
View file @
0b154bb7
...
...
@@ -129,7 +129,7 @@ endif
HOSTCFLAGS_lex.zconf.o
:=
-I
$(src)
HOSTCFLAGS_zconf.tab.o
:=
-I
$(src)
HOSTLOADLIBES_qconf
=
-L
$(QTLIBPATH)
-Wl
,-rpath,
$(QTLIBPATH)
-l
$(
QTLIB
)
-ldl
HOSTLOADLIBES_qconf
=
-L
$(QTLIBPATH)
-Wl
,-rpath,
$(QTLIBPATH)
-l
$(
LIBS_QT
)
-ldl
HOSTCXXFLAGS_qconf.o
=
-I
$(QTDIR)
/include
-D
LKC_DIRECT_LINK
HOSTLOADLIBES_gconf
=
`
pkg-config gtk+-2.0 gmodule-2.0 libglade-2.0
--libs
`
...
...
@@ -163,11 +163,16 @@ $(obj)/.tmp_qtcheck:
false
;
\
fi
;
\
LIBPATH
=
$$
DIR/lib
;
LIB
=
qt
;
\
$(HOSTCXX)
-print-multi-os-directory
>
/dev/null 2>&1
&&
\
LIBPATH
=
$$
DIR/lib/
$$
(
$(HOSTCXX)
-print-multi-os-directory
)
;
\
if
[
-f
$$
LIBPATH/libqt-mt.so
]
;
then
LIB
=
qt-mt
;
fi
;
\
if
[
-f
$$
QTLIB/libqt-mt.so
]
;
then
\
LIB
=
qt-mt
;
\
LIBPATH
=
$$
QTLIB
;
\
else
\
$(HOSTCXX)
-print-multi-os-directory
>
/dev/null 2>&1
&&
\
LIBPATH
=
$$
DIR/lib/
$$
(
$(HOSTCXX)
-print-multi-os-directory
)
;
\
if
[
-f
$$
LIBPATH/libqt-mt.so
]
;
then
LIB
=
qt-mt
;
fi
;
\
fi
;
\
echo
"QTDIR=
$$
DIR"
>
$@
;
echo
"QTLIBPATH=
$$
LIBPATH"
>>
$@
;
\
echo
"
QTLIB
=
$$
LIB"
>>
$@
;
\
echo
"
LIBS_QT
=
$$
LIB"
>>
$@
;
\
if
[
!
-x
$$
DIR/bin/moc
-a
-x
/usr/bin/moc
]
;
then
\
echo
"*"
;
\
echo
"* Unable to find
$$
DIR/bin/moc, using /usr/bin/moc instead."
;
\
...
...
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