[Skiboot] [PATCH] external/opal-prd: Make compilation prerequisites as order-only prerequisites
Vasant Hegde
hegdevasant at linux.vnet.ibm.com
Wed Feb 24 02:07:25 AEDT 2016
Makefile creates symbolic link to libflash, ccan, etc. Presently we added them
as normal prerequisites. In some cases (like we compile skiboot after compiling
opal-prd) it will result in recompiling source again during make install. Hence
make it as order-only prerequisites.
Signed-off-by: Vasant Hegde <hegdevasant at linux.vnet.ibm.com>
---
external/opal-prd/Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/external/opal-prd/Makefile b/external/opal-prd/Makefile
index 98c7b48..3f34371 100644
--- a/external/opal-prd/Makefile
+++ b/external/opal-prd/Makefile
@@ -52,7 +52,7 @@ asm/opal-prd.h:
$(Q_LN)ln -sfr $(KERNEL_DIR)/arch/powerpc/include/uapi/asm/opal-prd.h \
asm/opal-prd.h
-$(OBJS): $(LINKS)
+$(OBJS): | $(LINKS)
%.o: %.c
$(Q_CC)$(COMPILE.c) $< -o $@
--
2.5.0
More information about the Skiboot
mailing list