nios2: remove empty files from nios2e-zephyr
Use a kbuild trick to force built-in.o to get built even if there isn't any code so we can link properly. This is cleaner than keeping around empty files that don't do anything. Change-Id: I4214d21104fe5f49613fa5697c8116b0e8c8aa50 Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
This commit is contained in:
parent
238c9888e6
commit
b757c1ccba
4 changed files with 2 additions and 1 deletions
|
|
@ -5,4 +5,5 @@ ccflags-y +=-I$(srctree)/drivers
|
|||
|
||||
asflags-y := ${ccflags-y}
|
||||
|
||||
obj-y = soc.o soc_config.o
|
||||
# Force kbuild to make empty built-in.o if necessary
|
||||
obj- := dummy.o
|
||||
|
|
|
|||
Loading…
Reference in a new issue