From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tom Rini Date: Wed, 10 Feb 2016 17:12:51 -0500 Subject: [U-Boot] [PATCH V2] Makefile: remove BUILD_TAG from KBUILD_CFLAGS In-Reply-To: <1455136598-5263-1-git-send-email-swarren@wwwdotorg.org> References: <1455136598-5263-1-git-send-email-swarren@wwwdotorg.org> Message-ID: <20160210221251.GM23166@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Wed, Feb 10, 2016 at 01:36:38PM -0700, Stephen Warren wrote: [snip] > diff --git a/lib/Makefile b/lib/Makefile > index dd36f25b2a32..d4491b8319f5 100644 > --- a/lib/Makefile > +++ b/lib/Makefile > @@ -67,7 +67,7 @@ obj-$(CONFIG_ADDR_MAP) += addr_map.o > obj-y += hashtable.o > obj-y += errno.o > obj-y += display_options.o > -obj-$(CONFIG_BCH) += bch.o > +CFLAGS_display_options.o := $(if $(BUILD_TAG),-DBUILD_TAG='"$(BUILD_TAG)"') > obj-y += crc32.o > obj-y += ctype.o > obj-y += div64.o OK, clearly you didn't intend to remove bch.o :) -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 836 bytes Desc: Digital signature URL: