瀏覽代碼

qextserialport: really disable target (and not staging) install for static builds

Commit f09b33a0a (qextserialport: fix static build) adjusted the logic for
static builds, but the change contained a typo - It disabled
_INSTALL_STAGING for static builds, not _INSTALL_TARGET.

The autobuilders didn't detect this as nothing links against qextserialport
(so the missing staging install didn't cause issues) and the target install
command was only defined for !static.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Peter Korsgaard 8 年之前
父節點
當前提交
46dd08c275
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      package/qextserialport/qextserialport.mk

+ 1 - 1
package/qextserialport/qextserialport.mk

@@ -35,7 +35,7 @@ define QEXTSERIALPORT_INSTALL_STAGING_CMDS
 endef
 endef
 
 
 ifeq ($(BR2_STATIC_LIBS),y)
 ifeq ($(BR2_STATIC_LIBS),y)
-QEXTSERIALPORT_INSTALL_STAGING = NO
+QEXTSERIALPORT_INSTALL_TARGET = NO
 else
 else
 define QEXTSERIALPORT_INSTALL_TARGET_CMDS
 define QEXTSERIALPORT_INSTALL_TARGET_CMDS
 	cp -a $(@D)/*.so.* $(TARGET_DIR)/usr/lib
 	cp -a $(@D)/*.so.* $(TARGET_DIR)/usr/lib