project:cfg:BoardConfig_IPC: Added fastboot BoardConfig file and firmware post-scripts, distinguishing between the BoardConfigs for Luckfox Pico Pro and Luckfox Pico Max. project:app: Added fastboot_client and rk_smart_door for quick boot applications; updated rkipc app to adapt to the latest media library. media:samples: Added more usage examples. media:rockit: Fixed bugs; removed support for retrieving data frames from VPSS. media:isp: Updated rkaiq library and related tools to support connection to RKISP_Tuner. sysdrv:Makefile: Added support for compiling drv_ko on Luckfox Pico Ultra W using Ubuntu; added support for custom root filesystem. sysdrv:tools:board: Updated Buildroot optional mirror sources, updated some software versions, and stored device tree files and configuration files that undergo multiple modifications for U-Boot and kernel separately. sysdrv:source:mcu: Used RISC-V MCU SDK with RT-Thread system, mainly for initializing camera AE during quick boot. sysdrv:source:uboot: Added support for fastboot; added high baud rate DDR bin for serial firmware upgrades. sysdrv:source:kernel: Upgraded to version 5.10.160; increased NPU frequency for RV1106G3; added support for fastboot. Signed-off-by: luckfox-eng29 <eng29@luckfox.com>
32 lines
878 B
Makefile
32 lines
878 B
Makefile
CFLAGS := -Wall -g
|
|
CC := $(RK_APP_CROSS)-gcc
|
|
|
|
all: rkwifi_server
|
|
|
|
OBJS += \
|
|
rkwifi_cli.o \
|
|
main.o \
|
|
rk_wifi_test.o \
|
|
softap/softap.o
|
|
|
|
ARCH=arm
|
|
CFLAGS += -I ../include/ -I ./ -fpic -rdynamic
|
|
#CFLAGS += -Wno-declaration-after-statement -funsigned-char -freg-struct-return -fno-strict-aliasing -Wtrampolines -Wformat=2 -Wshadow -Wall -fpic -fpie -fno-common -Wfloat-equal -Wextra -fvisibility=hidden
|
|
#CFLAGS += -D_FORTIFY_SOURCE=2 -O2 -pipe
|
|
#LDFLAGS += -Wl,-z,relro,-z,now -Wl,-z,noexecstack -pie -Wl,-Bsymbolic -rdynamic -Wl,--no-undefined -fpic
|
|
ifeq ($(RK_ENABLE_FASTBOOT),y)
|
|
LDFLAGS += -lpthread -lrkwifibt -L ../../out/lib/ -L ../
|
|
else
|
|
LDFLAGS += -lpthread -lrkwifibt -lwpa_client -L ../../out/lib/ -L ../
|
|
endif
|
|
|
|
rkwifi_server: $(OBJS)
|
|
$(info "$(PWD)")
|
|
$(CC) -o rkwifi_server $(OBJS) $(LDFLAGS)
|
|
|
|
%.o: %.c
|
|
$(CC) $(CFLAGS) -c $< -o $@
|
|
|
|
clean:
|
|
rm -f $(OBJS) rkwifi_server
|