* 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
|
|
|
#
|
|
|
|
# This Makefile executes the unpack/build/binary targets for a single
|
|
|
|
# subarch, which is passed in the subarch variable. Empty subarch
|
|
|
|
# variable means that we are building for an arch without the subarch.
|
|
|
|
# Additionally, variables version, abiname and ltver are
|
|
|
|
# expected to be available (need to be exported from the parent process).
|
|
|
|
#
|
2006-02-11 22:04:17 +00:00
|
|
|
SHELL := bash -e
|
2012-02-27 03:38:04 +00:00
|
|
|
MAINTAINER := $(shell sed -ne 's,^Maintainer: .[^<]*<\([^>]*\)>,\1,p' debian/control)
|
2015-07-24 20:49:22 +00:00
|
|
|
DISTRIBUTION := $(shell dpkg-parsechangelog -SDistribution)
|
|
|
|
SOURCE_DATE := $(shell dpkg-parsechangelog -SDate)
|
2013-06-02 21:20:17 +00:00
|
|
|
SOURCE_DATE_UTC_ISO := $(shell date -u -d '$(SOURCE_DATE)' +%Y-%m-%d)
|
2006-01-04 19:33:32 +00:00
|
|
|
|
2012-07-24 01:52:31 +00:00
|
|
|
DISTRIBUTOR := $(shell lsb_release -is 2>/dev/null)
|
|
|
|
ifeq ($(DISTRIBUTOR),)
|
|
|
|
DISTRIBUTOR := Debian
|
|
|
|
endif
|
|
|
|
|
2018-09-12 21:11:25 +00:00
|
|
|
include /usr/share/dpkg/architecture.mk
|
|
|
|
|
2017-06-10 20:53:27 +00:00
|
|
|
include debian/rules.defs
|
|
|
|
|
2018-09-12 21:11:25 +00:00
|
|
|
ifdef ARCH
|
|
|
|
ifneq ($(DEB_HOST_ARCH),$(ARCH))
|
|
|
|
$(error Attempting to build a $(ARCH) target but host architecture is $(DEB_HOST_ARCH). Use dpkg-architecture to override the host architecture)
|
|
|
|
endif
|
|
|
|
endif
|
|
|
|
|
2013-12-02 05:22:23 +00:00
|
|
|
ifdef OVERRIDE_HOST_TYPE
|
|
|
|
CROSS_COMPILE := $(OVERRIDE_HOST_TYPE)-
|
|
|
|
else ifneq ($(DEB_BUILD_ARCH),$(DEB_HOST_ARCH))
|
|
|
|
CROSS_COMPILE := $(DEB_HOST_GNU_TYPE)-
|
|
|
|
else
|
|
|
|
CROSS_COMPILE :=
|
|
|
|
endif
|
2016-06-13 00:17:13 +00:00
|
|
|
export CROSS_COMPILE
|
2013-12-02 05:22:23 +00:00
|
|
|
|
2006-02-11 22:04:17 +00:00
|
|
|
export DH_OPTIONS
|
2006-06-28 19:18:11 +00:00
|
|
|
export DEB_HOST_ARCH DEB_HOST_GNU_TYPE DEB_BUILD_ARCH
|
2016-09-12 03:32:37 +00:00
|
|
|
export DEB_BUILD_PATH = $(CURDIR) # for dpkg-buildflags
|
2015-08-21 15:10:10 +00:00
|
|
|
export LC_ALL = C.UTF-8
|
2017-04-07 19:25:37 +00:00
|
|
|
undefine LANGUAGE
|
2006-01-04 19:33:32 +00:00
|
|
|
|
2009-07-25 10:08:00 +00:00
|
|
|
stamp = [ -d $(dir $@) ] || mkdir $(dir $@); touch $@
|
|
|
|
|
2014-11-04 04:47:19 +00:00
|
|
|
setup_env := env -u ABINAME -u ARCH -u FEATURESET -u FLAVOUR -u VERSION -u LOCALVERSION
|
2015-05-12 19:05:41 +00:00
|
|
|
setup_env += DISTRIBUTION_OFFICIAL_BUILD=1 DISTRIBUTOR="$(DISTRIBUTOR)" DISTRIBUTION_VERSION="$(SOURCEVERSION)" KBUILD_BUILD_TIMESTAMP="$(SOURCE_DATE)" KBUILD_BUILD_VERSION_TIMESTAMP="$(DISTRIBUTOR) $(SOURCEVERSION) ($(SOURCE_DATE_UTC_ISO))" KBUILD_BUILD_USER="$(word 1,$(subst @, ,$(MAINTAINER)))" KBUILD_BUILD_HOST="$(word 2,$(subst @, ,$(MAINTAINER)))"
|
2018-08-02 09:59:56 +00:00
|
|
|
setup_env += KBUILD_VERBOSE=$(if $(filter terse,$(DEB_BUILD_OPTIONS)),0,1)
|
2007-05-24 18:19:19 +00:00
|
|
|
|
2016-09-12 03:32:37 +00:00
|
|
|
MAKE_CLEAN = $(setup_env) $(MAKE) CFLAGS_KERNEL=-fdebug-prefix-map=$(CURDIR)=. CFLAGS_MODULE=-fdebug-prefix-map=$(CURDIR)=.
|
2008-08-10 10:27:33 +00:00
|
|
|
MAKE_SELF := $(MAKE) -f debian/rules.real $(MAKEOVERRIDES)
|
|
|
|
MAKEOVERRIDES =
|
2007-09-10 09:31:55 +00:00
|
|
|
|
* 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
|
|
|
#
|
|
|
|
# Targets
|
|
|
|
#
|
2016-03-20 21:55:03 +00:00
|
|
|
|
|
|
|
build-arch-arch:
|
|
|
|
build-indep:
|
2015-12-19 16:54:59 +00:00
|
|
|
binary-arch-arch:
|
2016-03-20 21:55:03 +00:00
|
|
|
binary-indep:
|
|
|
|
|
2018-10-22 10:47:41 +00:00
|
|
|
ifeq (,$(filter pkg.linux.nosource,$(DEB_BUILD_PROFILES)))
|
|
|
|
ifneq ($(DO_CONFIG),False)
|
|
|
|
binary-arch-arch: install-config_$(ARCH)
|
|
|
|
endif
|
2018-07-03 01:57:30 +00:00
|
|
|
endif
|
2015-12-19 16:54:59 +00:00
|
|
|
ifneq ($(DO_HEADERS_ALL),False)
|
2012-06-18 14:50:18 +00:00
|
|
|
binary-arch-arch: install-headers_$(ARCH)
|
|
|
|
endif
|
2015-11-12 22:02:36 +00:00
|
|
|
ifneq ($(DO_LIBC),False)
|
|
|
|
binary-arch-arch: install-libc-dev_$(ARCH)
|
|
|
|
endif
|
2016-01-26 23:34:34 +00:00
|
|
|
binary-arch-flavour: install-image_$(ARCH)_$(FEATURESET)_$(FLAVOUR)
|
2010-05-09 16:50:27 +00:00
|
|
|
ifeq ($(DEBUG),True)
|
|
|
|
binary-arch-flavour: install-image-dbg_$(ARCH)_$(FEATURESET)_$(FLAVOUR)
|
|
|
|
endif
|
2016-01-26 23:25:59 +00:00
|
|
|
binary-arch-flavour: install-headers_$(ARCH)_$(FEATURESET)_$(FLAVOUR)
|
* 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
|
|
|
|
2015-11-11 11:45:36 +00:00
|
|
|
ifneq ($(DO_DOCS),False)
|
|
|
|
binary-indep: install-doc
|
2017-09-30 11:26:27 +00:00
|
|
|
ifeq (,$(filter nodoc,$(DEB_BUILD_PROFILES)))
|
|
|
|
build-indep: $(STAMPS_DIR)/build-doc
|
|
|
|
endif
|
2015-11-11 11:45:36 +00:00
|
|
|
endif
|
2018-05-08 17:34:58 +00:00
|
|
|
ifeq (,$(filter pkg.linux.nosource,$(DEB_BUILD_PROFILES)))
|
|
|
|
ifneq ($(DO_SOURCE),False)
|
|
|
|
binary-indep: install-source
|
|
|
|
endif
|
|
|
|
endif
|
2006-04-02 20:43:04 +00:00
|
|
|
binary-indep: install-support
|
* 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
|
|
|
|
2018-04-29 17:31:05 +00:00
|
|
|
ifneq ($(DO_TOOLS_VERSIONED),False)
|
2018-10-26 13:46:06 +00:00
|
|
|
build-arch-arch: build-kbuild
|
2018-05-08 16:01:41 +00:00
|
|
|
binary-arch-arch: install-kbuild
|
2018-07-12 04:06:41 +00:00
|
|
|
ifneq ($(filter alpha amd64 arm64 armel armhf hppa i386 mips mips64 mips64el mipsel mipsr6 mipsr6el mips64r6 mips64r6el mipsn32 mipsn32el mipsn32r6 mipsn32r6el powerpc ppc64 ppc64el s390 s390x sh4 sparc sparc64,$(DEB_HOST_ARCH)),)
|
2016-06-12 23:21:42 +00:00
|
|
|
ifeq ($(filter nopython,$(DEB_BUILD_PROFILES)),)
|
2018-10-26 13:46:06 +00:00
|
|
|
build-arch-arch: build-perf
|
2016-06-12 23:21:42 +00:00
|
|
|
binary-arch-arch: install-perf
|
|
|
|
endif
|
2016-03-20 22:25:02 +00:00
|
|
|
endif
|
2018-07-07 21:04:59 +00:00
|
|
|
ifneq ($(filter powerpc powerpcspe ppc64,$(DEB_HOST_ARCH)),)
|
2018-10-26 13:46:06 +00:00
|
|
|
build-arch-arch: build-bootwrapper
|
2018-07-07 21:04:59 +00:00
|
|
|
binary-arch-arch: install-bootwrapper
|
|
|
|
endif
|
2018-04-29 17:31:05 +00:00
|
|
|
endif
|
|
|
|
ifneq ($(DO_TOOLS_UNVERSIONED),False)
|
2019-01-01 16:37:33 +00:00
|
|
|
build-arch-arch: build-usbip build-cpupower build-liblockdep
|
|
|
|
binary-arch-arch: install-usbip install-cpupower install-liblockdep
|
|
|
|
ifneq ($(filter alpha amd64 arm64 arm64ilp32 armel armhf hppa i386 mips mips64 mips64el mips64r6 mips64r6el mipsel mipsn32 mipsn32el mipsn32r6 mipsn32r6el mipsr6 mipsr6el powerpc powerpcspe ppc64 ppc64el riscv64 s390 s390x sh3 sh4 sparc sparc64 x32,$(DEB_HOST_ARCH)),)
|
|
|
|
build-arch-arch: build-libbpf
|
|
|
|
binary-arch-arch: install-libbpf
|
|
|
|
endif
|
2016-06-13 00:17:13 +00:00
|
|
|
ifneq ($(filter i386 amd64 x32,$(DEB_HOST_ARCH)),)
|
2018-10-26 13:46:06 +00:00
|
|
|
build-arch-arch: build-hyperv-daemons
|
2016-03-20 22:25:02 +00:00
|
|
|
binary-arch-arch: install-hyperv-daemons
|
|
|
|
endif
|
2018-05-08 16:01:41 +00:00
|
|
|
binary-indep: install-lockdep
|
2016-03-20 22:25:02 +00:00
|
|
|
endif
|
|
|
|
|
2016-11-17 16:29:12 +00:00
|
|
|
binary-indep-featureset: install-common-headers_$(FEATURESET)
|
|
|
|
|
2016-03-20 21:51:13 +00:00
|
|
|
build-arch-flavour: $(STAMPS_DIR)/build_$(ARCH)_$(FEATURESET)_$(FLAVOUR)
|
* 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
|
|
|
|
2016-03-20 21:51:13 +00:00
|
|
|
setup-arch-flavour: $(STAMPS_DIR)/setup_$(ARCH)_$(FEATURESET)_$(FLAVOUR)
|
* 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
|
|
|
|
2012-06-03 20:54:42 +00:00
|
|
|
source-featureset: $(STAMPS_DIR)/source_$(FEATURESET)
|
2006-03-04 13:48:18 +00:00
|
|
|
|
2007-08-16 10:20:09 +00:00
|
|
|
$(BUILD_DIR)/config.$(ARCH)_$(FEATURESET)_$(FLAVOUR): $(KCONFIG)
|
2012-11-27 18:23:39 +00:00
|
|
|
mkdir -p '$(dir $@)'
|
2015-08-30 20:34:40 +00:00
|
|
|
debian/bin/kconfig.py '$@' $(KCONFIG) $(KCONFIG_OPTIONS)
|
* 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
|
|
|
|
2012-06-08 12:33:39 +00:00
|
|
|
define copy_source
|
|
|
|
mkdir -p '$(1)'
|
2012-07-09 13:28:07 +00:00
|
|
|
cp -al $(filter-out debian .pc .svk .svn .git, $(wildcard * .[^.]*)) '$(1)'
|
2012-06-08 12:33:39 +00:00
|
|
|
endef
|
|
|
|
|
2018-07-01 16:14:44 +00:00
|
|
|
$(BUILD_DIR)/$(SOURCE_BASENAME)-source-$(UPSTREAMVERSION).tar.xz: DIR = $(BUILD_DIR)/$(SOURCE_BASENAME)-source-$(UPSTREAMVERSION)
|
|
|
|
$(BUILD_DIR)/$(SOURCE_BASENAME)-source-$(UPSTREAMVERSION).tar.xz: $(STAMPS_DIR)/source
|
2005-10-21 19:05:04 +00:00
|
|
|
rm -rf '$@' '$(DIR)'
|
2012-06-08 12:33:39 +00:00
|
|
|
$(call copy_source,$(DIR))
|
2005-10-21 19:05:04 +00:00
|
|
|
chmod -R u+rw,go=rX '$(DIR)'
|
2015-05-12 19:11:55 +00:00
|
|
|
find '$(DIR)' -depth -newermt '$(SOURCE_DATE)' -print0 | \
|
|
|
|
xargs -0r touch --no-dereference --date='$(SOURCE_DATE)'
|
2016-09-12 02:50:22 +00:00
|
|
|
cd '$(BUILD_DIR)'; \
|
2018-07-01 16:14:44 +00:00
|
|
|
find '$(SOURCE_BASENAME)-source-$(UPSTREAMVERSION)' \
|
2016-09-12 02:50:22 +00:00
|
|
|
-name '*.pyc' -prune -o \
|
|
|
|
-print0 | \
|
2015-08-21 15:10:10 +00:00
|
|
|
sort -z | \
|
2018-09-18 19:59:03 +00:00
|
|
|
tar --owner=root --group=root --numeric-owner \
|
|
|
|
--no-recursion --null -T - -caf '$(SOURCE_BASENAME)-source-$(UPSTREAMVERSION).tar.xz'
|
2005-10-21 19:05:04 +00:00
|
|
|
rm -rf '$(DIR)'
|
* 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
|
|
|
|
2013-07-21 22:28:59 +00:00
|
|
|
$(BUILD_DIR)/linux-patch-$(UPSTREAMVERSION)-%.patch.xz: $(STAMPS_DIR)/source_none $(STAMPS_DIR)/source_%
|
2012-06-10 02:14:51 +00:00
|
|
|
set -o pipefail; \
|
|
|
|
(cd '$(BUILD_DIR)'; \
|
|
|
|
set +e; \
|
2016-12-14 15:46:02 +00:00
|
|
|
diff -urN -p -x debian -x .pc -x .svk -x .svn -x .git -x '*.pyc' source_none source_$*; \
|
2012-06-10 02:14:51 +00:00
|
|
|
test $$? -eq 1) | \
|
|
|
|
filterdiff --remove-timestamps --strip=1 --addoldprefix=a/ --addnewprefix=b/ | \
|
2013-07-21 22:28:59 +00:00
|
|
|
xz -c >$@ || \
|
2012-06-10 02:14:51 +00:00
|
|
|
(rm -f $@; exit 1)
|
|
|
|
|
2006-08-29 09:53:31 +00:00
|
|
|
$(STAMPS_DIR)/source:
|
2012-06-08 12:33:39 +00:00
|
|
|
test -d .pc
|
2012-07-09 13:42:47 +00:00
|
|
|
set +e; QUILT_PC=.pc quilt unapplied --quiltrc - >/dev/null && echo 'Patch series not fully applied'; test $$? -eq 1
|
2009-07-25 10:08:00 +00:00
|
|
|
@$(stamp)
|
* 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
|
|
|
|
2012-06-10 02:14:51 +00:00
|
|
|
$(STAMPS_DIR)/source_%: SOURCE_DIR=$(BUILD_DIR)/source
|
|
|
|
$(STAMPS_DIR)/source_%: DIR=$(BUILD_DIR)/source_$*
|
|
|
|
$(STAMPS_DIR)/source_%: $(STAMPS_DIR)/source
|
2012-06-08 12:33:39 +00:00
|
|
|
mkdir -p '$(BUILD_DIR)'
|
2005-10-21 19:05:04 +00:00
|
|
|
rm -rf '$(DIR)'
|
2012-06-08 12:33:39 +00:00
|
|
|
$(call copy_source,$(DIR))
|
2018-08-10 13:46:09 +00:00
|
|
|
cd '$(DIR)' && QUILT_PATCHES='$(CURDIR)/debian/patches-$*' QUILT_PC=.pc quilt push --quiltrc - -a -q --fuzz=0
|
2012-06-10 02:14:51 +00:00
|
|
|
@$(stamp)
|
|
|
|
.PRECIOUS: $(STAMPS_DIR)/source_%
|
|
|
|
|
|
|
|
$(STAMPS_DIR)/source_none: DIR=$(BUILD_DIR)/source_none
|
|
|
|
$(STAMPS_DIR)/source_none: $(STAMPS_DIR)/source
|
2012-06-10 02:19:02 +00:00
|
|
|
mkdir -p '$(BUILD_DIR)'
|
2012-06-10 02:14:51 +00:00
|
|
|
rm -f '$(DIR)'
|
|
|
|
ln -s '$(CURDIR)' '$(DIR)'
|
2009-07-25 10:08:00 +00:00
|
|
|
@$(stamp)
|
2006-02-27 18:07:20 +00:00
|
|
|
|
2009-02-18 14:26:47 +00:00
|
|
|
$(STAMPS_DIR)/setup_$(ARCH)_$(FEATURESET)_$(FLAVOUR): CONFIG=$(BUILD_DIR)/config.$(ARCH)_$(FEATURESET)_$(FLAVOUR)
|
2012-06-03 20:54:42 +00:00
|
|
|
$(STAMPS_DIR)/setup_$(ARCH)_$(FEATURESET)_$(FLAVOUR): SOURCE_DIR=$(BUILD_DIR)/source_$(FEATURESET)
|
2009-02-18 14:26:47 +00:00
|
|
|
$(STAMPS_DIR)/setup_$(ARCH)_$(FEATURESET)_$(FLAVOUR): DIR=$(BUILD_DIR)/build_$(ARCH)_$(FEATURESET)_$(FLAVOUR)
|
2012-06-03 20:54:42 +00:00
|
|
|
$(STAMPS_DIR)/setup_$(ARCH)_$(FEATURESET)_$(FLAVOUR): $(STAMPS_DIR)/source_$(FEATURESET) $(BUILD_DIR)/config.$(ARCH)_$(FEATURESET)_$(FLAVOUR)
|
2007-05-24 18:55:08 +00:00
|
|
|
rm -rf '$(DIR)'
|
2009-02-22 15:17:57 +00:00
|
|
|
mkdir '$(DIR)'
|
2007-05-24 18:55:08 +00:00
|
|
|
cp '$(CONFIG)' '$(DIR)/.config'
|
|
|
|
echo 'override ARCH = $(KERNEL_ARCH)' >> '$(DIR)/.kernelvariables'
|
2014-11-04 04:47:19 +00:00
|
|
|
echo 'override KERNELRELEASE = $(ABINAME)$(LOCALVERSION_IMAGE)' >> '$(DIR)/.kernelvariables'
|
2007-05-24 18:55:08 +00:00
|
|
|
echo 'CCACHE = ccache' >> '$(DIR)/.kernelvariables'
|
2018-04-16 14:03:31 +00:00
|
|
|
ifeq (./,$(dir $(COMPILER)))
|
2007-05-24 18:55:08 +00:00
|
|
|
echo 'CC = $$(if $$(DEBIAN_KERNEL_USE_CCACHE),$$(CCACHE)) $$(CROSS_COMPILE)$(COMPILER)' >> '$(DIR)/.kernelvariables'
|
2018-04-16 14:03:31 +00:00
|
|
|
else
|
|
|
|
# To allow for cross-compiles, we want to split up the configured
|
|
|
|
# compiler filename and prepend the directory to $PATH. For a native
|
|
|
|
# compile, so long as the configured compiler is installed it should
|
|
|
|
# always be found first.
|
|
|
|
# However, $PATH changes don't work consistently in make (bug #895835).
|
|
|
|
# Instead we do the path lookup here and generate a new absolute
|
|
|
|
# filename.
|
|
|
|
echo 'CC = $$(if $$(DEBIAN_KERNEL_USE_CCACHE),$$(CCACHE)) $$(word 1,$$(foreach dir,$(dir $(COMPILER)) $$(subst :, ,$$(PATH)),$$(wildcard $$(dir)/$$(CROSS_COMPILE)$(notdir $(COMPILER)))))' >> '$(DIR)/.kernelvariables'
|
|
|
|
endif
|
2007-01-06 21:03:21 +00:00
|
|
|
# TODO: Should we set CROSS_COMPILE always?
|
2007-01-27 19:52:51 +00:00
|
|
|
ifdef OVERRIDE_HOST_TYPE
|
|
|
|
echo 'override CROSS_COMPILE = $(OVERRIDE_HOST_TYPE)-' >> '$(DIR)/.kernelvariables'
|
|
|
|
else
|
|
|
|
echo 'ifneq ($$(DEB_BUILD_ARCH),$$(DEB_HOST_ARCH))' >> '$(DIR)/.kernelvariables'
|
|
|
|
echo 'override CROSS_COMPILE = $$(DEB_HOST_GNU_TYPE)-' >> '$(DIR)/.kernelvariables'
|
|
|
|
echo 'endif' >> '$(DIR)/.kernelvariables'
|
|
|
|
endif
|
2010-02-04 11:09:53 +00:00
|
|
|
ifdef CFLAGS_KERNEL
|
2012-01-25 03:51:33 +00:00
|
|
|
echo 'CFLAGS_KERNEL += $(CFLAGS_KERNEL)' >> '$(DIR)/.kernelvariables'
|
|
|
|
echo 'CFLAGS_MODULE += $(CFLAGS_KERNEL)' >> '$(DIR)/.kernelvariables'
|
2007-08-03 21:38:43 +00:00
|
|
|
endif
|
2018-04-19 22:46:11 +00:00
|
|
|
+$(MAKE_CLEAN) -C '$(SOURCE_DIR)' O='$(CURDIR)/$(DIR)' listnewconfig
|
2010-12-04 18:41:29 +00:00
|
|
|
+yes "" | $(MAKE_CLEAN) -C '$(SOURCE_DIR)' O='$(CURDIR)/$(DIR)' oldconfig >/dev/null
|
2009-07-25 10:08:00 +00:00
|
|
|
@$(stamp)
|
2006-02-27 18:07:20 +00:00
|
|
|
|
2016-01-26 23:34:34 +00:00
|
|
|
$(STAMPS_DIR)/build_$(ARCH)_$(FEATURESET)_$(FLAVOUR): DIR=$(BUILD_DIR)/build_$(ARCH)_$(FEATURESET)_$(FLAVOUR)
|
|
|
|
$(STAMPS_DIR)/build_$(ARCH)_$(FEATURESET)_$(FLAVOUR): $(STAMPS_DIR)/setup_$(ARCH)_$(FEATURESET)_$(FLAVOUR)
|
2006-03-29 11:12:36 +00:00
|
|
|
|
2016-01-26 23:34:34 +00:00
|
|
|
$(STAMPS_DIR)/build_$(ARCH)_$(FEATURESET)_$(FLAVOUR):
|
2017-08-18 23:56:42 +00:00
|
|
|
+$(MAKE_CLEAN) -C '$(DIR)'
|
2015-08-30 20:34:40 +00:00
|
|
|
debian/bin/buildcheck.py $(DIR) $(ARCH) $(FEATURESET) $(FLAVOUR)
|
2009-07-25 10:08:00 +00:00
|
|
|
@$(stamp)
|
2006-03-29 11:12:36 +00:00
|
|
|
|
2007-01-11 12:43:14 +00:00
|
|
|
$(STAMPS_DIR)/build-doc: DIR=$(BUILD_DIR)/build-doc
|
2018-07-06 20:05:11 +00:00
|
|
|
# sphinx commands in /usr/bin are managed by the alternatives system.
|
|
|
|
# Change $PATH to make sure we consistently use the Python 3 version.
|
|
|
|
$(STAMPS_DIR)/build-doc: PATH:=/usr/share/sphinx/scripts/python3:$(PATH)
|
2007-04-09 20:37:18 +00:00
|
|
|
$(STAMPS_DIR)/build-doc: $(STAMPS_DIR)/source
|
2017-09-30 11:26:27 +00:00
|
|
|
ifeq (,$(filter nodoc,$(DEB_BUILD_PROFILES)))
|
2017-01-30 23:15:48 +00:00
|
|
|
mkdir -p '$(BUILD_DIR)'
|
|
|
|
rm -rf '$(DIR)'
|
|
|
|
$(call copy_source,$(DIR))
|
|
|
|
+$(MAKE_CLEAN) -C '$(DIR)' xmldocs
|
2017-09-30 13:45:45 +00:00
|
|
|
+$(MAKE_CLEAN) -C '$(DIR)' htmldocs
|
2017-09-30 11:26:27 +00:00
|
|
|
endif
|
2009-07-25 10:08:00 +00:00
|
|
|
@$(stamp)
|
2007-01-11 12:43:14 +00:00
|
|
|
|
* 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
|
|
|
install-base:
|
2018-04-26 13:11:03 +00:00
|
|
|
ifeq (,$(filter nodoc,$(DEB_BUILD_PROFILES)))
|
2018-09-11 15:53:13 +00:00
|
|
|
dh_installdocs
|
2018-04-26 13:11:03 +00:00
|
|
|
endif
|
2006-02-17 15:50:39 +00:00
|
|
|
dh_installchangelogs
|
* 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
|
|
|
dh_compress
|
|
|
|
dh_fixperms
|
|
|
|
dh_installdeb
|
|
|
|
dh_gencontrol -- $(GENCONTROL_ARGS)
|
|
|
|
dh_md5sums
|
2011-12-24 22:14:34 +00:00
|
|
|
dh_builddeb -- -Zxz $(BUILDDEB_ARGS)
|
* 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
|
|
|
|
2010-03-01 16:37:45 +00:00
|
|
|
install-dummy:
|
|
|
|
dh_testdir
|
|
|
|
dh_testroot
|
|
|
|
dh_prep
|
2010-05-12 17:59:28 +00:00
|
|
|
+$(MAKE_SELF) install-base
|
2010-03-01 16:37:45 +00:00
|
|
|
|
2018-07-01 16:14:44 +00:00
|
|
|
install-doc: PACKAGE_NAME = $(SOURCE_BASENAME)-doc-$(VERSION)
|
2007-01-11 12:43:14 +00:00
|
|
|
install-doc: DIR = $(BUILD_DIR)/build-doc
|
2007-09-10 10:27:27 +00:00
|
|
|
install-doc: PACKAGE_DIR = debian/$(PACKAGE_NAME)
|
2007-01-11 12:43:14 +00:00
|
|
|
install-doc: OUT_DIR = $(PACKAGE_DIR)/usr/share/doc/$(PACKAGE_NAME)
|
|
|
|
install-doc: DH_OPTIONS = -p$(PACKAGE_NAME)
|
|
|
|
install-doc: $(STAMPS_DIR)/build-doc
|
2009-02-22 18:46:51 +00:00
|
|
|
dh_prep
|
2017-09-30 11:26:27 +00:00
|
|
|
ifeq (,$(filter nodoc,$(DEB_BUILD_PROFILES)))
|
2007-09-10 10:27:27 +00:00
|
|
|
mkdir -p $(OUT_DIR)
|
2014-08-07 16:50:39 +00:00
|
|
|
set -o pipefail; \
|
2017-01-30 17:00:33 +00:00
|
|
|
find CREDITS MAINTAINERS README Documentation \
|
2016-09-03 00:42:06 +00:00
|
|
|
-name '.gitignore' -prune -o -name DocBook -prune -o \
|
2017-01-30 17:00:33 +00:00
|
|
|
-path Documentation/media -prune -o \
|
2016-09-12 02:51:57 +00:00
|
|
|
-path Documentation/sphinx -prune -o \
|
|
|
|
-name 'Makefile*' -prune -o \
|
2016-09-03 00:42:06 +00:00
|
|
|
-print | \
|
2014-08-07 16:50:39 +00:00
|
|
|
cpio -pd --preserve-modification-time '$(CURDIR)/$(OUT_DIR)'
|
2016-09-03 00:42:06 +00:00
|
|
|
set -o pipefail; \
|
2016-10-29 03:04:27 +00:00
|
|
|
cd $(DIR)/Documentation/output; \
|
|
|
|
find * -name '*.rst' -prune -o -name objects.inv -prune \
|
|
|
|
-o -name xml -prune -o -print | \
|
2017-08-13 15:39:42 +00:00
|
|
|
cpio -pd --preserve-modification-time '$(CURDIR)/$(OUT_DIR)/html'
|
2017-01-30 17:37:50 +00:00
|
|
|
find $(OUT_DIR)/Documentation -type f | xargs gzip -9n
|
|
|
|
# Fix up symlinks to gzipped docs
|
|
|
|
cd $(OUT_DIR)/Documentation; \
|
|
|
|
find -type l | while read link; do \
|
|
|
|
dest="$$(readlink -f "$$link")"; \
|
|
|
|
if [ -f "$$dest.gz" ]; then \
|
|
|
|
rm -f "$$link"; \
|
|
|
|
ln -sr "$$dest.gz" "$$link.gz"; \
|
|
|
|
fi; \
|
|
|
|
done
|
2017-09-30 11:26:27 +00:00
|
|
|
endif
|
2013-07-02 05:06:18 +00:00
|
|
|
+$(MAKE_SELF) install-base
|
2007-01-11 12:43:14 +00:00
|
|
|
|
2011-10-28 19:02:10 +00:00
|
|
|
install-headers_$(ARCH): PACKAGE_NAMES = linux-headers-$(ABINAME)-all linux-headers-$(ABINAME)-all-$(ARCH)
|
2007-07-30 14:17:42 +00:00
|
|
|
install-headers_$(ARCH): DH_OPTIONS = $(foreach p, $(PACKAGE_NAMES), -p$(p))
|
|
|
|
install-headers_$(ARCH):
|
2006-03-28 21:48:15 +00:00
|
|
|
dh_testdir
|
|
|
|
dh_testroot
|
2008-08-10 09:56:39 +00:00
|
|
|
+$(MAKE_SELF) install-base GENCONTROL_ARGS='-Vkernel:Arch=$(ARCH)'
|
2006-03-28 21:48:15 +00:00
|
|
|
|
2016-11-17 16:29:12 +00:00
|
|
|
install-common-headers_$(FEATURESET): PACKAGE_NAME = linux-headers-$(ABINAME)-common$(LOCALVERSION)
|
|
|
|
install-common-headers_$(FEATURESET): PACKAGE_NAME_KBUILD = linux-kbuild-$(VERSION)
|
|
|
|
install-common-headers_$(FEATURESET): DH_OPTIONS = -p$(PACKAGE_NAME)
|
|
|
|
install-common-headers_$(FEATURESET): BASE_DIR = /usr/src/$(PACKAGE_NAME)
|
|
|
|
install-common-headers_$(FEATURESET): SOURCE_DIR = $(BUILD_DIR)/source_$(FEATURESET)
|
|
|
|
install-common-headers_$(FEATURESET): DIR = debian/$(PACKAGE_NAME)/$(BASE_DIR)
|
|
|
|
install-common-headers_$(FEATURESET): $(STAMPS_DIR)/source_$(FEATURESET)
|
2006-01-22 18:34:58 +00:00
|
|
|
dh_testdir
|
|
|
|
dh_testroot
|
2009-02-22 18:46:51 +00:00
|
|
|
dh_prep
|
2009-02-22 15:39:47 +00:00
|
|
|
|
2013-03-24 02:28:11 +00:00
|
|
|
set -o pipefail; \
|
2006-01-22 18:34:58 +00:00
|
|
|
cd $(SOURCE_DIR); \
|
|
|
|
( \
|
2016-11-17 16:29:12 +00:00
|
|
|
echo Makefile; \
|
|
|
|
for arch in $(ALL_KERNEL_ARCHES); do \
|
|
|
|
find arch/$$arch -maxdepth 1 -name 'Makefile*' -print; \
|
|
|
|
find arch/$$arch \( -name 'module.lds' -o -name 'Kbuild.platforms' -o -name 'Platform' \) -print; \
|
|
|
|
find $$(find arch/$$arch \( -name include -o -name scripts \) -type d -print) -print; \
|
|
|
|
done; \
|
|
|
|
find include -print; \
|
2006-01-22 18:34:58 +00:00
|
|
|
) \
|
|
|
|
| \
|
2007-09-10 12:11:02 +00:00
|
|
|
cpio -pd --preserve-modification-time '$(CURDIR)/$(DIR)'
|
2009-02-22 15:39:47 +00:00
|
|
|
|
2012-03-12 15:44:40 +00:00
|
|
|
dh_link /usr/lib/$(PACKAGE_NAME_KBUILD)/scripts $(BASE_DIR)/scripts
|
2017-12-27 02:47:51 +00:00
|
|
|
dh_link /usr/lib/$(PACKAGE_NAME_KBUILD)/tools $(BASE_DIR)/tools
|
2009-02-22 15:39:47 +00:00
|
|
|
|
2008-08-10 09:56:39 +00:00
|
|
|
+$(MAKE_SELF) install-base
|
* 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
|
|
|
|
2011-10-28 19:02:10 +00:00
|
|
|
install-headers_$(ARCH)_$(FEATURESET)_$(FLAVOUR): REAL_VERSION = $(ABINAME)$(LOCALVERSION)
|
2007-07-30 14:17:42 +00:00
|
|
|
install-headers_$(ARCH)_$(FEATURESET)_$(FLAVOUR): PACKAGE_NAME = linux-headers-$(REAL_VERSION)
|
2011-10-28 19:02:10 +00:00
|
|
|
install-headers_$(ARCH)_$(FEATURESET)_$(FLAVOUR): PACKAGE_NAME_COMMON = linux-headers-$(ABINAME)-common$(LOCALVERSION_HEADERS)
|
2007-07-30 14:17:42 +00:00
|
|
|
install-headers_$(ARCH)_$(FEATURESET)_$(FLAVOUR): PACKAGE_NAME_KBUILD = linux-kbuild-$(VERSION)
|
|
|
|
install-headers_$(ARCH)_$(FEATURESET)_$(FLAVOUR): DH_OPTIONS = -p$(PACKAGE_NAME)
|
|
|
|
install-headers_$(ARCH)_$(FEATURESET)_$(FLAVOUR): BASE_DIR = /usr/src/$(PACKAGE_NAME)
|
2009-02-22 15:39:47 +00:00
|
|
|
install-headers_$(ARCH)_$(FEATURESET)_$(FLAVOUR): BASE_DIR_COMMON = /usr/src/$(PACKAGE_NAME_COMMON)
|
2007-07-30 14:17:42 +00:00
|
|
|
install-headers_$(ARCH)_$(FEATURESET)_$(FLAVOUR): SOURCE_DIR = $(BUILD_DIR)/build_$(ARCH)_$(FEATURESET)_$(FLAVOUR)
|
2012-06-03 20:54:42 +00:00
|
|
|
install-headers_$(ARCH)_$(FEATURESET)_$(FLAVOUR): REF_DIR = $(BUILD_DIR)/source_$(FEATURESET)
|
2007-09-10 12:11:02 +00:00
|
|
|
install-headers_$(ARCH)_$(FEATURESET)_$(FLAVOUR): PACKAGE_DIR = debian/$(PACKAGE_NAME)
|
2007-07-30 14:17:42 +00:00
|
|
|
install-headers_$(ARCH)_$(FEATURESET)_$(FLAVOUR): DIR = $(PACKAGE_DIR)/$(BASE_DIR)
|
2016-01-26 23:34:34 +00:00
|
|
|
install-headers_$(ARCH)_$(FEATURESET)_$(FLAVOUR): $(STAMPS_DIR)/build_$(ARCH)_$(FEATURESET)_$(FLAVOUR)
|
2006-02-11 22:04:17 +00:00
|
|
|
dh_testdir
|
|
|
|
dh_testroot
|
2009-02-22 18:46:51 +00:00
|
|
|
dh_prep
|
2006-02-11 22:04:17 +00:00
|
|
|
|
2007-09-10 12:11:02 +00:00
|
|
|
mkdir -p $(DIR)/arch/$(KERNEL_ARCH)/kernel
|
2009-02-22 15:39:47 +00:00
|
|
|
cp -a $(SOURCE_DIR)/{.config,.kernel*,Module.symvers,include} $(DIR)
|
2011-11-29 09:54:58 +00:00
|
|
|
cp -a $(SOURCE_DIR)/arch/$(KERNEL_ARCH)/include $(DIR)/arch/$(KERNEL_ARCH)
|
2016-08-03 23:55:52 +00:00
|
|
|
find $(DIR) -name '*.cmd' -delete
|
2007-09-10 12:11:02 +00:00
|
|
|
|
2008-12-28 16:55:48 +00:00
|
|
|
if [ -f $(SOURCE_DIR)/arch/$(KERNEL_ARCH)/lib/crtsavres.o ]; then \
|
|
|
|
mkdir $(DIR)/arch/$(KERNEL_ARCH)/lib; \
|
|
|
|
cp -a $(SOURCE_DIR)/arch/$(KERNEL_ARCH)/lib/crtsavres.o $(DIR)/arch/$(KERNEL_ARCH)/lib; \
|
|
|
|
fi
|
|
|
|
|
2009-02-22 15:39:47 +00:00
|
|
|
@echo 'VERSION = 2' > $(DIR)/Makefile
|
|
|
|
@echo 'PATCHLEVEL = 6' >> $(DIR)/Makefile
|
2007-09-10 12:11:02 +00:00
|
|
|
|
2009-02-22 15:39:47 +00:00
|
|
|
@echo 'MAKEARGS := -C $(BASE_DIR_COMMON) O=$(BASE_DIR)' >> $(DIR)/Makefile
|
|
|
|
@echo 'MAKEFLAGS += --no-print-directory' >> $(DIR)/Makefile
|
2007-09-10 14:47:03 +00:00
|
|
|
|
2009-02-22 15:39:47 +00:00
|
|
|
@echo '.PHONY: all $$(MAKECMDGOALS)' >> $(DIR)/Makefile
|
|
|
|
@echo 'cmd := $$(filter-out all Makefile,$$(MAKECMDGOALS))' >> $(DIR)/Makefile
|
|
|
|
@echo 'all:' >> $(DIR)/Makefile
|
|
|
|
@echo ' @$$(MAKE) $$(MAKEARGS) $$(cmd)' >> $(DIR)/Makefile
|
|
|
|
@echo 'Makefile:;' >> $(DIR)/Makefile
|
2016-04-28 12:08:54 +00:00
|
|
|
@echo '$$(cmd): all' >> $(DIR)/Makefile
|
|
|
|
@echo ' @:' >> $(DIR)/Makefile
|
|
|
|
@echo '%/: all' >> $(DIR)/Makefile
|
2009-02-22 15:39:47 +00:00
|
|
|
@echo ' @:' >> $(DIR)/Makefile
|
2006-03-28 21:40:01 +00:00
|
|
|
|
2010-05-11 19:19:48 +00:00
|
|
|
dh_link /usr/lib/$(PACKAGE_NAME_KBUILD)/scripts $(BASE_DIR)/scripts
|
2018-01-06 07:03:08 +00:00
|
|
|
dh_link /usr/lib/$(PACKAGE_NAME_KBUILD)/tools $(BASE_DIR)/tools
|
2006-03-28 21:40:01 +00:00
|
|
|
|
2014-11-04 04:47:19 +00:00
|
|
|
mkdir -p $(PACKAGE_DIR)/lib/modules/$(REAL_VERSION)
|
|
|
|
ln -s /usr/src/$(PACKAGE_NAME) $(PACKAGE_DIR)/lib/modules/$(REAL_VERSION)/build
|
|
|
|
ln -s /usr/src/$(PACKAGE_NAME_COMMON) $(PACKAGE_DIR)/lib/modules/$(REAL_VERSION)/source
|
2007-09-10 14:47:03 +00:00
|
|
|
|
2018-09-11 15:53:13 +00:00
|
|
|
+$(MAKE_SELF) install-base
|
2006-02-11 22:04:17 +00:00
|
|
|
|
2007-04-09 20:37:18 +00:00
|
|
|
install-libc-dev_$(ARCH): PACKAGE_NAME = linux-libc-dev
|
|
|
|
install-libc-dev_$(ARCH): DH_OPTIONS = -p$(PACKAGE_NAME)
|
2007-09-10 15:16:09 +00:00
|
|
|
install-libc-dev_$(ARCH): DIR = $(BUILD_DIR)/build-libc-dev
|
|
|
|
install-libc-dev_$(ARCH): OUT_DIR = debian/$(PACKAGE_NAME)/usr
|
|
|
|
install-libc-dev_$(ARCH):
|
2007-04-09 20:37:18 +00:00
|
|
|
dh_testdir
|
|
|
|
dh_testroot
|
2009-02-22 18:46:51 +00:00
|
|
|
dh_prep
|
2007-09-10 15:16:09 +00:00
|
|
|
rm -rf '$(DIR)'
|
2012-06-08 12:33:39 +00:00
|
|
|
mkdir -p $(DIR)
|
|
|
|
+$(MAKE_CLEAN) O='$(CURDIR)/$(DIR)' headers_check ARCH=$(KERNEL_ARCH)
|
|
|
|
+$(MAKE_CLEAN) O='$(CURDIR)/$(DIR)' headers_install ARCH=$(KERNEL_ARCH) INSTALL_HDR_PATH='$(CURDIR)'/$(OUT_DIR)
|
2009-10-08 01:01:11 +00:00
|
|
|
|
2010-03-14 23:09:37 +00:00
|
|
|
rm -rf $(OUT_DIR)/include/drm $(OUT_DIR)/include/scsi
|
2009-10-08 01:01:36 +00:00
|
|
|
find $(OUT_DIR)/include \( -name .install -o -name ..install.cmd \) -execdir rm {} +
|
2011-07-29 15:43:29 +00:00
|
|
|
|
2014-04-22 19:52:32 +00:00
|
|
|
# Move include/asm to arch-specific directory
|
2011-08-09 04:02:12 +00:00
|
|
|
mkdir -p $(OUT_DIR)/include/$(DEB_HOST_MULTIARCH)
|
|
|
|
mv $(OUT_DIR)/include/asm $(OUT_DIR)/include/$(DEB_HOST_MULTIARCH)/
|
2016-05-27 10:51:19 +00:00
|
|
|
test ! -d $(OUT_DIR)/include/arch || \
|
2016-05-17 22:47:17 +00:00
|
|
|
mv $(OUT_DIR)/include/arch $(OUT_DIR)/include/$(DEB_HOST_MULTIARCH)/
|
2014-04-22 19:52:32 +00:00
|
|
|
|
2013-07-02 05:06:18 +00:00
|
|
|
+$(MAKE_SELF) install-base
|
2007-04-09 20:37:18 +00:00
|
|
|
|
2018-07-01 16:14:44 +00:00
|
|
|
install-support: PACKAGE_NAME = $(SOURCE_BASENAME)-support-$(ABINAME)
|
2006-04-02 20:22:53 +00:00
|
|
|
install-support: DH_OPTIONS = -p$(PACKAGE_NAME)
|
2007-09-10 12:11:02 +00:00
|
|
|
install-support: PACKAGE_DIR = debian/$(PACKAGE_NAME)
|
2009-11-28 14:32:25 +00:00
|
|
|
install-support: PACKAGE_ROOT = /usr/share/$(PACKAGE_NAME)
|
2006-04-02 20:22:53 +00:00
|
|
|
install-support:
|
2005-08-29 10:09:39 +00:00
|
|
|
dh_testdir
|
|
|
|
dh_testroot
|
2009-02-22 18:46:51 +00:00
|
|
|
dh_prep
|
2007-10-14 14:29:07 +00:00
|
|
|
dh_installdirs $(PACKAGE_ROOT)/lib/python/debian_linux $(PACKAGE_ROOT)/modules
|
|
|
|
cp debian/config.defines.dump $(PACKAGE_DIR)$(PACKAGE_ROOT)
|
2016-04-09 23:24:58 +00:00
|
|
|
cp -R debian/installer $(PACKAGE_DIR)$(PACKAGE_ROOT)/installer
|
2007-10-14 14:29:07 +00:00
|
|
|
cp debian/lib/python/debian_linux/*.py $(PACKAGE_DIR)$(PACKAGE_ROOT)/lib/python/debian_linux
|
2015-08-31 00:59:51 +00:00
|
|
|
dh_python3
|
2009-11-28 14:32:25 +00:00
|
|
|
dh_link $(PACKAGE_ROOT) /usr/src/$(PACKAGE_NAME)
|
2013-07-02 05:06:18 +00:00
|
|
|
+$(MAKE_SELF) install-base
|
2005-08-29 10:09:39 +00:00
|
|
|
|
2016-01-26 23:34:34 +00:00
|
|
|
install-image_$(ARCH)_$(FEATURESET)_$(FLAVOUR): REAL_VERSION = $(ABINAME)$(LOCALVERSION)
|
2016-06-08 22:31:55 +00:00
|
|
|
install-image_$(ARCH)_$(FEATURESET)_$(FLAVOUR): PACKAGE_NAME = $(IMAGE_PACKAGE_NAME)
|
2016-01-26 23:34:34 +00:00
|
|
|
install-image_$(ARCH)_$(FEATURESET)_$(FLAVOUR): PACKAGE_DIR = debian/$(PACKAGE_NAME)
|
|
|
|
install-image_$(ARCH)_$(FEATURESET)_$(FLAVOUR): INSTALL_DIR = $(PACKAGE_DIR)/boot
|
|
|
|
install-image_$(ARCH)_$(FEATURESET)_$(FLAVOUR): DIR = $(BUILD_DIR)/build_$(ARCH)_$(FEATURESET)_$(FLAVOUR)
|
|
|
|
install-image_$(ARCH)_$(FEATURESET)_$(FLAVOUR): DH_OPTIONS = -p$(PACKAGE_NAME)
|
|
|
|
install-image_$(ARCH)_$(FEATURESET)_$(FLAVOUR): $(STAMPS_DIR)/build_$(ARCH)_$(FEATURESET)_$(FLAVOUR)
|
2006-02-27 18:07:20 +00:00
|
|
|
|
2016-01-26 23:34:34 +00:00
|
|
|
install-image_$(ARCH)_$(FEATURESET)_$(FLAVOUR):
|
2006-12-06 10:31:20 +00:00
|
|
|
dh_testdir
|
|
|
|
dh_testroot
|
2009-02-22 18:46:51 +00:00
|
|
|
dh_prep
|
2006-12-06 10:31:20 +00:00
|
|
|
dh_installdirs 'boot'
|
2016-09-22 23:51:50 +00:00
|
|
|
ifeq ($(IMAGE_FILE),vmlinux)
|
|
|
|
# This is the unprocessed ELF image, so we need to strip debug symbols
|
|
|
|
$(CROSS_COMPILE)objcopy --strip-debug '$(DIR)/vmlinux' $(INSTALL_DIR)/$(IMAGE_INSTALL_STEM)-$(REAL_VERSION)
|
|
|
|
else
|
2014-11-04 04:47:19 +00:00
|
|
|
install -m644 '$(DIR)/$(IMAGE_FILE)' $(INSTALL_DIR)/$(IMAGE_INSTALL_STEM)-$(REAL_VERSION)
|
2016-09-22 23:51:50 +00:00
|
|
|
endif
|
2008-08-10 09:56:39 +00:00
|
|
|
+$(MAKE_SELF) \
|
2016-01-26 23:34:34 +00:00
|
|
|
install-image_$(ARCH)_$(FEATURESET)_$(FLAVOUR)_dt \
|
2014-11-04 04:47:19 +00:00
|
|
|
DIR='$(DIR)' PACKAGE_DIR='$(PACKAGE_DIR)' REAL_VERSION='$(REAL_VERSION)'
|
2012-01-07 22:08:58 +00:00
|
|
|
+$(MAKE_CLEAN) -C $(DIR) modules_install DEPMOD='$(CURDIR)/debian/bin/no-depmod' INSTALL_MOD_PATH='$(CURDIR)'/$(PACKAGE_DIR) INSTALL_MOD_STRIP=1
|
2010-08-18 01:48:19 +00:00
|
|
|
ifeq ($(DEBUG),True)
|
2013-03-24 02:28:11 +00:00
|
|
|
set -o pipefail; \
|
2014-11-04 04:47:19 +00:00
|
|
|
find $(PACKAGE_DIR) -name '*.ko' | sed 's|$(PACKAGE_DIR)/lib/modules/$(REAL_VERSION)/kernel/||' | while read module ; do \
|
|
|
|
$(CROSS_COMPILE)objcopy --add-gnu-debuglink=$(DIR)/$$module $(PACKAGE_DIR)/lib/modules/$(REAL_VERSION)/kernel/$$module || exit; \
|
2010-08-18 01:48:19 +00:00
|
|
|
done
|
2017-01-26 16:04:11 +00:00
|
|
|
# stripping the modules removes signatures as well - if automated signing is enabled with
|
|
|
|
# an ephemeral key, re-do the sign step
|
|
|
|
+if grep -qs '^CONFIG_MODULE_SIG_ALL=y' $(DIR)/.config; then \
|
|
|
|
$(MAKE_CLEAN) -C $(DIR) modules_sign INSTALL_MOD_PATH='$(CURDIR)'/$(PACKAGE_DIR); \
|
|
|
|
fi
|
2010-08-18 01:48:19 +00:00
|
|
|
endif
|
2014-11-04 04:47:19 +00:00
|
|
|
cp $(DIR)/.config $(PACKAGE_DIR)/boot/config-$(REAL_VERSION)
|
|
|
|
cp $(DIR)/System.map $(PACKAGE_DIR)/boot/System.map-$(REAL_VERSION)
|
|
|
|
rm -f $(PACKAGE_DIR)/lib/modules/$(REAL_VERSION)/build
|
|
|
|
rm -f $(PACKAGE_DIR)/lib/modules/$(REAL_VERSION)/source
|
2008-08-19 16:42:59 +00:00
|
|
|
rm $(PACKAGE_DIR)/lib/firmware -rf
|
2008-08-10 09:56:39 +00:00
|
|
|
+$(MAKE_SELF) \
|
2016-01-26 23:34:34 +00:00
|
|
|
install-image_$(ARCH)_$(FEATURESET)_$(FLAVOUR)_bug \
|
2014-11-04 04:47:19 +00:00
|
|
|
PACKAGE_DIR='$(PACKAGE_DIR)' PACKAGE_NAME='$(PACKAGE_NAME)' REAL_VERSION='$(REAL_VERSION)'
|
2016-10-01 23:46:13 +00:00
|
|
|
dh_strip --no-automatic-dbgsym -Xvmlinux
|
2014-10-31 06:16:08 +00:00
|
|
|
+$(MAKE_SELF) install-base GENCONTROL_ARGS='-Vkernel:Recommends='"$$( \
|
|
|
|
if grep -q '^CONFIG_SMP=y' $(DIR)/.config; then \
|
|
|
|
printf irqbalance,; \
|
|
|
|
fi)"
|
2006-12-06 10:31:20 +00:00
|
|
|
|
2016-01-26 23:34:34 +00:00
|
|
|
install-image_$(ARCH)_$(FEATURESET)_$(FLAVOUR)_dt: DT_INSTALL_DIR = $(PACKAGE_DIR)/usr/lib/linux-image-$(REAL_VERSION)
|
|
|
|
install-image_$(ARCH)_$(FEATURESET)_$(FLAVOUR)_dt:
|
2018-06-30 06:58:27 +00:00
|
|
|
ifneq ($(filter arm64 armel armhf mipsr6 mipsr6el mips64r6 mips64r6el,$(ARCH)),)
|
2012-06-18 22:31:05 +00:00
|
|
|
+$(MAKE_CLEAN) -C $(DIR) dtbs
|
2015-05-09 08:26:26 +00:00
|
|
|
+$(MAKE_CLEAN) -C $(DIR) dtbs_install INSTALL_DTBS_PATH=$(CURDIR)/$(DT_INSTALL_DIR)
|
2012-06-18 22:31:05 +00:00
|
|
|
endif
|
2014-04-21 01:28:25 +00:00
|
|
|
ifneq ($(filter powerpc powerpcspe ppc64,$(ARCH)),)
|
2018-07-07 21:04:59 +00:00
|
|
|
# Install wrapper code and DT source, but not the wrapper script or
|
|
|
|
# the executables it calls. Kbuild will always build these executable
|
|
|
|
# as native code, which is wrong for a cross-built package. Install
|
|
|
|
# symlinks to the versions in the linux-bootwrapper package instead.
|
2018-12-25 23:10:28 +00:00
|
|
|
rm -rf '$(BUILD_DIR)/bootwrapper_$(ARCH)_$(FEATURESET)_$(FLAVOUR)'
|
2008-08-10 09:56:39 +00:00
|
|
|
+$(MAKE_CLEAN) -C '$(DIR)' bootwrapper_install \
|
2018-07-07 21:04:59 +00:00
|
|
|
WRAPPER_OBJDIR='$(CURDIR)/$(DT_INSTALL_DIR)' \
|
|
|
|
WRAPPER_DTSDIR='$(CURDIR)/$(DT_INSTALL_DIR)/dts' \
|
2018-12-25 23:10:28 +00:00
|
|
|
WRAPPER_BINDIR='$(CURDIR)/$(BUILD_DIR)/bootwrapper_$(ARCH)_$(FEATURESET)_$(FLAVOUR)'
|
|
|
|
for prog in '$(BUILD_DIR)/bootwrapper_$(ARCH)_$(FEATURESET)_$(FLAVOUR)'/*; do \
|
2018-07-07 21:04:59 +00:00
|
|
|
prog="$$(basename $$prog)"; \
|
|
|
|
ln -s ../linux-bootwrapper-$(ABINAME)/$$prog \
|
|
|
|
'$(DT_INSTALL_DIR)'/$$prog; \
|
|
|
|
done
|
2014-04-21 01:28:25 +00:00
|
|
|
endif
|
2006-12-06 10:31:20 +00:00
|
|
|
|
2016-01-26 23:34:34 +00:00
|
|
|
install-image_$(ARCH)_$(FEATURESET)_$(FLAVOUR)_bug:
|
2007-03-11 13:25:35 +00:00
|
|
|
dh_installdirs usr/share/bug/$(PACKAGE_NAME)
|
2016-01-26 23:34:34 +00:00
|
|
|
dh_install debian/templates/image.bug/* usr/share/bug/$(PACKAGE_NAME)
|
2007-09-10 12:11:02 +00:00
|
|
|
chmod 755 $(PACKAGE_DIR)/usr/share/bug/$(PACKAGE_NAME)/script
|
2016-06-07 18:36:21 +00:00
|
|
|
printf "RELEASE='$(REAL_VERSION)'\nDISTRIBUTOR='$(DISTRIBUTOR)'\nSOURCEVERSION='$(SOURCEVERSION)'\nPACKAGE_NAME='$(PACKAGE_NAME)'\nPACKAGE_VERSION='$(SOURCEVERSION)'" > $(PACKAGE_DIR)/usr/share/bug/$(PACKAGE_NAME)/info
|
2007-03-11 13:25:35 +00:00
|
|
|
|
2011-10-28 19:02:10 +00:00
|
|
|
install-image-dbg_$(ARCH)_$(FEATURESET)_$(FLAVOUR): REAL_VERSION = $(ABINAME)$(LOCALVERSION)
|
2017-04-16 17:33:50 +00:00
|
|
|
install-image-dbg_$(ARCH)_$(FEATURESET)_$(FLAVOUR): PACKAGE_NAME = linux-image-$(REAL_VERSION)-dbg
|
2010-05-09 16:50:27 +00:00
|
|
|
install-image-dbg_$(ARCH)_$(FEATURESET)_$(FLAVOUR): PACKAGE_DIR = debian/$(PACKAGE_NAME)
|
|
|
|
install-image-dbg_$(ARCH)_$(FEATURESET)_$(FLAVOUR): DEBUG_DIR = $(PACKAGE_DIR)/usr/lib/debug
|
|
|
|
install-image-dbg_$(ARCH)_$(FEATURESET)_$(FLAVOUR): DIR = $(BUILD_DIR)/build_$(ARCH)_$(FEATURESET)_$(FLAVOUR)
|
|
|
|
install-image-dbg_$(ARCH)_$(FEATURESET)_$(FLAVOUR): DH_OPTIONS = -p$(PACKAGE_NAME)
|
2016-01-26 23:34:34 +00:00
|
|
|
install-image-dbg_$(ARCH)_$(FEATURESET)_$(FLAVOUR): $(STAMPS_DIR)/build_$(ARCH)_$(FEATURESET)_$(FLAVOUR)
|
2010-05-09 16:50:27 +00:00
|
|
|
dh_testdir
|
|
|
|
dh_testroot
|
|
|
|
dh_prep
|
2010-08-21 07:59:17 +00:00
|
|
|
dh_installdirs usr/lib/debug usr/lib/debug/boot usr/share/lintian/overrides/
|
2013-08-17 11:35:06 +00:00
|
|
|
dh_lintian
|
2014-11-04 04:47:19 +00:00
|
|
|
install -m644 $(DIR)/vmlinux $(DEBUG_DIR)/boot/vmlinux-$(REAL_VERSION)
|
2012-03-20 16:14:10 +00:00
|
|
|
+$(MAKE_CLEAN) -C $(DIR) modules_install DEPMOD='$(CURDIR)/debian/bin/no-depmod' INSTALL_MOD_PATH='$(CURDIR)'/$(DEBUG_DIR)
|
2014-11-04 04:47:19 +00:00
|
|
|
find $(DEBUG_DIR)/lib/modules/$(REAL_VERSION)/ -mindepth 1 -maxdepth 1 \! -name kernel -exec rm {} \+
|
2010-05-09 16:50:27 +00:00
|
|
|
rm $(DEBUG_DIR)/lib/firmware -rf
|
2016-01-13 11:02:36 +00:00
|
|
|
ifeq ($(VDSO),True)
|
|
|
|
+$(MAKE_CLEAN) -C $(DIR) vdso_install INSTALL_MOD_PATH='$(CURDIR)'/$(DEBUG_DIR)
|
2016-01-19 17:32:46 +00:00
|
|
|
# Create .build-id links. Some architectures already do so, but in the
|
|
|
|
# wrong place, so delete those first.
|
|
|
|
rm -rf $(DEBUG_DIR)/lib/modules/$(REAL_VERSION)/vdso/.build-id
|
|
|
|
find $(DEBUG_DIR)/lib/modules/$(REAL_VERSION)/vdso/ -type f | while read vdso; do \
|
|
|
|
if buildid="$$(readelf -n "$$vdso" | sed -rne 's/^\s+Build ID: (.*)$$/\1/p')" && [ "$$buildid" ]; then \
|
|
|
|
mkdir -p "$(DEBUG_DIR)/.build-id/$${buildid:0:2}"; \
|
|
|
|
ln -s -r "$$vdso" "$(DEBUG_DIR)/.build-id/$${buildid:0:2}/$${buildid:2}.debug"; \
|
|
|
|
fi; \
|
2016-01-13 11:02:36 +00:00
|
|
|
done
|
|
|
|
endif
|
2013-02-23 04:49:21 +00:00
|
|
|
# Add symlinks to vmlinux from the locations expected by kdump-tools,
|
|
|
|
# systemtap and others
|
2014-11-04 04:47:19 +00:00
|
|
|
ln -s boot/vmlinux-$(REAL_VERSION) $(DEBUG_DIR)/
|
|
|
|
mkdir -p $(DEBUG_DIR)/lib/modules/$(REAL_VERSION)
|
|
|
|
ln -s ../../../boot/vmlinux-$(REAL_VERSION) $(DEBUG_DIR)/lib/modules/$(REAL_VERSION)/vmlinux
|
2017-04-16 17:33:50 +00:00
|
|
|
+$(MAKE_SELF) install-base
|
2010-05-09 16:50:27 +00:00
|
|
|
|
2018-04-05 21:13:20 +00:00
|
|
|
install-signed-template_$(ARCH): PACKAGE_NAME = linux-image-$(ARCH)-signed-template
|
|
|
|
install-signed-template_$(ARCH): DH_OPTIONS = -p$(PACKAGE_NAME)
|
|
|
|
install-signed-template_$(ARCH): PACKAGE_DIR = debian/$(PACKAGE_NAME)
|
|
|
|
install-signed-template_$(ARCH): CODE_SIGNING_DIR = $(PACKAGE_DIR)/usr/share/code-signing/$(PACKAGE_NAME)
|
|
|
|
install-signed-template_$(ARCH):
|
|
|
|
dh_testdir
|
|
|
|
dh_testroot
|
|
|
|
dh_prep
|
|
|
|
rm -rf $(CODE_SIGNING_DIR)
|
|
|
|
mkdir -p $(CODE_SIGNING_DIR)
|
|
|
|
PYTHONHASHSEED=0 debian/bin/gencontrol_signed.py $(ARCH)
|
|
|
|
cp -R debian/compat \
|
2018-05-27 07:42:53 +00:00
|
|
|
debian/copyright \
|
2018-04-05 21:13:20 +00:00
|
|
|
debian/signing_templates/README.source \
|
|
|
|
debian/signing_templates/rules \
|
|
|
|
debian/signing_templates/rules.real \
|
|
|
|
debian/signing_templates/source \
|
|
|
|
$(CODE_SIGNING_DIR)/source-template/debian/
|
2018-09-12 23:20:06 +00:00
|
|
|
+$(MAKE_SELF) install-base
|
2018-04-05 21:13:20 +00:00
|
|
|
|
2011-12-04 05:58:44 +00:00
|
|
|
install-udeb_$(ARCH): export KW_DEFCONFIG_DIR=debian/installer
|
2018-09-01 16:18:20 +00:00
|
|
|
install-udeb_$(ARCH): export KW_CONFIG_DIR=debian/installer
|
2011-09-25 03:12:12 +00:00
|
|
|
install-udeb_$(ARCH): DH_OPTIONS=$(PACKAGE_NAMES:%=-p%)
|
2018-04-06 20:14:14 +00:00
|
|
|
ifeq ($(UDEB_UNSIGNED_TEST_BUILD),True)
|
|
|
|
install-udeb_$(ARCH): export DEB_BUILD_PROFILES=pkg.linux.udeb-unsigned-test-build
|
|
|
|
endif
|
2011-09-25 03:12:12 +00:00
|
|
|
install-udeb_$(ARCH):
|
|
|
|
dh_testdir
|
|
|
|
dh_prep
|
2016-06-08 22:31:55 +00:00
|
|
|
ifeq ($(UDEB_UNSIGNED_TEST_BUILD),True)
|
|
|
|
# kernel-wedge doesn't expect a -unsigned suffix; work around that for now
|
|
|
|
while read flavour; do \
|
|
|
|
rm -f debian/linux-image-$(ABINAME)-$$flavour; \
|
|
|
|
ln -s linux-image-$(ABINAME)-$$flavour-unsigned \
|
|
|
|
debian/linux-image-$(ABINAME)-$$flavour; \
|
|
|
|
done < <(awk '!/^#/ { print $$3 }' $(KW_CONFIG_DIR)/kernel-versions)
|
|
|
|
endif
|
2014-11-04 04:47:19 +00:00
|
|
|
kernel-wedge install-files $(ABINAME)
|
2011-09-25 03:12:12 +00:00
|
|
|
kernel-wedge check $(PACKAGE_NAMES)
|
|
|
|
dh_fixperms
|
2016-05-29 13:11:57 +00:00
|
|
|
ifeq ($(UDEB_UNSIGNED_TEST_BUILD),False)
|
2011-09-25 03:12:12 +00:00
|
|
|
dh_gencontrol
|
|
|
|
dh_builddeb
|
2016-05-29 13:11:57 +00:00
|
|
|
endif
|
2011-09-25 03:12:12 +00:00
|
|
|
|
2018-07-01 16:14:44 +00:00
|
|
|
install-source: PACKAGE_NAME = $(SOURCE_BASENAME)-source-$(VERSION)
|
2013-07-22 00:02:50 +00:00
|
|
|
install-source: DH_OPTIONS = -p$(PACKAGE_NAME)
|
2018-07-01 16:14:44 +00:00
|
|
|
install-source: $(BUILD_DIR)/$(SOURCE_BASENAME)-source-$(UPSTREAMVERSION).tar.xz $(foreach FEATURESET,$(filter-out none,$(ALL_FEATURESETS)),$(BUILD_DIR)/linux-patch-$(UPSTREAMVERSION)-$(FEATURESET).patch.xz)
|
* 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
|
|
|
dh_testdir
|
|
|
|
dh_testroot
|
2017-07-09 19:23:59 +00:00
|
|
|
dh_install $^ /usr/src
|
2013-07-21 22:41:58 +00:00
|
|
|
# We don't want to recompress, but -Znone is not compatible with older
|
2013-12-19 11:19:47 +00:00
|
|
|
# tools and is currently rejected by dak. -Zgzip -z0 (uncompressed
|
|
|
|
# data.tar.gz!) makes dpkg and dak happy, but is incomaptible with
|
|
|
|
# other things (#725492). So use the fastest real gzip mode.
|
|
|
|
+$(MAKE_SELF) install-base BUILDDEB_ARGS='-Zgzip -z1'
|
* 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
|
|
|
|
2018-07-03 01:57:30 +00:00
|
|
|
install-config_$(ARCH): PACKAGE_NAME = $(SOURCE_BASENAME)-config-$(VERSION)
|
|
|
|
install-config_$(ARCH): DH_OPTIONS = -p$(PACKAGE_NAME)
|
|
|
|
install-config_$(ARCH): TRIPLETS = $(subst $(BUILD_DIR)/build_,,$(wildcard $(BUILD_DIR)/build_$(ARCH)_*_*))
|
|
|
|
install-config_$(ARCH):
|
|
|
|
dh_testdir
|
|
|
|
dh_testroot
|
|
|
|
dh_installdirs /usr/src/linux-config-$(UPSTREAMVERSION)
|
2018-07-16 00:44:06 +00:00
|
|
|
# Fix the module signing configuration to work for custom kernels. Also delete
|
|
|
|
# CONFIG_BUILD_SALT which makes no sense for custom kernels.
|
2018-07-03 01:57:30 +00:00
|
|
|
for triplet in $(TRIPLETS); do \
|
2018-07-16 00:44:06 +00:00
|
|
|
sed '/CONFIG_\(MODULE_SIG_\(ALL\|KEY\)\|SYSTEM_TRUSTED_KEYS\|BUILD_SALT\)[ =]/d' $(BUILD_DIR)/build_$$triplet/.config | xz -c >debian/$(PACKAGE_NAME)/usr/src/linux-config-$(UPSTREAMVERSION)/config.$$triplet.xz; \
|
2018-07-03 01:57:30 +00:00
|
|
|
done
|
|
|
|
+$(MAKE_SELF) install-base
|
|
|
|
|
2016-03-21 01:42:24 +00:00
|
|
|
define make-tools
|
2018-07-12 16:42:24 +00:00
|
|
|
+mkdir -p $(BUILD_DIR)/build-tools/$(1) && $(MAKE_CLEAN) -C $(BUILD_DIR)/build-tools/$(1) -f $(CURDIR)/debian/rules.d/$(1)/Makefile top_srcdir=$(CURDIR) top_rulesdir=$(CURDIR)/debian/rules.d OUTDIR=$(1) VERSION=$(VERSION) KERNEL_ARCH=$(KERNEL_ARCH)
|
2016-03-20 22:25:02 +00:00
|
|
|
endef
|
|
|
|
|
2018-10-26 13:46:06 +00:00
|
|
|
build-kbuild:
|
|
|
|
$(call make-tools,scripts)
|
|
|
|
$(call make-tools,tools/objtool)
|
2006-03-28 21:46:39 +00:00
|
|
|
|
|
|
|
install-kbuild: PACKAGE_NAME = linux-kbuild-$(VERSION)
|
|
|
|
install-kbuild: DH_OPTIONS = -p$(PACKAGE_NAME)
|
2016-02-22 23:39:54 +00:00
|
|
|
install-kbuild: PREFIX_DIR = /usr/lib/$(PACKAGE_NAME)
|
|
|
|
install-kbuild: DIR = $(CURDIR)/debian/$(PACKAGE_NAME)
|
2018-10-26 13:46:06 +00:00
|
|
|
install-kbuild: build-kbuild
|
2006-03-28 21:46:39 +00:00
|
|
|
dh_testdir
|
|
|
|
dh_testroot
|
2015-06-28 18:48:45 +00:00
|
|
|
dh_prep
|
2016-03-21 01:42:24 +00:00
|
|
|
$(call make-tools,scripts) install DESTDIR=$(DIR) prefix=$(PREFIX_DIR)
|
2017-12-26 21:22:40 +00:00
|
|
|
$(call make-tools,tools/objtool) install DESTDIR=$(DIR) prefix=$(PREFIX_DIR)
|
2016-02-22 23:39:54 +00:00
|
|
|
dh_link $(PREFIX_DIR) /usr/src/$(PACKAGE_NAME)
|
2006-03-28 21:46:39 +00:00
|
|
|
dh_installchangelogs
|
2018-04-26 13:11:03 +00:00
|
|
|
ifeq (,$(filter nodoc,$(DEB_BUILD_PROFILES)))
|
2006-03-28 21:46:39 +00:00
|
|
|
dh_installdocs
|
2018-04-26 13:11:03 +00:00
|
|
|
endif
|
2006-03-28 21:46:39 +00:00
|
|
|
dh_strip
|
|
|
|
dh_compress
|
|
|
|
dh_fixperms
|
|
|
|
dh_installdeb
|
|
|
|
dh_shlibdeps
|
|
|
|
dh_gencontrol
|
|
|
|
dh_md5sums
|
|
|
|
dh_builddeb
|
|
|
|
|
2018-10-26 13:46:06 +00:00
|
|
|
build-cpupower:
|
|
|
|
$(call make-tools,tools/power/cpupower)
|
|
|
|
ifneq ($(filter i386 amd64 x32,$(DEB_HOST_ARCH)),)
|
|
|
|
$(call make-tools,tools/power/x86)
|
|
|
|
endif
|
|
|
|
|
2016-06-09 23:10:18 +00:00
|
|
|
install-cpupower: DH_OPTIONS = -plinux-cpupower -plibcpupower1 -plibcpupower-dev
|
2016-03-11 14:55:41 +00:00
|
|
|
install-cpupower: DIR = $(CURDIR)/debian/cpupower-tmp
|
2018-10-26 13:46:06 +00:00
|
|
|
install-cpupower: build-cpupower
|
2016-03-11 14:55:41 +00:00
|
|
|
dh_testdir
|
|
|
|
dh_testroot
|
|
|
|
dh_prep
|
2016-03-21 01:42:24 +00:00
|
|
|
$(call make-tools,tools/power/cpupower) install DESTDIR=$(DIR)
|
2017-01-24 03:03:17 +00:00
|
|
|
ifneq ($(filter i386 amd64 x32,$(DEB_HOST_ARCH)),)
|
|
|
|
$(call make-tools,tools/power/x86) install DESTDIR=$(DIR)
|
|
|
|
echo >> debian/linux-cpupower.substvars 'cpupower:Arch-Description='\
|
|
|
|
'The turbostat command reports topology, frequency, idle power-state$${Newline}'\
|
|
|
|
'statistics, temperature and power consumption information as provided$${Newline}'\
|
|
|
|
'by the CPU.$${Newline}'\
|
|
|
|
'$${Newline}'\
|
|
|
|
'The x86_energy_perf_policy command sets a general policy on some Intel$${Newline}'\
|
|
|
|
'CPU models for the relative importance of performance versus energy$${Newline}'\
|
|
|
|
'savings.'
|
|
|
|
endif
|
2016-03-11 14:55:41 +00:00
|
|
|
dh_install --sourcedir=$(DIR)
|
|
|
|
dh_installchangelogs
|
2017-09-30 12:42:12 +00:00
|
|
|
ifeq (,$(filter nodoc,$(DEB_BUILD_PROFILES)))
|
2018-04-26 13:11:03 +00:00
|
|
|
dh_installdocs
|
2017-01-27 22:10:56 +00:00
|
|
|
dh_installman
|
2016-05-14 23:19:24 +00:00
|
|
|
endif
|
2016-03-11 14:55:41 +00:00
|
|
|
dh_strip
|
|
|
|
dh_compress
|
|
|
|
dh_fixperms
|
|
|
|
dh_makeshlibs
|
|
|
|
dh_installdeb
|
|
|
|
dh_shlibdeps
|
|
|
|
dh_gencontrol
|
|
|
|
dh_md5sums
|
|
|
|
dh_builddeb
|
|
|
|
|
2018-10-26 13:46:06 +00:00
|
|
|
build-perf:
|
|
|
|
$(call make-tools,tools/perf)
|
|
|
|
|
2015-08-03 23:46:29 +00:00
|
|
|
install-perf: PACKAGE_NAME = linux-perf-$(VERSION)
|
|
|
|
install-perf: DH_OPTIONS = -p$(PACKAGE_NAME)
|
|
|
|
install-perf: DIR = $(CURDIR)/debian/$(PACKAGE_NAME)
|
2018-10-26 13:46:06 +00:00
|
|
|
install-perf: build-perf
|
2011-09-26 13:23:11 +00:00
|
|
|
dh_testdir
|
|
|
|
dh_testroot
|
2015-06-28 18:48:45 +00:00
|
|
|
dh_prep
|
2016-03-21 01:42:24 +00:00
|
|
|
$(call make-tools,tools/perf) install DESTDIR=$(DIR)
|
2018-10-26 16:33:38 +00:00
|
|
|
# do not ship python2 script
|
|
|
|
rm -f $(DIR)/usr/lib/perf_$(VERSION)-core/scripts/python/call-graph-from-sql.py
|
2018-09-11 00:59:07 +00:00
|
|
|
dh_perl /usr/lib/perf_$(VERSION)-core/scripts/perl/Perf-Trace-Util/lib/
|
|
|
|
dh_python3 /usr/lib/perf_$(VERSION)-core/scripts/python/Perf-Trace-Util/lib/
|
2011-09-26 13:23:11 +00:00
|
|
|
dh_installchangelogs
|
2018-04-26 13:11:03 +00:00
|
|
|
ifeq (,$(filter nodoc,$(DEB_BUILD_PROFILES)))
|
2011-09-26 13:23:11 +00:00
|
|
|
dh_installdocs
|
2018-04-26 13:11:03 +00:00
|
|
|
endif
|
2016-03-20 16:19:25 +00:00
|
|
|
dh_lintian
|
2011-09-26 13:23:11 +00:00
|
|
|
dh_strip
|
|
|
|
dh_compress
|
|
|
|
dh_fixperms
|
|
|
|
dh_installdeb
|
2016-11-07 23:42:33 +00:00
|
|
|
dh_shlibdeps -Xperf-read-vdso
|
2011-09-26 13:23:11 +00:00
|
|
|
dh_gencontrol
|
|
|
|
dh_md5sums
|
|
|
|
dh_builddeb
|
|
|
|
|
2018-10-26 13:46:06 +00:00
|
|
|
build-usbip:
|
|
|
|
$(call make-tools,tools/usb/usbip)
|
|
|
|
|
2017-09-30 23:58:22 +00:00
|
|
|
install-usbip: DH_OPTIONS = -pusbip
|
2015-12-10 02:44:23 +00:00
|
|
|
install-usbip: DIR = $(CURDIR)/debian/usbip-tmp
|
2018-10-26 13:46:06 +00:00
|
|
|
install-usbip: build-usbip
|
2012-06-20 06:04:10 +00:00
|
|
|
dh_testdir
|
|
|
|
dh_testroot
|
2015-06-28 18:48:45 +00:00
|
|
|
dh_prep
|
2016-03-21 01:42:24 +00:00
|
|
|
$(call make-tools,tools/usb/usbip) install DESTDIR=$(DIR)
|
2015-12-10 02:44:23 +00:00
|
|
|
dh_install --sourcedir=$(DIR)
|
2012-06-20 06:04:10 +00:00
|
|
|
dh_installchangelogs
|
2017-09-30 12:42:12 +00:00
|
|
|
ifeq (,$(filter nodoc,$(DEB_BUILD_PROFILES)))
|
2018-04-26 13:11:03 +00:00
|
|
|
dh_installdocs
|
2016-05-14 23:19:24 +00:00
|
|
|
dh_installman
|
|
|
|
endif
|
2012-06-20 06:04:10 +00:00
|
|
|
dh_lintian
|
|
|
|
dh_strip
|
|
|
|
dh_compress
|
|
|
|
dh_fixperms
|
|
|
|
dh_installdeb
|
|
|
|
dh_shlibdeps
|
2016-08-28 14:42:31 +00:00
|
|
|
VERSION=$$(sed -ne 's,^#define PACKAGE_VERSION "\(.*\)"$$,\1,p' $(BUILD_DIR)/build-tools/tools/usb/usbip/config.h) && \
|
|
|
|
test -n "$$VERSION" -a -n "$(DEB_VERSION)" && \
|
|
|
|
dh_gencontrol -- -v$$VERSION+$(DEB_VERSION)
|
2012-06-20 06:04:10 +00:00
|
|
|
dh_md5sums
|
|
|
|
dh_builddeb
|
2015-06-28 18:44:20 +00:00
|
|
|
|
2018-10-26 13:46:06 +00:00
|
|
|
build-hyperv-daemons:
|
|
|
|
$(call make-tools,tools/hv)
|
|
|
|
|
2015-06-28 18:44:20 +00:00
|
|
|
install-hyperv-daemons: PACKAGE_NAME = hyperv-daemons
|
|
|
|
install-hyperv-daemons: DH_OPTIONS = -p$(PACKAGE_NAME)
|
|
|
|
install-hyperv-daemons: DIR = $(CURDIR)/debian/$(PACKAGE_NAME)
|
2018-10-26 13:46:06 +00:00
|
|
|
install-hyperv-daemons: build-hyperv-daemons
|
2015-06-28 18:44:20 +00:00
|
|
|
dh_testdir
|
|
|
|
dh_testroot
|
2015-06-28 18:48:45 +00:00
|
|
|
dh_prep
|
2016-03-21 01:42:24 +00:00
|
|
|
$(call make-tools,tools/hv) install DESTDIR=$(DIR)
|
2015-06-28 18:44:20 +00:00
|
|
|
dh_install
|
2016-02-02 16:54:54 +00:00
|
|
|
for service in fcopy kvp vss; do \
|
|
|
|
install -D -m755 debian/hyperv-daemons.hv-$$service-daemon.init \
|
|
|
|
$(DIR)/etc/init.d/hyperv-daemons.hv-$$service-daemon \
|
|
|
|
|| break; \
|
|
|
|
done
|
2015-06-28 18:44:20 +00:00
|
|
|
dh_installchangelogs
|
2018-04-26 13:11:03 +00:00
|
|
|
ifeq (,$(filter nodoc,$(DEB_BUILD_PROFILES)))
|
2015-06-28 18:44:20 +00:00
|
|
|
dh_installdocs
|
2018-04-26 13:11:03 +00:00
|
|
|
endif
|
2015-06-28 18:44:20 +00:00
|
|
|
dh_systemd_enable
|
2016-02-02 16:54:54 +00:00
|
|
|
for service in fcopy kvp vss; do \
|
|
|
|
dh_installinit --name hyperv-daemons.hv-$$service-daemon \
|
|
|
|
--onlyscripts \
|
|
|
|
|| break; \
|
|
|
|
done
|
2015-06-28 18:44:20 +00:00
|
|
|
dh_systemd_start
|
|
|
|
dh_lintian
|
|
|
|
dh_strip
|
|
|
|
dh_compress
|
|
|
|
dh_fixperms
|
|
|
|
dh_installdeb
|
|
|
|
dh_shlibdeps
|
|
|
|
dh_gencontrol
|
|
|
|
dh_md5sums
|
|
|
|
dh_builddeb
|
2015-08-13 18:48:12 +00:00
|
|
|
|
2018-11-28 08:50:39 +00:00
|
|
|
build-libbpf:
|
|
|
|
$(call make-tools,tools/lib/bpf)
|
|
|
|
|
|
|
|
install-libbpf: DH_OPTIONS = -plibbpf$(VERSION) -plibbpf-dev
|
|
|
|
install-libbpf: DIR = $(CURDIR)/debian/libbpf-tmp
|
|
|
|
install-libbpf: build-libbpf
|
|
|
|
dh_testdir
|
|
|
|
dh_testroot
|
|
|
|
dh_prep
|
|
|
|
$(call make-tools,tools/lib/bpf) install DESTDIR=$(DIR)
|
|
|
|
env -u DH_OPTIONS dh_install -plibbpf$(VERSION) --sourcedir=$(DIR) \
|
|
|
|
'usr/lib/*/libbpf.so.*'
|
|
|
|
dh_install --sourcedir=$(DIR)
|
|
|
|
dh_installchangelogs
|
|
|
|
ifeq (,$(filter nodoc,$(DEB_BUILD_PROFILES)))
|
|
|
|
dh_installdocs
|
|
|
|
endif
|
|
|
|
dh_strip
|
|
|
|
dh_compress
|
|
|
|
dh_fixperms
|
|
|
|
env -u DH_OPTIONS dh_makeshlibs -plibbpf$(VERSION) \
|
|
|
|
libbpf$(VERSION)
|
|
|
|
dh_installdeb
|
|
|
|
dh_shlibdeps
|
|
|
|
dh_gencontrol
|
|
|
|
dh_md5sums
|
|
|
|
dh_builddeb
|
|
|
|
|
2018-10-26 13:46:06 +00:00
|
|
|
build-liblockdep:
|
|
|
|
$(call make-tools,tools/lib/lockdep)
|
|
|
|
|
2017-08-13 16:29:43 +00:00
|
|
|
install-liblockdep: DH_OPTIONS = -pliblockdep$(VERSION) -pliblockdep-dev
|
|
|
|
install-liblockdep: DIR = $(CURDIR)/debian/liblockdep-tmp
|
2018-10-26 13:46:06 +00:00
|
|
|
install-liblockdep: build-liblockdep
|
2017-08-13 16:29:43 +00:00
|
|
|
dh_testdir
|
|
|
|
dh_testroot
|
|
|
|
dh_prep
|
|
|
|
$(call make-tools,tools/lib/lockdep) install DESTDIR=$(DIR)
|
|
|
|
env -u DH_OPTIONS dh_install -pliblockdep$(VERSION) --sourcedir=$(DIR) \
|
|
|
|
'usr/lib/*/liblockdep.so.*'
|
|
|
|
dh_install --sourcedir=$(DIR)
|
|
|
|
dh_installchangelogs
|
2018-04-26 13:11:03 +00:00
|
|
|
ifeq (,$(filter nodoc,$(DEB_BUILD_PROFILES)))
|
2017-08-13 16:29:43 +00:00
|
|
|
dh_installdocs
|
2018-04-26 13:11:03 +00:00
|
|
|
endif
|
2017-08-13 16:29:43 +00:00
|
|
|
dh_strip
|
|
|
|
dh_compress
|
|
|
|
dh_fixperms
|
|
|
|
env -u DH_OPTIONS dh_makeshlibs -pliblockdep$(VERSION) \
|
|
|
|
liblockdep$(VERSION)
|
|
|
|
dh_installdeb
|
|
|
|
dh_shlibdeps
|
|
|
|
dh_gencontrol
|
|
|
|
dh_md5sums
|
|
|
|
dh_builddeb
|
|
|
|
|
|
|
|
install-lockdep: PACKAGE_NAME = lockdep
|
|
|
|
install-lockdep: DH_OPTIONS = -p$(PACKAGE_NAME)
|
|
|
|
install-lockdep: DIR = $(CURDIR)/debian/$(PACKAGE_NAME)
|
|
|
|
install-lockdep:
|
|
|
|
dh_testdir
|
|
|
|
dh_testroot
|
|
|
|
dh_prep
|
|
|
|
dh_installdirs
|
|
|
|
# Upstream lockdep preload script is not suitable for installation
|
|
|
|
sed 's/@VERSION@/$(VERSION)/' debian/rules.d/tools/lib/lockdep/lockdep.in \
|
|
|
|
> $(DIR)/usr/bin/lockdep
|
|
|
|
chmod 755 $(DIR)/usr/bin/lockdep
|
|
|
|
dh_installchangelogs
|
2018-04-26 13:11:03 +00:00
|
|
|
ifeq (,$(filter nodoc,$(DEB_BUILD_PROFILES)))
|
2017-08-13 16:29:43 +00:00
|
|
|
dh_installdocs
|
2018-04-26 13:11:03 +00:00
|
|
|
endif
|
2017-08-13 16:29:43 +00:00
|
|
|
dh_compress
|
|
|
|
dh_fixperms
|
|
|
|
dh_installdeb
|
|
|
|
dh_gencontrol
|
|
|
|
dh_md5sums
|
|
|
|
dh_builddeb
|
|
|
|
|
2018-10-26 13:46:06 +00:00
|
|
|
build-bootwrapper:
|
|
|
|
$(call make-tools,arch/powerpc/boot)
|
|
|
|
|
2018-07-07 21:04:59 +00:00
|
|
|
install-bootwrapper: PACKAGE_NAME = linux-bootwrapper-$(ABINAME)
|
|
|
|
install-bootwrapper: DH_OPTIONS = -p$(PACKAGE_NAME)
|
|
|
|
install-bootwrapper: DIR = $(CURDIR)/debian/$(PACKAGE_NAME)
|
2018-10-26 13:46:06 +00:00
|
|
|
install-bootwrapper: build-bootwrapper
|
2018-07-07 21:04:59 +00:00
|
|
|
dh_testdir
|
|
|
|
dh_testroot
|
|
|
|
dh_prep
|
|
|
|
$(call make-tools,arch/powerpc/boot) install DESTDIR=$(DIR) installdir=/usr/lib/$(PACKAGE_NAME)
|
|
|
|
dh_installchangelogs
|
|
|
|
dh_strip
|
|
|
|
dh_compress
|
|
|
|
dh_fixperms
|
|
|
|
dh_installdeb
|
|
|
|
dh_shlibdeps
|
|
|
|
dh_gencontrol
|
|
|
|
dh_md5sums
|
|
|
|
dh_builddeb
|
|
|
|
|
2018-12-01 18:59:32 +00:00
|
|
|
.PHONY: binary-% build-% install-% setup-% source-%
|
|
|
|
|
2006-06-13 14:19:04 +00:00
|
|
|
# vim: filetype=make
|