Skip to content

Commit

Permalink
fix up header now that we use BEGIN PROTOCOL
Browse files Browse the repository at this point in the history
  • Loading branch information
alandekok committed Jan 15, 2025
1 parent 015c9a4 commit affdaae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/include/all.mk
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ HEADERS_DY += protocol/base.h
src/include/protocol/base.h: $(wildcard share/dictionary/*/dictionary) $(wildcard share/dictionary/eap/*/dictionary) | src/include/protocol
@echo HEADER $(patsubst src/include/%,%,$@)
${Q}echo "#pragma once" > $@
${Q}for X in $^; do grep ^PROTOCOL $$X | ${NORMALIZE} | awk '{print "#define FR_PROTOCOL_"$$2" " $$3 " //!< AUTOGENERATED PROTOCOL NUMBER DEFINITION"}' >> $@; done
${Q}for X in $^; do grep -w PROTOCOL $$X | egrep -v 'END' | sed 's/BEGIN //' | ${NORMALIZE} | awk '{print "#define FR_PROTOCOL_"$$2" " $$3 " //!< AUTOGENERATED PROTOCOL NUMBER DEFINITION"}' >> $@; done


# Add our dynamic headers to the header manifest so they get
Expand Down

0 comments on commit affdaae

Please sign in to comment.