Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Branch: master
Fetching contributors…

Cannot retrieve contributors at this time

58 lines (43 sloc) 1.283 kB
# Common paths, rules, etc
# Default rule
.PHONY: build unpack
.PHONY: default woce webos-ports custom
ifndef CONFIG
default: woce
endif
build::
woce:
$(MAKE) CONFIG=woce build
webos-ports:
$(MAKE) CONFIG=webos-ports build
custom:
$(MAKE) CONFIG=custom build
test:
$(MAKE) CONFIG=test build
# LEVEL should be set by every Makefile
ifndef LEVEL
$(error "LEVEL not set in Makefile!")
endif
# Paths to common directories
DL_DIR=$(LEVEL)/downloads
DOCTOR_DIR=$(LEVEL)/doctors
TOOLCHAIN_DIR=$(LEVEL)/toolchain
# Include rules for re-using global directories
# for downloads and doctors, if they already exist
include $(LEVEL)/support/srvln.mk
# Include rules for building download targets
include $(LEVEL)/support/dl.mk
# Include 'metadata-like' file for specifying sources
ifdef CONFIG
include $(LEVEL)/config/$(CONFIG).mk
endif
# Include information used for cross-compiling
include $(LEVEL)/support/cross-compile.mk
# Include rules for downloading doctor files
include $(LEVEL)/support/doctors.mk
# Include rules for extracting rootfs from doctors
include $(LEVEL)/support/rootfs.mk
# Include rules for downloading and extracting toolchains
include $(LEVEL)/support/toolchains.mk
# Include rules for bootstrapping headers
include $(LEVEL)/support/install-headers.mk
Jump to Line
Something went wrong with that request. Please try again.