From: hackbard Date: Sat, 22 Feb 2003 16:34:18 +0000 (+0000) Subject: - X-Git-Url: https://hackdaworld.org/gitweb/?p=lectures%2Fdfb-slides.git;a=commitdiff_plain;h=decfedfe4aaf2c3af5881158084a34163eaf6f46 - --- decfedfe4aaf2c3af5881158084a34163eaf6f46 diff --git a/hdw/hdw.xml b/hdw/hdw.xml new file mode 100644 index 0000000..4aed916 --- /dev/null +++ b/hdw/hdw.xml @@ -0,0 +1,124 @@ + + + + + +
+
hdw-linux
+
+
a distribution build kit
+
+ author: hackbard + date: 14. Jan. 2003 + homepage: http://hackdaworld.dyndns.org +
+ + +
+
contents
+
+ + + introduction + + prepare for hdw + + configuration + + start the build + + installation + + whats cool in hdw? + + packages/targets + + hard bug: the core scripts + + conclusion + + where to get it +
+ + +
+
introduction
+
+ + what is hdw and what is so special about it? + + scripts to build your own gnu linux distribution + + support alien architetures + + care for optimization + + up2date (?) + + all packages are build from scratch + + hdw uses just a few patches + + short overview - the process + + build a static linked sandbox environment (--prefix=/static) + + chroot into that sandbox and build the linux system from scratch + + install and configure it (not covered by the scripts yet - hdw-get) +
+ + +
+
prepare for hdw
+
+ + required: + + devfs kernel + + recent developing tools (gcc, make, autoconf, automake ...) + + bash, wget, cvs + + diskspace (~3 gb) for sources and compiled binaries (depending on target) + + time (~1-2 days, depending on target and hardware) + + recommended: + + use seperated partition as hdw build directory + + update developing tools before building hdw +
+ + +
+
configuration (1/2)
+
+ + the 'Config' file stores all the possible configuration options. + let's have a look at the most impportant ones. + + hdw_target + specify the target (desktop,router,mobile,base,all-dev) + eg: export hdw_target="desktop" + hdw_arch + specify architecture (ia32,sparc,sparc64,ppc,...) + eg: export hdw_arch="ia32" + hdw_arch_opt + specify the cpu for optimization (x686:x=3,4,5,6) + eg: export hdw_arch_opt="i686" +
+ +
+
configuration (2/2)
+
+ + hdw_opt + specify the optimization for CFLAGS variable (2,3..) + eg: export hdw_opt="3" + hdw_crossbuild + set to 1 if you build for an alien architecture + eg: export hdw_crossbuild="0" + hdw_build_dir + specify build directory (seperated partition recommended) + eg: export hdw_build_dir="/hdw-build" +
+ + + + + + echo "hdw rules!!!1 :)" + + + + + + + + + + + +
diff --git a/img/bg.png b/img/bg.png new file mode 100644 index 0000000..64c328e Binary files /dev/null and b/img/bg.png differ diff --git a/img/bullet.png b/img/bullet.png new file mode 100644 index 0000000..64e562c Binary files /dev/null and b/img/bullet.png differ diff --git a/ttf/decker.ttf b/ttf/decker.ttf new file mode 100644 index 0000000..5e721cf Binary files /dev/null and b/ttf/decker.ttf differ