mirror of
https://github.com/openhwgroup/cvw
synced 2025-02-11 06:05:49 +00:00
Linux makefile now copies the package contents with the correct package source.
This commit is contained in:
parent
bb020221d5
commit
01276cd406
@ -2,15 +2,19 @@ RISCV := /opt/riscv
|
|||||||
BUILDROOT := ${RISCV}/buildroot
|
BUILDROOT := ${RISCV}/buildroot
|
||||||
IMAGES := ${BUILDROOT}/output/images
|
IMAGES := ${BUILDROOT}/output/images
|
||||||
WALLYLINUX := $(shell pwd)
|
WALLYLINUX := $(shell pwd)
|
||||||
|
PACKAGE_SOURCE := ${WALLYLINUX}/buildroot-packages/package-source
|
||||||
|
FPGA_AXI_SDC := ${WALLYLINUX}/buildroot-packages/fpga-axi-sdc
|
||||||
|
|
||||||
.PHONY: all clean patch
|
.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}"
|
@ echo "${WALLYLINUX}"
|
||||||
cp -r $(WALLYLINUX)/buildroot-config-src/wally $</board
|
cp -r $(WALLYLINUX)/buildroot-config-src/wally $</board
|
||||||
cp -r $(WALLYLINUX)/buildroot-packages/fpga-axi-sdc $</package
|
cp -r $(WALLYLINUX)/buildroot-packages/fpga-axi-sdc $</package
|
||||||
|
sed -i 's|FPGA_AXI_SDC_SITE =|FPGA_AXI_SDC_SITE = $(PACKAGE_SOURCE)|1' $(BUILDROOT)/package/fpga-axi-sdc/fpga-axi-sdc.mk
|
||||||
cp $(WALLYLINUX)/buildroot-config-src/buildroot-2023.05.1/linux.config $</board/wally/linux.config
|
cp $(WALLYLINUX)/buildroot-config-src/buildroot-2023.05.1/linux.config $</board/wally/linux.config
|
||||||
cp $(WALLYLINUX)/buildroot-config-src/buildroot-2023.05.1/main.config $</board/wally/main.config
|
cp $(WALLYLINUX)/buildroot-config-src/buildroot-2023.05.1/main.config $</board/wally/main.config
|
||||||
cd $<; git apply $(WALLYLINUX)/buildroot-packages/package-2023.05.1.patch
|
cd $<; git apply $(WALLYLINUX)/buildroot-packages/package-2023.05.1.patch
|
||||||
|
@ -2,7 +2,7 @@ FPGA_AXI_SDC_MODULE_VERSION = 1.0
|
|||||||
# TODO This variable needs to change based on where the package
|
# TODO This variable needs to change based on where the package
|
||||||
# contents are stored on each individual computer. Might parameterize
|
# contents are stored on each individual computer. Might parameterize
|
||||||
# this somehow.
|
# this somehow.
|
||||||
FPGA_AXI_SDC_SITE = /home/jpease/repos/fpga-axi-sdc
|
FPGA_AXI_SDC_SITE =
|
||||||
FPGA_AXI_SDC_SITE_METHOD = local
|
FPGA_AXI_SDC_SITE_METHOD = local
|
||||||
FPGA_AXI_SDC_LICENSE = GPLv2
|
FPGA_AXI_SDC_LICENSE = GPLv2
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user