Closed Bug 672939 Opened 13 years ago Closed 13 years ago

fennec package name repeats itself with NDKr5 and greater

Categories

(Firefox Build System :: General, defect)

x86_64
Linux
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
mozilla8

People

(Reporter: blassey, Unassigned)

References

Details

Attachments

(1 file)

Attached patch patchSplinter Review
with NDKr4 our package name is "fennec-8.0a1.en-US.eabi-arm.apk", currently that changes to "fennec-8.0a1.en-US.arm-linuxandroid-arm-linuxandroid.apk" with NDKr5 and newer. This patch fixes that to be "fennec-8.0a1.en-US.android-arm.apk"

The core problem is the vendor and os weren't separated by a - in config.sub so we couldn't extract its components properly. So in autoconfig.mk we had something like this:
TARGET_CPU      = arm-linuxandroid
TARGET_VENDOR   = arm-linuxandroid
TARGET_OS       = arm-linuxandroid

with this patch, that turns into:
TARGET_CPU      = arm
TARGET_VENDOR   = linux
TARGET_OS       = android


which seems more sane to me.
Attachment #547229 - Flags: review?(khuey)
Comment on attachment 547229 [details] [diff] [review]
patch

Sounds good to me, but you should add this to js/src/ctypes/libffi.patch so that we don't accidentally blow away that bit in the future.
Attachment #547229 - Flags: review?(khuey) → review+
Blocks: 657723
http://hg.mozilla.org/mozilla-central/rev/cdec5871f47b
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla8
Blocks: 712275
Product: Core → Firefox Build System
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: