From 3eedd0dd23406c438962efc0d5fee7962726bdf6 Mon Sep 17 00:00:00 2001 From: Janusz Dziedzic Date: Thu, 18 Jan 2024 11:21:37 +0000 Subject: [PATCH] libeasy: allow to build locally --- libeasy/Makefile | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/libeasy/Makefile b/libeasy/Makefile index 7f07354b9..e27aab356 100644 --- a/libeasy/Makefile +++ b/libeasy/Makefile @@ -28,6 +28,12 @@ TARGET_CFLAGS += \ -I$(STAGING_DIR)/usr/include/openssl \ -I$(STAGING_DIR)/usr/include/libnl3 +ifeq ($(LOCAL_DEV),1) +define Build/Prepare + rsync -r --exclude=.* ~/git/libeasy/ $(PKG_BUILD_DIR)/ +endef +endif + MAKE_FLAGS += \ CFLAGS="$(TARGET_CFLAGS) -Wall"