mirror of
https://github.com/openhwgroup/cvw
synced 2025-02-11 06:05:49 +00:00
Linux Makefile updates
This commit is contained in:
parent
336e4d433d
commit
15ec39d20f
@ -1,19 +1,11 @@
|
|||||||
BUILDROOT := buildroot
|
BUILDROOT := buildroot
|
||||||
IMAGES := ${BUILDROOT}/output/images
|
IMAGES := ${BUILDROOT}/output/images
|
||||||
WALLY := $(shell dirname $(shell pwd))
|
WALLYLINUX := $(WALLY)/linux
|
||||||
WALLYLINUX := $(shell pwd)
|
|
||||||
DIS := ${IMAGES}/disassembly
|
DIS := ${IMAGES}/disassembly
|
||||||
BRPACKAGES := $(WALLYLINUX)/buildroot-packages
|
BR2_EXTERNAL_TREE := $(WALLYLINUX)/br2-external-tree
|
||||||
|
|
||||||
# set sudo if needed depending on $RISCV
|
# set sudo if needed depending on $RISCV
|
||||||
ifeq ($(shell mkdir -p $(RISCV)/.test > /dev/null 2>&1 ; echo $$?), 0)
|
SUDO := $(shell mkdir -p $(RISCV)/.test > /dev/null 2>&1 || echo sudo)
|
||||||
SUDO :=
|
|
||||||
else
|
|
||||||
SUDO := sudo
|
|
||||||
endif
|
|
||||||
|
|
||||||
# Buildroot Config Stuff
|
|
||||||
BR2_EXTERNAL_TREE := $(WALLYLINUX)/br2-external-tree
|
|
||||||
|
|
||||||
# Device tree files
|
# Device tree files
|
||||||
DTS ?= $(shell find devicetree -type f -regex ".*\.dts" | sort)
|
DTS ?= $(shell find devicetree -type f -regex ".*\.dts" | sort)
|
||||||
|
Loading…
Reference in New Issue
Block a user