3 # 'date -r' doesn't work on BSDs, so we use stat there
4 filedate = $(shell if date --version 2>&1 | grep -q "Free Software F"; then \
10 $(GBLCFG): globalconfig.out
11 $(VERBOSE)$(GREP) "CONFIG_.*=[^n].*$$" globalconfig.out | cut -f2- -d'_' > $@.txt
12 $(VERBOSE)echo "$(call filedate,globalconfig.out)" >> $@.txt
13 $(VERBOSE)$(LD) -m $(LD_EMULATION) -r --oformat $(OFORMAT) \
14 -b binary -o $@ $@.txt
15 $(VERBOSE)$(RM) $@.txt