diff options
-rw-r--r-- | Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -153,10 +153,11 @@ else | |||
153 | VPATH = .:$(BB_SRC_DIR) | 153 | VPATH = .:$(BB_SRC_DIR) |
154 | CONFIG_LIST = $(addsuffix /Config.h,$(subst :, ,$(VPATH))) | 154 | CONFIG_LIST = $(addsuffix /Config.h,$(subst :, ,$(VPATH))) |
155 | CONFIG_H = $(word 1,$(shell ls -f -1 $(CONFIG_LIST) 2>/dev/null)) | 155 | CONFIG_H = $(word 1,$(shell ls -f -1 $(CONFIG_LIST) 2>/dev/null)) |
156 | CFLAGS += -I- $(patsubst %,-I%,$(subst :, ,$(VPATH))) $(CROSS_CFLAGS) | 156 | CFLAGS += -I- $(patsubst %,-I%,$(subst :, ,$(VPATH))) |
157 | endif | 157 | endif |
158 | 158 | ||
159 | OBJECTS = $(shell $(BB_SRC_DIR)/busybox.sh $(CONFIG_H) $(BB_SRC_DIR)) busybox.o messages.o usage.o utility.o | 159 | OBJECTS = $(shell $(BB_SRC_DIR)/busybox.sh $(CONFIG_H) $(BB_SRC_DIR)) busybox.o messages.o usage.o utility.o |
160 | CFLAGS += $(CROSS_CFLAGS) | ||
160 | CFLAGS += -DBB_VER='"$(VERSION)"' | 161 | CFLAGS += -DBB_VER='"$(VERSION)"' |
161 | CFLAGS += -DBB_BT='"$(BUILDTIME)"' | 162 | CFLAGS += -DBB_BT='"$(BUILDTIME)"' |
162 | ifdef BB_INIT_SCRIPT | 163 | ifdef BB_INIT_SCRIPT |