From 01276cd4060c7b5b1b50978c57b4aea283d5e10b Mon Sep 17 00:00:00 2001 From: Jacob Pease Date: Wed, 2 Aug 2023 14:56:23 -0500 Subject: [PATCH] Linux makefile now copies the package contents with the correct package source. --- linux/Makefile | 8 ++++++-- linux/buildroot-packages/fpga-axi-sdc/fpga-axi-sdc.mk | 2 +- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/linux/Makefile b/linux/Makefile index dfb938f70..bb5086e59 100644 --- a/linux/Makefile +++ b/linux/Makefile @@ -2,15 +2,19 @@ RISCV := /opt/riscv BUILDROOT := ${RISCV}/buildroot IMAGES := ${BUILDROOT}/output/images WALLYLINUX := $(shell pwd) +PACKAGE_SOURCE := ${WALLYLINUX}/buildroot-packages/package-source +FPGA_AXI_SDC := ${WALLYLINUX}/buildroot-packages/fpga-axi-sdc .PHONY: all clean patch -all: +all: + sed -i 's|FPGA_AXI_SDC_SITE = __site__|FPGA_AXI_SDC_SITE = $(PACKAGE_SOURCE)|1' $(FPGA_AXI_SDC)/fpga-axi-sdc.mk -patch: $(BUILDROOT) +patch: $(BUILDROOT) @ echo "${WALLYLINUX}" cp -r $(WALLYLINUX)/buildroot-config-src/wally $