summaryrefslogtreecommitdiff
path: root/docs/manual
diff options
context:
space:
mode:
authorSergio Prado <sergio.prado@e-labworks.com>2016-07-25 15:35:18 -0300
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2016-07-25 22:49:04 +0200
commit89a33a06022d3b21a633f24566e1f6b6d30df5ba (patch)
tree91481ac6e1e39b8caf5abf70e08a0da90cb5ca96 /docs/manual
parentfb640120d8a3e6816cf57b479f93064e84df8640 (diff)
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 <sergio.prado@e-labworks.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'docs/manual')
-rw-r--r--docs/manual/adding-packages-generic.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/manual/adding-packages-generic.txt b/docs/manual/adding-packages-generic.txt
index f18465b85..ef895ec91 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