git.droids-corp.org
/
dpdk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
scripts: move to buildtools
[dpdk.git]
/
mk
/
rte.sdkbuild.mk
diff --git
a/mk/rte.sdkbuild.mk
b/mk/rte.sdkbuild.mk
index
85f603c
..
db6b983
100644
(file)
--- a/
mk/rte.sdkbuild.mk
+++ b/
mk/rte.sdkbuild.mk
@@
-49,6
+49,7
@@
$(1): $(sort $(LOCAL_DEPDIRS-$(1)))
endef
$(foreach d,$(ROOTDIRS-y),$(eval $(call depdirs_rule,$(d))))
endef
$(foreach d,$(ROOTDIRS-y),$(eval $(call depdirs_rule,$(d))))
+drivers: | buildtools
#
# build and clean targets
#
# build and clean targets
@@
-63,10
+64,10
@@
build: $(ROOTDIRS-y)
.PHONY: clean
clean: $(CLEANDIRS)
@rm -rf $(RTE_OUTPUT)/include $(RTE_OUTPUT)/app \
.PHONY: clean
clean: $(CLEANDIRS)
@rm -rf $(RTE_OUTPUT)/include $(RTE_OUTPUT)/app \
- $(RTE_OUTPUT)/
hostapp $(RTE_OUTPUT)/
lib \
+ $(RTE_OUTPUT)/lib \
$(RTE_OUTPUT)/hostlib $(RTE_OUTPUT)/kmod
@[ -d $(RTE_OUTPUT)/include ] || mkdir -p $(RTE_OUTPUT)/include
$(RTE_OUTPUT)/hostlib $(RTE_OUTPUT)/kmod
@[ -d $(RTE_OUTPUT)/include ] || mkdir -p $(RTE_OUTPUT)/include
- @$(RTE_SDK)/
script
s/gen-config-h.sh $(RTE_OUTPUT)/.config \
+ @$(RTE_SDK)/
buildtool
s/gen-config-h.sh $(RTE_OUTPUT)/.config \
> $(RTE_OUTPUT)/include/rte_config.h
$(Q)$(MAKE) -f $(RTE_SDK)/GNUmakefile gcovclean
@echo Clean complete
> $(RTE_OUTPUT)/include/rte_config.h
$(Q)$(MAKE) -f $(RTE_SDK)/GNUmakefile gcovclean
@echo Clean complete
@@
-77,8
+78,8
@@
$(ROOTDIRS-y):
@[ -d $(BUILDDIR)/$@ ] || mkdir -p $(BUILDDIR)/$@
@echo "== Build $@"
$(Q)$(MAKE) S=$@ -f $(RTE_SRCDIR)/$@/Makefile -C $(BUILDDIR)/$@ all
@[ -d $(BUILDDIR)/$@ ] || mkdir -p $(BUILDDIR)/$@
@echo "== Build $@"
$(Q)$(MAKE) S=$@ -f $(RTE_SRCDIR)/$@/Makefile -C $(BUILDDIR)/$@ all
- @if [ $@ = drivers
-a $(CONFIG_RTE_BUILD_COMBINE_LIBS) = y
]; then \
- $(MAKE) -f $(RTE_SDK)/
lib/Makefile sharelib
; \
+ @if [ $@ = drivers ]; then \
+ $(MAKE) -f $(RTE_SDK)/
mk/rte.combinedlib.mk
; \
fi
%_clean:
fi
%_clean: