From ca7e52c47da86525d649d34684a8fd9296c40a9b Mon Sep 17 00:00:00 2001 From: Manfred Steiner Date: Sat, 30 Sep 2023 18:14:07 +0200 Subject: [PATCH] Makefile fix --- examples/simuc/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/simuc/Makefile b/examples/simuc/Makefile index 58f36f9..f7cbcbf 100644 --- a/examples/simuc/Makefile +++ b/examples/simuc/Makefile @@ -51,11 +51,12 @@ ifeq ($(ARCH), arm-linux-gnueabihf) DEBARCH="armhf" endif +DEBBASE := dpkg DEBNAME := dpkg/htl-simuc_version_arch DEBSRC := dpkg/htl-simuc_version_arch DEBARCH := $(shell dpkg --print-architecture) -DEB := $(DEBNAME:%version=%$(DEBVERSION),%arch=%$(DEBARCH).deb) +DEB := $(DEBBASE:%version=%$(DEBVERSION),%arch=%$(DEBARCH).deb) LIBC_NAME := libc6 LIBC_VERSION := $(shell dpkg --list | grep ${LIBC_NAME}:${DEBARCH} | tr -s ' ' | cut -d" " -f 3 | cut -d"-" -f 1) LIBCXX_NAME := libstdc++6 @@ -66,7 +67,6 @@ LIBELF_VERSION := $(shell dpkg --list | grep ${LIBELF_NAME}:${DEBARCH} | tr -s ' deb: dpkg $(DEBSRC)/DEBIAN/control $(DEBSRC)/usr/share/doc/htl-simuc/readme @dpkg-deb -Z xz --root-owner-group --build $(DEBSRC) ${DEB} - @mv $(DEBSRC)/*.deb dpkg/ @chmod 644 dpkg/*.deb .PHONY: $(DEBSRC)/DEBIAN/control $(DEBSRC)/usr/share/doc/htl-simuc/readme -- 2.39.5