From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Petazzoni Date: Mon, 7 May 2012 15:45:41 +0200 Subject: [Buildroot] [PATCH 2/2] Adjust v86d.mk per better source URL and build method. In-Reply-To: References: <1336386538-27684-1-git-send-email-golubovsky@gmail.com> <1336386538-27684-2-git-send-email-golubovsky@gmail.com> <20120507110012.GB8916@sapphire.tkos.co.il> Message-ID: <20120507154541.325b298d@skate> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: buildroot@busybox.net Le Mon, 7 May 2012 08:47:10 -0400, Dimitry Golubovsky a ?crit : > >> +define V86D_BUILD_CMDS > >> + ? ? $(MAKE) CC="$(TARGET_CC) -D__i386__" LD="$(TARGET_LD)" -C > >> $(@D) all > > > > You can used $(TARGET_CONFIGURE_OPTS) here as well. > > I tried that, and it did not compile. -D__i386__ should be given > explicitly to cc. This -D is rather a CFLAGS, so: $(MAKE) $(TARGET_CONFIGURE_OPTS) CFLAGS="$(TARGET_CFLAGS) -D__i386__" -C $(@D) all Thomas -- Thomas Petazzoni, Free Electrons Kernel, drivers, real-time and embedded Linux development, consulting, training and support. http://free-electrons.com