From mboxrd@z Thu Jan 1 00:00:00 1970 From: Assaf Inbal Date: Mon, 20 May 2013 17:27:02 +0300 Subject: [Buildroot] [PATCH 03/12] sqlite: Added host compilation support In-Reply-To: <20130520132615.GA3164@free.fr> References: <1369054604-26139-1-git-send-email-shmuelzon@gmail.com> <1369054604-26139-3-git-send-email-shmuelzon@gmail.com> <20130520132615.GA3164@free.fr> Message-ID: <8140659616798576915@unknownmsgid> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: buildroot@busybox.net Hey, You're correct, However, I have a personal package which relies on sqlite as a part of the build process. I figured that since I already spent the time to write those entire two lines and made sure it works, I might as well send in the patch. On 20 ???? 2013, at 16:26, "Yann E. MORIN" wrote: > Assaf, All, > > On 2013-05-20 15:56 +0300, Assaf Inbal spake thusly: >> >> Signed-off-by: Assaf Inbal >> --- >> package/sqlite/sqlite.mk | 2 ++ >> 1 file changed, 2 insertions(+) >> >> diff --git a/package/sqlite/sqlite.mk b/package/sqlite/sqlite.mk >> index 8eb6b2f..39d5528 100644 >> --- a/package/sqlite/sqlite.mk >> +++ b/package/sqlite/sqlite.mk >> @@ -54,6 +54,7 @@ SQLITE_CONF_OPT += --with-readline-inc="-I$(STAGING_DIR)/usr/include" >> else >> SQLITE_CONF_OPT += --disable-readline >> endif >> +HOST_SQLITE_CONF_OPT += --disable-readline >> >> define SQLITE_UNINSTALL_TARGET_CMDS >> rm -f $(TARGET_DIR)/usr/bin/sqlite3 >> @@ -68,3 +69,4 @@ define SQLITE_UNINSTALL_STAGING_CMDS >> endef >> >> $(eval $(autotools-package)) >> +$(eval $(host-autotools-package)) > > What do you need host-sqlite for? None of the packages you're adding in > your series depends on host-sqlite (AFAICS). > > Regards, > Yann E. MORIN. > > -- > .-----------------.--------------------.------------------.--------------------. > | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | > | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | > | +33 223 225 172 `------------.-------: X AGAINST | \e/ There is no | > | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | > '------------------------------^-------^------------------^--------------------'