Michael Brown
eec9814a0e
[Makefile] Quick hack: always define pci_{vendor,device}_id
ROMs will refuse to build unless pci_vendor_id and pci_device_id are
defined. We probably ought to fix up the Makefile (and the ROM prefix) so
that they're required only for PCI ROMs, but this will do for now.
il y a 16 ans
Michael Brown
c06e6d0635
[Makefile] Use -MM instead of -M in dependency generation
Using -MM strips out any system header files from the dependency list,
which means that we could safely use an external stdarg.h if we wanted
to.
il y a 16 ans
Marty Connor
e6ff84b2d1
Make tarball generation quieter
Deleting bin/deps after "make veryclean" keeps deps from being
regenerated in the tarball.
il y a 16 ans
Marty Connor
c9593cd35b
Updated $(VERSION) for release. Change tarball generation.
Added 'install' and 'configure' targets for those who are used
to other build setups.
il y a 16 ans
Michael Brown
74fd544101
Added the embedded pxelinux payload patch from hpa.
il y a 17 ans
Michael Brown
de29e5a39c
Use .SECONDARY instead of .PRECIOUS for bin/%.tmp targets.
il y a 17 ans
Marty Connor
af56768e98
Retain some intermediate object files, suggested by Geert Stappers and Alexey Zaytsev.
src/bin/%.tmp files can be useful for debugging, so let's keep them.
il y a 17 ans
Michael Brown
5172d7b266
Autodetect whether or not we need to be using -fno-stack-protector.
il y a 17 ans
Michael Brown
3ab571006e
Yet another attempt to autodetect an appropriate "echo -e".
il y a 17 ans
Michael Brown
a8bddfe153
Another (hopefully more robust) attempt to find a usable substitute
for "echo -e" on the host system.
il y a 17 ans
Michael Brown
3b58fc0baf
Try to fix echo-detection to work on all systems that provide any
suitable "echo -e" substitute.
il y a 17 ans
Michael Brown
6f799db5bd
Use "/bin/echo -e" instead of shell builtin echo; some shells don't
implement the -e option.
(Thanks to Jim McQuillan for this suggestion.)
il y a 17 ans
Michael Brown
66207bb912
Add the possibility to create .o files from arbitrary binary blobs.
il y a 17 ans
Marty Connor
63f0e4e796
allpxes allroms alldsks fixes from Vampyre
il y a 17 ans
Michael Brown
d078fb3cb7
Allow legacy "make bin/etherboot.%".
il y a 17 ans
Michael Brown
8ad8804f7a
Fix building on distros which use dash as the default shell.
il y a 17 ans
Michael Brown
5cda460f19
Build the all-driver images by default, and print instructions for usage.
il y a 17 ans
Michael Brown
f0acd8d7a7
Define -DOBJECT when generating Makefile rules, for consistency.
Inhibit -Werror when generating Makefile rules, to prevent warnings
from killing the dependency list.
il y a 17 ans
Michael Brown
c3290aae54
Use objdump -t for symcheck; it allows us to take the symbol section
into account (and so remove the false positives due to .tbl.* symbols).
il y a 17 ans
Michael Brown
048bbeeebc
Compressed ROM images now work.
il y a 17 ans
Michael Brown
37fa9a8706
Split the objcopy stage out of final image preparation to a separate
bin/%.bin target.
il y a 17 ans
Michael Brown
976a8514cb
Hopefully solve the problem requiring the occasional "rm -rf bin/deps".
il y a 17 ans
Michael Brown
e5d8ede978
Re-added symtab to CLEANUP list
il y a 17 ans
Michael Brown
e505ceb942
Revert "Cope with builds with differing debug options within a second of each"
This reverts commit fc5f6c9de2 .
Reverted commit breaks the much more common case of changing the debug
options in subsequent builds without any code changes.
il y a 17 ans
Michael Brown
fc5f6c9de2
Cope with builds with differing debug options within a second of each
other.
il y a 17 ans
Marty Connor
6991ea7cc5
Add gpxe-tarball target to create clean release tarballs
il y a 17 ans
Michael Brown
6ce5c97981
Made most of the build much quieter
il y a 18 ans
Michael Brown
37f1b12587
Allow truly arbitrary debug levels to be specified via DEBUG=
il y a 18 ans
Marty Connor
dd7e103d58
Make VERSION_MAJOR for gPXE be 0
il y a 18 ans
Marty Connor
623f2e7b9d
Added bin/.blib.list to VERYCLEANUP so .bin directory is made empty
il y a 18 ans
Michael Brown
763b7e2ef9
We now have just romprefix, rather than having isaprefix and pciprefix
il y a 18 ans
Michael Brown
084f6b18f7
Exclude bin directory from tags generation.
Create something that might be usable as a symbol list for bochs'
internal debugger.
il y a 18 ans
Michael Brown
1a44618859
Version increased to 5.5.0
il y a 19 ans
Michael Brown
8e1d7b8a4a
doxygen.cfg also references ARCH
il y a 19 ans
Michael Brown
8bf7902141
Added rules to generate documentation using doxygen
il y a 19 ans
Michael Brown
0174310f38
Re-add the "etherboot.%" all-drivers image.
il y a 19 ans
Michael Brown
88baf7a383
Tweaked to read more information (including symbol size) from blib.a
il y a 19 ans
Michael Brown
81e4755106
Produce a sorted list of all local symbols in the map file.
il y a 19 ans
Michael Brown
d281996ef8
Added DBG2
il y a 19 ans
Michael Brown
2da3b7a38f
Added "make symcheck"
il y a 19 ans
Michael Brown
c0239ebb03
Typo
il y a 19 ans
Michael Brown
5abc43a320
"make bin/xxx DEBUG=yyy,zzz" now works seemingly perfectly. :)
il y a 19 ans
Michael Brown
1cdb68d116
"make xxx DEBUG=yyy,zzz" now working, but the "up to date" message is
getting suppressed. :(
il y a 19 ans
Michael Brown
cf79681b80
Fix BUILD_SERIAL.
Change from using #if to #ifdef, since #if can't cope with string
constants.
il y a 19 ans
Michael Brown
b79895c9d6
Use mkconfig.pl to generate fragments from config.h
Don't use -MP to generate phony rules for included files, otherwise
make won't use the pattern rule for config/%.h. :(
il y a 19 ans
Michael Brown
04a0de1c92
Generate phony targets, so that we don't get screwed by missing config
header files.
il y a 19 ans
Michael Brown
ae36de3d80
Need to prevent intermediate targets from being deleted, otherwise the
trick with "touch -B 2" doesn't work because the file that we're
carefully timestamping just gets deleted anyway.
il y a 19 ans
Michael Brown
a666eb34b5
Improved building of debugging objects. You can now specify a "DEBUG="
list for any build, e.g.
make bin/pnic.dsk DEBUG=pci,pnic
This will drag in debugging-enabled versions of pci.c and pnic.c.
il y a 19 ans
Michael Brown
305daba48a
Always include compiler.h.
Add bin/%.rebuild rule to quickly force a rebuild of any file.
Add bin/%.o.dbg rule to build a debugging-enabled version of the object.
il y a 19 ans
Michael Brown
eb8f730d63
Use pci_{vendor,device}_id instead of just pci_{vendor,device}, to avoid
conflict with pci_device function.
il y a 19 ans