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