mirror of
https://github.com/shenmintao/aic8800d80.git
synced 2026-09-26 17:44:16 +00:00
init: add source codes from tenda
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
#CROSS_COMPILE := /opt/toolchains/mips-gcc540-glibc222-64bit-r3.3.0/bin/mips-linux-gnu-
|
||||
|
||||
LDFLAGS := -lpthread
|
||||
|
||||
default: all
|
||||
|
||||
all: wifi_test bt_test
|
||||
|
||||
wifi_test: wifi_test.o
|
||||
$(CROSS_COMPILE)gcc $+ -o $@
|
||||
|
||||
bt_test: bt_test.o
|
||||
$(CROSS_COMPILE)gcc $+ $(LDFLAGS) -o $@
|
||||
|
||||
%.o: %.c
|
||||
$(CROSS_COMPILE)gcc -c $+ -o $@
|
||||
|
||||
clean:
|
||||
rm *.o wifi_test bt_test
|
||||
|
||||
install:
|
||||
sudo cp wifi_test /sbin
|
||||
sudo cp bt_test /sbin
|
||||
Reference in New Issue
Block a user