diff --git a/debian/changelog b/debian/changelog index 9a2d069b1..90b50caf6 100644 --- a/debian/changelog +++ b/debian/changelog @@ -5,6 +5,8 @@ linux-2.6 (2.6.38-2) UNRELEASED; urgency=low * rt2800usb: Disable powersaving by default (Closes: #618930) * b43: Enable B43_PHY_N (Closes: #619070) * net/wireless: Enable RTL8192CE as module (Closes: #619051) + * Add configuration for Debian architecture ppc64, matching the + powerpc/powerpc64 flavour (Closes: #618976) -- Ben Hutchings Sat, 19 Mar 2011 05:17:42 +0000 diff --git a/debian/config/defines b/debian/config/defines index 337505378..e532b09b0 100644 --- a/debian/config/defines +++ b/debian/config/defines @@ -13,6 +13,7 @@ arches: mips mipsel powerpc + ppc64 s390 sh4 sparc diff --git a/debian/config/ppc64/defines b/debian/config/ppc64/defines new file mode 100644 index 000000000..db1957ae5 --- /dev/null +++ b/debian/config/ppc64/defines @@ -0,0 +1,14 @@ +[base] +flavours: + powerpc64 +kernel-arch: powerpc + +[image] +configs: powerpc/config +suggests: mkvmlinuz + +[powerpc64_description] +hardware: 64-bit PowerPC + +[powerpc64_image] +configs: powerpc/config.powerpc64 diff --git a/debian/rules.real b/debian/rules.real index a9d47db6f..9fb17deba 100644 --- a/debian/rules.real +++ b/debian/rules.real @@ -39,7 +39,7 @@ MAKE_PERF_VARS = prefix=/usr perfexecdir=share/perf_$(VERSION)-core NO_PERL=1 V= # binary-arch-arch: install-headers_$(ARCH) binary-arch-arch: install-libc-dev_$(ARCH) -ifneq ($(filter alpha amd64 armel hppa i386 powerpc s390 sh4 sparc sparc64,$(ARCH)),) +ifneq ($(filter alpha amd64 armel hppa i386 powerpc ppc64 s390 sh4 sparc sparc64,$(ARCH)),) binary-arch-arch: install-tools_$(ARCH) endif binary-arch-featureset: install-headers_$(ARCH)_$(FEATURESET) @@ -255,7 +255,7 @@ install-headers_$(ARCH)_$(FEATURESET)_$(FLAVOUR): $(STAMPS_DIR)/build_$(ARCH)_$( cp -a $(SOURCE_DIR)/{.config,.kernel*,Module.symvers,include} $(DIR) cp -a $(SOURCE_DIR)/arch/$(KERNEL_ARCH)/kernel/asm-offsets.s $(DIR)/arch/$(KERNEL_ARCH)/kernel -ifeq ($(ARCH),powerpc) +ifneq ($(filter powerpc ppc64,$(ARCH)),) 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; \ @@ -385,13 +385,15 @@ install-image_mips_$(FEATURESET)_$(FLAVOUR)_plain_image \ install-image_mipsel_$(FEATURESET)_$(FLAVOUR)_plain_image: install -m644 '$(DIR)/vmlinux' $(INSTALL_DIR)/vmlinux-$(REAL_VERSION) -install-image_powerpc_$(FEATURESET)_$(FLAVOUR)_plain_image: WRAPPER_INSTALL_DIR = '$(CURDIR)'/$(PACKAGE_DIR)/usr/lib/linux-image-$(REAL_VERSION) -install-image_powerpc_$(FEATURESET)_$(FLAVOUR)_plain_image: +ifneq ($(filter powerpc ppc64,$(ARCH)),) +install-image_$(ARCH)_$(FEATURESET)_$(FLAVOUR)_plain_image: WRAPPER_INSTALL_DIR = '$(CURDIR)'/$(PACKAGE_DIR)/usr/lib/linux-image-$(REAL_VERSION) +install-image_$(ARCH)_$(FEATURESET)_$(FLAVOUR)_plain_image: install -m644 '$(DIR)/vmlinux' $(INSTALL_DIR)/vmlinux-$(REAL_VERSION) +$(MAKE_CLEAN) -C '$(DIR)' bootwrapper_install \ WRAPPER_OBJDIR='$(WRAPPER_INSTALL_DIR)' \ WRAPPER_DTSDIR='$(WRAPPER_INSTALL_DIR)'/dts \ WRAPPER_BINDIR='$(WRAPPER_INSTALL_DIR)' +endif install-image_s390_$(FEATURESET)_$(FLAVOUR)_plain_image: install -m644 '$(DIR)/arch/s390/boot/image' $(INSTALL_DIR)/vmlinuz-$(REAL_VERSION) @@ -404,7 +406,8 @@ ARG_KIMAGE = vmlinuz install-image_hppa_$(FEATURESET)_$(FLAVOUR)_plain_templates \ install-image_mips_$(FEATURESET)_$(FLAVOUR)_plain_templates \ install-image_mipsel_$(FEATURESET)_$(FLAVOUR)_plain_templates \ -install-image_powerpc_$(FEATURESET)_$(FLAVOUR)_plain_templates: ARG_KIMAGE = vmlinux +install-image_powerpc_$(FEATURESET)_$(FLAVOUR)_plain_templates \ +install-image_ppc64_$(FEATURESET)_$(FLAVOUR)_plain_templates: ARG_KIMAGE = vmlinux install-image_$(ARCH)_$(FEATURESET)_$(FLAVOUR)_plain_templates: for i in $(wildcard debian/templates/temp.image.plain/*); do \