Skip to contentSkip to conversation

docs/manual: use TARGET_CONFIGURE_OPTS in generic-package tutorial

PATCH New Sergio Prado 2 participants 2 messages Jul 25, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 docs/manual: use TARGET_CONFIGURE_OPTS in generic-package tutorial

TARGET_CONFIGURE_OPTS is preferred over manually using CC and LD.

---
 docs/manual/adding-packages-generic.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
docs/manual/adding-packages-generic.txt +1 -1
index f18465b85107..ef895ec91717 100644
@@ -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
Signature · 1 line
1.9.1
#1 lore raw

PATCH 1/1 docs/manual: use TARGET_CONFIGURE_OPTS in generic-package tutorial

Hello,

Quoted 6 lines · Sergio Prado

TARGET_CONFIGURE_OPTS is preferred over manually using CC and LD.

---
 docs/manual/adding-packages-generic.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Applied to master, thanks.

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com