Luka Kovacic | b686e22 | 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 | |||||
5 | obj-y := crs305-1g-4s.o | ||||
6 | extra-y := kwbimage.cfg | ||||
7 | |||||
8 | quiet_cmd_sed = SED $@ | ||||
9 | cmd_sed = sed $(SEDFLAGS_$(@F)) $< >$(dir $<)$(@F) | ||||
10 | |||||
11 | SEDFLAGS_kwbimage.cfg =-e "s|^BINARY.*|BINARY $(srctree)/$(@D)/binary.0 0000005b 00000068|" | ||||
12 | $(src)/kwbimage.cfg: $(src)/kwbimage.cfg.in include/autoconf.mk \ | ||||
13 | include/config/auto.conf | ||||
14 | $(call if_changed,sed) |