1
0
Fork 0

zero-gravitas: patch Makefile to make it compile on Yocto dunfell release

zero-gravitas
Eirik Schultz 2020-09-21 18:27:44 +02:00
parent df5c7fb133
commit 97b35fdddf
1 changed files with 7 additions and 0 deletions

View File

@ -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
# ===========================================================================