add utility for using testmode support

Signed-off-by: Felix Fietkau <[email protected]>
This commit is contained in:
Felix Fietkau
2020-06-22 21:32:26 +02:00
parent d7467bc018
commit 3ea5da1639
7 changed files with 916 additions and 1 deletions
+13
View File
@@ -0,0 +1,13 @@
cmake_minimum_required(VERSION 2.8)
PROJECT(mt76-test C)
ADD_DEFINITIONS(-Os -Wall -Werror --std=gnu99 -g3)
ADD_EXECUTABLE(mt76-test main.c fields.c eeprom.c)
TARGET_LINK_LIBRARIES(mt76-test nl-tiny)
SET(CMAKE_INSTALL_PREFIX /usr)
INSTALL(TARGETS mt76-test
RUNTIME DESTINATION sbin
)