Ticket #7412: IB-BIN_DIR_option.patch

File IB-BIN_DIR_option.patch, 828 bytes (added by soma, 8 years ago)
  • target/imagebuilder/files/Makefile

     
    4242        make image PROFILE="<profilename>" # override the default target profile 
    4343        make image PACKAGES="<pkg1> [<pkg2> [<pkg3> ...]]" # include extra packages 
    4444        make image FILES="<path>" # include extra files from <path> 
     45        make image BIN_DIR="<path>" # alternative output directory for the images 
    4546 
    4647endef 
    4748$(eval $(call shexport,Helptext)) 
     
    148154        $(MAKE) _call_image \ 
    149155                $(if $(PROFILE),USER_PROFILE="$(PROFILE)") \ 
    150156                $(if $(FILES),USER_FILES="$(FILES)") \ 
     157                $(if $(BIN_DIR),BIN_DIR="$(BIN_DIR)") \ 
    151158                $(if $(PACKAGES),USER_PACKAGES="$(PACKAGES)")) 
    152159 
    153160.SILENT: help info image