From 5b816ac676cb83b56f2a9f0d497f7eb274a4d5ef Mon Sep 17 00:00:00 2001 From: Bart Ribbers Date: Wed, 25 Mar 2020 12:35:09 +0100 Subject: [PATCH] Make the makefile compatible with Busybox Busybox follows stricter POSIX standards, and doesn't support the --mode and --directory arguments, but rather uses the shorthand variants -m and -d --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index ea8fd6b..46071f1 100644 --- a/Makefile +++ b/Makefile @@ -34,8 +34,8 @@ DESTDIR ?= /tmp/test-mce-dev PCDIR := /usr/lib/pkgconfig INCLUDEDIR := /usr/include/mce -INSTALL_DIR := install --mode=755 --directory -INSTALL_DATA := install --mode=644 +INSTALL_DIR := install -m 755 -d +INSTALL_DATA := install -m 644 # ----------------------------------------------------------------------------