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 \
Grzegorz Daniluk
committed
wrsw_hal wrsw_rtud tools snmpd \
wrs_watchdog dot-config
# 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
install: all
for d in $(SUBDIRS); do $(MAKE) -C $$d $@ || exit 1; done