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
This commit is contained in:
Bart Ribbers
2020-03-25 12:35:09 +01:00
parent 4156ad426d
commit 5b816ac676

View File

@@ -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
# ----------------------------------------------------------------------------