mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-30 06:36:34 +00:00
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>
This commit is contained in:
parent
fb640120d8
commit
89a33a0602
@ -29,7 +29,7 @@ system is based on hand-written Makefiles or shell scripts.
|
|||||||
14: LIBFOO_DEPENDENCIES = host-libaaa libbbb
|
14: LIBFOO_DEPENDENCIES = host-libaaa libbbb
|
||||||
15:
|
15:
|
||||||
16: define LIBFOO_BUILD_CMDS
|
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
|
18: endef
|
||||||
19:
|
19:
|
||||||
20: define LIBFOO_INSTALL_STAGING_CMDS
|
20: define LIBFOO_INSTALL_STAGING_CMDS
|
||||||
|
Loading…
x
Reference in New Issue
Block a user