From a92173ef1fdfbaef52f3878c94d3585d0e27d200 Mon Sep 17 00:00:00 2001 From: Boris Stefanovic <owldev@bluewin.ch> Date: Fri, 24 Mar 2023 21:25:17 +0100 Subject: [PATCH] ADD: builds in buildroot --- Makefile | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 2c3ba29..8dffe7f 100644 --- a/Makefile +++ b/Makefile @@ -1,12 +1,12 @@ -ARCH ?= -CROSS_COMPILE ?= +ARCH ?= arm +CROSS_COMPILE ?= arm-linux- SRC_DIR := src BUILD_DIR := build SERVER := imageviewer SERVER_PATH := ${BUILD_DIR}/${SERVER} -DISPLAY_LIB := lib${DISPLAY_CMD}.a +DISPLAY_LIB := libdisplay.a DISPLAY_LIB_PATH := ${BUILD_DIR}/${DISPLAY_LIB} CC := ${CROSS_COMPILE}gcc @@ -42,6 +42,7 @@ ${BUILD_DIR}: .NOTPARALLEL: cleanbuild rebuild + clean: rm -rf ${SERVER} ${BUILD_DIR} *.out *.a -- GitLab