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.
16 years ago
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.
16 years ago
Marty Connor
e6ff84b2d1
Make tarball generation quieter
Deleting bin/deps after "make veryclean" keeps deps from being
regenerated in the tarball.
16 years ago
Marty Connor
c9593cd35b
Updated $(VERSION) for release. Change tarball generation.
Added 'install' and 'configure' targets for those who are used
to other build setups.
16 years ago
Michael Brown
74fd544101
Added the embedded pxelinux payload patch from hpa.
17 years ago
Michael Brown
de29e5a39c
Use .SECONDARY instead of .PRECIOUS for bin/%.tmp targets.
17 years ago
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.
17 years ago
Michael Brown
5172d7b266
Autodetect whether or not we need to be using -fno-stack-protector.
17 years ago
Michael Brown
3ab571006e
Yet another attempt to autodetect an appropriate "echo -e".
17 years ago
Michael Brown
a8bddfe153
Another (hopefully more robust) attempt to find a usable substitute
for "echo -e" on the host system.
17 years ago
Michael Brown
3b58fc0baf
Try to fix echo-detection to work on all systems that provide any
suitable "echo -e" substitute.
17 years ago
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.)
17 years ago
Michael Brown
66207bb912
Add the possibility to create .o files from arbitrary binary blobs.
17 years ago
Marty Connor
63f0e4e796
allpxes allroms alldsks fixes from Vampyre
17 years ago
Michael Brown
d078fb3cb7
Allow legacy "make bin/etherboot.%".
17 years ago
Michael Brown
8ad8804f7a
Fix building on distros which use dash as the default shell.
17 years ago
Michael Brown
5cda460f19
Build the all-driver images by default, and print instructions for usage.
17 years ago
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.
17 years ago
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).
17 years ago
Michael Brown
048bbeeebc
Compressed ROM images now work.
17 years ago
Michael Brown
37fa9a8706
Split the objcopy stage out of final image preparation to a separate
bin/%.bin target.
17 years ago
Michael Brown
976a8514cb
Hopefully solve the problem requiring the occasional "rm -rf bin/deps".
17 years ago
Michael Brown
e5d8ede978
Re-added symtab to CLEANUP list
17 years ago
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.
17 years ago
Michael Brown
fc5f6c9de2
Cope with builds with differing debug options within a second of each
other.
17 years ago
Marty Connor
6991ea7cc5
Add gpxe-tarball target to create clean release tarballs
17 years ago
Michael Brown
6ce5c97981
Made most of the build much quieter
18 years ago
Michael Brown
37f1b12587
Allow truly arbitrary debug levels to be specified via DEBUG=
18 years ago
Marty Connor
dd7e103d58
Make VERSION_MAJOR for gPXE be 0
18 years ago
Marty Connor
623f2e7b9d
Added bin/.blib.list to VERYCLEANUP so .bin directory is made empty
18 years ago
Michael Brown
763b7e2ef9
We now have just romprefix, rather than having isaprefix and pciprefix
18 years ago
Michael Brown
084f6b18f7
Exclude bin directory from tags generation.
Create something that might be usable as a symbol list for bochs'
internal debugger.
18 years ago
Michael Brown
1a44618859
Version increased to 5.5.0
19 years ago
Michael Brown
8e1d7b8a4a
doxygen.cfg also references ARCH
19 years ago
Michael Brown
8bf7902141
Added rules to generate documentation using doxygen
19 years ago
Michael Brown
0174310f38
Re-add the "etherboot.%" all-drivers image.
19 years ago
Michael Brown
88baf7a383
Tweaked to read more information (including symbol size) from blib.a
19 years ago
Michael Brown
81e4755106
Produce a sorted list of all local symbols in the map file.
19 years ago
Michael Brown
d281996ef8
Added DBG2
19 years ago
Michael Brown
2da3b7a38f
Added "make symcheck"
19 years ago
Michael Brown
c0239ebb03
Typo
19 years ago
Michael Brown
5abc43a320
"make bin/xxx DEBUG=yyy,zzz" now works seemingly perfectly. :)
19 years ago
Michael Brown
1cdb68d116
"make xxx DEBUG=yyy,zzz" now working, but the "up to date" message is
getting suppressed. :(
19 years ago
Michael Brown
cf79681b80
Fix BUILD_SERIAL.
Change from using #if to #ifdef, since #if can't cope with string
constants.
19 years ago
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. :(
19 years ago
Michael Brown
04a0de1c92
Generate phony targets, so that we don't get screwed by missing config
header files.
19 years ago
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.
19 years ago
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.
19 years ago
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.
19 years ago
Michael Brown
eb8f730d63
Use pci_{vendor,device}_id instead of just pci_{vendor,device}, to avoid
conflict with pci_device function.
19 years ago