blob: 0b2930d3e2cc3a70c3a88b78eb86d4dbf05d9d91 [file] [log] [blame]
Luka Kovacicb686e222019-05-07 19:35:55 +02001# SPDX-License-Identifier: GPL-2.0+
2#
3# Copyright (C) 2015 Stefan Roese <sr@denx.de>
4
Luka Kovacic25acb8b2020-05-26 20:17:50 +02005obj-y := crs3xx-98dx3236.o
Luka Kovacicb686e222019-05-07 19:35:55 +02006extra-y := kwbimage.cfg
7
8quiet_cmd_sed = SED $@
Bin Mengdf4019a2019-10-28 07:25:01 -07009 cmd_sed = sed $(SEDFLAGS_$(@F)) $< >$(dir $@)$(@F)
Luka Kovacicb686e222019-05-07 19:35:55 +020010
11SEDFLAGS_kwbimage.cfg =-e "s|^BINARY.*|BINARY $(srctree)/$(@D)/binary.0 0000005b 00000068|"
Bin Mengdf4019a2019-10-28 07:25:01 -070012$(obj)/kwbimage.cfg: $(src)/kwbimage.cfg.in include/autoconf.mk \
Luka Kovacicb686e222019-05-07 19:35:55 +020013 include/config/auto.conf
14 $(call if_changed,sed)