mirror of
https://github.com/mmueller41/genode.git
synced 2026-01-21 12:32:56 +01:00
Temporarily prevent stripping of symbols from binaries to ease debugging
This commit is contained in:
@@ -213,7 +213,7 @@ $(TARGET): $(LINK_ITEMS) $(wildcard $(LD_SCRIPTS))
|
||||
$(MSG_LINK)$(TARGET)
|
||||
$(VERBOSE)libs=$(LIB_CACHE_DIR); $(LD_CMD) -o $@
|
||||
|
||||
STRIP_TARGET_CMD ?= $(STRIP) -o $@ $<
|
||||
STRIP_TARGET_CMD ?= cp $< $@ #$(STRIP) -o $@ $<
|
||||
|
||||
$(TARGET).debug: $(TARGET)
|
||||
$(VERBOSE)$(OBJCOPY) --only-keep-debug $< $@
|
||||
|
||||
@@ -1151,7 +1151,7 @@ proc build_core_image { modules } {
|
||||
# create core binary containing the boot modules
|
||||
set image_elf [run_dir]/[kernel_specific_binary image.elf]
|
||||
build_core [run_dir]/genode/$core_obj $modules $image_elf [core_link_address]
|
||||
exec [cross_dev_prefix]strip $image_elf
|
||||
#exec [cross_dev_prefix]strip $image_elf
|
||||
|
||||
# Save config part of the image.elf for easy inspection
|
||||
exec cp -f [run_dir]/genode/config [run_dir].config
|
||||
|
||||
Reference in New Issue
Block a user