mirror of
https://github.com/DarkFlippers/unleashed-firmware
synced 2024-11-30 08:20:21 +00:00
20 lines
344 B
Python
20 lines
344 B
Python
Import("env")
|
|
|
|
env.Append(
|
|
CPPPATH=[
|
|
"#/lib/drivers",
|
|
],
|
|
SDK_HEADERS=[
|
|
File("cc1101_regs.h"),
|
|
],
|
|
)
|
|
|
|
|
|
libenv = env.Clone(FW_LIB_NAME="hwdrivers")
|
|
libenv.ApplyLibFlags()
|
|
|
|
sources = Glob("*.c", source=True)
|
|
|
|
lib = libenv.StaticLibrary("${FW_LIB_NAME}", sources)
|
|
libenv.Install("${LIB_DIST_DIR}", lib)
|
|
Return("lib")
|