Commit b831bb36bbf138a209608f192270fb1c5239cb10

Authored by Masahiro Yamada
Committed by Tom Rini
1 parent 3341bfecb5

board: sandburst: delete FORCEBUILD

We had switched to Kbuild, so we do not need to
delete sandburst board files at every build.

U-Boot conventional build system did not check the
update of command line option, -DBUILDUSER.

Kbuild can handle it nicely and re-builds object files
when command line options are changed.
(The file ".*.cmd" stores the information how the file
was generated at the previous build.)

Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>

Showing 2 changed files with 2 additions and 10 deletions Side-by-side Diff

board/sandburst/karef/Makefile
... ... @@ -10,11 +10,7 @@
10 10 #
11 11  
12 12 # TBS: add for debugging purposes
13   -BUILDUSER := $(shell whoami)
14   -FORCEBUILD := $(shell rm -f karef.o)
15   -
16   -ccflags-y += -DBUILDUSER='"$(BUILDUSER)"'
17   -# TBS: end debugging
  13 +ccflags-y += -DBUILDUSER='"$(shell whoami)"'
18 14  
19 15 obj-y = karef.o ../common/flash.o ../common/sb_common.o
20 16 extra-y += init.o
board/sandburst/metrobox/Makefile
... ... @@ -9,11 +9,7 @@
9 9 #
10 10  
11 11 # TBS: add for debugging purposes
12   -BUILDUSER := $(shell whoami)
13   -FORCEBUILD := $(shell rm -f metrobox.o)
14   -
15   -ccflags-y += -DBUILDUSER='"$(BUILDUSER)"'
16   -# TBS: end debugging
  12 +ccflags-y += -DBUILDUSER='"$(shell whoami)"'
17 13  
18 14 obj-y = metrobox.o ../common/flash.o ../common/sb_common.o
19 15 extra-y += init.o