Sorry for the late answer and thank you for efforts helping me.
The procedure you give does not work.
- I start from scratch, clone the repository, then choose my board (RV1106 with OS on the SD card), and execute a first build.sh so that all parts of buildroot are downloaded. I then clean up the rootfs build with
build.sh clean rootfs
- then i comment out in
<Luckfox-pico Sdk>/sysdrv/Makefile
anything I can find about Samba (actually there is just the script that copies the two config files in place)
- then I configure the kernel, remove any samba support, and save the config (
make luckfox_pico_defconfig -> make menuconfig -> make save_defconfig -> make
)
- then i build the kernel, the firmware, and flash it:
build.sh rootfs -> build.sh firmware
Result: The Samba package is still build with the rootfs. The kernel module and config files are gone, but all the binaries are still part of the rootfs.
I cannot really develop on this platform if i cannot grab control on how the firmware is build and what really gets in. I´d like to start with a bare minimum version, sporting merely just a SSH server to access the filesystem, and iterate from that point.
Any other idea how I can get rid of Samba
totally ?