Skip to content

Instantly share code, notes, and snippets.

@eric100lin
Created October 24, 2018 07:23
Show Gist options
  • Save eric100lin/11efa329a204603c6510ad6c8403c859 to your computer and use it in GitHub Desktop.
Save eric100lin/11efa329a204603c6510ad6c8403c859 to your computer and use it in GitHub Desktop.
A Makefile to parse each row of space-delimited file
all:
ifeq "$(PARSE_FILE)" "true"
@while read crc sym module export; do \
#echo "=> '{$$sym,$$crc}' <="; \
done < Module.symvers
endif
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment