Skip to content

Commit

Permalink
zero-gravitas: patch Makefile to make it compile on Yocto dunfell rel…
Browse files Browse the repository at this point in the history
…ease
  • Loading branch information
schultzern committed Sep 25, 2020
1 parent df5c7fb commit 97b35fd
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -1605,6 +1605,13 @@ endif
$(build)=$(build-dir) $(@:.ko=.o)
$(Q)$(MAKE) -f $(srctree)/scripts/Makefile.modpost

quiet_cmd_genenv = GENENV $@
cmd_genenv = $(OBJCOPY) --dump-section .rodata.default_environment=$@ common/env_common.o; \
sed --in-place -e 's/\x00/\x0A/g' $@

u-boot-initial-env: u-boot.bin
$(call if_changed,genenv)

# FIXME Should go into a make.lib or something
# ===========================================================================

Expand Down

0 comments on commit 97b35fd

Please sign in to comment.