# Filterctl
FILTERCTL_VERSION ?= 0.1
FILTERCTL_NAME    := filterctl-$(FILTERCTL_VERSION)
FILTERCTL_PATH    := ../../../apps/filterctl
FILTERCTL_BUILD_OPTS ?= CC=$(TOOLCHAIN_CC) AR=$(TOOLCHAIN_CROSS)ar 
#LDFLAGS=-static

download-filterctl: 
unpack-filterctl: 

configure-filterctl:
build-filterctl:
	$(Q) $(call common-build,FILTERCTL) filterctl
	$(Q) $(TOOLCHAIN_ENV) $(TOOLCHAIN_CROSS)strip $(FILTERCTL_PATH)/filterctl

install-filterctl:
	$(Q) cp -v $(FILTERCTL_PATH)/filterctl $(GENRAMFS_PATH)/usr/bin

clean-filterctl:
	$(Q) $(call common-clean,FILTERCTL)

distclean-filterctl: clean-filterctl

download-body: download-filterctl
download-fini: unpack-filterctl
configure-body: configure-filterctl
build-body: build-filterctl
install-body: install-filterctl
clean-body: clean-filterctl
distclean-body: distclean-filterctl

