|
@@ -15,8 +15,11 @@ define STRESS_NG_BUILD_CMDS
|
|
|
$(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D)
|
|
|
endef
|
|
|
|
|
|
+# Don't use make install otherwise stress-ng will be rebuild without
|
|
|
+# required link libraries if any. Furthermore, using INSTALL allow to
|
|
|
+# set the file permission correcly on the target.
|
|
|
define STRESS_NG_INSTALL_TARGET_CMDS
|
|
|
- $(TARGET_CONFIGURE_OPTS) $(MAKE) DESTDIR=$(TARGET_DIR) -C $(@D) install
|
|
|
+ $(INSTALL) -m 0755 -D $(@D)/stress-ng $(TARGET_DIR)/usr/bin/stress-ng
|
|
|
endef
|
|
|
|
|
|
$(eval $(generic-package))
|