Commit Graph

276 Commits

Author SHA1 Message Date
Sven Luther 5dca9980fa Added kconfig.ml and now use it to generate the config files from the snipplets,
keeping more specific options over more generic ones.
Build-depend on k-p 10.028 or higher.

svn path=/dists/trunk/linux-2.6/; revision=5144
2005-12-30 08:46:37 +00:00
Sven Luther 0a89c71e96 Reverted my wrong --arch changes.
svn path=/dists/trunk/linux-2.6/; revision=5132
2005-12-29 14:46:19 +00:00
Sven Luther 6ef4b1e319 Now remove the default --arch setting of $(ARCH) in case kpkg-arch is defined.
svn path=/dists/trunk/linux-2.6/; revision=5098
2005-12-26 19:01:38 +00:00
Sven Luther 9c23a8c61c Added support for make-kpkg --arch into gencontrol.py defines handling.
Added correct --arch entries for powerpc defines.
Untested though, may need a new kernel-package, but i think not.

svn path=/dists/trunk/linux-2.6/; revision=5047
2005-12-19 22:26:34 +00:00
Sven Luther 672683d536 Obviously, we don't want to write to the /usr/src/linux-headers-$(VERSION) directly, not sure if this is the cleanest way though.
svn path=/dists/trunk/linux-2.6/; revision=4821
2005-11-14 13:29:49 +00:00
Sven Luther c1592220ca Added flavours generation, now only need to set $(FLAVOURS) in rules.gen, altough this is set by gencontrol.py.
svn path=/dists/trunk/linux-2.6/; revision=4792
2005-11-13 10:09:10 +00:00
Simon Horman 117ef4aa69 make manuals with defconfig, as is required for kernel-package 10.008
svn path=/dists/trunk/linux-2.6/; revision=4757
2005-11-09 08:28:30 +00:00
Bastian Blank ef7efe41cf * debian/bin/gencontrol.pya: Export kernel-header-dirs as KERNEL_HEADER_DIRS for subarch.
* debian/bin/install-image
  - Move from debian/templates/post-install.in.
  - Use KERNEL_HEADER_DIRS for asm-directory selection.
* debian/bin/install-header: Remove svn:executable property.
* debian/rules.real: Use debian/bin/install-image.

svn path=/dists/trunk/linux-2.6/; revision=4609
2005-10-23 12:06:48 +00:00
Bastian Blank 4d89e2fa76 * debian/arch/powerpc/defines: Set kernel-header-dirs.
* debian/bin/gencontrol.py: Export kernel-header-dirs as KERNEL_HEADER_DIRS.
* debian/bin/install-header:
  - Move from debian/templates/header-install.in.
  - Use KERNEL_HEADER_DIRS.
* debian/rules.real: Use debian/bin/install-header.

svn path=/dists/trunk/linux-2.6/; revision=4606
2005-10-23 11:09:00 +00:00
Jonas Smedegaard feedb9bc33 Quote shell variables in scripts
svn path=/dists/trunk/linux-2.6/; revision=4592
2005-10-21 19:05:04 +00:00
Bastian Blank 93549bb4ea debian/rules.real: Remove EXTRAVERSION for linux-doc build as we need
them without.

svn path=/dists/trunk/linux-2.6/; revision=4567
2005-10-20 16:51:52 +00:00
Bastian Blank dd27f2eec1 * debian/bin/apply
- Use sed to split versions. Shell can not split on the last occurence.
  - Use list of revisions to check for series.
* debian/rules.real
  - Fix upstream tarball name.
  - Fix location and substitution for patch scripts.

svn path=/dists/trunk/linux-2.6/; revision=4564
2005-10-20 15:51:23 +00:00
Bastian Blank ebe016d4dc Revert r4539, it breaks the abiname generations.
svn path=/dists/trunk/linux-2.6/; revision=4561
2005-10-20 14:37:03 +00:00
Jonas Smedegaard c0feaf558f Fix building from within a very long dir.
svn path=/dists/trunk/linux-2.6/; revision=4554
2005-10-19 23:29:35 +00:00
Simon Horman 785252a727 * Allow versions of the form 2.6.13+2.6.14-rc4-1 to work,
at the expense of -rc4 being part of upstream rather
    than a modifier that can set the ABI. It was a bit envasive,
    hopefully it doesn't break anything.

svn path=/dists/trunk/linux-2.6/; revision=4539
2005-10-19 10:31:52 +00:00
Bastian Blank d93cc716e0 debian/rules.real: Use correct config files.
svn path=/dists/trunk/linux-2.6/; revision=4384
2005-10-10 17:35:10 +00:00
Bastian Blank 6655966156 debian/rules.real: Fix CC value for cross compilation.
svn path=/dists/trunk/linux-2.6/; revision=4222
2005-09-15 14:42:01 +00:00
Bastian Blank fe6e7f6ed9 r4203: waldi | 2005-09-14 20:57:40 +0200
Move compiler setting to package config.
 
 * debian/arch/alpha/defines, debian/arch/arm/defines,
   debian/arch/m68k/defines, debian/arch/sparc/defines:
   Add compiler setting.
 * debian/bin/gencontrol.py: Set COMPILER argument.
 * debian/lib/python/debian_linux.py: Add support for compiler setting.
 * debian/rules.real: Change MAKEFLAGS setup.
 
 r4204: waldi | 2005-09-14 21:43:27 +0200
 * debian/rules.real: Update header-install substitution.
 * debian/templates/header-install.in: Remove flavours file.
 
 r4205: waldi | 2005-09-14 21:54:56 +0200
 * debian/rules.real
   - Update post-install substitution.
   - Remove append variable.
 * debian/templates/post-install.in: Remove append substitution.

svn path=/dists/trunk/linux-2.6/; revision=4209
2005-09-14 21:15:37 +00:00
Jurij Smakov 307d1215dc Replace call to kernel-doc target with a call
to kernel-manual, which will build both linux-doc
and linux-manual packages.

svn path=/dists/trunk/linux-2.6/; revision=4164
2005-09-10 02:48:40 +00:00
Bastian Blank c7e4885a56 r4026: waldi | 2005-08-23 16:16:40 +0200
debian/bin/gencontrol.py: Add error messages for arches without definitions.
 
 r4027:  waldi | 2005-08-23 17:17:44 +0200
 * debian/bin/gencontrol.py: Produce headers package for each subarch.
 * debian/templates/control.headers.main.in: Fix commandline.
 * debian/templates/control.headers.subarch.in: Remove.
 
 r4028:  waldi | 2005-08-23 18:04:56 +0200
 /debian/bin/gencontrol.py: Cleanup.
 
 r4029:  waldi | 2005-08-23 19:02:41 +0200
 * debian/bin/gencontrol.py: Move the logic into functions.
 * debian/lib/python/debian_linux.py
   (sorted_dict): Add.
   (entry): Implement via sorted_dict.
 
 r4030:  waldi | 2005-08-23 19:13:06 +0200
 debian/bin/gencontrol.py: Use dict for makeflags.
 
 r4031:  waldi | 2005-08-23 19:18:37 +0200
 debian/bin/gencontrol.py: Support extra packages which multiple architectures.
 
 r4032:  waldi | 2005-08-23 19:31:34 +0200
 * debian/bin/gencontrol.py: Set Architecture for each package.
 * debian/templates/control.headers.in, debian/templates/control.headers.latest.in,
   debian/templates/control.headers.subarch.in, debian/templates/control.image.in,
   debian/templates/control.image.latest.in: Remove Architecture field.
 
 r4033:  waldi | 2005-08-23 19:33:50 +0200
 debian/bin/gencontrol.py: Readd subarch headers package.
 
 r4034:  waldi | 2005-08-23 19:38:05 +0200
 debian/bin/gencontrol.py: Readd setup of variables for template substitution.
 
 r4035:  waldi | 2005-08-23 19:40:58 +0200
 debian/templates/control.headers.subarch.in: Fix package names in description.
 
 r4036:  waldi | 2005-08-23 19:49:12 +0200
 debian/lib/python/debian_linux.py
 (config): Support subarchitectures.
 
 r4037:  waldi | 2005-08-23 22:05:05 +0200
 Add support for linux-headers-$version-all package.
 It is currently blocked by #324741.
 
 * debian/bin/gencontrol.py: Update.
 * debian/lib/python/debian_linux.py: Move none subarch to the beginning of the list.
 * debian/templates/control.headers.main.in: Add.
 
 r4038:  waldi | 2005-08-23 22:42:52 +0200
 * debian/bin/gencontrol.py: Use special rule for building the general headers package.
 * debian/rules.real: Add rules.
 * debian/templates/control.headers.main.in: Drop -all suffix.
 
 r4039:  waldi | 2005-08-23 23:12:53 +0200
 debian/lib/python/debian_linux.py: Support overlay config.
 
 r4040:  waldi | 2005-08-23 23:13:33 +0200
 debian/rules.real: Fix installation of common headers package.
 
 r4045:  waldi | 2005-08-24 00:52:03 +0200
 * debian/arch/powerpc/defines: Add kernel arch settings.
 * debian/lib/python/debian_linux.py: Support kernel arch settings.
 
 r4047:  waldi | 2005-08-24 10:31:57 +0200
 * debian/bin/gencontrol.py: Add proper Architecture line to headers package.
 * debian/templates/control.headers.arch.in: Move from
   debian/templates/control.headers.main.in.
 
 r4049:  waldi | 2005-08-24 19:49:53 +0200
 debian/patches-debian/qla2xxx-removed.patch: Don't remove Kconfig entry.

svn path=/trunk/kernel/linux-2.6/; revision=4062
2005-08-29 10:09:39 +00:00
Bastian Blank 56955ceea7 * debian/bin/gencontrol.py: Add special abiname setting for kpkg.
* debian/rules.real: Use KPKG_ABINAME.

svn path=/trunk/kernel/linux-2.6/; revision=3995
2005-08-19 23:11:47 +00:00
Bastian Blank 9287e1f343 * debian/bin/gencontrol.py: Support upstream version.
* debian/rules.real: Use upstream version for source tarball.

svn path=/trunk/kernel/linux-2.6/; revision=3991
2005-08-19 17:38:32 +00:00
Bastian Blank 87d00b6d95 * Add more strict dependency between the headers packages.
* Use own config to define arches, subarches and flavours.
* Aggregate ATM options.
* Add kernel config for s390 tape image.
* Fix subarch setting for sparc.

r3970: waldi | 2005-08-18 17:58:13 +0000
debian/templates/control.headers.in: Add more strict dependency.

r3971: waldi | 2005-08-18 18:02:08 +0000
Use own config to define arches, subarches and flavours.

* debian/arch/defines: Include architecture definitions.
* debian/arch/alpha/defines, debian/arch/amd64/defines, debian/arch/arm/defines,
  debian/arch/hppa/defines, debian/arch/i386/defines, debian/arch/ia64/defines,
  debian/arch/m68k/defines, debian/arch/powerpc/defines, debian/arch/s390/defines,
  debian/arch/sparc/defines: Include flavour definitions.
* debian/bin/gencontrol.py
  - Read all configs at once.
  - Use config definitions for arch, subarch and flavour detection.

r3972: waldi | 2005-08-18 18:50:08 +0000
debian/arch/alpha/config, debian/arch/amd64/config, debian/arch/config,
debian/arch/i386/config, debian/arch/powerpc/config: Aggregate ATM options.

r3973: waldi | 2005-08-18 18:52:30 +0000
Add kernel config for s390 tape image.

* debian/arch/s390/config: Remove IPL options.
* debian/arch/s390/config.s390 debian/arch/s390/config.s390x: Add IPL options.
* debian/arch/s390/config.s390-tape: Add.

r3974: waldi | 2005-08-18 18:55:49 +0000
debian/bin/gencontrol.py: Don't output not available arches.

r3975: waldi | 2005-08-18 18:57:32 +0000
debian/arch/sparc/defines: Set kpkg-subarch to sparc64.

r3976: waldi | 2005-08-18 19:06:23 +0000
* debian/arch/powerpc/Makefile.inc, debian/arch/sparc/Makefile.inc: Remove old subarch settings.
* debian/bin/gencontrol.py: Support per subarch kpkg-subarch.
* debian/rules.real: Use subarch for header builds.

svn path=/trunk/kernel/source/linux-2.6/; revision=3981
2005-08-19 10:31:32 +00:00
Bastian Blank 16b2dcb04a debian/rules.real: Never clean environment completely, but remove MAKEFLAGS.
svn path=/trunk/kernel/source/linux-2.6/; revision=3921
2005-08-16 11:16:08 +00:00
Bastian Blank 135cfe821c debian/rules.real: Call debian/bin/apply with sh, it may not executable.
svn path=/trunk/kernel/source/linux-2.6/; revision=3893
2005-08-15 16:07:13 +00:00
Bastian Blank 9499f6b605 * Use generated rules, effectively remove second flavour resolver.
* Implement generic support for cross compilation.
* Install generated files in the correct headers packages.

r3745: waldi | 2005-08-08 15:40:20 +0000
* debian/bin/gencontrol.py
  - Rename some variables.
  - Write debian/rules.gen.
* debian/rules: Use debian/rules.gen.

r3746: waldi | 2005-08-08 15:51:26 +0000
debian/bin/gencontrol.py: Simplify rules.

r3747: waldi | 2005-08-08 16:22:29 +0000
Use generated rules for unpack, effectively remove second flavour resolver.

* debian/Makefile: Updates.
* debian/bin/gencontrol.py: Generate unpack rules.
* debian/rules: Use new rules.

r3748: waldi | 2005-08-08 17:03:32 +0000
Use generated rules for build.

* debian/Makefile
  - Updates.
  - Generate bin/touch.orig.
* debian/bin/gencontrol.py: Generate build rules.
* debian/rules: Remove bin/touch.orig creation.

r3752: waldi | 2005-08-08 18:13:27 +0000
Use generated rules for binary target.

* debian/Makefile: Updates.
* debian/bin/gencontrol.py: Generate binary rules.

r3753: waldi | 2005-08-08 19:00:05 +0000
* debian/Makefile
  - Overwrite env.
  - Split binary target.
* debian/bin/gencontrol.py: Update.
* debian/rules: Call correct targets.

r3756: waldi | 2005-08-08 20:07:31 +0000
* debian/Makefile
  - Split unpack target.
  - Don't generate stamp files for install targets.
  - Update dir names.
* debian/bin/gencontrol.py: Split unpack target.
* debian/rules: Remove new stamp files.

r3793: waldi | 2005-08-09 19:57:44 +0000
* debian/Makefile
  - Fix directories.
  - Build anything in one subdir.
* debian/bin/gencontrol.py: Call debian/Makefile from package root.
* debian/rules: Updates.

r3794: waldi | 2005-08-09 21:43:07 +0000
debian/bin/gencontrol.py: Updates.

r3795: waldi | 2005-08-09 22:26:53 +0000
* debian/Makefile
  - Include debian/rules.defs.
  - Simplify kpkg command specs.
* debian/rules
  - Move directory definitions to debian/rules.defs.
  - Include debian/rules.defs.
* debian/rules.defs: Add.

r3796: waldi | 2005-08-09 22:30:23 +0000
* debian/bin/gencontrol.py: Use debian/rules.real.
* debian/rules.real: Move from debian/Makefile.

r3797: waldi | 2005-08-09 22:39:24 +0000
debian/bin/gencontrol.py, debian/rules, debian/rules.real:
Rename unpack to setup.

r3798: waldi | 2005-08-09 22:52:43 +0000
debian/bin/gencontrol.py, debian/rules.real: Use DH_OPTIONS.

r3799: waldi | 2005-08-09 22:53:37 +0000
debian/rules: Use host, not build architecture.

r3815: waldi | 2005-08-10 11:53:38 +0000
debian/rules.real: Update targets.

r3816: waldi | 2005-08-10 12:06:13 +0000
debian/rules.real: Move patch rules from debian/rules.

r3817: waldi | 2005-08-10 12:22:26 +0000
debian/bin/gencontrol.py, debian/rules.real: Small fixes.

r3818: waldi | 2005-08-10 12:29:17 +0000
debian/rules.real: Add seperate setup step for headers package.

r3819: waldi | 2005-08-10 12:36:57 +0000
debian/bin/gencontrol.py, debian/rules, debian/rules.real: Add binary-indep.

r3820: waldi | 2005-08-10 12:40:10 +0000
debian/bin/gencontrol.py: Fix typo.

r3821: waldi | 2005-08-10 12:56:58 +0000
* debian/bin/gencontrol.py: Use binary-indep.
* debian/rules.real: Move source package rules from debian/rules.

r3822: waldi | 2005-08-10 13:11:24 +0000
* debian/bin/gencontrol.py: Use install-dummy.
* debian/rules.real: Move tree package rules from debian/rules.

r3823: waldi | 2005-08-10 13:41:30 +0000
* debian/bin/gencontrol.py: Fix typos.
* debian/rules.real
  - Move doc package rules from debian/rules.
  - Fix some installation rules.

r3824: waldi | 2005-08-10 13:55:41 +0000
debian/rules.real: Move patch package rules from debian/rules.

r3825: waldi | 2005-08-10 14:17:33 +0000
debian/rules: Cleanup.

r3826: waldi | 2005-08-10 14:37:03 +0000
debian/rules.real: Fix typos.

r3827: waldi | 2005-08-10 14:57:07 +0000
debian: Update svn:ignore property.

r3828: waldi | 2005-08-10 15:07:29 +0000
debian/rules.real
- Move some install rules.
- Support cross compilation.

r3829: waldi | 2005-08-10 15:39:14 +0000
debian/rules.real: Realy rename the rules.

r3830: waldi | 2005-08-10 17:35:54 +0000
debian/rules.real
- Move one rule.
- Fix permissions of source tar ball.
Closes: 322409

r3832: waldi | 2005-08-10 18:57:51 +0000
debian/templates/control.headers.main.in: Fix command to install headers.

r3833: waldi | 2005-08-10 20:30:48 +0000
* debian/bin/gencontrol.py: Remove dash from ABINAME.
* debian/rules.real
  - Use abiname without dash.
  - Install patches with correct permissions.

r3847: waldi | 2005-08-13 09:11:40 +0000
debian/templates/post-install.in:
Install any executable file and files which matches *.sh and *.pl in the
scripts directory.
Closes: 322612

r3848: waldi | 2005-08-13 09:32:54 +0000
* arch/powerpc/defines: Add pseries definitions.
* arch/powerpc/config.pseries: Move from arch/powerpc/noconfig.pseries.
* bin/gencontrol.py
  - Export KPKG_SUBARCH.
  - Updates.
* rules.real: Use KPKG_SUBARCH.

r3853: waldi | 2005-08-14 10:01:06 +0000
debian/rules.real
- Fix cross compile options for make-kpkg.
- Fix architecture patches.
- Remove asm-offsets.s workaround, pending real fix.

r3854: waldi | 2005-08-14 12:07:36 +0000
debian/rules.real: Export version informations.

r3855: waldi | 2005-08-14 12:39:57 +0000
debian/templates/post-install.in: Always install generated files.

r3858: waldi | 2005-08-14 14:51:28 +0000
debian/rules.real: Integrate headers install fix.

r3859: waldi | 2005-08-14 15:29:21 +0000
* debian/arch/powerpc/config.powerpc64
  - Fix wrong formated entries.
  - Enable vscsi client.
* debian/arch/powerpc/defines: Fix flavour name.
* debian/README.PPC64: Remove.

svn path=/trunk/kernel/source/linux-2.6/; revision=3860
2005-08-14 19:59:43 +00:00