linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] deb-pkg: add the shared header file for arm64
@ 2016-05-12  9:03 Huang Shijie
  2016-05-12 14:22 ` Michal Marek
  0 siblings, 1 reply; 3+ messages in thread
From: Huang Shijie @ 2016-05-12  9:03 UTC (permalink / raw)
  To: linux-arm-kernel

The arch/arm/include/asm/opcodes.h is also used by the arm64.
This patch copies it to the arm64 deb package.

Signed-off-by: Huang Shijie <shijie.huang@arm.com>
---
 scripts/package/builddeb | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/scripts/package/builddeb b/scripts/package/builddeb
index 6c3b038..f4de0d7 100755
--- a/scripts/package/builddeb
+++ b/scripts/package/builddeb
@@ -323,6 +323,12 @@ fi
 # Build kernel header package
 (cd $srctree; find . -name Makefile\* -o -name Kconfig\* -o -name \*.pl) > "$objtree/debian/hdrsrcfiles"
 (cd $srctree; find arch/$SRCARCH/include include scripts -type f) >> "$objtree/debian/hdrsrcfiles"
+
+if [ "$ARCH" = "arm64" ]; then
+	# The arm64 shares the same header file with the arm
+	(cd $srctree; echo arch/arm/include/asm/opcodes.h) >> "$objtree/debian/hdrsrcfiles"
+fi
+
 (cd $srctree; find arch/$SRCARCH -name module.lds -o -name Kbuild.platforms -o -name Platform) >> "$objtree/debian/hdrsrcfiles"
 (cd $srctree; find $(find arch/$SRCARCH -name include -o -name scripts -type d) -type f) >> "$objtree/debian/hdrsrcfiles"
 (cd $objtree; find arch/$SRCARCH/include Module.symvers include scripts -type f) >> "$objtree/debian/hdrobjfiles"
-- 
2.1.4

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [PATCH] deb-pkg: add the shared header file for arm64
  2016-05-12  9:03 [PATCH] deb-pkg: add the shared header file for arm64 Huang Shijie
@ 2016-05-12 14:22 ` Michal Marek
  2016-05-13  1:49   ` Huang Shijie
  0 siblings, 1 reply; 3+ messages in thread
From: Michal Marek @ 2016-05-12 14:22 UTC (permalink / raw)
  To: linux-arm-kernel

On 2016-05-12 11:03, Huang Shijie wrote:
> The arch/arm/include/asm/opcodes.h is also used by the arm64.
> This patch copies it to the arm64 deb package.
> 
> Signed-off-by: Huang Shijie <shijie.huang@arm.com>
> ---
>  scripts/package/builddeb | 6 ++++++
>  1 file changed, 6 insertions(+)


Hi Huang,

this is fixed (admittedly in a more aggressive way) by 962475ac2f96
("builddeb: fix missing headers in linux-headers package") in linux-next.

Michal

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [PATCH] deb-pkg: add the shared header file for arm64
  2016-05-12 14:22 ` Michal Marek
@ 2016-05-13  1:49   ` Huang Shijie
  0 siblings, 0 replies; 3+ messages in thread
From: Huang Shijie @ 2016-05-13  1:49 UTC (permalink / raw)
  To: linux-arm-kernel

On Thu, May 12, 2016 at 04:22:26PM +0200, Michal Marek wrote:
> On 2016-05-12 11:03, Huang Shijie wrote:
> > The arch/arm/include/asm/opcodes.h is also used by the arm64.
> > This patch copies it to the arm64 deb package.
> > 
> > Signed-off-by: Huang Shijie <shijie.huang@arm.com>
> > ---
> >  scripts/package/builddeb | 6 ++++++
> >  1 file changed, 6 insertions(+)
> 
> 
> Hi Huang,
> 
> this is fixed (admittedly in a more aggressive way) by 962475ac2f96
> ("builddeb: fix missing headers in linux-headers package") in linux-next.
okay. got it.

thanks
Huang Shijie

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2016-05-13  1:49 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-05-12  9:03 [PATCH] deb-pkg: add the shared header file for arm64 Huang Shijie
2016-05-12 14:22 ` Michal Marek
2016-05-13  1:49   ` Huang Shijie

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).