[PATCH 1/1] UBUNTU: [Packaging] ppc64el is a powerpc kernel arch and needs its quirks
Andy Whitcroft
apw at canonical.com
Tue May 13 13:17:53 UTC 2014
BugLink: http://bugs.launchpad.net/bugs/1318848
Signed-off-by: Andy Whitcroft <apw at canonical.com>
---
debian/rules.d/2-binary-arch.mk | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/debian/rules.d/2-binary-arch.mk b/debian/rules.d/2-binary-arch.mk
index 05e91c1..3339795 100644
--- a/debian/rules.d/2-binary-arch.mk
+++ b/debian/rules.d/2-binary-arch.mk
@@ -244,8 +244,8 @@ endif
# Copy over the compilation version.
cp "$(builddir)/build-$*/include/generated/compile.h" \
"$(hdrdir)/include/generated/compile.h"
- # powerpc seems to need some .o files for external module linking. Add them in.
-ifeq ($(arch),powerpc)
+ # powerpc kernel arch seems to need some .o files for external module linking. Add them in.
+ifeq ($(build_arch),powerpc)
mkdir -p $(hdrdir)/arch/powerpc/lib
cp $(builddir)/build-$*/arch/powerpc/lib/*.o $(hdrdir)/arch/powerpc/lib
endif
--
1.9.1
More information about the kernel-team
mailing list