]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - board/sandburst/metrobox/Makefile
kbuild: use Linux Kernel build scripts
[karo-tx-uboot.git] / board / sandburst / metrobox / Makefile
index 37d91a51a3a22f80c1d0e8356f3634c701b085b4..8121cce514db2aa74ffbf952efc1a8a668dd69c5 100644 (file)
@@ -12,7 +12,7 @@
 BUILDUSER := $(shell whoami)
 FORCEBUILD := $(shell rm -f metrobox.o)
 
-CFLAGS += -DBUILDUSER='"$(BUILDUSER)"'
+ccflags-y += -DBUILDUSER='"$(BUILDUSER)"'
 # TBS: end debugging
 
 obj-y  = metrobox.o ../common/flash.o ../common/sb_common.o