Commit e86c40a8 authored by Eric Anholt's avatar Eric Anholt

automake: Add a prefix variable to the common sources lists.

In order to do the minimal change for libdricore conversion to
automake, I need to put its in a subdirectory.  Automake
gets whiny/broken if you use GNU make features like "addprefix" or
"$(FILES:%=../%)" to munge your *_SOURCES.  So, use a plain old
variable to be able to substitute in that "../"
Reviewed-by: Matt Turner's avatarMatt Turner <>
Reviewed-by: Kenneth Graunke's avatarKenneth Graunke <>
parent 7d7fe1b0
......@@ -31,6 +31,7 @@ LOCAL_PATH := $(call my-dir)
include $(LOCAL_PATH)/sources.mak
common_CFLAGS := \
......@@ -9,6 +9,7 @@ DEPENDS := depend
DRICORE_OBJ_DIR := objs-dricore
include sources.mak
# adjust object dirs
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment