Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build: strip debug info into a separate file #219

Merged
merged 1 commit into from
Oct 13, 2021

Conversation

wipawel
Copy link
Contributor

@wipawel wipawel commented Oct 12, 2021

Signed-off-by: Pawel Wieczorkiewicz [email protected]

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Makefile Outdated
@@ -169,6 +172,9 @@ $(TARGET): $(OBJS) $(PREP_LINK_SCRIPT)
$(VERBOSE) rm -rf $(SYMBOLS_NAME).S
@echo "LD " $(TARGET) $(SYMBOLS_NAME).o
$(VERBOSE) $(LD) -T $(PREP_LINK_SCRIPT) -o $@ $(OBJS) $(PFMLIB_LINKER_FLAGS) $(SYMBOLS_NAME).o
@echo "STRIP"
$(VERBOSE) $(OBJCOPY) --only-keep-debug $(TARGET) $(TARGET_DEBUG)
$(VERBOSE) $(STRIP) -s $(TARGET)
Copy link
Contributor

@82marbag 82marbag Oct 13, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

On osx: strip [-AnuSXx] [-] [-d filename] [-s filename] ... the -s is different there and on linux

@82marbag 82marbag merged commit f73df53 into KernelTestFramework:mainline Oct 13, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants