Luka Kovacic | 22bb913 | 2019-05-07 19:35:55 +0200 | [diff] [blame] | 1 | # SPDX-License-Identifier: GPL-2.0+ |
| 2 | # |
| 3 | # Copyright (C) 2015 Stefan Roese <sr@denx.de> |
| 4 | |
Luka Kovacic | df9ebbe | 2020-05-26 20:17:50 +0200 | [diff] [blame] | 5 | obj-y := crs3xx-98dx3236.o |
Luka Kovacic | 22bb913 | 2019-05-07 19:35:55 +0200 | [diff] [blame] | 6 | extra-y := kwbimage.cfg |
| 7 | |
| 8 | quiet_cmd_sed = SED $@ |
Bin Meng | 6cdd177 | 2019-10-28 07:25:01 -0700 | [diff] [blame] | 9 | cmd_sed = sed $(SEDFLAGS_$(@F)) $< >$(dir $@)$(@F) |
Luka Kovacic | 22bb913 | 2019-05-07 19:35:55 +0200 | [diff] [blame] | 10 | |
| 11 | SEDFLAGS_kwbimage.cfg =-e "s|^BINARY.*|BINARY $(srctree)/$(@D)/binary.0 0000005b 00000068|" |
Bin Meng | 6cdd177 | 2019-10-28 07:25:01 -0700 | [diff] [blame] | 12 | $(obj)/kwbimage.cfg: $(src)/kwbimage.cfg.in include/autoconf.mk \ |
Luka Kovacic | 22bb913 | 2019-05-07 19:35:55 +0200 | [diff] [blame] | 13 | include/config/auto.conf |
| 14 | $(call if_changed,sed) |