2015-03-18 9:37 GMT+08:00 Emil Velikov <emil.l.velikov at gmail.com>: > On 18 March 2015 at 01:19, Chih-Wei Huang <cwhuang at android-x86.org> wrote: >> >> I would suggest to remove all the use of LIBDRM_TOP. >> Do you want me to submit a patch? > Hmm I'm not sure that things will work correctly if we directly > substitute LIBDRM_TOP with LOCAL_PATH within the following. > > mkfiles := $(patsubst %,$(LIBDRM_TOP)/%/Android.mk,$(SUBDIRS))
Sure. It works. But I prefer to simplify it by android build system built-in functions. See the attached 0001-* patch. 0002-* removes LIBDRM_TOP entirely. > Can you send a patch over ? -- Chih-Wei Android-x86 project http://www.android-x86.org -------------- next part -------------- A non-text attachment was scrubbed... Name: 0001-android-simplify-the-including-rule-of-subdirs.patch Type: text/x-patch Size: 1093 bytes Desc: not available URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20150319/c6f1fe6d/attachment-0002.bin> -------------- next part -------------- A non-text attachment was scrubbed... Name: 0002-android-get-rid-of-LIBDRM_TOP.patch Type: text/x-patch Size: 875 bytes Desc: not available URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20150319/c6f1fe6d/attachment-0003.bin>