WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: TCE Build scripts  (Read 2237 times)

Offline NinjaCowboy

  • Newbie
  • *
  • Posts: 36
TCE Build scripts
« on: January 12, 2019, 09:15:57 AM »
Are there any scripts that the maintainers use to build tiny core extensions? I'd like to port some x86 only extensions to piCore and make some modifications to other extensions. I do know how to compile software from source and package a tcz extension, but I want to know what configure options and onload scripts were used in the existing extensions.

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11178
Re: TCE Build scripts
« Reply #1 on: January 12, 2019, 09:38:42 AM »
Hi NinjaCowboy
If you go to the  src  directories you'll find some of the subdirectories include build scripts:
http://tinycorelinux.net/4.x/x86/tcz/src/
http://tinycorelinux.net/4.x/x86_64/tcz/src/
http://tinycorelinux.net/4.x/armv6/tcz/src/
Change the  4  to check in other TC versions. Not every extension has source in every TC version.

Offline NinjaCowboy

  • Newbie
  • *
  • Posts: 36
Re: TCE Build scripts
« Reply #2 on: January 12, 2019, 10:56:02 AM »
Thanks. That's exactly what I was looking for.

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11178
Re: TCE Build scripts
« Reply #3 on: January 12, 2019, 12:58:14 PM »
Hi NinjaCowboy
For source repositories prior to TC4 there are many more packages listed here:
http://tinycorelinux.net/3.x/tcz/src/
http://tinycorelinux.net/2.x/tcz/src/
The format for the URLs is a little different because there were no ARM or 64 bit versions.

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11178
Re: TCE Build scripts
« Reply #4 on: January 12, 2019, 01:09:47 PM »
Hi NinjaCowboy
And this is the URL for TC1 sources:
http://tinycorelinux.net/tcz/src/

Offline andyj

  • Hero Member
  • *****
  • Posts: 1020
Re: TCE Build scripts
« Reply #5 on: January 12, 2019, 04:19:42 PM »
These are some version 9.x scripts that I use to maintain extensions: http://www.asjohnson.com/tinycorelinux/9.x/scripts/. I'm not sure why there isn't any source on the TC website for 9.x, but I would guess it's maintenance related? My scripts check for 32/64 bit, there are a few differences.

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11178
Re: TCE Build scripts
« Reply #6 on: January 12, 2019, 04:46:10 PM »

Offline andyj

  • Hero Member
  • *****
  • Posts: 1020
Re: TCE Build scripts
« Reply #7 on: January 12, 2019, 07:20:03 PM »
Probably because I was looking here: http://tinycorelinux.net/9.x/x86/src/