Age | Commit message (Collapse) | Author | Files | Lines |
|
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>
|
|
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>
|
|
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>
|
|
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>
|