mirror of
https://github.com/akuker/RASCSI.git
synced 2024-11-22 01:31:25 +00:00
Updated makefile to cross-compile and updated github workflow to install tools
This commit is contained in:
parent
7ca21414f3
commit
2338b9b791
8
.github/workflows/c-cpp.yml
vendored
8
.github/workflows/c-cpp.yml
vendored
@ -12,16 +12,12 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- name: Install cross compile toolchain
|
||||
run: sudo apt-get install gcc-arm-linux-gnueabihf g++-arm-linux-gnueabihf binutils-arm-linux-gnueabihf
|
||||
- uses: actions/checkout@v2
|
||||
# - name: configure
|
||||
# run: ./configure
|
||||
- name: make
|
||||
run: make all DEBUG=1
|
||||
working-directory: ./src/raspberrypi
|
||||
# - name: make check
|
||||
# run: make check
|
||||
# - name: make distcheck
|
||||
# run: make distcheck
|
||||
|
||||
# buildroot-image:
|
||||
# runs-on: ubuntu-latest
|
||||
|
@ -1,7 +1,10 @@
|
||||
.DEFAULT_GOAL: all
|
||||
|
||||
CC = gcc
|
||||
CXX = g++
|
||||
ARCH ?= arm
|
||||
CROSS_COMPILE ?= arm-linux-gnueabihf-
|
||||
|
||||
CC = $(CROSS_COMPILE)gcc
|
||||
CXX = $(CROSS_COMPILE)g++
|
||||
|
||||
DEBUG ?= 0
|
||||
ifeq ($(DEBUG), 1)
|
||||
|
Loading…
Reference in New Issue
Block a user