# Afilterctl
AFILTERCTL_VERSION ?= 0.1
AFILTERCTL_NAME    := afilterctl-$(AFILTERCTL_VERSION)
AFILTERCTL_PATH    := ../../../apps/afilterctl
AFILTERCTL_BUILD_OPTS ?= CC=$(TOOLCHAIN_CC) AR=$(TOOLCHAIN_CROSS)ar 
#LDFLAGS=-static

download-afilterctl: 
unpack-afilterctl: 

configure-afilterctl:
build-afilterctl:
	$(Q) $(call common-build,AFILTERCTL) afilterctl
	$(Q) $(TOOLCHAIN_ENV) $(TOOLCHAIN_CROSS)strip $(AFILTERCTL_PATH)/afilterctl

install-afilterctl:
	$(Q) cp -v $(AFILTERCTL_PATH)/afilterctl $(GENRAMFS_PATH)/usr/bin

clean-afilterctl:
	$(Q) $(call common-clean,AFILTERCTL)

distclean-afilterctl: clean-afilterctl

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