Commit Graph

342 Commits

Author SHA1 Message Date
Ian Campbell 235e811596 [arm64] Initial kernel configuration and packaging.
svn path=/dists/sid/linux/; revision=21356
2014-05-22 18:23:45 +00:00
Ben Hutchings 8bb368ac23 Remove leading tabs on comment and blank lines
emacs keeps complaining these are 'suspicious', and gmake doesn't
care either way, so remove them.

svn path=/dists/trunk/linux/; revision=21259
2014-04-22 19:52:32 +00:00
Ian Campbell b43913c15f Use $(KERNEL_ARCH) when installing DTBs
svn path=/dists/trunk/linux/; revision=21255
2014-04-21 10:26:37 +00:00
Ben Hutchings 43ddf46672 Split image installation from Device Tree installation
The bulk of the
install-image_$(ARCH)_$(FEATURESET)_$(FLAVOUR)_plain_image rule is
actually Device Tree stuff, so rename it accordingly and move
installation of the image (now a single generic command) up to the
install-image_$(ARCH)_$(FEATURESET)_$(FLAVOUR)_plain rule.

svn path=/dists/trunk/linux/; revision=21254
2014-04-21 02:05:22 +00:00
Ben Hutchings d37c253865 Merge install-image_$(ARCH)_$(FEATURESET)_$(FLAVOUR)_plain_image rules
The filename of the kernel image to be installed, and the stem of the
installed name, varies between architectures, so we define several
different rules to install it for different sets of architectures.
However the basic fact that we need to install this file in /boot does
not.

We also duplicate this name information in gencontrol.py and in
debian/config/{armel,armhf,sh4}/defines (used by buildcheck.py).

To address this:

* Define [image]install-stem and [build]image-file for each architecture
* Copy these settings to make-flags in gencontrol.py
* Copy [image]install-stem to the image-stem template variable in
  gencontrol.py
* Replace the per-architecture rules with a single rule using those
  make-flags

The per-architecture rules for ARM and PowerPC also installed DTB
and DTS files, respectively.  Include those commands in the single
rule with appropriate conditions around them.


svn path=/dists/trunk/linux/; revision=21253
2014-04-21 01:28:25 +00:00
Ben Hutchings ffc25b2105 linux-source: Compress with gzip -1 (Closes: #725492)
svn path=/dists/sid/linux/; revision=20894
2013-12-19 11:19:47 +00:00
Ben Hutchings 584007f3e8 linux-image-dbg: Use correct objcopy command when cross-compiling, thanks to Jon Severinsson
svn path=/dists/trunk/linux/; revision=20843
2013-12-02 05:22:23 +00:00
Ben Hutchings cc87a96da2 Update 'DocBook: Make Documentation/DocBook -j clean' to be suitable for upstream
svn path=/dists/trunk/linux/; revision=20691
2013-09-30 01:07:52 +00:00
Bastian Blank 9cef8b615d * debian/changelog: Update.
* debian/rules.real:
  Symlink doc directory from linux-headers to linux-headers-common.

svn path=/dists/trunk/linux/; revision=20566
2013-09-05 12:18:24 +00:00
Ben Hutchings c382b12892 Use only one template syntax
Use the same template syntax and implementation for maintainer
scripts, translations, etc. as we do for the control files.  Define
the image-stem and initramfs variables to replace the old K and I
variables.

After this, debian/linux-* and debian/po/*.po are generated files (at
source preparation time) and should be ignored in svn.

Use debhelper to install the generated files at build time.  This also
results in a redundant dependency on debconf (which we already have in
Pre-Depends), but this seems harmless.

svn path=/dists/trunk/linux/; revision=20508
2013-08-17 11:35:06 +00:00
Ben Hutchings c8f07adb80 Move templates in preparation for using a single template system
svn path=/dists/trunk/linux/; revision=20505
2013-08-17 11:30:57 +00:00
Ben Hutchings 6c6ec64859 linux-source: Install kernel config files for linux-image packages
The kernel config files used to be uploaded to
http://kernel.alioth.debian.org/config/ or elsewhere, and people
occasionally request them, but we have no infrastructure to
automatically do that and I rarely remember to do it.  These are
presumably wanted as a starting point by people building custom
packages who don't want to download the linux-image package, so
add them to the linux-source-$UPSTREAMVERSION package.

We can already generate all the config files without any
cross-toolchain using the 'setup' target in rules.gen, except that the
'make prepare' command in rules.real will fail.  This command is
unnecessary as 'prepare' is a dependency of any build target we use
in our 'build-arch' rule, so remove it.

svn path=/dists/sid/linux/; revision=20400
2013-07-22 00:02:50 +00:00
Ben Hutchings f64aa6874e linux-source: Disable compression of package (but use gzip, to keep old tools happy)
svn path=/dists/sid/linux/; revision=20399
2013-07-21 22:41:58 +00:00
Ben Hutchings 2b83afcb2f linux-source: Switch compression of tarball and patch to xz
svn path=/dists/sid/linux/; revision=20398
2013-07-21 22:28:59 +00:00
Ben Hutchings 55dc783bbf debian/rules.real: Remove support for pre-multiarch dpkg
svn path=/dists/trunk/linux/; revision=20327
2013-07-02 05:06:18 +00:00
Ben Hutchings 1a8c9fc9d5 Add source date back to utsname::version (ISO format, date only)
svn path=/dists/trunk/linux/; revision=20182
2013-06-02 21:20:17 +00:00
Ben Hutchings 55da5d676a Merge changes from sid up to 3.2.41-2
svn path=/dists/trunk/linux/; revision=19951
2013-03-27 03:51:48 +00:00
Ben Hutchings 15cc7e2b4a Add 'set -o pipefail' in front of find pipelines to catch regressions like #703800
svn path=/dists/sid/linux/; revision=19944
2013-03-24 02:28:11 +00:00
Ben Hutchings 2378c62858 linux-headers: Fix find syntax so module.lds is included again
svn path=/dists/sid/linux/; revision=19943
2013-03-23 23:29:38 +00:00
Ben Hutchings 000a73ec79 linux-headers: Fix file installation on architectures without Kbuild.platforms (Closes: #703800)
svn path=/dists/sid/linux/; revision=19942
2013-03-23 23:22:08 +00:00
Ben Hutchings 3937ca5280 Merge changes from sid up to 3.2.41-1
Drop all changes to backported features and to rt.

svn path=/dists/trunk/linux/; revision=19940
2013-03-23 07:15:51 +00:00
Ian Campbell c60e79b3f3 arm: correct path to DTB files. Patch from Nobuhiro Iwamatsu. (Closes: #703082)
svn path=/dists/trunk/linux/; revision=19914
2013-03-16 08:58:50 +00:00
Aurelien Jarno 7b3c271c7c headers: Include Kbuild.platforms and Platform files in -common to fix out-of-tree building on mips and mipsel.
svn path=/dists/sid/linux/; revision=19880
2013-03-01 22:03:38 +00:00
Ben Hutchings a3590a7797 Merge changes from sid up to 3.2.39-1
Drop most patches as they're already upstream in 3.8 or early.

Refresh some others for 3.8.  In particular, remove use of __devinit from
debian/radeon-firmware-is-required-for-drm-and-kms-on-r600-onward.patch
as this macro is no longer defined or needed.

svn path=/dists/trunk/linux/; revision=19856
2013-02-25 03:35:39 +00:00
Ben Hutchings 2aedaff7b1 linux-image-dbg: Add symlinks to vmlinux from the locations expected by kdump-tools (Closes: #700418), systemtap and others
svn path=/dists/sid/linux/; revision=19838
2013-02-23 04:49:21 +00:00
Ben Hutchings 2aad44d7a3 Add powerpcspe architecture, thanks to Roland Stigge (Closes: #693042)
svn path=/dists/trunk/linux/; revision=19792
2013-02-07 03:17:30 +00:00
Ben Hutchings 42681a39c4 linux-headers-common: Include the include/uapi/asm-generic directory (Closes: #696664)
svn path=/dists/trunk/linux/; revision=19657
2012-12-29 01:12:07 +00:00
Bastian Blank 285098f101 debian/rules.real: Oops.
svn path=/dists/trunk/linux/; revision=19552
2012-11-27 18:40:40 +00:00
Bastian Blank 9d6c7c99a5 debian/bin/gencontrol.py, debian/rules.real:
Remove remaining code for s390 tape images.

svn path=/dists/trunk/linux/; revision=19551
2012-11-27 18:39:04 +00:00
Bastian Blank ae1dc30ab8 debian/rules.real: Make sure output directory for config exists.
svn path=/dists/trunk/linux/; revision=19548
2012-11-27 18:23:39 +00:00
Bastian Blank ec81c659a5 debian/rules, debian/rules.real: Remove unneeded chmod calls.
svn path=/dists/trunk/linux/; revision=19405
2012-10-04 13:06:29 +00:00
Ben Hutchings af9147122a Merge changes from sid up to 3.2.29-1
Most of the patches added to sid are already in 3.5 and could be dropped.
Some others needed to be re-generated without the backporting changes.

Ignore the rt changes as there is no rt featureset for 3.5.

svn path=/dists/trunk/linux/; revision=19387
2012-09-17 02:19:21 +00:00
Ben Hutchings 1959e0ddef Merge changes from sid up to 3.2.23-1
svn path=/dists/trunk/linux/; revision=19298
2012-08-01 03:42:23 +00:00
Ben Hutchings aca61360d7 linux-image: Include package version in utsname version string (Closes: #638878)
There is not enough space for both timestamp and package version, so
replace the timestamp by setting KBUILD_BUILD_TIMESTAMP.

We now need to get the distribution name in debian/rules.real, but
we already have DISTRIBUTION as the suite name so use DISTRIBUTOR for
the distribution name (!).

The utsname version string also appears in /proc/version and the init
banner, so don't bother including it again explicitly.  This means we
no longer need to patch init/version.c and scripts/mkcompile_h at all.
Instead, split maintainer at the '@' and set KBUILD_BUILD_USER and
KBUILD_BUILD_HOST accordingly.

Carry on generating <generated/package.h>, but drop the parentheses
from LINUX_PACKAGE_ID now that it's not used in init/version.c.

Drop support for version.$DISTRIBUTION files.  Any derived
distribution can set KBUILD_BUILD_* in the same way we are doing.

svn path=/dists/sid/linux/; revision=19289
2012-07-24 01:52:31 +00:00
Ben Hutchings bfa25d48b7 Explicitly set QUILT_PC when invoking quilt
Derived packages (e.g. for extra featuresets) may be maintained using
yet another patch series (touching the debian directory).  This will
require an additional status directory, specified by setting QUILT_PC.
Override this when we invoke quilt to apply the main and featureset
patch series.  (Thanks to Yves-Alexis Perez.)

svn path=/dists/sid/linux/; revision=19243
2012-07-09 13:42:47 +00:00
Ben Hutchings 369f4bd8be Ignore .git directory when copying/comparing source
This helps people using git-svn checkouts (thanks to Yves-Alexis Perez)

svn path=/dists/sid/linux/; revision=19242
2012-07-09 13:28:07 +00:00
Ben Hutchings 4a2ff091e9 linux-{doc,manual,source,support}: Mark as capable of satisfying relations from foreign packages (Multi-Arch: foreign) (Closes: #679202)
svn path=/dists/sid/linux/; revision=19223
2012-06-28 03:45:03 +00:00
Ben Hutchings 8b1e122672 Merge changes from sid up to 3.2.21-2
svn path=/dists/trunk/linux/; revision=19211
2012-06-26 06:02:51 +00:00
Arnaud Patard 77f83e2b4e Fix stupid cut&paste error.
svn path=/dists/sid/linux/; revision=19172
2012-06-19 22:24:37 +00:00
Ian Campbell 1f6a7a1e40 remove duplicate install-image_arm{hf,el}_$(FEATURESET)_$(FLAVOUR)_plain_image target
Remove the generic version now that these architectures have there own spcific
version. Fixes:
  debian/rules.real:384: warning: overriding commands for target `install-image_armel_none_kirkwood_plain_image'
  debian/rules.real:379: warning: ignoring old commands for target `install-image_armel_none_kirkwood_plain_image'

svn path=/dists/sid/linux/; revision=19171
2012-06-19 13:54:07 +00:00
Arnaud Patard 3636096fe2 - Add support for dreamplug and iconnect (kirkwood) systems.
svn path=/dists/sid/linux/; revision=19167
2012-06-18 22:31:05 +00:00
Ben Hutchings 1f377f7c3b [x32] Build a linux-libc-dev package
svn path=/dists/trunk/linux/; revision=19166
2012-06-18 14:50:18 +00:00
Bastian Blank 5a0ab9759f Support build-arch and build-indep make targets
* debian/rules, debian/rules.real:
  Support build-indep, rename build to build-arch.
* debian/bin/gencontrol.py, debian/lib/python/debian_linux/gencontrol.py:
  Add build-arch and build-indep.
* debian/changelog: Update.

svn path=/dists/sid/linux/; revision=19148
2012-06-14 14:39:30 +00:00
Ben Hutchings f9d7178138 Merge changes from sid up to 3.2.20-1
svn path=/dists/trunk/linux/; revision=19128
2012-06-11 05:21:50 +00:00
Ben Hutchings 39d70141e7 Merge changes from sid branch of linux/linux-2.6 up to r19072
svn path=/dists/trunk/linux/; revision=19127
2012-06-11 05:06:55 +00:00
Ben Hutchings af8a298fdf Restore a necessary mkdir dropped by the previous change
svn path=/dists/sid/linux/; revision=19115
2012-06-10 02:19:02 +00:00
Ben Hutchings d5fa98077e linux-source: Add single patch for each featureset
svn path=/dists/sid/linux/; revision=19114
2012-06-10 02:14:51 +00:00
Ben Hutchings 59bbce5f61 Convert source package format to 3.0 (quilt)
svn path=/dists/sid/linux/; revision=19098
2012-06-08 12:33:39 +00:00
Ben Hutchings 499ac43db3 Convert patch system to quilt, except for the 'orig' patch series
svn path=/dists/sid/linux/; revision=19077
2012-06-03 23:29:42 +00:00
Ben Hutchings 1e36c722c1 Move special case for 'none' featureset to rules.real
This is needed to get the proper dependency.

svn path=/dists/sid/linux/; revision=19076
2012-06-03 22:59:24 +00:00