From 892857cd2c70c1923d5d96f35959a45381c42eec Mon Sep 17 00:00:00 2001 From: Juan Manuel Cruz Date: Sat, 9 May 2015 10:48:41 -0500 Subject: [PATCH] Kbuild: VPFile can be selected from outside the working directory. This commit allows to select a VPFile outside the working directory. This change is needed for sanity checks. Signed-off-by: Juan Manuel Cruz Change-Id: Ia6f1e334c0a5274c4029197e5f64aaa4c236f9f0 --- scripts/Makefile.preparch | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/Makefile.preparch b/scripts/Makefile.preparch index 9f1a3d7626a..b099c6f2f84 100644 --- a/scripts/Makefile.preparch +++ b/scripts/Makefile.preparch @@ -26,13 +26,13 @@ define filechk_prj.vpf echo " EVENT _TaskIrqEvt$$i NULL"; \ done; \ fi; \ - cat $(PROJECT)/$(VPFILE); \ + cat $(VPFILE); \ cat $(srctree)/config/$(CONFIG_BSP_DIR)/ukernel/config1p.vpf;) endef #Specific source code generation for Viper misc/generated/nodes/prj.vpf: $(srctree)/config/$(CONFIG_BSP_DIR)/ukernel/config1p.vpf \ - $(PROJECT)/$(VPFILE) \ + $(VPFILE) \ include/config/auto.conf FORCE $(call filechk,prj.vpf)