Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[tools] Add mtools-4.0.23 to ELKS tools build #2074

Merged
merged 7 commits into from
Oct 15, 2024
Merged
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
7 changes: 7 additions & 0 deletions elks/tools/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,10 @@ bin/ewcc
bin/ewlink
bin/fixomf
elftoolchain-0.7.1
bin/mattrib
bin/mcopy
bin/mdir
bin/mformat
bin/minfo
bin/mmd
bin/mshowfat
1 change: 1 addition & 0 deletions elks/tools/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ all:
$(MAKE) -C elf2elks all
$(MAKE) -C elks-compress all
$(MAKE) -C eman all
$(MAKE) -C mtools all


#########################################################################
Expand Down
60 changes: 60 additions & 0 deletions elks/tools/mtools/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
# Build mtools-4.0.23
#
#########################################################################
#
# Note! Dependencies are done automagically by 'make dep', which also
# removes any old dependencies. DON'T put your own dependencies here
# unless it's something special (ie not a .c file).
#
#########################################################################
# Relative path to base directory.

BASEDIR = ../..

#########################################################################
# Define the variables required by the standard rules - see the standard
# rules file (below) for details of these variables.

USEBCC = N

CLEANDEP =

CLEANME = ../bin/mattrib ../bin/mcopy ../bin/mdir ../bin/mformat \
../bin/minfo ../bin/mmd ../bin/mshowfat

DEPEND =

DISTFILES =

NOINDENT =

#########################################################################
# Include standard commands.

include $(BASEDIR)/Makefile-rules

#########################################################################
# Objects to be compiled.

#########################################################################
# Commands.

all: mtools-4.0.23/Makefile
make -C mtools-4.0.23
cp -p mtools-4.0.23/mattrib ../bin
cp -p mtools-4.0.23/mcopy ../bin
cp -p mtools-4.0.23/mdir ../bin
cp -p mtools-4.0.23/mformat ../bin
cp -p mtools-4.0.23/minfo ../bin
cp -p mtools-4.0.23/mmd ../bin
cp -p mtools-4.0.23/mshowfat ../bin

mtools-4.0.23/Makefile:
cd mtools-4.0.23; ./configure --disable-floppyd; cd ..

dokclean:

doclean:

clean:
make -C mtools-4.0.23 clean
30 changes: 30 additions & 0 deletions elks/tools/mtools/mtools-4.0.23/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
Makefile
config.h
config.log
config.status
mattrib
mbadblocks
mcat
mcd
mclasserase
mcopy
mdel
mdeltree
mdir
mdu
mformat
minfo
mkmanifest
mlabel
mmd
mmount
mmove
mpartition
mrd
mren
mshortname
mshowfat
mtools
mtoolstest
mtype
mzip
Loading
Loading