Package: kernel-package Version: 10.066 Severity: normal Tag: patch User: [email protected] Usertags: eabi
The armel architecture is a new port of arm built with an incompatible abi. kernel-package needs a minor modification for armel, adding a ruleset for this architecture, so that arm kernels can be built using it. This is very similar to the existing support for armeb in kernel-package. I've attached a patch. -- see shy jo
diff -ur --new-file old/kernel-package-10.066/kernel/ruleset/arches/armel.mk kernel-package-10.066/kernel/ruleset/arches/armel.mk --- old/kernel-package-10.066/kernel/ruleset/arches/armel.mk 1970-01-01 00:00:00.000000000 +0000 +++ kernel-package-10.066/kernel/ruleset/arches/armel.mk 2007-02-10 19:23:29.000000000 +0000 @@ -0,0 +1,35 @@ +######################### -*- Mode: Makefile-Gmake -*- ######################## +## armel.mk --- +## +## This program is free software; you can redistribute it and/or modify +## it under the terms of the GNU General Public License as published by +## the Free Software Foundation; either version 2 of the License, or +## (at your option) any later version. +## +## This program is distributed in the hope that it will be useful, +## but WITHOUT ANY WARRANTY; without even the implied warranty of +## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +## GNU General Public License for more details. +## +## You should have received a copy of the GNU General Public License +## along with this program; if not, write to the Free Software +## Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA +## +## arch-tag: +## +############################################################################### + +### ARM (new abi) +ifeq ($(strip $(architecture)),armel) + + kimage := zImage + target = zImage + NEED_DIRECT_GZIP_IMAGE=NO + kimagesrc = arch/$(KERNEL_ARCH)/boot/zImage + kimagedest = $(INT_IMAGE_DESTDIR)/vmlinuz-$(version) + DEBCONFIG = $(CONFDIR)/config.arm + kelfimagesrc = vmlinux + kelfimagedest = $(INT_IMAGE_DESTDIR)/vmlinux-$(version) + KERNEL_ARCH = arm + +endif diff -ur --new-file old/kernel-package-10.066/kernel/ruleset/architecture.mk kernel-package-10.066/kernel/ruleset/architecture.mk --- old/kernel-package-10.066/kernel/ruleset/architecture.mk 2007-01-18 02:29:54.000000000 +0000 +++ kernel-package-10.066/kernel/ruleset/architecture.mk 2007-02-10 19:38:00.000000000 +0000 @@ -62,6 +62,9 @@ ifeq ($(strip $(architecture)),armeb) include $(DEBDIR)/ruleset/arches/armeb.mk endif +ifeq ($(strip $(architecture)),armel) +include $(DEBDIR)/ruleset/arches/armel.mk +endif ##### PowerPC and PowerPC architecture ifneq ($(strip $(filter ppc powerpc ppc64 powerpc64,$(architecture))),)
signature.asc
Description: Digital signature

