diff options
| -rw-r--r-- | meta-networking/recipes-filter/ebtables/ebtables_2.0.10-4.bb | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/meta-networking/recipes-filter/ebtables/ebtables_2.0.10-4.bb b/meta-networking/recipes-filter/ebtables/ebtables_2.0.10-4.bb index 2e49dab332..e9b726c5fb 100644 --- a/meta-networking/recipes-filter/ebtables/ebtables_2.0.10-4.bb +++ b/meta-networking/recipes-filter/ebtables/ebtables_2.0.10-4.bb | |||
| @@ -27,6 +27,19 @@ S = "${WORKDIR}/ebtables-v${PV}" | |||
| 27 | 27 | ||
| 28 | inherit update-rc.d systemd | 28 | inherit update-rc.d systemd |
| 29 | 29 | ||
| 30 | python __anonymous () { | ||
| 31 | import re | ||
| 32 | |||
| 33 | karch = d.getVar('KARCH', True) | ||
| 34 | multilib = d.getVar('MLPREFIX', True) | ||
| 35 | |||
| 36 | if multilib and karch == 'powerpc64': | ||
| 37 | searchstr = "lib.?32" | ||
| 38 | reg = re.compile(searchstr) | ||
| 39 | if reg.search(multilib): | ||
| 40 | d.appendVar('CFLAGS' ,' -DKERNEL_64_USERSPACE_32 -DEBT_MIN_ALIGN=8') | ||
| 41 | } | ||
| 42 | |||
| 30 | EXTRA_OEMAKE = " \ | 43 | EXTRA_OEMAKE = " \ |
| 31 | BINDIR=${base_sbindir} \ | 44 | BINDIR=${base_sbindir} \ |
| 32 | MANDIR=${mandir} \ | 45 | MANDIR=${mandir} \ |
