blob: 24e82000075c8b2285ee0b37208c3360d3015aba [file] [log] [blame]
Chris Packham4db944a2019-04-11 22:22:53 +12001# SPDX-License-Identifier: GPL-2.0+
2#
3# Copyright (C) 2015 Stefan Roese <sr@denx.de>
4
5obj-y := db-xc3-24g4xg.o
6extra-y := kwbimage.cfg
7
8quiet_cmd_sed = SED $@
Bin Meng6cdd1772019-10-28 07:25:01 -07009 cmd_sed = sed $(SEDFLAGS_$(@F)) $< >$(dir $@)$(@F)
Chris Packham4db944a2019-04-11 22:22:53 +120010
11SEDFLAGS_kwbimage.cfg =-e "s|^BINARY.*|BINARY $(srctree)/$(@D)/binary.0 0000005b 00000068|"
Bin Meng6cdd1772019-10-28 07:25:01 -070012$(obj)/kwbimage.cfg: $(src)/kwbimage.cfg.in include/autoconf.mk \
Chris Packham4db944a2019-04-11 22:22:53 +120013 include/config/auto.conf
14 $(call if_changed,sed)