Fix commands in buildsystem README (#147)

This commit is contained in:
Marian Pritsak 2016-12-21 21:50:35 +02:00 committed by lguohan
parent b77d53fd8f
commit 92d9f9b23a

View File

@ -192,13 +192,13 @@ SONIC_DOCKER_IMAGES += $(SOME_DOCKER) # add docker to this group
## Tips & Tricks ## Tips & Tricks
Although every target is built inside a sonic-slave container, which exits at the end of build, you can enter bash of sonic-slave using this command: Although every target is built inside a sonic-slave container, which exits at the end of build, you can enter bash of sonic-slave using this command:
``` ```
$ sonic-slave-bash $ make sonic-slave-bash
``` ```
It is very useful for debugging when you add a new target and facing some trubles. It is very useful for debugging when you add a new target and facing some trubles.
sonic-slave environment is built only once, but if sonic-slave/Dockerfile was updated, you can rebuild it with this command: sonic-slave environment is built only once, but if sonic-slave/Dockerfile was updated, you can rebuild it with this command:
``` ```
$ sonic-slave-build $ make sonic-slave-build
``` ```
All target groups are used by one or another recipe, so use those recipes as a reference when adding new ones. All target groups are used by one or another recipe, so use those recipes as a reference when adding new ones.