Skip to content

Commit

Permalink
UBUNTU: [debian] Initial debian and ubuntu directories
Browse files Browse the repository at this point in the history
Based off Ubuntu-5.9-5.9.0-2.3.

Ignore: yes
Signed-off-by: Paolo Pisati <paolo.pisati@canonical.com>
  • Loading branch information
Leann Ogasawara authored and Andrea Righi committed Dec 14, 2020
1 parent 2c85ebc commit 4be6d2a
Show file tree
Hide file tree
Showing 454 changed files with 244,318 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ modules.order
#
# Debian directory (make deb-pkg)
#
/debian/
#/debian/

#
# Snap directory (make snap-pkg)
Expand Down
2 changes: 2 additions & 0 deletions Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ source "net/Kconfig"

source "drivers/Kconfig"

source "ubuntu/Kconfig"

source "fs/Kconfig"

source "security/Kconfig"
Expand Down
13 changes: 12 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -474,6 +474,13 @@ CFLAGS_KERNEL =
AFLAGS_KERNEL =
LDFLAGS_vmlinux =

# 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 := \
-I$(srctree)/arch/$(SRCARCH)/include/uapi \
Expand All @@ -485,12 +492,16 @@ USERINCLUDE := \
# Use LINUXINCLUDE when you must reference the include/ directory.
# Needed to be compatible with the O= option
LINUXINCLUDE := \
$(UBUNTUINCLUDE) \
-I$(srctree)/arch/$(SRCARCH)/include \
-I$(objtree)/arch/$(SRCARCH)/include/generated \
$(if $(building_out_of_srctree),-I$(srctree)/include) \
-I$(objtree)/include \
$(USERINCLUDE)

# UBUNTU: Include our third party driver stuff too
LINUXINCLUDE += -Iubuntu/include $(if $(KBUILD_SRC),-I$(srctree)/ubuntu/include)

KBUILD_AFLAGS := -D__ASSEMBLY__ -fno-PIE
KBUILD_CFLAGS := -Wall -Wundef -Werror=strict-prototypes -Wno-trigraphs \
-fno-strict-aliasing -fno-common -fshort-wchar -fno-PIE \
Expand Down Expand Up @@ -647,7 +658,7 @@ endif
ifeq ($(KBUILD_EXTMOD),)
# Objects we will link into vmlinux / subdirs we need to visit
core-y := init/ usr/
drivers-y := drivers/ sound/
drivers-y := drivers/ sound/ ubuntu/
drivers-$(CONFIG_SAMPLES) += samples/
drivers-y += net/ virt/
libs-y := lib/
Expand Down
1 change: 1 addition & 0 deletions debian.master/abi/5.9.0-1.2/abiname
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
13
24,470 changes: 24,470 additions & 0 deletions debian.master/abi/5.9.0-1.2/amd64/generic

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions debian.master/abi/5.9.0-1.2/amd64/generic.compiler
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
GCC: (Ubuntu 10.2.0-3ubuntu1) 10.2.0
Loading

0 comments on commit 4be6d2a

Please sign in to comment.