Fixing the deps in the Makefile
This commit is contained in:
4
Makefile
4
Makefile
@@ -72,7 +72,7 @@ INIT_DEP := $(BUILD_D)/.builddir
|
|||||||
ARCH_SRCS := $(wildcard $(ARCH_D)/*.s)
|
ARCH_SRCS := $(wildcard $(ARCH_D)/*.s)
|
||||||
ARCH_SRCS += $(wildcard $(ARCH_D)/*.c)
|
ARCH_SRCS += $(wildcard $(ARCH_D)/*.c)
|
||||||
KOBJS += $(patsubst $(ARCH_D)/%,$(BUILD_D)/arch/%,$(patsubst %,%.o,$(ARCH_SRCS)))
|
KOBJS += $(patsubst $(ARCH_D)/%,$(BUILD_D)/arch/%,$(patsubst %,%.o,$(ARCH_SRCS)))
|
||||||
DEPS :=
|
DEPS := $(patsubst $(ARCH_D)/%,$(BUILD_D)/arch/%,$(patsubst %,%.d,$(ARCH_SRCS)))
|
||||||
MOD_TARGETS :=
|
MOD_TARGETS :=
|
||||||
|
|
||||||
PARTED ?= /sbin/parted
|
PARTED ?= /sbin/parted
|
||||||
@@ -88,7 +88,7 @@ init: $(INIT_DEP)
|
|||||||
|
|
||||||
$(INIT_DEP):
|
$(INIT_DEP):
|
||||||
mkdir -p $(BUILD_D) $(patsubst %,$(BUILD_D)/d.%,$(MODULES))
|
mkdir -p $(BUILD_D) $(patsubst %,$(BUILD_D)/d.%,$(MODULES))
|
||||||
mkdir -p $(BUILD_D)/board $(BUILD_D)/arch
|
mkdir -p $(BUILD_D)/arch
|
||||||
touch $(INIT_DEP)
|
touch $(INIT_DEP)
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
|
|||||||
Reference in New Issue
Block a user