Rebuild System Files via Command Line

Topics for the Eclipse Environment
Post Reply
Jake@RTA
Posts: 2
Joined: Mon Jan 21, 2019 6:34 am

Rebuild System Files via Command Line

Post 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?
User avatar
pbreed
Posts: 1080
Joined: Thu Apr 24, 2008 3:58 pm

Re: Rebuild System Files via Command Line

Post 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...
Jake@RTA
Posts: 2
Joined: Mon Jan 21, 2019 6:34 am

Re: Rebuild System Files via Command Line

Post 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
Post Reply