2019-05-07 17:35:55 +00:00
|
|
|
# SPDX-License-Identifier: GPL-2.0+
|
|
|
|
#
|
|
|
|
# Copyright (C) 2015 Stefan Roese <sr@denx.de>
|
|
|
|
|
2020-05-26 18:17:50 +00:00
|
|
|
obj-y := crs3xx-98dx3236.o
|
2019-05-07 17:35:55 +00:00
|
|
|
extra-y := kwbimage.cfg
|
|
|
|
|
|
|
|
quiet_cmd_sed = SED $@
|
2019-10-28 14:25:01 +00:00
|
|
|
cmd_sed = sed $(SEDFLAGS_$(@F)) $< >$(dir $@)$(@F)
|
2019-05-07 17:35:55 +00:00
|
|
|
|
|
|
|
SEDFLAGS_kwbimage.cfg =-e "s|^BINARY.*|BINARY $(srctree)/$(@D)/binary.0 0000005b 00000068|"
|
2019-10-28 14:25:01 +00:00
|
|
|
$(obj)/kwbimage.cfg: $(src)/kwbimage.cfg.in include/autoconf.mk \
|
2019-05-07 17:35:55 +00:00
|
|
|
include/config/auto.conf
|
|
|
|
$(call if_changed,sed)
|