[#5982] initcode.o is not rebuilt after board config.h updates

Document created by Aaronwu Employee on Sep 25, 2013
Version 1Show Document
  • View in full screen mode

[#5982] initcode.o is not rebuilt after board config.h updates

Submitted By: Mike Frysinger

Open Date

2010-03-19 12:41:58     Close Date

2010-08-18 23:38:51

Priority:

Medium     Assignee:

Mike Frysinger

Category:

N/A     Fixed In Release:

N/A

Found In Release:

N/A     Status:

Closed

Board:

N/A     Processor:

BF537

Silicon Revision:

    Resolution:

Fixed

Is the bug repeatable?:

N/A     

Summary: initcode.o is not rebuilt after board config.h updates

Details:

 

need to make sure initcode.o gets recompiled when people change their config options

 

Follow-ups

 

--- Mike Frysinger                                           2010-08-18 23:38:51

seems to work in current trunk (2010.06).  so if this comes up again, we'll have

to record the exact method to reproduce it.

 

$ size arch/blackfin/cpu/initcode.o | tail -n1

    624       0       0     624     270 arch/blackfin/cpu/initcode.o

 

$ grep BOOT_MODE include/configs/bf537-stamp.h | head -n1

#define CONFIG_BFIN_BOOT_MODE       BFIN_BOOT_UART

 

$ sed -i '/#define CONFIG_BFIN_BOOT/s:UART:BYPASS:'

include/configs/bf537-stamp.h

 

$ grep BOOT_MODE include/configs/bf537-stamp.h | head -n1

#define CONFIG_BFIN_BOOT_MODE       BFIN_BOOT_BYPASS

 

$ make -s -j4

 

$ size arch/blackfin/cpu/initcode.o | tail -n1

    424       0       0     424     1a8 arch/blackfin/cpu/initcode.o

 

$ sed -n '/^initcode.o/,/:/p' arch/blackfin/cpu/.depend | grep config

initcode.o: initcode.c /usr/local/src/u-boot/tmpu/include/config.h \

  /usr/local/src/u-boot/tmpu/include/config_defaults.h \

  /usr/local/src/u-boot/tmpu/include/configs/bf537-stamp.h \

  /usr/local/src/u-boot/tmpu/include/asm/config-pre.h \

  /usr/local/src/u-boot/tmpu/include/configs/bfin_adi_common.h \

  /usr/local/src/u-boot/tmpu/include/config_cmd_default.h \

  /usr/local/src/u-boot/tmpu/include/asm/config.h \

  /usr/local/src/u-boot/tmpu/include/linux/config.h \

 

 

 

    Files

    Changes

    Commits

    Dependencies

    Duplicates

    Associations

    Tags

 

File Name     File Type     File Size     Posted By

No Files Were Found

Attachments

    Outcomes