From: Sergio Prado Date: Mon, 25 Jul 2016 18:35:18 +0000 (-0300) Subject: docs/manual: use TARGET_CONFIGURE_OPTS in generic-package tutorial X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=89a33a06022d3b21a633f24566e1f6b6d30df5ba;p=buildroot.git 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 --- 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