Page 1 of 1

Rebuild System Files via Command Line

Posted: Mon Jan 21, 2019 6:56 am
by Jake@RTA
I am trying to build the Netburner system files for v3.0.0 via the command line for each hardware platform. What is the correct order to call the make files for each platform to build the system files?

Re: Rebuild System Files via Command Line

Posted: Mon Jan 21, 2019 10:41 am
by pbreed
3.0 is differnt, the system libbraries are now local to each project...
This is why the first build for a project takes so long...

make -j will spee dit up a bunch...

So make clean in your project will rebuild EVERYTHING....
We did this as a lot of people have projects where they modified things in the system or predef.h and wanted a way to have this info on a per project basis...

Re: Rebuild System Files via Command Line

Posted: Tue Feb 12, 2019 6:41 am
by Jake@RTA
If I have the folder structure seen below, how would I write a makefile to build an app file using SourceCode1 and SourceCode2 but not SourceCode3?
From the examples provided it seems like all of my application code need to be within the nburn folder, is that the case?

C:\TestFolder
├───nburn
│ └───nburn
│ ├───arch
│ ├───bin
│ ├───CreateCerts
│ ├───docs
│ ├───drivers
│ ├───examples
│ ├───gcc
│ ├───include
│ ├───lib
│ ├───libraries
│ ├───make
│ ├───mibs
│ ├───NBEclipse
│ ├───nbrtos
│ ├───pcbin
│ ├───pctools
│ ├───platform
│ ├───rollbackBackupDirectory
│ ├───system
│ └───USBDriver
├───SourceCode1
│ ├───html1
│ ├───inc1
│ └───src1
├───SourceCode2
│ ├───html2
│ ├───inc2
│ └───src2
└───SourceCode3
├───html3
├───inc3
└───src3