Skip to content
Snippets Groups Projects
Makefile 638 B
Newer Older

# Installation of all of this stuff goes to images/wr in the output dir
WR_INSTALL_ROOT ?= $(WRS_OUTPUT_DIR)/images/wr
WRDEV_DIR ?= $(WRS_BASE_DIR)/..

# subdirectories we want to compile
SUBDIRS = libwr mini-rpc libsdb \
# all variables are exported
export
# All targets must install as well, as later builds use headers/libs
	ln -sf ../../kernel/wbgen-regs include/regs
	for d in $(SUBDIRS); do $(MAKE) -C $$d $@ || exit 1; done
	for d in $(SUBDIRS); do $(MAKE) -C $$d $@ || exit 1; done
	for d in $(SUBDIRS); do $(MAKE) -C $$d $@ || exit 1; done