Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,10 @@ else
CC = gcc
endif

INSTALL = install
INSTALL_PROGRAM = $(INSTALL)
bindir = /usr/local/bin

OBJ = o
CXXFLAGS ?= -std=c++0x -O -Wall -Wno-reorder -Wno-deprecated-declarations
CFLAGS ?= -O -Wall
Expand Down Expand Up @@ -78,6 +82,10 @@ ${EXEC}: $(OBJECTS)

execs: ${EXEC}

install:
$(INSTALL) -d $(DESTDIR)$(bindir)
$(INSTALL_PROGRAM) ${EXEC} $(DESTDIR)$(bindir)

clean:
echo
rm -rf ${EXEC}
Expand Down
21 changes: 21 additions & 0 deletions snap/snapcraft.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: bootgen
base: core18
version: git
summary: Xilinx Bootgen
description: |
Bootgen is a Xilinx tool that lets you stitch binary files together
and generate device boot images. Bootgen defines multiple properties,
attributes and parameters that are input while creating bootimages for
use in a Xilinx device.
grade: stable
confinement: classic

parts:
bootgen:
source: .
plugin: make
build-packages: [g++, libssl-dev]

apps:
bootgen:
command: usr/local/bin/bootgen