~ubuntu-branches/ubuntu/utopic/libdebian-installer/utopic

« back to all changes in this revision

Viewing changes to src/system/utils.c

  • Committer: Bazaar Package Importer
  • Author(s): Colin Watson
  • Date: 2010-09-14 17:59:37 UTC
  • mfrom: (8.2.8 sid)
  • Revision ID: james.westby@ubuntu.com-20100914175937-r7dzef3t8mbdq2b9
Tags: 0.76ubuntu1
* Resynchronise with Debian, in order to get Michael's archdetect
  heuristic work for Maverick.  Remaining changes:
  - Appease the combination of _FORTIFY_SOURCE=2 (used by default on
    Ubuntu) and -Werror.
  - Add Dove SoC subarchitecture.
  - Add Beagle OMAP3 support.
  - Add the i386/efi and amd64/efi platforms.

Show diffs side-by-side

added added

removed removed

Lines of Context:
17
17
 * along with this program; if not, write to the Free Software
18
18
 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA.
19
19
 *
20
 
 * $Id: utils.c 29603 2005-07-31 16:10:46Z cjwatson $
 
20
 * $Id: utils.c 64703 2010-09-13 16:44:53Z cjwatson $
21
21
 */
22
22
 
23
23
#include <config.h>
24
24
 
 
25
#include <debian-installer/system/subarch.h>
25
26
#include <debian-installer/system/utils.h>
26
27
 
27
28
#include <debian-installer/log.h>
36
37
  di_log_set_handler (DI_LOG_LEVEL_MASK, di_log_handler_syslog, NULL);
37
38
}
38
39
 
39
 
 
 
40
#ifndef DI_SYSTEM_SUBARCH_CAN_GUESS
 
41
 
 
42
/*
 
43
 * HACK: If there's a better way to do this, we should probably use that
 
44
 *       instead of this stub function for non armel archs
 
45
 */
 
46
 
 
47
const char *di_system_subarch_analyze_guess (void)
 
48
{
 
49
  return di_system_subarch_analyze();
 
50
}
 
51
 
 
52
#endif