mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-09 07:51:59 -09:00
libv4l: ensure TARGET_CFLAGS are used
Now that the lfs handling issues have been worked around, we can pass TARGET_CONFIGURE_OPTS on the make command line to ensure TARGET_CFLAGS are used. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
This commit is contained in:
@@ -23,19 +23,19 @@ endif
|
||||
|
||||
define LIBV4L_BUILD_CMDS
|
||||
for i in $(LIBV4L_DIRS_y); do \
|
||||
$(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D)/$$i \
|
||||
$(MAKE) $(TARGET_CONFIGURE_OPTS) -C $(@D)/$$i \
|
||||
$(LIBV4L_MAKE_OPTS); done
|
||||
endef
|
||||
|
||||
define LIBV4L_INSTALL_STAGING_CMDS
|
||||
for i in $(LIBV4L_DIRS_y); do \
|
||||
$(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D)/$$i \
|
||||
$(MAKE) $(TARGET_CONFIGURE_OPTS) -C $(@D)/$$i \
|
||||
DESTDIR=$(STAGING_DIR) $(LIBV4L_MAKE_OPTS) install; done
|
||||
endef
|
||||
|
||||
define LIBV4L_INSTALL_TARGET_CMDS
|
||||
for i in $(LIBV4L_DIRS_y); do \
|
||||
$(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D)/$$i \
|
||||
$(MAKE) $(TARGET_CONFIGURE_OPTS) -C $(@D)/$$i \
|
||||
DESTDIR=$(TARGET_DIR) $(LIBV4L_MAKE_OPTS) install; done
|
||||
endef
|
||||
|
||||
|
||||
Reference in New Issue
Block a user