Kees Jongenburger
ace9a62765
Include bsd.own.mk in /usr/Makefile to have INSTALL_DIR defined.
2012-06-20 14:52:29 +02:00
Ben Gras
4725854459
sed: add compatability symlink
2012-06-20 14:47:01 +02:00
Thomas Veerman
305dacf6ea
setup: copy boot.cfg.default to /boot.cfg
...
This way the setup stays in sync with the source tree.
2012-06-20 10:48:39 +00:00
Thomas Veerman
6759b24c57
/etc/rc: use mount -a instead of manual parsing
...
The rc script manually parses /etc/fstab to mount all file systems.
To do that it needs /bin/sed which does not exist anymore. mount(8)
now supports the -a flag which causes it to mount all file systems
listed in /etc/fstab except for '/'. File systems marked with 'noauto'
are skipped.
2012-06-20 10:48:38 +00:00
Kees Jongenburger
eecd451343
Adding a symlink from /usr/bin/strip to /usr/pkg/bin/strip.
...
When calling the new install with the -s (strip) argument it will
use the hard coded /usr/bin/strip unless a STRIP environment is set.
2012-06-19 16:30:02 +02:00
Kees Jongenburger
b15f6fdf41
Removed unused control fifo in devmand.
2012-06-19 16:30:02 +02:00
Kees Jongenburger
a55f435a36
Decrease verbosity of devmand.
...
Display warnings(non critical errors) only when the verbose flag
is set.
2012-06-19 16:30:02 +02:00
Ben Gras
cb1418a5e1
generate offsets for ucontext.S
2012-06-19 15:47:25 +02:00
Thomas Veerman
9b7938d815
Fix release script
2012-06-19 08:50:33 +00:00
Thomas Veerman
5b91b11b9c
Release script: tools -> releasetools rename
2012-06-18 16:05:38 +00:00
Thomas Veerman
4bb9af63c6
mkfs.mfs: no need to include a.out.h
2012-06-18 13:39:21 +00:00
Thomas Veerman
39dfb2bc55
Don't build ext2 ramdisk for cross compilation
...
. as mkfs.mfs is now cross compilable, we can remove the ext2 ramdisk
special case for cross compilation.
2012-06-18 10:54:56 +00:00
Thomas Veerman
aab6eb7615
Clean up generated files for ash,ramdisk,libutil,libc
2012-06-18 10:54:56 +00:00
Thomas Veerman
791aa4e16f
Cross compile MFS ramdisk
2012-06-18 10:54:55 +00:00
Thomas Veerman
bb226763a0
Make mkfs.mfs cross compilable
2012-06-18 10:54:54 +00:00
Thomas Veerman
a82a56d788
Not every shell understands 'let'
2012-06-18 10:54:54 +00:00
Thomas Veerman
4def69f293
Update nbsd_ports to account for new utils
2012-06-18 10:54:53 +00:00
Thomas Veerman
891c812cba
Build file cross compilation tool
2012-06-18 10:54:53 +00:00
Thomas Veerman
966cbef4fd
xinstall fix for cross compilation
2012-06-18 10:54:52 +00:00
Thomas Veerman
b2731fd668
Update gitignore for releasetools
2012-06-18 10:54:52 +00:00
Thomas Veerman
c8a0e2f4c6
Import NetBSD tools and build.sh
...
This commit finalizes support for cross compilation. The tools
directory are all links to the actual tools and are built on the
host system to build Minix. build.sh is the work horse that takes
care of all environment settings. It's slightly adjusted for Minix.
The /usr/src/Makefile has additional targets needed for cross
compilation.
2012-06-18 10:54:51 +00:00
Thomas Veerman
2ed11343a6
Remove duplicate sed
2012-06-18 10:54:51 +00:00
Thomas Veerman
ff555cdea6
Fix sed for cross compilation
2012-06-18 10:54:50 +00:00
Thomas Veerman
9d04c193d2
Import NetBSD xinstall
...
Also, fix mk files for cross compilation.
2012-06-18 10:54:50 +00:00
Thomas Veerman
d433a56288
Import NetBSD mtree
...
mtree is only used for cross compilation at this point. Also, the
required patches to make it compile on Minix cripple it probably
enough to make it unusable anyway.
2012-06-18 10:54:49 +00:00
Thomas Veerman
0b2db08aec
Import NetBSD mktemp
2012-06-18 10:54:48 +00:00
Thomas Veerman
2e2caf5919
Import NetBSD make
2012-06-18 10:54:48 +00:00
Thomas Veerman
357f105029
Import NetBSD flex
2012-06-18 10:54:47 +00:00
Thomas Veerman
4a17663c14
Import NetBSD byacc
2012-06-18 10:54:17 +00:00
Thomas Veerman
18a5822eff
Partially import gcc and binutils
...
They are used as build tools for cross compilation. This import does
not include the full distribution. Rather, it sports a shell script
that will download and patch the distribution when compiled from
/usr/src/tools (yet to be committed). This part of the source tree is
only necessary for cross compilation. It's not used or compiled for
native builds.
2012-06-18 10:54:16 +00:00
Thomas Veerman
5ea9e707be
Import NetBSD nawk
2012-06-18 10:53:38 +00:00
Thomas Veerman
a23f4844ba
Add gnu directory for gmake
2012-06-18 10:53:38 +00:00
Thomas Veerman
be9962e21f
Add mk and h files needed for cross compilation
2012-06-18 10:53:37 +00:00
Thomas Veerman
7f99f3a293
Rename tools to releasetools
...
This is in preparation of NetBSD's tools directory to build tools
for cross compilation.
2012-06-18 10:53:37 +00:00
Thomas Veerman
9b58157579
Rewrite osrelease.sh to parse Minix version
2012-06-18 10:53:36 +00:00
Thomas Veerman
03ea1c1676
Dynamically determine which ramdisk to use
...
.Also, rename ext2_ramdisk to ramdisk_ext2.
2012-06-18 10:53:36 +00:00
Thomas Veerman
f09c2e014f
Use MACHINE_ARCH instead of ARCH
2012-06-18 10:53:35 +00:00
Thomas Veerman
f93afa00e9
Remove MINIXSRCDIR and use NETBSDSRCDIR
...
NETBSDSRCDIR is used all over the place anyway, and this reduces
our diff with NetBSD a little.
2012-06-18 10:53:35 +00:00
Thomas Veerman
657168fa10
No need to define NETBSD_SOURCE explicitly
2012-06-18 10:53:34 +00:00
Thomas Veerman
d1301b26b3
Use buildsystem commands instead of {cp,mkdir}
2012-06-18 10:53:33 +00:00
Thomas Veerman
5daf8dbb89
mtree.sh: reverse last two parameters
...
This way we can treat DESTDIR like a special case just as the build
system does (i.e., if not set, assume DESTDIR="/").
2012-06-18 10:53:33 +00:00
Thomas Veerman
acac1f2fda
Cross-compilation fixes
...
. Some Makefile fixes to automatically differentiate between a normal
compilation and cross-compilation. Also, build compressed images.
. Harmonize ramdisk rc scripts for normal use case and ext2 ramdisk.
. ext2_ramdisk filesystem prototype fixes.
2012-06-18 10:53:32 +00:00
Thomas Veerman
4b94e52787
Fix mk file for cross compilation (2)
2012-06-18 10:53:32 +00:00
Thomas Veerman
0bcc4c15c9
newroot is gone too
2012-06-18 10:53:31 +00:00
Thomas Veerman
d0c7c2a5d2
bios_wini is no longer amongst us
2012-06-18 10:53:31 +00:00
Dirk Vogt
835f680238
New file(1) port
2012-06-18 10:53:30 +00:00
Dirk Vogt
991c41db8f
Fix up mtree.sh
2012-06-18 10:53:29 +00:00
Dirk Vogt
eccb5d51f2
Also copy kernel into multiboot dir
2012-06-18 10:53:28 +00:00
Dirk Vogt
67ff0d71ed
ext2 ramdisk: copy rc to correct destination
2012-06-18 10:53:28 +00:00
Dirk Vogt
56f6a77ead
ramdisk: don't do anything at dependall
2012-06-18 10:53:27 +00:00