mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-22 17:02:58 +02:00
strip kernel module to reduce image size
set strip option to 1 which is to strip modules debug info. tried to strip all but result in file system not found during iso installation. fix: https://github.com/vincentmli/FireBeeOS/issues/3 Signed-off-by: Vincent Li <vincent.mc.li@gmail.com>
This commit is contained in:
@@ -178,7 +178,7 @@ else
|
||||
cd $(DIR_APP) && cp -v arch/$(KERNEL_ARCH)/boot/$(KERNEL_TARGET) /boot/vmlinuz-$(VER)-$(VERSUFIX)
|
||||
cd $(DIR_APP) && cp -v System.map /boot/System.map-$(VER)-$(VERSUFIX)
|
||||
cd $(DIR_APP) && cp -v .config /boot/config-$(VER)-$(VERSUFIX)
|
||||
cd $(DIR_APP) && make $(MAKETUNING) modules_install
|
||||
cd $(DIR_APP) && INSTALL_MOD_STRIP=1 make $(MAKETUNING) modules_install
|
||||
|
||||
# Install bpftool
|
||||
cd $(DIR_APP)/tools/bpf/bpftool && make install
|
||||
|
||||
Reference in New Issue
Block a user