aboutsummaryrefslogtreecommitdiff
path: root/sys/conf/Makefile.i386
Commit message (Collapse)AuthorAgeFilesLines
* Clang's 3.5 integrated assembler now handles these files correctly (itWarner Losh2015-01-051-0/+3
| | | | | | | | | | | | | | | has support for the .codeXX directives). However, it is desirable, for a time, to allow kernels to be built with clang 3.4. Historically, it has been advantageous to allow stable X-1 to build kernels the old way (so long as the impact of doing so is small), and this restores that ability. Also, centralize the addition of ${ASM_CFLAGS.${.IMPSRC}}, place it in kern.mk rather than kern.pre.mk so that all modules can benefit, and give the same treatment to CFLAGS in kern.mk as well. Notes: svn path=/head/; revision=276696
* LLVM integrated assembler can assemble these files just fine.Roman Divacky2015-01-011-5/+0
| | | | Notes: svn path=/head/; revision=276499
* Bump the version of config to the latest (3 year old, so upgradeWarner Losh2014-02-041-5/+1
| | | | | | | | | worries are long past). Also remove redundant MACHINE= declarations and passing MACHINE/MACHINE_ARCH to module builds. That's now done in common code. Notes: svn path=/head/; revision=261492
* Add basic support for FDT to i386 & amd64. This change includes:Marcel Moolenaar2013-05-211-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | 1. Common headers for fdt.h and ofw_machdep.h under x86/include with indirections under i386/include and amd64/include. 2. New modinfo for loader provided FDT blob. 3. Common x86_init_fdt() called from hammer_time() on amd64 and init386() on i386. 4. Split-off FDT specific low-level console functions from FDT bus methods for the uart(4) driver. The low-level console logic has been moved to uart_cpu_fdt.c and is used for arm, mips & powerpc only. The FDT bus methods are shared across all architectures. 5. Add dev/fdt/fdt_x86.c to hold the fdt_fixup_table[] and the fdt_pic_table[] arrays. Both are empty right now. FDT addresses are I/O ports on x86. Since the core FDT code does not handle different address spaces, adding support for both I/O ports and memory addresses requires some thought and discussion. It may be better to use a compile-time option that controls this. Obtained from: Juniper Networks, Inc. Notes: svn path=/head/; revision=250840
* Define several extra macros in bsd.sys.mk and sys/conf/kern.pre.mk, toDimitry Andric2012-02-281-4/+3
| | | | | | | | | | | | | | | | | | | | | | | | get rid of testing explicitly for clang (using ${CC:T:Mclang}) in individual Makefiles. Instead, use the following extra macros, for use with clang: - NO_WERROR.clang (disables -Werror) - NO_WCAST_ALIGN.clang (disables -Wcast-align) - NO_WFORMAT.clang (disables -Wformat and friends) - CLANG_NO_IAS (disables integrated assembler) - CLANG_OPT_SMALL (adds flags for extra small size optimizations) As a side effect, this enables setting CC/CXX/CPP in src.conf instead of make.conf! For clang, use the following: CC=clang CXX=clang++ CPP=clang-cpp MFC after: 2 weeks Notes: svn path=/head/; revision=232263
* Upgrade our copy of llvm/clang to r126079, from upstream's trunk.Dimitry Andric2011-02-201-0/+6
| | | | | | | | This contains many improvements, primarily better C++ support, an integrated assembler for x86 and support for -pg. Notes: svn path=/head/; revision=218893
* Revert config(8) version bump. It brings major pain for people working onWojciech A. Koszek2007-05-161-1/+1
| | | | | | | | | | | | | different versions of FreeBSD source tree. Old config(8) can now be used unless you want to use INCLUDE_CONFIG_FILE option. Approved by: imp Reviewed by: imp Notes: svn path=/head/; revision=169612
* Bump config(8) version and build requirement for config(8) to 600006. ThisWojciech A. Koszek2007-05-131-1/+1
| | | | | | | | | | | | | is caused by my latest changes to config(8). You're supposed to install new config(8) in order to prevent yourself from seeing a warning about old version of that tool. You should configure the kernel with a new config(8) then. Oked by: rwatson, cognet (mentor) Notes: svn path=/head/; revision=169515
* Set MACHINE to i386(pc98). This fixes cross-building.Yoshihiro Takahashi2006-01-291-1/+3
| | | | Notes: svn path=/head/; revision=154975
* Version 600004 is better than 700000 given other changes that are inWarner Losh2005-11-281-1/+1
| | | | | | | | | | the pipeline. We had to bump the version for 600004 because the old parser got confused and generated bogus output. Approved by: ru@ Notes: svn path=/head/; revision=152891
* Make config(8) understand ORed dependecies in "files*" andRuslan Ermilov2005-11-271-1/+1
| | | | | | | improve tracking of known devices. Bump config(8) version. Notes: svn path=/head/; revision=152862
* We don't bump the config version for additions to config that aren'tWarner Losh2005-11-041-1/+1
| | | | | | | | | | used in the base system. This has been much discussed in the past (typically people giving me a hard time for it). Since all that was added to config was nocpu, and since we don't use it, we don't need to bump the version. Notes: svn path=/head/; revision=152026
* Implement the "nocpu" directive.Ruslan Ermilov2005-11-031-1/+1
| | | | | | | Requested by: rwatson Notes: svn path=/head/; revision=152018
* Bump config(8) version for the DEFAULTS change.John Baldwin2005-10-271-1/+1
| | | | Notes: svn path=/head/; revision=151763
* Never hardcode /sys into these Makefiles. The proper way to spell it is $S.Warner Losh2005-04-131-2/+0
| | | | | | | | | | Also, move the -I stuff to the centralized kern.pre.mk. However, it might be better to add these flags to files.conf. This is a short term fix to fix the broken builds on my machine (I don't have a valid /sys link). Notes: svn path=/head/; revision=145016
* The latest release of the FreeBSD driver (twa) forVinod Kashyap2005-04-121-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 3ware's 9xxx series controllers. This corresponds to the 9.2 release (for FreeBSD 5.2.1) on the 3ware website. Highlights of this release are: 1. The driver has been re-architected to use a "Common Layer" (all tw_cl* files), which is a consolidation of all OS-independent parts of the driver. The FreeBSD OS specific portions of the driver go into an "OS Layer" (all tw_osl* files). This re-architecture is to achieve better maintainability, consistency of behavior across OS's, and better portability to new OS's (drivers for new OS's can be written by just adding an OS Layer that's specific to the OS, by complying to a "Common Layer Programming Interface" API. 2. The driver takes advantage of multiple processors. 3. The driver has a new firmware image bundled, the new features of which include Online Capacity Expansion and multi-lun support, among others. More details about 3ware's 9.2 release can be found here: http://www.3ware.com/download/Escalade9000Series/9.2/9.2_Release_Notes_Web.pdf Since the Common Layer is used across OS's, the FreeBSD specific include path for header files (/sys/dev/twa) is not part of the #include pre-processor directive in any of the source files. For being able to integrate twa into the kernel despite this, Makefile.<arch> has been changed to add the include path to CFLAGS. Reviewed by: scottl Notes: svn path=/head/; revision=144966
* Update version number for latest config version bumpWarner Losh2005-04-011-1/+1
| | | | Notes: svn path=/head/; revision=144510
* bump the Makefile config versions now that config is 600001...John-Mark Gurney2005-02-101-1/+1
| | | | | | | Forgotten by: des Notes: svn path=/head/; revision=141666
* Kill count device support from config. I've changed the last fewPeter Wemm2004-08-301-1/+1
| | | | | | | | | | | | | | | | | | | | remaining consumers to have the count passed as an option. This is i4b, pc98/wdc, and coda. Bump configvers.h from 500013 to 600000. Remove heuristics that tried to parse "device ed5" as 5 units of the ed device. This broke things like the snd_emu10k1 device, which required quotes to make it parse right. The no-longer-needed quotes have been removed from NOTES, GENERIC etc. eg, I've removed the quotes from: device snd_maestro device "snd_maestro3" device snd_mss I believe everything will still compile and work after this. Notes: svn path=/head/; revision=134542
* Change required config(8) version.Olivier Houchard2004-05-091-1/+1
| | | | Notes: svn path=/head/; revision=129075
* Bump the config version to force people to upgrade their config(8)Poul-Henning Kamp2003-04-151-1/+1
| | | | | | | | so the fix for emitting multiple instances of .o files will prevent link errors on LINT. Notes: svn path=/head/; revision=113536
* Standardize handling of locore.[sS] etc. files.Ruslan Ermilov2003-02-281-3/+0
| | | | | | | Submitted by: jake, bde, ru Notes: svn path=/head/; revision=111684
* Moved the rule for locore.o from kern.post.mk to Makefile.$ARCH.Jake Burkholder2002-07-311-0/+3
| | | | Notes: svn path=/head/; revision=101064
* Moved the setting of all profiling-related variables except the key oneBruce Evans2002-07-131-1/+1
| | | | | | | | | | | (PROFLEVEL) to kern.pre.mk so that it is easier to manage. Bumped config version to match. Moved the check for cputype being configured to a less bogus place in mkmakefile.c. Notes: svn path=/head/; revision=99923
* Commit some infrastructure for turning on -Werror for kernel compiles.Peter Wemm2002-02-201-1/+1
| | | | | | | | | It doesn't actually do it yet though. This adds a flag to config so that we can exclude certain vendor files from this even when the rest of the kernel has it on. make -DNO_WERROR would also bypass all of it. Notes: svn path=/head/; revision=91002
* Added 'MACHINE=i386' to MKMODULESENV variable.Yoshihiro Takahashi2002-01-141-0/+2
| | | | | | | | | This enables to make modules for PC/AT on PC-98 boxes. MFC after: 3 weeks Notes: svn path=/head/; revision=89345
* Proper fix for old config setting maxusers to 8.Peter Wemm2001-12-141-1/+1
| | | | Notes: svn path=/head/; revision=87860
* s/PCCARD_/PCMCIA_/g in NEWCARD device tables to enable easier NetBSD sharingWarner Losh2001-11-111-2/+2
| | | | Notes: svn path=/head/; revision=86273
* Factor the common parts of the Makefile.foo files. This introduces twoWarner Losh2001-11-021-303/+2
| | | | | | | | | | | | | | new files: kern.pre.mk, which contains most of the definitions, and kern.post.mk, which contains most of the rules. I've tested this on i386 and pc98. I have had feedback on the sparc64 port, but no reports from anybody on alpha, ia64 or powerpc. I appologize in advance if I've broken you. Reviewed by: jake, jhb, arch@ Notes: svn path=/head/; revision=85909
* Only overwrite ${DESTDIR}${KODIR}.old/${KERNEL_KO} if we haven'tBrian Somers2001-11-011-7/+14
| | | | | | | | | | | booted from it when doing an installkernel. Only change kern.bootfile from ${DESTDIR}${KODIR}/${KERNEL_KO} to ${DESTDIR}${KODIR}.old/${KERNEL_KO}, and only when we're renaming a booted ${DESTDIR}${KODIR}/${KERNEL_KO} kernel. Notes: svn path=/head/; revision=85797
* Support the "install.debug" and "reinstall.debug" targets for kernel modules.Dag-Erling Smørgrav2001-10-271-3/+3
| | | | | | | | | | | | Small tweaks to kldxref may be necessary to avoid the surprising (but harm- less) behaviour of 'kldload foo' loading foo.ko.debug instead of foo.ko if it is present in the kernel directory. Approved by: a week of silence on -arch MFC after: 2 weeks Notes: svn path=/head/; revision=85570
* Finish the asbestos suited move of $mach/conf/*.$mach to conf/*.$mach.Ruslan Ermilov2001-10-261-1/+1
| | | | | | | Fix some more typos. Notes: svn path=/head/; revision=85532
* Make override of nm consistent across all platforms and sort the overrides.Mark Peek2001-10-191-2/+3
| | | | | | | Reminded by: obrien Notes: svn path=/head/; revision=85198
* Change kern.bootfile when mv'ing the kernelBrian Somers2001-10-171-0/+2
| | | | Notes: svn path=/head/; revision=85057
* Enable hardwiring of things like tunables from embedded enironmentsPeter Wemm2001-08-271-3/+6
| | | | | | | that do not start from loader(8). Notes: svn path=/head/; revision=82393
* In order to bring about the end of the universe, delete the lines:Peter Wemm2001-08-151-2/+0
| | | | | | | # DO NOT DELETE THIS LINE -- make depend uses it Notes: svn path=/head/; revision=81660
* Further Makefile.* sync (from Makefile.ia64). The lint target has beenPeter Wemm2001-08-031-6/+0
| | | | | | | | | commented out in the entire life of the 2.x+ branch and given the amount of gcc-specific code we have and the warning checks that gcc does I'm not sure that it is going to get us much for some time. Notes: svn path=/head/; revision=81079
* When building a debugging kernel with modules, build modules withSheldon Hearn2001-08-021-0/+3
| | | | | | | | | debugging support as well. Debugging module support is handled identically to kernel debugging support, right down to poor choice of make variable names. Notes: svn path=/head/; revision=81031
* param.c no longer gets special treatment. Use the source tree version.Peter Wemm2001-07-261-13/+6
| | | | Notes: svn path=/head/; revision=80419
* Bump config version.Warner Losh2001-07-021-1/+1
| | | | Notes: svn path=/head/; revision=79078
* Move kernel compile directory from sys/compile/FOO toWarner Losh2001-06-301-1/+1
| | | | | | | | | | sys/compile/${MACHINE}/FOO. Reviewed by: arch, obrien, peter and the USENIX terminal room secret kernel cabal Notes: svn path=/head/; revision=79014
* With this commit, I hereby pronounce gensetdefs past its use-by date.Peter Wemm2001-06-131-17/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Replace the a.out emulation of 'struct linker_set' with something a little more flexible. <sys/linker_set.h> now provides macros for accessing elements and completely hides the implementation. The linker_set.h macros have been on the back burner in various forms since 1998 and has ideas and code from Mike Smith (SET_FOREACH()), John Polstra (ELF clue) and myself (cleaned up API and the conversion of the rest of the kernel to use it). The macros declare a strongly typed set. They return elements with the type that you declare the set with, rather than a generic void *. For ELF, we use the magic ld symbols (__start_<setname> and __stop_<setname>). Thanks to Richard Henderson <rth@redhat.com> for the trick about how to force ld to provide them for kld's. For a.out, we use the old linker_set struct. NOTE: the item lists are no longer null terminated. This is why the code impact is high in certain areas. The runtime linker has a new method to find the linker set boundaries depending on which backend format is in use. linker sets are still module/kld unfriendly and should never be used for anything that may be modular one day. Reviewed by: eivind Notes: svn path=/head/; revision=78161
* Move the -I../../../include or -I/usr/include to the last entry on thePeter Wemm2001-06-121-6/+7
| | | | | | | | cc arguments. Otherwise ipfilter's bogus #include lines will compile reference /usr/include/netinet/ip_frag.h etc. Notes: svn path=/head/; revision=78131
* Relocate IPFilter from sys/netinet to sys/contrib/ipfilter.Jonathan Lemon2001-06-071-0/+3
| | | | Notes: svn path=/head/; revision=77854
* New files and layout for the ACPI CA 20010518 update.Mike Smith2001-05-291-1/+1
| | | | Notes: svn path=/head/; revision=77430
* Add back in the bits to remove any existing "schg" flags as we haveDavid E. O'Brien2001-04-291-0/+2
| | | | | | | kernel's out in wild that still have these flags set. Notes: svn path=/head/; revision=76114
* Don't install KO's with the "schg" flag.David E. O'Brien2001-04-251-9/+2
| | | | | | | | | | We are way too inconsistent with our setting of the "schg" flag, and in our default install, it doesn't really offer any additional security. Reviewed by: arch@ Notes: svn path=/head/; revision=75984
* Ignore chflags errors. This makes installing to nfs mounted targetWarner Losh2001-04-251-2/+2
| | | | | | | directories work. Notes: svn path=/head/; revision=75933
* Add support for MODULES_OVERRIDE. This is a list of modules to buildWarner Losh2001-04-021-0/+3
| | | | | | | | | | | | instead of all of them. You can put this in /etc/make.conf or in makeoptions. Reviewed by: arch@ # docs to follow. Notes: svn path=/head/; revision=75082
* Restore the careful preservation of .depend (rev 1.78 of Makefile.i386)David E. O'Brien2001-03-241-2/+4
| | | | | | | | | | | that I removed in my last commit dealing with `make depend' bogons. This commit has some races, but hopefully they are too short to matter. Unfortuneatly, neither .newdep nor .olddep is removed by `make clean'. Submitted by: bde Notes: svn path=/head/; revision=74742