From 89a33a06022d3b21a633f24566e1f6b6d30df5ba Mon Sep 17 00:00:00 2001 From: Sergio Prado Date: Mon, 25 Jul 2016 15:35:18 -0300 Subject: [PATCH] docs/manual: use TARGET_CONFIGURE_OPTS in generic-package tutorial TARGET_CONFIGURE_OPTS is preferred over manually using CC and LD. Signed-off-by: Sergio Prado Signed-off-by: Thomas Petazzoni --- docs/manual/adding-packages-generic.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/manual/adding-packages-generic.txt b/docs/manual/adding-packages-generic.txt index f18465b851..ef895ec917 100644 --- a/docs/manual/adding-packages-generic.txt +++ b/docs/manual/adding-packages-generic.txt @@ -29,7 +29,7 @@ system is based on hand-written Makefiles or shell scripts. 14: LIBFOO_DEPENDENCIES = host-libaaa libbbb 15: 16: define LIBFOO_BUILD_CMDS -17: $(MAKE) CC="$(TARGET_CC)" LD="$(TARGET_LD)" -C $(@D) all +17: $(MAKE) $(TARGET_CONFIGURE_OPTS) -C $(@D) all 18: endef 19: 20: define LIBFOO_INSTALL_STAGING_CMDS