Skip to content

Commit

Permalink
Makefile: add ability to have a uEnv.txt
Browse files Browse the repository at this point in the history
let the defconfigs be able to provide an uEnv.txt which u-boot can use

Signed-off-by: Nishanth Menon <[email protected]>
  • Loading branch information
nmenon committed Dec 11, 2012
1 parent c03c0ca commit f7eff07
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,9 @@ ifneq ("$(bootloader_cmd)", "")
-d $(bootloader_cmd) $(target_boot_files_dir)/boot.scr
$(Q)install $(bootloader_cmd) $(target_boot_files_dir)/boot.cmd
endif
ifneq ("$(bootloader_env)", "")
$(Q)install $(bootloader_env) $(target_boot_files_dir)/uEnv.txt
endif

$(bootloader)/$(bootloader_image_location): $(bootloader)/include/config.h
$(Q)$(MAKE) -C $(bootloader) $(bootloader_image)
Expand Down

0 comments on commit f7eff07

Please sign in to comment.