diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2016-02-01 15:21:34 +0100 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2016-02-04 14:38:29 +0100 |
commit | 796694c0b203507f976dbafb214818ee1a702c6c (patch) | |
tree | 5a2304bbb747699df7b25c6e81b85d647a6e3a77 /scripts | |
parent | 71e399f6f29944bac8786184c23a0635b4d5ab24 (diff) | |
download | barebox-796694c0b203507f976dbafb214818ee1a702c6c.tar.gz barebox-796694c0b203507f976dbafb214818ee1a702c6c.tar.xz |
Make: i.MX: Allow to pass config file to cmd_imx_image
Pass the config file to cmd_imx_image as arguments to make it more
flexible. Also add the possibility for another arg containing additional
options.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/Makefile.lib | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/Makefile.lib b/scripts/Makefile.lib index e991f33691..27365d8df8 100644 --- a/scripts/Makefile.lib +++ b/scripts/Makefile.lib @@ -430,8 +430,8 @@ $(obj)/%.dcd.S: $(obj)/%.dcd imximg-tmp = $(subst $(comma),_,$(dot-target).imxcfg.tmp) quiet_cmd_imx_image = IMX-IMG $@ - cmd_imx_image = $(CPP) $(imxcfg_cpp_flags) -o $(imximg-tmp) $(CFG_$(@F)) ; \ - $(objtree)/scripts/imx/imx-image -o $@ -b -c $(imximg-tmp) -f $< + cmd_imx_image = $(CPP) $(imxcfg_cpp_flags) -o $(imximg-tmp) $(2) ; \ + $(objtree)/scripts/imx/imx-image -o $@ -b -c $(imximg-tmp) $(3) -f $< quiet_cmd_kwb_image = KWB $@ cmd_kwb_image = scripts/kwbimage -p $< $(OPTS_$(@F)) -o $@ |