forked from torvalds/linux
-
Notifications
You must be signed in to change notification settings - Fork 30
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ODROID: debian: add default Debian packaging scripts
$ export ARCH=arm64 $ export CROSS_COMPILE=aarch64-linux-gnu- $ debuild --preserve-envvar=PATH \ --preserve-envvar=ARCH \ --preserve-envvar=CROSS_COMPILE \ -us -uc -b Change-Id: Ie5369c1011518e9c9c9e43869a22dd5a215dfaeb Signed-off-by: Dongjin Kim <[email protected]>
- Loading branch information
Showing
6 changed files
with
86 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
linux-3.16.56-odroid (3.16.56-0) experimental; urgency=low | ||
|
||
* Custom built Linux kernel. | ||
|
||
-- Dongjin Kim <[email protected]> Fri, 30 Mar 2018 05:53:10 -0400 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
11 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
Source: linux-3.16.56-odroid | ||
Section: kernel | ||
Priority: optional | ||
Maintainer: Dongjin Kim <[email protected]> | ||
Build-Depends: asciidoc-base | asciidoc, autoconf, automake, bc, bison, cpio, debhelper, dh-exec, dh-python, flex | flex:native, kernel-wedge, kmod, libaudit-dev, libbabeltrace-ctf-dev, libbabeltrace-dev, libdw-dev, libelf-dev, libglib2.0-dev, libiberty-dev, libnewt-dev, libnuma-dev [arm64], libpci-dev, libperl-dev, libssl-dev, libssl-dev:native, libtool, libudev-dev, libunwind8-dev [armhfarm64], libwrap0-dev, openssl, python-dev, python3:any, quilt, rsync, xmlto, xz-utils, gcc-6 [arm64 armhf] | ||
Standards-Version: 3.8.4 | ||
Homepage: http://www.kernel.org/ | ||
|
||
Package: linux-image-3.16.56-odroid | ||
Provides: linux-image, linux-image-2.6, linux-modules-3.16.56-odroid | ||
Suggests: linux-firmware-image-3.16.56-odroid | ||
Architecture: any | ||
Description: Linux kernel, version 3.16.56-odroid | ||
This package contains the Linux kernel, modules and corresponding other | ||
files, version: 3.16.56-odroid. | ||
|
||
Package: linux-headers-3.16.56-odroid | ||
Provides: linux-headers, linux-headers-2.6 | ||
Architecture: any | ||
Description: Linux kernel headers for 3.16.56-odroid on ${kernel:debarch} | ||
This package provides kernel header files for 3.16.56-odroid on ${kernel:debarch} | ||
. | ||
This is useful for people who need to build external modules | ||
|
||
Package: linux-libc-dev | ||
Section: devel | ||
Provides: linux-kernel-headers | ||
Architecture: any | ||
Description: Linux support headers for userspace development | ||
This package provides userspaces headers from the Linux kernel. These headers | ||
are used by the installed headers for GNU glibc and other system libraries. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
This is a packacked upstream version of the Linux kernel. | ||
|
||
The sources may be found at most Linux ftp sites, including: | ||
ftp://ftp.kernel.org/pub/linux/kernel | ||
|
||
Copyright: 1991 - 2009 Linus Torvalds and others. | ||
|
||
The git repository for mainline kernel development is at: | ||
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git | ||
|
||
This program is free software; you can redistribute it and/or modify | ||
it under the terms of the GNU General Public License as published by | ||
the Free Software Foundation; version 2 dated June, 1991. | ||
|
||
On Debian GNU/Linux systems, the complete text of the GNU General Public | ||
License version 2 can be found in `/usr/share/common-licenses/GPL-2'. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
#!/usr/bin/make -f | ||
|
||
include /usr/share/dpkg/architecture.mk | ||
include /usr/share/dpkg/pkg-info.mk | ||
|
||
ifeq ($(DH_VERBOSE),1) | ||
Q = | ||
else | ||
Q = @ | ||
endif | ||
|
||
export KERNELVERSION=$(shell make kernelversion) | ||
|
||
build: | ||
$(Q)$(MAKE) odroidc2_defconfig | ||
$(Q)$(MAKE) | ||
|
||
binary-arch: | ||
$(Q)$(MAKE) deb-pkg \ | ||
DEBFULLNAME="Dongjin Kim" \ | ||
DEBEMAIL="[email protected]" \ | ||
KDEB_SOURCENAME=linux-$(KERNELVERSION)-odroid \ | ||
LOCALVERSION=-odroid \ | ||
KDEB_PKGVERSION=$(KERNELVERSION) | ||
|
||
binary: binary-arch | ||
|
||
clean: | ||
rm -rf debian/*tmp debian/files | ||
$(MAKE) clean | ||
|
||
.PHONY: clean build binary-arch binary |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
3.0 (native) |