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
78e18f34
Commit
78e18f34
authored
Mar 12, 2010
by
Leann Ogasawara
Committed by
Tim Gardner
Feb 25, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
UBUNTU: [Debian] Prep for Ubuntu build infrastructure
Signed-off-by:
Andy Whitcroft
<
apw@canonical.com
>
parent
83a8ae12
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
16 additions
and
1 deletion
+16
-1
Makefile
Makefile
+11
-1
arch/arm/Kconfig
arch/arm/Kconfig
+1
-0
arch/powerpc/Kconfig
arch/powerpc/Kconfig
+2
-0
arch/x86/Kconfig
arch/x86/Kconfig
+2
-0
No files found.
Makefile
View file @
78e18f34
...
...
@@ -366,6 +366,12 @@ CFLAGS_KERNEL =
AFLAGS_KERNEL
=
CFLAGS_GCOV
=
-fprofile-arcs
-ftest-coverage
# Prefer linux-backports-modules
ifneq
($(KBUILD_SRC),)
ifneq
($(shell if test -e $(KBUILD_OUTPUT)/ubuntu-build; then echo yes; fi),yes)
UBUNTUINCLUDE
:=
-I
/usr/src/linux-headers-lbm-
$(KERNELRELEASE)
endif
endif
# Use USERINCLUDE when you must reference the UAPI directories only.
USERINCLUDE
:=
\
...
...
@@ -378,6 +384,7 @@ USERINCLUDE := \
# Use LINUXINCLUDE when you must reference the include/ directory.
# Needed to be compatible with the O= option
LINUXINCLUDE
:=
\
$(UBUNTUINCLUDE)
\
-I
$(srctree)
/arch/
$
(
hdr-arch
)
/include
\
-Iarch
/
$
(
hdr-arch
)
/include/generated/uapi
\
-Iarch
/
$
(
hdr-arch
)
/include/generated
\
...
...
@@ -385,6 +392,9 @@ LINUXINCLUDE := \
-Iinclude
\
$(USERINCLUDE)
# UBUNTU: Include our third party driver stuff too
LINUXINCLUDE
+=
-Iubuntu
/include
$(
if
$(KBUILD_SRC)
,-I
$(srctree)
/ubuntu/include
)
KBUILD_CPPFLAGS
:=
-D__KERNEL__
KBUILD_CFLAGS
:=
-Wall
-Wundef
-Wstrict-prototypes
-Wno-trigraphs
\
...
...
@@ -546,7 +556,7 @@ scripts: scripts_basic include/config/auto.conf include/config/tristate.conf \
# Objects we will link into vmlinux / subdirs we need to visit
init-y
:=
init/
drivers-y
:=
drivers/ sound/ firmware/
drivers-y
:=
drivers/ sound/ firmware/
ubuntu/
net-y
:=
net/
libs-y
:=
lib/
core-y
:=
usr/
...
...
arch/arm/Kconfig
View file @
78e18f34
...
...
@@ -2154,6 +2154,7 @@ source "net/Kconfig"
source "drivers/Kconfig"
source "drivers/firmware/Kconfig"
source "ubuntu/Kconfig"
source "fs/Kconfig"
...
...
arch/powerpc/Kconfig
View file @
78e18f34
...
...
@@ -1072,6 +1072,8 @@ source "net/Kconfig"
source "drivers/Kconfig"
source "ubuntu/Kconfig"
source "fs/Kconfig"
source "arch/powerpc/sysdev/qe_lib/Kconfig"
...
...
arch/x86/Kconfig
View file @
78e18f34
...
...
@@ -2669,6 +2669,8 @@ source "net/Kconfig"
source "drivers/Kconfig"
source "ubuntu/Kconfig"
source "drivers/firmware/Kconfig"
source "fs/Kconfig"
...
...
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