
16 Jan
2012
16 Jan
'12
11:06 a.m.
On Monday 16 January 2012 02:58:20 Wolfgang Denk wrote:
Mike Frysinger wrote:
+ifndef CONFIG_CMD_EXT4 +COBJS-$(CONFIG_CMD_EXT4_WRITE) += cmd_ext4.o +endif
the CONFIG_CMD_EXT4 check is not necessary. if someone tries to enable CONFIG_CMD_EXT4_WRITE but not CONFIG_CMD_EXT4, that's their fault.
we can try to be a bit user-friendly at least and throw a compile time error message.
i'm fine with that. i just don't think this checking belongs in the Makefiles. -mike