diff options
Diffstat (limited to 'Makerules')
-rw-r--r-- | Makerules | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -610,8 +610,12 @@ cd $(@D); $(BUILD_CC) $(BUILD_CFLAGS) $(<:$(common-objpfx)%=%) -o $(@F) endef # We always want to use configuration definitions. +ifdef objdir # This is always used in $(common-objdir), so we use no directory name. BUILD_CFLAGS = -include config.h +else +BUILD_CFLAGS = -include $(..)config.h +endif # Support the GNU standard name for this target. .PHONY: check |