WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: TCE Build scripts  (Read 2645 times)

Offline NinjaCowboy

  • Newbie
  • *
  • Posts: 36
TCE Build scripts
« on: January 12, 2019, 12:15:57 PM »
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: 11627
Re: TCE Build scripts
« Reply #1 on: January 12, 2019, 12:38:42 PM »
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, 01:56:02 PM »
Thanks. That's exactly what I was looking for.

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11627
Re: TCE Build scripts
« Reply #3 on: January 12, 2019, 03: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: 11627
Re: TCE Build scripts
« Reply #4 on: January 12, 2019, 04:09:47 PM »
Hi NinjaCowboy
And this is the URL for TC1 sources:
http://tinycorelinux.net/tcz/src/

Offline andyj

  • Hero Member
  • *****
  • Posts: 1036
Re: TCE Build scripts
« Reply #5 on: January 12, 2019, 07: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: 11627
Re: TCE Build scripts
« Reply #6 on: January 12, 2019, 07:46:10 PM »

Offline andyj

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