This patch adds KERNEL=Linux to MAKE_FLAGS to avod Darwin detection.
If Makefile detects Darwin, it removes -lbsd from build flags, but
this flag is required due to target is always Linux, not bsd-like.
Signed-off-by: Sergey V. Lobanov <sergey@lobanov.in>
(cherry picked from commit
53a51fb3d1cbf7fed94aad3a84aa36a19c54a55a)
the various operating system kernel interfaces.
endef
+MAKE_FLAGS += \
+ KERNEL=Linux
+
define Package/stress-ng/install
$(INSTALL_DIR) $(1)/usr/bin
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/stress-ng $(1)/usr/bin/