#
# Makefile to compile OL2TP
#

include ../../makefile.envars

CHECKOUT_PREFIX ?= svn://svn.atc.amit.com.tw
COMPO_URL := $(CHECKOUT_PREFIX)/Sahara/ODHCP/trunk
COMPO_REV := -r 29
COMPO_DIR := $(COMPO_BASE)/open_src/ODHCP

include ../../makefile.compo
include ../../makefile.install

#

ifeq ($(BIG_ENDIAN),1)
ENDIAN := -b
else
ENDIAN :=
endif

build:
	make -C $(COMPO_DIR)
#ifdef FULL_COPY
#	${PRIV_TOOLS}/bin/mkuo ${COMPO_DIR}/src/samples/udhcpd.conf ${COMPO_DIR}/src/samples/udhcpd.conf.uo $(ENDIAN)
#endif
	
install: INSTALL.copy_ODHCP


clean:
	make -C $(COMPO_DIR) clean
	-rm -f $(COMPO_DIR)/*.uo
copying:
