Cleanup in Makefile/ARM and debian packaging.

This commit is contained in:
Sérgio Benjamim 2015-02-01 20:50:14 -02:00
parent 51a3c179e6
commit adaff9579d
4 changed files with 18 additions and 28 deletions

View File

@ -66,7 +66,6 @@ else ifeq ($(platform), osx)
ifeq ($(OSX_LT_MAVERICKS),"YES") ifeq ($(OSX_LT_MAVERICKS),"YES")
fpic += -mmacosx-version-min=10.5 fpic += -mmacosx-version-min=10.5
endif endif
ifndef ($(NOUNIVERSAL)) ifndef ($(NOUNIVERSAL))
CFLAGS += $(ARCHFLAGS) CFLAGS += $(ARCHFLAGS)
LDFLAGS += $(ARCHFLAGS) LDFLAGS += $(ARCHFLAGS)
@ -185,16 +184,16 @@ else ifneq (,$(findstring armv,$(platform)))
SHARED := -shared -Wl,--version-script=libretro/link.T -Wl,--no-undefined -lz SHARED := -shared -Wl,--version-script=libretro/link.T -Wl,--no-undefined -lz
ENDIANNESS_DEFINES := -DLSB_FIRST -DBYTE_ORDER=LITTLE_ENDIAN ENDIANNESS_DEFINES := -DLSB_FIRST -DBYTE_ORDER=LITTLE_ENDIAN
PLATFORM_DEFINES := -DHAVE_ZLIB PLATFORM_DEFINES := -DHAVE_ZLIB
CC = gcc ifneq (,$(findstring cortexa5,$(platform)))
ifneq (,$(findstring cortexa8,$(platform))) PLATFORM_DEFINES += -marm -mcpu=cortex-a5
else ifneq (,$(findstring cortexa8,$(platform)))
PLATFORM_DEFINES += -marm -mcpu=cortex-a8 PLATFORM_DEFINES += -marm -mcpu=cortex-a8
else ifneq (,$(findstring cortexa9,$(platform))) else ifneq (,$(findstring cortexa9,$(platform)))
PLATFORM_DEFINES += -marm -mcpu=cortex-a9 PLATFORM_DEFINES += -marm -mcpu=cortex-a9
endif else ifneq (,$(findstring cortexa15a7,$(platform)))
PLATFORM_DEFINES += -marm -mcpu=cortex-a15.cortex-a7
else
PLATFORM_DEFINES += -marm PLATFORM_DEFINES += -marm
ifneq (,$(findstring neon,$(platform)))
PLATFORM_DEFINES += -mfpu=neon
HAVE_NEON = 1
endif endif
ifneq (,$(findstring softfloat,$(platform))) ifneq (,$(findstring softfloat,$(platform)))
PLATFORM_DEFINES += -mfloat-abi=softfp PLATFORM_DEFINES += -mfloat-abi=softfp

View File

@ -13,7 +13,7 @@ Upstream Authors:
Files: * Files: *
Copyright: 1998, 1999, 2000, 2001, 2002, 2003 Charles MacDonald Copyright: 1998, 1999, 2000, 2001, 2002, 2003 Charles MacDonald
Some portions copyright Nicola Salmoria and the MAME team. All rights reserved. Some portions copyright Nicola Salmoria and the MAME team. All rights reserved.
2007-2014 Eke-Eke. All rights reserved. 2007-2015 Eke-Eke. All rights reserved.
License: License:
Unless otherwise explicitly stated, all code in Genesis Plus GX is released Unless otherwise explicitly stated, all code in Genesis Plus GX is released
under the following license: under the following license:
@ -156,11 +156,11 @@ License:
- This entire notice must remain in the source code. - This entire notice must remain in the source code.
Files: libretro/* Files: libretro/*
Copyright: 2012-2014 The RetroArch Team Copyright: 2012-2015 The RetroArch Team
License: GPLv3 License: GPLv3
Files: libretro/libretro.h Files: libretro/libretro.h
Copyright: 2012-2014 The RetroArch Team Copyright: 2012-2015 The RetroArch Team
License: The MIT License (MIT) License: The MIT License (MIT)
Permission is hereby granted, free of charge, to any person obtaining a copy Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal of this software and associated documentation files (the "Software"), to deal
@ -182,8 +182,8 @@ License: The MIT License (MIT)
The Debian packaging is: The Debian packaging is:
Copyright (C) 2011-2014 Hunter Kaller (hizzlekizzle) <hunter_kaller@yahoo.com> Copyright (C) 2011-2015 Hunter Kaller (hizzlekizzle) <hunter_kaller@yahoo.com>
Copyright (C) 2014 Sergio Benjamim (sergio-br2) <sergio_br2@yahoo.com.br> Copyright (C) 2014, 2015 Sergio Benjamim (sergio-br2) <sergio_br2@yahoo.com.br>
and is licensed under the GPL version 3, and is licensed under the GPL version 3,
see `/usr/share/common-licenses/GPL-3'. see `/usr/share/common-licenses/GPL-3'.

View File

@ -1,9 +0,0 @@
#!/bin/sh
set -e
update-alternatives --install /usr/lib/libretro.so libretro /usr/lib/libretro/genesis_plus_gx_libretro.so 10
#DEBHELPER#
exit 0

View File

@ -1,7 +1,7 @@
#!/usr/bin/make -f #!/usr/bin/make -f
# Copyright (C) 2011-2014 Hunter Kaller # Copyright (C) 2011-2015 Hunter Kaller
# Copyright (C) 2014 Sergio Benjamim # Copyright (C) 2014, 2015 Sergio Benjamim
# This program is free software; you can redistribute it and/or modify # This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by # it under the terms of the GNU General Public License as published by