Merge lp:~michaelh1/crosstool-ng/lp988574 into lp:~linaro-toolchain-dev/crosstool-ng/linaro

Proposed by Michael Hope
Status: Merged
Merged at revision: 2443
Proposed branch: lp:~michaelh1/crosstool-ng/lp988574
Merge into: lp:~linaro-toolchain-dev/crosstool-ng/linaro
Diff against target: 28 lines (+8/-2)
1 file modified
contrib/linaro/build.mk (+8/-2)
To merge this branch: bzr merge lp:~michaelh1/crosstool-ng/lp988574
Reviewer Review Type Date Requested Status
Linaro Toolchain Developers Pending
Review via email: mp+113322@code.launchpad.net

Description of the change

linaro/build: de-duplicate gcc, c++, and ld

Change the above duplicate files to symlinks.

To post a comment you must log in.
Revision history for this message
Michael Hope (michaelh1) wrote :

cbuild has taken a snapshot of this branch at r2442 and queued it for build.

The diff against the ancestor r2441 is available at:
 http://builds.linaro.org/toolchain/snapshots/crosstool-ng-linaro-1.13.1+bzr2442~michaelh1~lp988574.diff

and will be built on the following builders:
 i686-lucid

You can track the build queue at:
 http://ex.seabright.co.nz/helpers/scheduler

cbuild-snapshot: crosstool-ng-linaro-1.13.1+bzr2442~michaelh1~lp988574
cbuild-ancestor: lp:~linaro-toolchain-dev/crosstool-ng/linaro+bzr2441
cbuild-state: check

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'contrib/linaro/build.mk'
2--- contrib/linaro/build.mk 2012-06-26 01:42:43 +0000
3+++ contrib/linaro/build.mk 2012-07-04 02:25:22 +0000
4@@ -84,7 +84,7 @@
5 # Build the win32 version using the just-built Linux compiler
6 $(stamp)%-win32: $(stamp)%-linux
7 PATH=$(TOP):$(TOP)/$(BUILD)/$*-linux/install/bin:$$PATH \
8- $(MAKE) -f contrib/linaro/build.mk HOST=win32 TARGET=$* go
9+ $(MAKE) -f contrib/linaro/build.mk HOST=win32 TARGET=$* EXE=.exe go
10 touch $@
11
12 # Build a tarball of the runtime to overlay on the device
13@@ -188,8 +188,14 @@
14 find $(FINAL) -type l -name lib32 -exec rm {} \;
15 # Remove the buildlog
16 rm -f $(FINAL)/build.log.bz2
17- # Remove the *-cc[.exe] symlink
18+ # Remove the *-cc[.exe] symlink added by crosstool-NG
19 rm -f $(FINAL)/bin/*-cc*
20+ # Convert the duplicates into symlinks
21+ rm -f $(FINAL)/bin/*-{ld,c++,gcc}{,.exe}
22+ cd $(FINAL)/bin \
23+ && ln -sf $(TARGET)-ld.bfd$(EXE) $(TARGET)-ld$(EXE) \
24+ && ln -sf $(TARGET)-g++$(EXE) $(TARGET)-c++$(EXE) \
25+ && ln -sf $(TARGET)-gcc-4*$(EXE) $(TARGET)-gcc$(EXE)
26 # Remove the populate script
27 rm -f $(FINAL)/bin/*-populate
28 # Remove the internal documentation

Subscribers

People subscribed via source and target branches