summaryrefslogtreecommitdiffstats
path: root/meta-phosphor
diff options
context:
space:
mode:
authorBrad Bishop <bradleyb@us.ibm.com>2015-09-21 13:57:16 -0400
committerBrad Bishop <bradleyb@us.ibm.com>2015-09-21 17:04:37 -0400
commitf01fcd79f49ff922acf21a0057c6dfaaabb5d82e (patch)
tree7fffd89c707052ba58bfca6d66e3905862f85316 /meta-phosphor
parentda68575156a93a738b39a8da6f28b8b5882ec9cb (diff)
downloadtalos-openbmc-f01fcd79f49ff922acf21a0057c6dfaaabb5d82e.tar.gz
talos-openbmc-f01fcd79f49ff922acf21a0057c6dfaaabb5d82e.zip
Don't override CC in example Makefile
bitbake discards overrides like this away, but for builds using the SDK CC needs to be picked up from the environment.
Diffstat (limited to 'meta-phosphor')
-rw-r--r--meta-phosphor/common/recipes-phosphor/obmc-phosphor-fan/files/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta-phosphor/common/recipes-phosphor/obmc-phosphor-fan/files/Makefile b/meta-phosphor/common/recipes-phosphor/obmc-phosphor-fan/files/Makefile
index 8ca27e4f4..10e3fa2ae 100644
--- a/meta-phosphor/common/recipes-phosphor/obmc-phosphor-fan/files/Makefile
+++ b/meta-phosphor/common/recipes-phosphor/obmc-phosphor-fan/files/Makefile
@@ -1,7 +1,7 @@
EXE = obmc-phosphor-fand
OBJS = $(EXE).o
DEPPKGS = gio-unix-2.0 glib-2.0
-CC = $(CROSS_COMPILE)gcc
+CC ?= $(CROSS_COMPILE)gcc
INCLUDES += $(shell pkg-config --cflags $(DEPPKGS))
LIBS += $(shell pkg-config --libs $(DEPPKGS))
OpenPOWER on IntegriCloud