forked from len0rd/rockbox
Fix Rockbox Utility building on OS X.
Fix a typo that broke building. Also extend the extralibs Makefile to allow calling it directly. Change-Id: I2d4dd1689a8654a6b092dfcc58d2753423831816
This commit is contained in:
parent
d04bd89bbd
commit
9e9f692678
1 changed files with 9 additions and 1 deletions
|
|
@ -12,15 +12,23 @@ endif
|
||||||
|
|
||||||
TARGET_DIR ?= $(abspath .)/build/
|
TARGET_DIR ?= $(abspath .)/build/
|
||||||
BUILD_DIR ?= $(abspath .)/build/
|
BUILD_DIR ?= $(abspath .)/build/
|
||||||
|
# allow using this Makefile directly. Otherwise those variables are set via
|
||||||
|
# the generated one.
|
||||||
|
ifndef RBBASE_DIR
|
||||||
|
RBBASE_DIR := $(dir $(lastword $(MAKEFILE_LIST)))/../../
|
||||||
|
endif
|
||||||
|
EXTRALIBS_CC ?= gcc
|
||||||
|
EXTRALIBS_AR ?= ar
|
||||||
|
|
||||||
# re-export variables that might have been set via command line.
|
# re-export variables that might have been set via command line.
|
||||||
# If set via command line sub-makefiles cannot override them, so use different
|
# If set via command line sub-makefiles cannot override them, so use different
|
||||||
# variable names in the calling makefile.
|
# variable names in the calling makefile.
|
||||||
export SYS_SPEEX
|
export SYS_SPEEX
|
||||||
export TARGET_DIR
|
export TARGET_DIR
|
||||||
|
export RBBASE_DIR
|
||||||
export CFLAGS=$(EXTRALIB_CFLAGS)
|
export CFLAGS=$(EXTRALIB_CFLAGS)
|
||||||
export CC=$(EXTRALIBS_CC)
|
export CC=$(EXTRALIBS_CC)
|
||||||
export AR=$(EXTRALIB_AR)
|
export AR=$(EXTRALIBS_AR)
|
||||||
|
|
||||||
libs: librbspeex libucl libipodpatcher libsansapatcher libmkamsboot libmktccboot libmkmpioboot libchinachippatcher libmkimxboot
|
libs: librbspeex libucl libipodpatcher libsansapatcher libmkamsboot libmktccboot libmkmpioboot libchinachippatcher libmkimxboot
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue