
On Sunday, December 19, 2010 07:25:00 Wolfgang Denk wrote:
Mike Frysinger wrote:
+++ b/board/bf525-ucr2/config.mk +CONFIG_BFIN_CPU = bf525-0.2
+# Set some default LDR flags based on boot mode. +LDR_FLAGS += $(LDR_FLAGS-$(CONFIG_BFIN_BOOT_MODE))
Can we not move all this into the board config file, and drop the config.mk ?
i dont know what you're referring to. the cpu needs to be available before autoconf.mk is generated, and LDR_FLAGS is a build setting that makes more sense to keep in the build .mk.
I want to get rid of all these board specific config.mk files. And I don't see a good reason why it would be needed here. Other boards don;t need any of this either.
then where exactly are boards supposed to specify their own custom build settings ? like optimizations that they want to enable on specific files/subdirs ? many Blackfin boards prefer speed over size in the compression code because we arent hurting for space, and most people prefer the faster decompression at runtime. without a board config.mk, that isnt possible. -mike