Closed
Bug 476201
Opened 17 years ago
Closed 16 years ago
devenv builds shunt library in the source tree
Categories
(Firefox Build System :: General, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: blassey, Assigned: blassey)
References
Details
(Keywords: fixed1.9.1, mobile)
Attachments
(1 file, 1 obsolete file)
|
73.33 KB,
patch
|
ted
:
review+
|
Details | Diff | Splinter Review |
binary files should be built in the object directory
Updated•17 years ago
|
Flags: wanted-fennec1.0+
| Assignee | ||
Comment 1•17 years ago
|
||
Assignee: nobody → bugmail
Attachment #363702 -
Flags: review?(ted.mielczarek)
Comment 2•17 years ago
|
||
Comment on attachment 363702 [details] [diff] [review]
remove visual studio project and solution
+NATIVE_CFLAGS = $(CFLAGS) \
I don't understand what this is all doing. Do you mean to use HOST_* here?
| Assignee | ||
Comment 3•17 years ago
|
||
normally I'd want to use TARGET_*, but TARGET_CC is arm-wince-gcc, and I want to use x86_arm/cl (the arm cross compiling cl).
Comment 4•17 years ago
|
||
Comment on attachment 363702 [details] [diff] [review]
remove visual studio project and solution
I'm not really excited about the hardcoding of compiler paths etc in a Makefile. Brad says this is because the arm-wince-gcc tools force inclusion of the shunt library, which is what this Makefile is trying to build. I think we could work around this by having an environment variable or commandline switch to the tools to skip linking in the shunt. I think that would result in a cleaner patch.
Attachment #363702 -
Flags: review?(ted.mielczarek) → review-
| Assignee | ||
Comment 5•17 years ago
|
||
for extra bonus points, this patch fixes the tools not to put their .obj, .ilk, and .pdb files in the source tree as well as to prevent them from rebuilding every time
Attachment #363702 -
Attachment is obsolete: true
Attachment #365548 -
Flags: review?(ted.mielczarek)
| Assignee | ||
Comment 6•17 years ago
|
||
please ignore the two printfs in arm-wince-link, I'll remove them before checking in.
Comment 7•17 years ago
|
||
The last getenv("NO_SHUNT") NULL check should be !getent("NO_SHUNT") for consistency with other two?
| Assignee | ||
Updated•16 years ago
|
Attachment #365548 -
Flags: review?(ted.mielczarek) → review?(benjamin)
Updated•16 years ago
|
Attachment #365548 -
Flags: review?(benjamin) → review?(ted.mielczarek)
Comment 8•16 years ago
|
||
Comment on attachment 365548 [details] [diff] [review]
updated based on ted's comments
I can't review this; I have no clue what it does. Back to Ted.
Comment 9•16 years ago
|
||
Comment on attachment 365548 [details] [diff] [review]
updated based on ted's comments
+# if we're building the tools in configure, we want them to go directly to the sdk
+# so they get rebuilt once we have a full environment
+ifdef VPATH
+MOZCE_TOOLS_BIN_DIR=$(OBJDIR)/build/wince/tools
+else
MOZCE_TOOLS_BIN_DIR=$(OBJDIR)/dist/sdk/bin
+endif
Could you move this comment down into the else block, which is what it's describing?
Also, I think you should add a comment at the top of this Makefile (below the license block) that mentions that it's used both directly and included from another makefile.
Also, instead of relying on VPATH, could you just set some explicit variable in the other makefile and use that? It's not exactly clear when you're using VPATH here.
+EXPORTS =$(MOZCE_TOOLS_BIN_DIR)/arm-wince-as.exe \
Don't use EXPORTS, that has a specific meaning in the build system--headers to wind up in dist/include. Pick a different variable name here.
Looks good otherwise, r=me with those changes.
Attachment #365548 -
Flags: review?(ted.mielczarek) → review+
| Assignee | ||
Comment 10•16 years ago
|
||
pushed http://hg.mozilla.org/mozilla-central/rev/904abd7c7527 and http://hg.mozilla.org/mozilla-central/rev/48d8667789b0
(sorry, missed some of the changes for ted's comments in the first push)
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
| Assignee | ||
Updated•16 years ago
|
Attachment #365548 -
Flags: approval1.9.1?
| Assignee | ||
Updated•16 years ago
|
Attachment #365548 -
Flags: approval1.9.1?
| Assignee | ||
Comment 11•16 years ago
|
||
Comment on attachment 365548 [details] [diff] [review]
updated based on ted's comments
clearing the review request because this is not part of the build
| Assignee | ||
Comment 12•16 years ago
|
||
| Assignee | ||
Updated•16 years ago
|
Keywords: fixed1.9.1
Updated•8 years ago
|
Product: Core → Firefox Build System
You need to log in
before you can comment on or make changes to this bug.
Description
•