aboutsummaryrefslogtreecommitdiff
path: root/skiboot.spec
AgeCommit message (Collapse)AuthorFilesLines
2016-04-01external: improve xscom commands MakefileCédric Le Goater1-2/+2
The current Makefile is a bit rustic compared to other skiboot tools. This patch adds a proper install target and a new versioning target. Signed-off-by: Cédric Le Goater <clg@fr.ibm.com> Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
2016-03-31external: use skiboot make_version scriptCédric Le Goater1-1/+1
Let's version like skiboot and other external tools do. There is no need to generate a version.c file. Defining VERSION on the compile commande line is enough. Signed-off-by: Cédric Le Goater <clg@fr.ibm.com> [stewart@linux.vnet.ibm.com: fix makefile CFLAGS so can be overwritten] Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
2016-02-23specfile: Fix build issuesVasant Hegde1-5/+8
We have "%{?_smp_mflags}" in specfile. This will initiate multiple jobs. In some cases (like opal-prd), we have to first create symbolic link and then start compilation. Because of multiple jobs created by make, we hit below error. ln -sfr ../../ccan ./ccan ln -sfr ../common ./common ln -sfr ../../libflash ./libflash make: *** No rule to make target 'libflash/blocklevel.c', needed by 'libflash-blocklevel.o'. Stop. make: *** Waiting for unfinished jobs.... make: Leaving directory '/root/rpmbuild/BUILD/skiboot-skiboot-5.1.13/external/opal-prd' error: Bad exit status from /var/tmp/rpm-tmp.ZG2RS6 (%build) This patch removes "%{?_smp_mflags}" from specfile. Signed-off-by: Vasant Hegde <hegdevasant@linux.vnet.ibm.com> CC: Cédric Le Goater <clg@fr.ibm.com> Acked-by: Cedric Le Goater <clg@fr.ibm.com> Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
2016-01-15add a skiboot rpm spec fileCédric Le Goater1-0/+115
This spec file is based on : https://hegdevasant.fedorapeople.org/opal-prd/v4/opal-prd.spec in which a new 'opal-firmware' package was added. It contains a skiboot.lid and is generated as a noarch package. Signed-off-by: Cédric Le Goater <clg@fr.ibm.com> Reviewed-by: Vasant Hegde <hegdevasant@linux.vnet.ibm.com> Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>