Merge lp:~michaelh1/crosstool-ng/src-and-pi into lp:~linaro-toolchain-dev/crosstool-ng/linaro

Proposed by Michael Hope
Status: Merged
Merged at revision: 2478
Proposed branch: lp:~michaelh1/crosstool-ng/src-and-pi
Merge into: lp:~linaro-toolchain-dev/crosstool-ng/linaro
Diff against target: 74 lines (+20/-18)
1 file modified
contrib/linaro/build.mk (+20/-18)
To merge this branch: bzr merge lp:~michaelh1/crosstool-ng/src-and-pi
Reviewer Review Type Date Requested Status
Michael Hope Pending
Review via email: mp+126371@code.launchpad.net

Description of the change

Change the name of _src. Extend the win32 headers fixup to Raspbian. TARGET and HOST come from TARGETS and HOSTS.

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 r2478 and queued it for build.

The diff against the ancestor r2475 is available at:
 http://builds.linaro.org/toolchain/snapshots/crosstool-ng-linaro-1.13.1+bzr2478~michaelh1~src-and-pi.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+bzr2478~michaelh1~src-and-pi
cbuild-ancestor: lp:~linaro-toolchain-dev/crosstool-ng/linaro+bzr2475
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-09-25 03:32:25 +0000
3+++ contrib/linaro/build.mk 2012-09-26 03:32:21 +0000
4@@ -7,10 +7,13 @@
5
6 # Top level product
7 PRODUCT ?= gcc-linaro
8-# Target this build compiles for
9-TARGET ?= arm-linux-gnueabihf
10-# Host OS the toolchain will run on
11-HOST ?= linux
12+# Targets to build. See samples/linaro-%. As at 2012-09 these
13+# include arm-linux-gnueabihf, arm-none-eabi, and
14+# arm-linux-gnueabihf-raspbian.
15+TARGETS = arm-linux-gnueabihf
16+# The variants to build including Linux hosted, Windows hosted, and
17+# just the device runtime
18+HOSTS = linux win32 runtime
19 # Major version of the toolchain. Pulled automatically from the
20 # .config file
21 VERSION = $(shell awk 'BEGIN {FS="[=\"-]"}; /^CT_CC_VERSION/ {print $$5}' \
22@@ -22,19 +25,18 @@
23
24 # Full name of this release. Used in the tarball name
25 FULL = $(PRODUCT)-$(TARGET)-$(VERSION)-$(SPIN)$(REVISION)
26+# Full name of the source tarball
27+SRC = $(PRODUCT)-$(VERSION)-$(SPIN)$(REVISION)_src
28+
29 # Tarball/directory name
30 DIRNAME = $(FULL)_$(HOST)
31
32-# Targets to build. See samples/linaro-%. As at 2012-09 these
33-# include arm-linux-gnueabihf, arm-none-eabi, and
34-# arm-linux-gnueabihf-raspbian.
35-TARGETS = arm-linux-gnueabihf
36-# The variants to build including Linux hosted, Windows hosted, and
37-# just the device runtime
38-HOSTS = linux win32 runtime
39-
40 -include local.mk
41
42+# Target this build compiles for
43+TARGET ?= $(firstword $(TARGETS))
44+# Host OS the toolchain will run on
45+HOST ?= $(firstword $(TARGETS))
46 # Pull the triplet out of the target
47 TRIPLET = $(subst -raspbian,,$(TARGET))
48
49@@ -156,11 +158,11 @@
50
51 # Build a tarball of everything that went into the build
52 $(stamp)src: $(ALL_TARGETS)
53- rm -rf $(BUILD)/src/$(FULL)_src
54- mkdir -p $(BUILD)/src/$(FULL)_src
55- cp -afu tarballs/* $(BUILD)/src/$(FULL)_src
56- cd $(BUILD)/src/$(FULL)_src && md5sum * > md5sum
57- cd $(BUILD)/src && tar cjf $(FULL)_src.tar.bz2 $(FULL)_src
58+ rm -rf $(BUILD)/src
59+ mkdir -p $(BUILD)/src/$(SRC)
60+ cp -afu tarballs/* $(BUILD)/src/$(SRC)
61+ cd $(BUILD)/src/$(SRC) && md5sum * > md5sum
62+ cd $(BUILD)/src && tar cjf $(SRC).tar.bz2 $(SRC)
63 touch $@
64
65 # Stage 2: target and host specific
66@@ -253,7 +255,7 @@
67
68 # Host or target specific fixups
69
70-$(dstamp)arm-linux-gnueabihf-win32-fixup: $(dstamp)common-fixup
71+$(dstamp)arm-linux-%-win32-fixup: $(dstamp)common-fixup
72 # Rename the netfilter header files
73 for i in $(NETFILTER_RENAMES); do \
74 mv $(LINUX_INC)/$${i}.h $(LINUX_INC)/$${i}_.h; \

Subscribers

People subscribed via source and target branches