X-Git-Url: https://git.kernelconcepts.de/?a=blobdiff_plain;ds=sidebyside;f=board%2Fcray%2FL1%2FMakefile;h=716a5a316b44ed58b465e983ceea52b9634fae0f;hb=b5b8d85e9a50c2294b6043830cd045de1002dc5d;hp=5f6c690b7c2c41c2c18b63e9d194b92895ecaef7;hpb=377e1048d3065b97b21fea0763b77f1786d5b654;p=karo-tx-uboot.git diff --git a/board/cray/L1/Makefile b/board/cray/L1/Makefile index 5f6c690b7c..716a5a316b 100644 --- a/board/cray/L1/Makefile +++ b/board/cray/L1/Makefile @@ -9,8 +9,15 @@ obj-y = L1.o flash.o obj-y += init.o obj-y += bootscript.o -$(obj)bootscript.c: $(obj)bootscript.image - od -t x1 -v -A x $^ | awk -f x2c.awk > $@ +quiet_cmd_awk = AWK $@ + cmd_awk = od -t x1 -v -A x $< | $(AWK) -f $(filter-out $<,$^) > $@ -$(obj)bootscript.image: $(src)bootscript.hush $(src)Makefile - -$(OBJTREE)/tools/mkimage -A ppc -O linux -T script -C none -a 0 -e 0 -n bootscript -d $(src)bootscript.hush $@ +$(obj)/bootscript.c: $(obj)/bootscript.image $(src)/x2c.awk + $(call cmd,awk) + +MKIMAGEFLAGS_bootscript.image := -A ppc -O linux -T script -C none \ + -a 0 -e 0 -n bootscript +$(obj)/bootscript.image: $(src)/bootscript.hush + $(call cmd,mkimage) + +clean-files := bootscript.c bootscript.image