anonpenguin23 abcc23c4f3 refactor(monorepo): restructure repo with core, website, vault, os packages
- add monorepo Makefile delegating to sub-projects
- update CI workflows, GoReleaser, gitignore for new structure
- revise README, CONTRIBUTING.md for monorepo overview
- bump Go to 1.24
2026-03-26 18:21:55 +02:00

20 lines
645 B
Makefile

# orama-agent Buildroot external package
# The agent binary is cross-compiled externally and copied into the rootfs
# by post_build.sh. This .mk is a placeholder for Buildroot's package system
# in case we want to integrate the Go build into Buildroot later.
ORAMA_AGENT_VERSION = 1.0.0
ORAMA_AGENT_SITE = $(TOPDIR)/../agent
ORAMA_AGENT_SITE_METHOD = local
define ORAMA_AGENT_BUILD_CMDS
cd $(@D) && GOOS=linux GOARCH=amd64 CGO_ENABLED=0 \
go build -o $(@D)/orama-agent ./cmd/orama-agent/
endef
define ORAMA_AGENT_INSTALL_TARGET_CMDS
install -D -m 0755 $(@D)/orama-agent $(TARGET_DIR)/usr/bin/orama-agent
endef
$(eval $(generic-package))