Skip to content

Commit

Permalink
Don't hardcode package name in Makefile.dist
Browse files Browse the repository at this point in the history
  • Loading branch information
mesheets committed Jul 13, 2024
1 parent 00be718 commit 68115c9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ install::
test -d $(DESTDIR)$(pkgdatadir) || mkdir -p $(DESTDIR)$(pkgdatadir)
install -m 644 Makefile.user $(DESTDIR)$(pkgdatadir)
sed -e '/installation paths/a \
PACKAGE = $(PACKAGE)\
BINDIR = $(bindir)\
DATADIR = $(pkgdatadir)\
LIBDIR = $(pkglibdir)\
Expand Down
5 changes: 3 additions & 2 deletions Makefile.dist
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,11 @@
### bibo - another LEGO Mindstorms OS
### --------------------------------------------------------------------------

# IMPORTANT: Do not modify the commented placeholder line below without also updating the "install" target in the main Makefile.
# installation paths

# name for the brickOS kernel
KERNEL = $(DATADIR)/bibo
# name for the kernel
KERNEL = $(DATADIR)/$(PACKAGE)

SOURCES?=helloworld.c

Expand Down

0 comments on commit 68115c9

Please sign in to comment.