src/lib: Update Makefile to keep build/spd.bin rule private
commit8e4bb3164a1af2a988c63dfa92777de9d60fae3f
authorMartin Roth <gaumless@gmail.com>
Mon, 30 Jan 2017 01:11:36 +0000 (29 18:11 -0700)
committerMartin Roth <martinroth@google.com>
Tue, 31 Jan 2017 16:44:24 +0000 (31 17:44 +0100)
treeb9bd99a7f4f1e56837bf16c6750c246b00ced844
parent545edca5779c2f6b057fc38f6371351ea762c5bd
src/lib: Update Makefile to keep build/spd.bin rule private

The rule to make spd.bin that's in src/lib is for the 'generic_spd_bin'
implementation.  It wasn't guarded though, so it was generating a build
warning for any other platform that generated an spd.bin file.

Sample warning that this fixes:
src/mainboard/gizmosphere/gizmo/Makefile.inc:42:
warning: overriding recipe for target 'build/spd.bin'
src/lib/Makefile.inc:298: warning: ignoring old recipe for target
'build/spd.bin'

Change-Id: Iadd6743f8ae476969bf36f99b918f04c04172d1d
Signed-off-by: Martin Roth <gaumless@gmail.com>
Reviewed-on: https://review.coreboot.org/18261
Tested-by: build bot (Jenkins)
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Reviewed-by: Patrick Georgi <pgeorgi@google.com>
src/lib/Makefile.inc