summaryrefslogtreecommitdiff
path: root/cross_toolset/Makefile
blob: 5b80d7bc4601d65ec6e44af051f8cc51599d0d15 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
#
# This build the modules needed on the build side for a cross-compilation
#

SHELL=/usr/bin/env bash
include ../config_build.mk

#
# Bootstap
#
$(WORKDIR)/bootstrap:
	@cd $(SRC_ROOT) && ./bootstrap
	@mkdir -p $(dir $@) && touch $@

bootstrap: $(WORKDIR)/bootstrap

.PHONY : build

build:
	$(SOLARENV)/bin/build.pl -P$(BUILD_NCPUS) --all -- -P$(GMAKE_PARALLELISM)