Rearrange the libc config files, ready for adding new options.
This commit is contained in:
parent
b21c099a57
commit
9bf1d548fc
|
@ -1,6 +1,6 @@
|
|||
#ifndef _ACK_CONFIG_H
|
||||
#define _ACK_CONFIG_H
|
||||
|
||||
#define ACKCONF_TIME_IS_A_SYSCALL
|
||||
#include <ack/plat.h>
|
||||
|
||||
#endif
|
|
@ -13,6 +13,7 @@ end
|
|||
|
||||
addheader("", filenamesof("./*.h"))
|
||||
addheader("sys/", filenamesof("./sys/*.h"))
|
||||
addheader("ack/", filenamesof("./ack/*.h"))
|
||||
|
||||
acklibrary {
|
||||
name = "headers",
|
||||
|
|
|
@ -3,8 +3,8 @@
|
|||
* $Revision$
|
||||
*/
|
||||
|
||||
#ifndef _ACK_CONFIG_H
|
||||
#define _ACK_CONFIG_H
|
||||
#ifndef _ACK_PLAT_H
|
||||
#define _ACK_PLAT_H
|
||||
|
||||
/* We're providing a time() system call rather than wanting a wrapper around
|
||||
* gettimeofday() in the libc. */
|
|
@ -8,7 +8,7 @@ local function addheader(h)
|
|||
packagemap["$(PLATIND)/cpm/include/"..h] = "./"..h
|
||||
end
|
||||
|
||||
addheader("ack/config.h")
|
||||
addheader("ack/plat.h")
|
||||
addheader("cpm.h")
|
||||
addheader("unistd.h")
|
||||
|
||||
|
|
6
plat/em22/include/ack/plat.h
Normal file
6
plat/em22/include/ack/plat.h
Normal file
|
@ -0,0 +1,6 @@
|
|||
#ifndef _ACK_PLAT_H
|
||||
#define _ACK_PLAT_H
|
||||
|
||||
#define ACKCONF_TIME_IS_A_SYSCALL
|
||||
|
||||
#endif
|
|
@ -8,7 +8,7 @@ local function addheader(h)
|
|||
packagemap["$(PLATIND)/em22/include/"..h] = "./"..h
|
||||
end
|
||||
|
||||
addheader("ack/config.h")
|
||||
addheader("ack/plat.h")
|
||||
addheader("sys/types.h")
|
||||
addheader("sys/timeb.h")
|
||||
addheader("unistd.h")
|
||||
|
|
|
@ -3,8 +3,8 @@
|
|||
* $Revision$
|
||||
*/
|
||||
|
||||
#ifndef _ACK_CONFIG_H
|
||||
#define _ACK_CONFIG_H
|
||||
#ifndef _ACK_PLAT_H
|
||||
#define _ACK_PLAT_H
|
||||
|
||||
/* We're providing a time() system call rather than wanting a wrapper around
|
||||
* gettimeofday() in the libc. */
|
|
@ -8,7 +8,7 @@ local function addheader(h)
|
|||
packagemap["$(PLATIND)/linux386/include/"..h] = "./"..h
|
||||
end
|
||||
|
||||
addheader("ack/config.h")
|
||||
addheader("ack/plat.h")
|
||||
addheader("sys/ioctl.h")
|
||||
addheader("unistd.h")
|
||||
|
||||
|
|
|
@ -3,8 +3,8 @@
|
|||
* $Revision: 1.1 $
|
||||
*/
|
||||
|
||||
#ifndef _ACK_CONFIG_H
|
||||
#define _ACK_CONFIG_H
|
||||
#ifndef _ACK_PLAT_H
|
||||
#define _ACK_PLAT_H
|
||||
|
||||
/* We're providing a time() system call rather than wanting a wrapper around
|
||||
* gettimeofday() in the libc. */
|
|
@ -8,7 +8,7 @@ local function addheader(h)
|
|||
packagemap["$(PLATIND)/linux68k/include/"..h] = "./"..h
|
||||
end
|
||||
|
||||
addheader("ack/config.h")
|
||||
addheader("ack/plat.h")
|
||||
addheader("sys/ioctl.h")
|
||||
addheader("unistd.h")
|
||||
|
||||
|
|
|
@ -3,8 +3,8 @@
|
|||
* $Revision: 1.1 $
|
||||
*/
|
||||
|
||||
#ifndef _ACK_CONFIG_H
|
||||
#define _ACK_CONFIG_H
|
||||
#ifndef _ACK_PLAT_H
|
||||
#define _ACK_PLAT_H
|
||||
|
||||
/* We're providing a time() system call rather than wanting a wrapper around
|
||||
* gettimeofday() in the libc. */
|
|
@ -8,7 +8,7 @@ local function addheader(h)
|
|||
packagemap["$(PLATIND)/linuxppc/include/"..h] = "./"..h
|
||||
end
|
||||
|
||||
addheader("ack/config.h")
|
||||
addheader("ack/plat.h")
|
||||
addheader("sys/ioctl.h")
|
||||
addheader("unistd.h")
|
||||
|
||||
|
|
|
@ -3,8 +3,8 @@
|
|||
* $Revision$
|
||||
*/
|
||||
|
||||
#ifndef _ACK_CONFIG_H
|
||||
#define _ACK_CONFIG_H
|
||||
#ifndef _ACK_PLAT_H
|
||||
#define _ACK_PLAT_H
|
||||
|
||||
/* We're providing a time() system call rather than wanting a wrapper around
|
||||
* gettimeofday() in the libc. */
|
|
@ -8,7 +8,7 @@ local function addheader(h)
|
|||
packagemap["$(PLATIND)/osx/include/"..h] = "plat/osx/include/"..h
|
||||
end
|
||||
|
||||
addheader("ack/config.h")
|
||||
addheader("ack/plat.h")
|
||||
addheader("sys/dirent.h")
|
||||
addheader("sys/mman.h")
|
||||
addheader("sys/stat.h")
|
||||
|
|
|
@ -3,8 +3,8 @@
|
|||
* $Revision$
|
||||
*/
|
||||
|
||||
#ifndef _ACK_CONFIG_H
|
||||
#define _ACK_CONFIG_H
|
||||
#ifndef _ACK_PLAT_H
|
||||
#define _ACK_PLAT_H
|
||||
|
||||
/* We're providing a time() system call rather than wanting a wrapper around
|
||||
* gettimeofday() in the libc. */
|
|
@ -8,7 +8,7 @@ local function addheader(h)
|
|||
packagemap["$(PLATIND)/pc86/include/"..h] = "./"..h
|
||||
end
|
||||
|
||||
addheader("ack/config.h")
|
||||
addheader("ack/plat.h")
|
||||
addheader("unistd.h")
|
||||
|
||||
acklibrary {
|
||||
|
|
|
@ -5,8 +5,8 @@
|
|||
* See the file 'Copying' in the root of the distribution for the full text.
|
||||
*/
|
||||
|
||||
#ifndef _ACK_CONFIG_H
|
||||
#define _ACK_CONFIG_H
|
||||
#ifndef _ACK_PLAT_H
|
||||
#define _ACK_PLAT_H
|
||||
|
||||
/* We're providing a time() system call rather than wanting a wrapper around
|
||||
* gettimeofday() in the libc. */
|
|
@ -8,7 +8,7 @@ local function addheader(h)
|
|||
packagemap["$(PLATIND)/pdpv7/include/"..h] = "./"..h
|
||||
end
|
||||
|
||||
addheader("ack/config.h")
|
||||
addheader("ack/plat.h")
|
||||
addheader("sys/select.h")
|
||||
addheader("termios.h")
|
||||
addheader("unistd.h")
|
||||
|
|
|
@ -3,8 +3,8 @@
|
|||
* $Revision: 1.1 $
|
||||
*/
|
||||
|
||||
#ifndef _ACK_CONFIG_H
|
||||
#define _ACK_CONFIG_H
|
||||
#ifndef _ACK_PLAT_H
|
||||
#define _ACK_PLAT_H
|
||||
|
||||
/* We're providing a time() system call rather than wanting a wrapper around
|
||||
* gettimeofday() in the libc. */
|
|
@ -8,7 +8,7 @@ local function addheader(h)
|
|||
packagemap["$(PLATIND)/qemuppc/include/"..h] = "./"..h
|
||||
end
|
||||
|
||||
addheader("ack/config.h")
|
||||
addheader("ack/plat.h")
|
||||
addheader("sys/ioctl.h")
|
||||
addheader("unistd.h")
|
||||
|
||||
|
|
|
@ -5,8 +5,8 @@
|
|||
* See the file 'Copying' in the root of the distribution for the full text.
|
||||
*/
|
||||
|
||||
#ifndef _ACK_CONFIG_H
|
||||
#define _ACK_CONFIG_H
|
||||
#ifndef _ACK_PLAT_H
|
||||
#define _ACK_PLAT_H
|
||||
|
||||
/* We're providing a time() system call rather than wanting a wrapper around
|
||||
* gettimeofday() in the libc. */
|
|
@ -8,7 +8,7 @@ local function addheader(h)
|
|||
packagemap["$(PLATIND)/rpi/include/"..h] = "./"..h
|
||||
end
|
||||
|
||||
addheader("ack/config.h")
|
||||
addheader("ack/plat.h")
|
||||
addheader("pi.h")
|
||||
addheader("sys/select.h")
|
||||
addheader("termios.h")
|
||||
|
|
Loading…
Reference in a new issue