mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
* [ptxdist] Writing rules for x86 architecture
@ 2013-02-07 21:06 Alexander Aring
  2013-02-07 21:08 ` Bernhard Walle
  2013-02-08  8:44 ` Juergen Beisert
  0 siblings, 2 replies; 3+ messages in thread
From: Alexander Aring @ 2013-02-07 21:06 UTC (permalink / raw)
  To: ptxdist

Hi,

I found a problem with the sun-java6-jre rule which install a x86 related
binary.

We need to have something like "depends on ARCH_X86" for this rule, but
this doesn't work. I only found some .make rules which check on
PTXCONF_ARCH_X86.

Is there a way to handle that?

Regards
Alex

-- 
ptxdist mailing list
ptxdist@pengutronix.de

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

* Re: [ptxdist] Writing rules for x86 architecture
  2013-02-07 21:06 [ptxdist] Writing rules for x86 architecture Alexander Aring
@ 2013-02-07 21:08 ` Bernhard Walle
  2013-02-08  8:44 ` Juergen Beisert
  1 sibling, 0 replies; 3+ messages in thread
From: Bernhard Walle @ 2013-02-07 21:08 UTC (permalink / raw)
  To: ptxdist

Hi Alex,

Am 07.02.13 22:06, schrieb Alexander Aring:
> 
> I found a problem with the sun-java6-jre rule which install a x86 related
> binary.
> 
> We need to have something like "depends on ARCH_X86" for this rule, but
> this doesn't work. I only found some .make rules which check on
> PTXCONF_ARCH_X86.

Since the ptxconfig doesn't have any architecture this cannot work. The
make rule only ensures that the package isn't built if you have a
different architecture, even if it's selected in the ptxconfig.


Regards,
Bernhard

-- 
ptxdist mailing list
ptxdist@pengutronix.de

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

* Re: [ptxdist] Writing rules for x86 architecture
  2013-02-07 21:06 [ptxdist] Writing rules for x86 architecture Alexander Aring
  2013-02-07 21:08 ` Bernhard Walle
@ 2013-02-08  8:44 ` Juergen Beisert
  1 sibling, 0 replies; 3+ messages in thread
From: Juergen Beisert @ 2013-02-08  8:44 UTC (permalink / raw)
  To: ptxdist; +Cc: Alexander Aring

Hi Alexander,

Alexander Aring wrote:
> I found a problem with the sun-java6-jre rule which install a x86 related
> binary.
>
> We need to have something like "depends on ARCH_X86" for this rule, but
> this doesn't work. I only found some .make rules which check on
> PTXCONF_ARCH_X86.
>
> Is there a way to handle that?

The correct way is to use some autotool based detection for which architecture 
the used cross compiler generates code for.

Regards,
Juergen


-- 
Pengutronix e.K.                              | Juergen Beisert             |
Linux Solutions for Science and Industry      | http://www.pengutronix.de/  |

-- 
ptxdist mailing list
ptxdist@pengutronix.de

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

end of thread, other threads:[~2013-02-08  8:44 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-02-07 21:06 [ptxdist] Writing rules for x86 architecture Alexander Aring
2013-02-07 21:08 ` Bernhard Walle
2013-02-08  8:44 ` Juergen Beisert

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox