Skip to content

Commit

Permalink
Merge pull request #2074 from ghaerr/mtools
Browse files Browse the repository at this point in the history
[tools] Add mtools-4.0.23 to ELKS tools build
  • Loading branch information
ghaerr authored Oct 15, 2024
2 parents 1510a41 + 03b6e9c commit 735a98a
Show file tree
Hide file tree
Showing 186 changed files with 62,979 additions and 0 deletions.
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

0 comments on commit 735a98a

Please sign in to comment.