From cbb47ecd5bd3459acd840340a995313d1ce70d92 Mon Sep 17 00:00:00 2001
From: Urias McCullough <umccullough@gmail.com>
Date: Sat, 24 Nov 2012 09:35:09 -0800
Subject: [PATCH 2/2] Use finer-grained capability indicators for HaikuImage targets
* FFmpeg
* OpenGL
* FreeBSD Net Compat
---
build/jam/HaikuImage | 67 ++++++++++++++++++++++++++++++++++---------------
1 files changed, 46 insertions(+), 21 deletions(-)
diff --git a/build/jam/HaikuImage b/build/jam/HaikuImage
index b04d140..27f476f 100644
a
|
b
|
if $(HAIKU_ATA_STACK) = 1 {
|
30 | 30 | IDE_ONLY = "" ; |
31 | 31 | } |
32 | 32 | |
| 33 | local FBSD_NET_ONLY = ; |
| 34 | if $(HAIKU_FREEBSD_NETWORK_COMPAT_ENABLED) = 1 { |
| 35 | FBSD_NET_ONLY = "" ; |
| 36 | } |
| 37 | |
| 38 | local FFMPEG_ONLY = ; |
| 39 | if $(HAIKU_FFMPEG_ENABLED) = 1 { |
| 40 | FFMPEG_ONLY = "" ; |
| 41 | } |
| 42 | |
| 43 | local OPENGL_ONLY = ; |
| 44 | if $(HAIKU_OPENGL_ENABLED = 1 { |
| 45 | OPENGL_ONLY = "" ; |
| 46 | } |
| 47 | |
33 | 48 | SYSTEM_BIN = "[" addattr alert arp base64 basename bash bc beep bfsinfo |
34 | 49 | cal cat catattr checkfs checkitout chgrp chmod chop chown chroot cksum clear |
35 | 50 | clockconfig cmp collectcatkeys comm compress copyattr CortexAddOnHost cp |
… |
… |
SYSTEM_BIN = "[" addattr alert arp base64 basename bash bc beep bfsinfo
|
70 | 85 | |
71 | 86 | SYSTEM_APPS = AboutSystem ActivityMonitor $(X86_ONLY)BootManager CharacterMap |
72 | 87 | CodyCam DeskCalc Devices DiskProbe DiskUsage DriveSetup CDPlayer Expander |
73 | | $(X86_ONLY)GLInfo Icon-O-Matic Installer LaunchBox Magnify Mail |
| 88 | $(OPENGL_ONLY)GLInfo Icon-O-Matic Installer LaunchBox Magnify Mail |
74 | 89 | MediaConverter MediaPlayer MidiPlayer NetworkStatus PackageInstaller People |
75 | 90 | PoorMan PowerStatus ProcessController Screenshot ShowImage SoundRecorder |
76 | 91 | StyledEdit Terminal TextSearch TV WebWatch Workspaces |
… |
… |
SYSTEM_PREFERENCES = Appearance Backgrounds CPUFrequency DataTranslations
|
80 | 95 | Mouse Network Notifications Printers Screen ScreenSaver |
81 | 96 | Shortcuts Sounds Time Touchpad <preference>Tracker VirtualMemory |
82 | 97 | ; |
83 | | SYSTEM_DEMOS = BSnow Chart Clock Cortex FontDemo $(X86_ONLY)GLTeapot |
84 | | $(HAIKU_INCLUDE_TRADEMARKS)$(X86_ONLY)Haiku3d Mandelbrot OverlayImage Pairs |
85 | | Playground Pulse Sudoku |
| 98 | SYSTEM_DEMOS = BSnow Chart Clock Cortex FontDemo $(OPENGL_ONLY)GLTeapot |
| 99 | $(HAIKU_INCLUDE_TRADEMARKS)$(OPENGL_ONLY)Haiku3d Mandelbrot OverlayImage |
| 100 | Pairs Playground Pulse Sudoku |
86 | 101 | ; |
87 | 102 | SYSTEM_LIBS = |
88 | 103 | libbe.so libbsd.so libbnetapi.so |
89 | 104 | libdebug.so libdevice.so |
90 | | libgame.so $(X86_ONLY)libGL.so $(X86_ONLY)libglut.so |
91 | | libgnu.so libmail.so libmedia.so libmidi.so libmidi2.so |
| 105 | libgame.so $(OPENGL_ONLY)libGL.so $(OPENGL_ONLY)libglut.so libgnu.so |
| 106 | libmail.so libmedia.so libmidi.so libmidi2.so |
92 | 107 | libnetwork.so |
93 | 108 | <revisioned>libroot.so libroot-addon-icu.so |
94 | 109 | libscreensaver.so |
… |
… |
SYSTEM_ADD_ONS_MEDIA = cortex_audioadapter.media_addon
|
148 | 163 | equalizer.media_addon |
149 | 164 | vst_host.media_addon |
150 | 165 | ; |
151 | | SYSTEM_ADD_ONS_MEDIA_PLUGINS = $(X86_ONLY)ffmpeg raw_decoder ; |
| 166 | SYSTEM_ADD_ONS_MEDIA_PLUGINS = $(FFMPEG_ONLY)ffmpeg raw_decoder ; |
152 | 167 | SYSTEM_ADD_ONS_PRINT = |
153 | 168 | Canon\ LIPS3\ Compatible |
154 | 169 | Canon\ LIPS4\ Compatible |
… |
… |
SYSTEM_ADD_ONS_PRINT_TRANSPORT = HP\ JetDirect IPP LPR
|
163 | 178 | # Parallel\ Port |
164 | 179 | Print\ To\ File Serial\ Port USB\ Port |
165 | 180 | ; |
166 | | SYSTEM_ADD_ONS_SCREENSAVERS = Butterfly DebugNow $(X86_ONLY)Flurry |
167 | | $(X86_ONLY)GLife $(HAIKU_INCLUDE_TRADEMARKS)Haiku Icons IFS Leaves |
| 181 | SYSTEM_ADD_ONS_SCREENSAVERS = Butterfly DebugNow $(OPENGL_ONLY)Flurry |
| 182 | $(OPENGL_ONLY)GLife $(HAIKU_INCLUDE_TRADEMARKS)Haiku Icons IFS Leaves |
168 | 183 | Message Spider ; |
169 | 184 | SYSTEM_ADD_ONS_DRIVERS_AUDIO = auich auvia echo3g emuxki hda ice1712 sis7018 ; |
170 | 185 | SYSTEM_ADD_ONS_DRIVERS_AUDIO_OLD = ; #cmedia usb_audio ; |
… |
… |
SYSTEM_ADD_ONS_DRIVERS_GRAPHICS = $(X86_ONLY)radeon $(X86_ONLY)nvidia
|
175 | 190 | $(X86_ONLY)intel_810 |
176 | 191 | ; |
177 | 192 | SYSTEM_ADD_ONS_DRIVERS_MIDI = emuxki ice1712 usb_midi ; |
178 | | SYSTEM_ADD_ONS_DRIVERS_NET = $(X86_ONLY)3com $(X86_ONLY)atheros813x |
179 | | $(X86_ONLY)ar81xx $(X86_ONLY)attansic_l1 $(X86_ONLY)attansic_l2 |
180 | | $(X86_ONLY)broadcom440x $(X86_ONLY)broadcom570x $(X86_ONLY)dec21xxx etherpci |
181 | | $(X86_ONLY)ipro100 $(X86_ONLY)ipro1000 $(X86_ONLY)jmicron2x0 |
182 | | $(X86_ONLY)marvell_yukon $(X86_ONLY)nforce $(X86_ONLY)pcnet pegasus |
183 | | $(X86_ONLY)rtl8139 $(X86_ONLY)rtl81xx $(X86_ONLY)sis19x sis900 |
184 | | $(X86_ONLY)syskonnect usb_davicom usb_asix usb_ecm $(X86_ONLY)via_rhine |
185 | | $(X86_ONLY)vt612x wb840 |
| 193 | SYSTEM_ADD_ONS_DRIVERS_NET = $(FBSD_NET_ONLY)3com |
| 194 | $(FBSD_NET_ONLY)ar81xx $(FBSD_NET_ONLY)atheros813x |
| 195 | $(FBSD_NET_ONLY)attansic_l1 $(FBSD_NET_ONLY)attansic_l2 |
| 196 | $(FBSD_NET_ONLY)broadcom440x $(FBSD_NET_ONLY)broadcom570x |
| 197 | $(FBSD_NET_ONLY)dec21xxx |
| 198 | etherpci |
| 199 | $(FBSD_NET_ONLY)ipro100 $(FBSD_NET_ONLY)ipro1000 |
| 200 | $(FBSD_NET_ONLY)jmicron2x0 |
| 201 | $(FBSD_NET_ONLY)marvell_yukon |
| 202 | $(FBSD_NET_ONLY)nforce |
| 203 | $(FBSD_NET_ONLY)pcnet pegasus |
| 204 | $(FBSD_NET_ONLY)rtl8139 $(FBSD_NET_ONLY)rtl81xx |
| 205 | $(X86_ONLY)sis19x sis900 $(FBSD_NET_ONLY)syskonnect |
| 206 | usb_asix usb_davicom usb_ecm |
| 207 | $(FBSD_NET_ONLY)via_rhine $(FBSD_NET_ONLY)vt612x |
| 208 | wb840 |
186 | 209 | |
187 | 210 | # WLAN drivers |
188 | | $(X86_ONLY)aironetwifi $(X86_ONLY)atheroswifi $(X86_ONLY)broadcom43xx |
189 | | $(X86_ONLY)iprowifi2100 $(X86_ONLY)iprowifi2200 $(X86_ONLY)iprowifi3945 |
190 | | $(X86_ONLY)iprowifi4965 $(X86_ONLY)marvell88w8363 $(X86_ONLY)marvell88w8335 |
191 | | $(X86_ONLY)ralink2860 $(X86_ONLY)ralinkwifi $(X86_ONLY)wavelanwifi |
| 211 | $(FBSD_NET_ONLY)aironetwifi $(FBSD_NET_ONLY)atheroswifi |
| 212 | $(FBSD_NET_ONLY)broadcom43xx $(FBSD_NET_ONLY)iprowifi2100 |
| 213 | $(FBSD_NET_ONLY)iprowifi2200 $(FBSD_NET_ONLY)iprowifi3945 |
| 214 | $(FBSD_NET_ONLY)iprowifi4965 $(FBSD_NET_ONLY)marvell88w8363 |
| 215 | $(FBSD_NET_ONLY)marvell88w8335 $(FBSD_NET_ONLY)ralink2860 |
| 216 | $(FBSD_NET_ONLY)ralinkwifi $(FBSD_NET_ONLY)wavelanwifi |
192 | 217 | |
193 | 218 | # WWAN drivers |
194 | 219 | #$(GPL_ONLY)usb_beceemwmx |