Add Makefile_atheros_openwrt
This commit is contained in:
parent
00613d8524
commit
811bb8053e
|
@ -0,0 +1,41 @@
|
|||
ifndef MAKEFILE
|
||||
MAKEFILE = Makefile_atheros_openwrt-10.03
|
||||
endif
|
||||
|
||||
ifndef TARGET
|
||||
TARGET = all
|
||||
endif
|
||||
|
||||
.PHONY: \
|
||||
all help \
|
||||
libowlps \
|
||||
libowlps-client \
|
||||
owlps-client \
|
||||
owlps-listener
|
||||
|
||||
|
||||
## Compilation ##
|
||||
|
||||
all: \
|
||||
libowlps \
|
||||
libowlps-client \
|
||||
owlps-client \
|
||||
owlps-listener
|
||||
|
||||
libowlps:
|
||||
@$(MAKE) $(TARGET) -f $(MAKEFILE) -C $@
|
||||
libowlps-client: libowlps
|
||||
@$(MAKE) $(TARGET) -f $(MAKEFILE) -C $@
|
||||
owlps-client: libowlps libowlps-client
|
||||
@$(MAKE) $(TARGET) -f $(MAKEFILE) -C $@
|
||||
owlps-listener: libowlps libowlps-client
|
||||
@$(MAKE) $(TARGET) -f $(MAKEFILE) -C $@
|
||||
|
||||
|
||||
## Help ##
|
||||
|
||||
help :
|
||||
@echo "Compiles the supported modules for OpenWrt Atheros."
|
||||
@echo "Supported variables:"
|
||||
@echo " MAKEFILE: makefile to call (default: $(MAKEFILE))."
|
||||
@echo " TARGET: target to call (default: all)."
|
Loading…
Reference in New Issue